Repository navigation
Releases: jonferno/LayaHytaleCompanion
Release list
Laya Companion v0.4.3 (Hytale 0.7.4)
Laya 0.4.3 for Hytale 0.7.4: free mode for work orders, a quality filter, a map marker, and a launcher that updates itself.
Free mode
"Keep mining stone until I say stop" now runs until you stop. She works the block in front of her, clears the grass and dirt above buried ore, steps into the holes she digs, searches wider before moving on, and drops an unreachable block instead of ending the order. Gathering and chopping use the same mode, and "free roam mining" or "you are free to go mine this" works with any block, named or aimed at.
Free farming lays out flat 5x5 plots with a two-block gap, levels the ground by breaking grass, dirt and stone, plants every seed kind she carries, and keeps tilling new plots once the seeds run out.
Fixes
- Attack orders send the creature name, so "kill that rabbit" targets the rabbit instead of the literal sentence.
- Task reports count only the block you asked for: clearing grass and dirt no longer inflates the total, and stone is not called ore.
- Stopped tasks get a personality line matched to the material instead of the same sentence every time.
- The mining unstick no longer teleports her inside a block, which could suffocate her.
Launcher and installer update themselves
start.bat and install.bat now check the latest GitHub release and update the plugin jar and bridge files when one is found, with a backup under backups\update-<version>\. Set LAYA_NO_UPDATE=1 to skip the check.
Install: replace the jar in UserData/Mods, or run install.bat. Same installer, same one-step engine download.
Laya Companion v0.4.2 (Hytale 0.7.4)
Laya 0.4.2 for Hytale 0.7.4: the fixes and polish from two days of in-game testing.
Downed bodies stop drawing aggro
Enemies that were fighting her kept swinging at her body, so a downed Laya was a free kill.
They now drop her the moment she goes down and keep ignoring her until she is back up.
Wood orders stay wood
"Chop this tree" could reach the model as a mining order, so she mined one block and showed
a pickaxe on the HUD. Wood requests are normalized to a felling order and the axe icon
wins, whatever wording arrives.
She reports the haul
After wood, mining, gathering, farming or harvesting she says what she got, the total of
that item in her pack, and a short line in her current personality. No more the same
sentence every time.
Cleaner installs and swings
Each launcher points config at its own folder, so names, HUD settings and inventory no
longer leak between installs. The 28 stale item animation overrides are gone, so vanilla
pickaxe, hatchet and sword swings play as intended. Attack acknowledgements know which
creature you named, and a provider that answers slowly is skipped for two minutes so a
fast one takes the next turn.
Install: replace the jar in UserData/Mods, or run install.bat. Same installer, same
one-step engine download.
Laya Companion v0.4.1 (Hytale 0.7.4)
Laya 0.4.1 for Hytale 0.7.4: two fixes found in a fresh-install test.
"Hold here" now holds
She used to teleport to you twice, six seconds after the command, and again once you
walked past 32 blocks. Two watchdogs were fighting the stay stance:
- the stuck watchdog treated "player is 6+ blocks away and she is not moving" as stuck,
then teleported her to your side twice; - the combat stay-anchor release teleported her and cleared the anchor at 32 blocks.
Stay is absolute now. The anchor holds however far you walk, and the stuck watchdog
leaves her alone while she is holding.
Revive lines use her name
"Laya is down", "Picking Laya up" and "Laya is back on her feet" were hardcoded. They
read the name from Settings now, so a renamed companion stays renamed.
Install: replace the jar in UserData/Mods, or run install.bat. Same installer,
same one-step engine download.
Laya Companion v0.4.0 (Hytale 0.7.4)
Laya 0.4.0 for Hytale 0.7.4, she can harvest now, and gathering got a lot smarter.
One-step install
The installer now fetches laya.cpp for you. Pick Vulkan (NVIDIA, AMD or Intel),
CUDA 13 or CUDA 12 on NVIDIA, and it downloads the matching engine plus the
typed-decisions checkpoint (about 800 MB), verifies the release checksum, and points
the bridge at the right build. No manual trips to two download pages.
.\install.ps1 -LayaBackend cuda13Harvesting (new)
harvest,harvest the carrots,harvest 5 carrots,pick whatever's ripe,
harvest all in the 100x100,don't replant.- Uses Hytale's own harvest call, so a ripe crop gives exactly what the game gives -
no break interaction, no drops left on the ground. - Plain crops are consumed; Eternal crops are left standing at
Harvestedand
regrow by themselves. She reads which one it was from the block and says so. - Replants from her own pack, topped up from chests within 5 blocks before she
starts (never mid-run). "Don't replant" leaves the cells bare. - Every count she reports is read back from the world: "picked 6 carrots, 4 regrow,
1 replanted". - "In 100x100" means 50 blocks, taken literally; a bare "harvest" widens only to 32,
so she will not walk two fields over for one mushroom.
Gathering
- Hints match whole words against real item names. "gather corn" used to match 64
blocks, including every "Corner", and she would end up breaking tree branches.
"Corn" now resolves to the corn. - Every gathered block gives its real drop. A picked flower gives the flower; a
wild plant gives what the game gives; crops give their produce. Nothing invented. - Crops report real names: "gathered 5 Mature Wheat", not an asset key.
- "Gather everything around us" sweeps trunks, ore, rubble, wild mushrooms and
non-crop plants, and deliberately skips your crops, sown seed blocks, leaves,
saplings and bare terrain. - A field edge no longer means "nothing here": an unsized area scan that finds
nothing at 16 blocks takes one look at 32.
HUD and UI
- New task icons for attack, defend, follow, stay, gather, mine, chop, farm and
downed, all from one source set, with consistent size, weight and centring. - Inventory / interact page rebalanced: the right-hand dead space is gone and the
gear column sits flush with the pack. - Fixed gear-slot clicks and the farming icon from earlier releases.
Under the hood
- Planted crops live on generated per-stage block types
(*Plant_Crop_Wheat_Block_State_Definitions_StageFinal), which the old exact-key
scan could never match. Hint matching, crop words and display names all use one
canonical key now. config/blocks.jsonwas rebuilt from Hytale's own asset data with the block's
declared name (3,182 blocks).- Whole-word hint matching also cut scan cost: "corn" is 2 keys instead of 64 over
~10,000 blocks per scan, which removes a world-thread stall during gather tasks.
Install: drop LayaPlugin-0.4.0.jar into UserData/Mods (remove the old
LayaPlugin-0.3.0.jar) or run install.bat. The ai-bridge and config files should be
updated together with the jar.
LayaPlugin-0.4.0.jar, 315,114 bytes, 110 entries, built against Hytale 0.7.4.
Laya Companion v0.3.0 (Hytale 0.7.4)
Laya Companion v0.3.0 - Hytale 0.7.4
Farming (new)
Laya now works a field for you: she walks to the plot, tills the soil with a hoe,
plants the seed, and reports what she actually planted - counted from the block
entities, not from what she intended.
Ask her in plain words:
plant five carrot seeds here
plant any seeds you have
just seed
hoe this area and plant cauliflower
plant 10 eternal wheat seeds
- Patch in front of you - up to 5 x 5 cells, starting two rows ahead, sized to
the number of seeds you asked for. "All" means every seed of that crop she can
reach; a singular word ("just seed", "a seed", "one carrot seed") plants exactly
one. - Seeds from her pack first, then from any chest within 5 blocks. She tells you
what she takes from a chest, and refuses out loud when there is nothing to plant. - Eternal vs normal seeds - Eternal crops regrow after harvest, normal ones are
consumed. When both kinds are reachable she asks which ones to plant before
starting; when only one kind is reachable she uses it silently. Name the kind in
the request to skip the question, and answering her question with just "normal" or
"eternal" resolves it. - Tools wear out. Tilling spends hoe durability and a worn-out hoe does nothing
at all, so she checks before swinging, holds the hoe with the most life left,
looks in nearby chests for a spare when hers breaks, and says so instead of
swinging a dead one. - She walks to the work. When the ground stops the engine's straight-line mover
and she stalls on the spot, she steps beside the cell and carries on instead of
abandoning it. - Say stop at any time to end the task.
- A farming icon appears on the HUD while she is working.
Fixes
- Inventory: equipped gear slots no longer swallow clicks when they hold an item
- you can take armour back out by right-click or click-then-place, like the rest
of the page. The slot tooltip moved up to the button itself.
- you can take armour back out by right-click or click-then-place, like the rest
- HUD: the equipped column no longer stretches its icons, and the farming icon is
drawn as a proper hoe. - Farm requests: wording fixes - "can you plant one carrot seed" plants one,
singular phrasing no longer plants the whole stack, typo'd crop names are reported
instead of silently ignored, and the plot is placed where you are looking rather
than behind you. - Chat: the "done, what's next" spam after a finished task is gone.
- Launcher:
START-LAYA.batnow closes any leftover bridge process, so a second
copy can no longer fight over the decision engine's port.
Install
Drop LayaPlugin-0.3.0.jar into Hytale/UserData/Mods/ and restart Hytale. Remove
older LayaPlugin-*.jar builds first - two copies will both try to start the bridge.
Requires Hytale 0.7.x; tested on 0.7.4. Rebuild from hytale-plugin/ if the
server API changes.
Known limits
Till and plant only. Harvesting, and the layout that doubles growth by putting a
light source in the middle of the plot (Hytale's LightLevel growth modifier,
x2, satisfied by a lamp or torch alone), are next.
Laya Companion v0.2.0 (Hytale 0.7.4)
Laya Companion — plugin for Hytale 0.7.4
Tested on Hytale 0.7.4 (Windows x64).
This release is the companion plugin JAR. It is the exact build used in the
verification session — the one where Laya broke a silence on her own, in
character, while the player stood looking at a statue.
Install
Copy LayaPlugin-0.2.0.jar into your Hytale mods folder:
<Hytale>\UserData\Mods\LayaPlugin-0.2.0.jar
The AI bridge and setup live in the repository: see the
README and
INSTALL.md.
What's in this build
- Idle banter — after ~2 minutes without a message she looks around (and
sometimes at your screen) and says something about what you're doing, spoken
aloud with no chat text, then backs off to ~5 minutes. - Personality layers — default, spicy, potty mouth, mean, flirty, depressed,
military, unhinged, chosen in Settings. - Truthful about her kit — she answers from her live pack, held item and
armor; she no longer invents weapons she doesn't have. - Voice turns are spoken only — hold the talk key and she answers out loud
without printing to chat; typed chat still shows the text. - Real in-game time — she knows the actual clock and no longer warns you
about nightfall at midnight. - Appearance editor — real part names and texture previews, applied live.
- Inventory page — Laya's pack, gear, player inventory, stacking/sorting,
centered Equipped column. - Task and follow fixes — "follow me" cancels a running task; gathered
rubble and other soft blocks now actually reach her pack.
Full history and the bridge are in the repository.