Gallery

Description
GlymeraFarmer - Automatic Farming with a Kweebec Sapling
Place the Farmer Chest, drop a seed inside, and a friendly Kweebec Sapling tends your fields. Plants, harvests, and deposits the crops back into the chest while you go off and adventure.
What is GlymeraFarmer?
GlymeraFarmer turns farming from a chore into a background task. You place a custom Farmer Chest somewhere near your fields, put a seed in it, and a Kweebec Sapling spawns next to the chest as your personal farmer. From that point on, the farmer:
- Walks to nearby empty farmland and plants a seed.
- Walks to fully grown crops and harvests them.
- Walks back to the chest and deposits the harvest.
- Repeats forever, as long as there is at least one seed in the chest.
The seed itself is never consumed — one Wheat seed in the chest powers an unlimited Wheat field. Drops accumulate inside the chest until you come back to collect them.
How It Works
- Craft the Farmer Chest at the Fieldcraft Bench (or Workbench, "Workbench Survival" tab) from
1x Crude Chest Small+1x Wheat Seed. Crafting time: 2 seconds. - Place the chest within sight of your fields.
- Place a seed of your choice inside the chest. The chest decides what gets planted — change the seed, and the farmer switches crops.
- Till and water the soil as usual (or use crystallized dirt for alchemical plants — see below).
- A Kweebec Sapling spawns next to the chest and starts working. It walks, plants, harvests, and returns drops to the chest on its own.
If the chest runs out of plantable space, the farmer simply waits. If the chunk unloads, the farmer despawns and respawns the next time the chunk loads — no orphan NPCs lying around.
Square Work Area
The farmer's working zone around the chest is a square, not a circle. With the default maxWorkRadius = 32 it covers a 65×65 block area centered on the chest. This makes it easy to lay out clean rectangular field grids — for example eight 5×5 plots side by side, each with a different crop, all reachable from a single chest. Lower the radius in the config if you want a smaller, more focused farm.
Supported Crops
14 Standard Crops
Wheat, Corn, Potato, Carrot, Lettuce, Onion, Tomato, Turnip, Rice, Cotton, Pumpkin, Aubergine, Chilli, Cauliflower
All standard crops grow on regular tilled farmland (Soil_Dirt_Tilled).
14 Eternal Variants
Each standard crop also has its Eternal version (Eternal Wheat, Eternal Corn, …; craftable at the Farming Bench Tier 2). Eternal plants are the endgame of automation — and the farmer treats them exactly like Hytale does:
- A mature eternal plant is never removed on harvest. The farmer collects the crop plus Life Essence and resets the plant to a young stage. It regrows on its own.
- An eternal field never needs replanting and never consumes anything. Set it up once, collect forever.
- Drop amounts match the game's own eternal harvest tables (crop + 1–8 Life Essence depending on the sort).
- To dismantle an eternal field, break the plants — that returns the eternal seed bags.
6 Alchemical Crops (Tier 1 + Tier 2)
| Crop | Required Ground |
|---|---|
| Blood Rose, Bigger Blood Rose (Health1, Health2) | Crystallized Dirt |
| Azure Fern, Greater Azure Fern (Mana1, Mana2) | Crystallized Dirt |
| Stamina Tier 1, Stamina Tier 2 | Regular farmland |
Place a row of crystallized dirt next to your normal field, drop a Blood Rose seed bag in the chest, and the farmer plants and harvests there. Mix and match — one chest can serve farmland and crystallized-dirt rows at the same time, you only need to swap the seed.
Tier 3 Alchemical Plants (Health3, Mana3, Stamina3)
Tier 3 plants grow sideways on a wall (Hytale's Support rule), which a farming bot cannot place sensibly. The farmer does not plant these. If you want them, place them by hand.
Smart Behavior
- Harvest priority. If there is a mature crop nearby, the farmer harvests first, plants second. No half-grown fields with empty corners.
- Live crop switching. Swap the seed bag in the chest and the farmer notices within seconds — no restart, no manual cleanup. It keeps harvesting the mature leftovers of the previous sort (every known crop type is fair game) while planting the new one on free farmland.
- Chest deposit. Drops go straight into the Farmer Chest. The farmer walks back periodically to empty its hands.
- Multiple chests. You can run several Farmer Chests in parallel. Each chest tracks its own farmer by UUID, so adjacent chests don't poach each other's NPCs.
- No duplicates. A periodic cleanup pass removes any extra Kweebec Saplings that somehow ended up duplicated near a chest.
- Chunk-aware. The farmer despawns when its chest unloads and respawns cleanly when you return. No invisible duplicates spawning over time.
- Reachability check. The farmer only targets blocks it can actually walk to — no getting stuck on an unreachable tile.
Configuration (mods/Glymera_GlymeraFarmer/config.json)
| Field | Default | Meaning |
|---|---|---|
scanRadius |
16 | How far around the farmer's current position it scans for plantable / harvestable blocks |
maxWorkRadius |
32 | How far from its chest the farmer is allowed to roam (square radius). The farm covers a (2·r+1)×(2·r+1) area |
chestScanRadius |
48 | How far the plugin scans for active Farmer Chests around online players |
farmerTickMs |
2000 | Milliseconds between farmer state-machine ticks |
chestScanTickMs |
5000 | Milliseconds between chest discovery scans |
workDistance |
3.5 | Reach distance — when the farmer is this close to the target, it starts working |
maxActiveChests |
3 | Max number of farmer chests active per player at the same time |
stuckTimeoutMs |
30000 | If the farmer doesn't make progress for this long, it resets and picks a new target |
returnTimeoutMs |
60000 | If the farmer can't reach its chest within this time, it warps back |
depositThreshold |
16 | After this many items in the inventory, the farmer returns to deposit |
enableSpecialCrops |
true | Master switch for the alchemical crops (Blood Rose, Azure Fern, Stamina) |
craftingEnabled |
true | If false, the Farmer Chest cannot be crafted (you can still spawn it via OP commands) |
Tips
- One chest = one active crop, the first known seed bag in the chest wins. To switch crops, take the old bag out and put the new one in — adding a second bag next to the first does nothing.
- To farm multiple crops simultaneously, place multiple Farmer Chests with different seeds — and keep their work areas from overlapping, otherwise the farmers will harvest each other's fields.
- Lay out fields as rectangles, not circles — the work area is square.
- For alchemical farming, just embed a strip of crystallized dirt into a normal field. The farmer handles the boundary automatically.
- Drops pile up — empty the chest before it fills past
depositThreshold.
License
Free for personal and server use. No attribution required.
Changelog
GlymeraFarmer - Changelog
v12.0.0 (2026-08-28) — Hytale 0.6.0 (Update 6)
- Rebuilt for Hytale 0.6.0 (Update 6). Requires server 0.6.0 or newer; this version does not run on 0.5.x, and older versions of this plugin do not run on 0.6.0.
- Migrated to the 0.6.0 APIs (network protocol hytale/3, new command-permission API, block/chunk/entity API changes). Everything that was open to players before is open to players again.
- Upgrade: delete the old jar from
mods/, drop in the new one and keep the plugin's data folder — configs and saved data carry over unchanged. Restart the server.
v11.0.0 (2026-06-16)
- Fixed: eternal crops were destroyed instead of regrowing when the farmer harvested them. On a tall eternal crop (corn, wheat, cotton — anything taller than one block) the auto-farmer left a "floating" seed bag behind and the plant did not come back as a young plant. Two root causes, both fixed:
- Wrong cell. A tall plant occupies two cells — a base cell that carries the growth-state plus a filler cell above it. The farmer's scan could target the filler cell and "harvest" that, which corrupts the plant. The harvest target is now resolved to the plant's base cell first (
getBaseBlock— the same filler→origin resolution already used for hoppers sitting on double chests / tall furnaces). - Wrong reset. The eternal reset used a raw
setBlock, which leaves the block's old farming growth-state behind, so the freshly-placed plant never grew and the engine dropped it back as its eternal seed. The farmer now resets the growth-state exactly the way Hytale's own harvest does, so a real young plant stands again and regrows. - Changed: one unified harvest path for every crop, matching the native (F-key) harvest. All crops now go through the same code; the engine decides from the block config whether the plant survives (eternal → keeps a young, regrowing plant) or is removed (normal → cleared, including the filler cell of tall plants). Produce is still credited to the chest exactly as before; the native item drops are not used, so nothing litters the ground.
- No config changes; chest/data format unchanged.
v10.0.0 (2026-06-11)
- Fixed: Eternal seeds finally work. Since v1.1 the eternal crop variants were registered under a block name that does not exist (
..._Eternal_Blockinstead of Hytale's actual..._Block_Eternal), so an eternal seed bag in the chest did nothing. All 14 eternal crops now plant and harvest correctly. - New: True eternal harvesting. Mature eternal plants are not removed on harvest - the farmer resets them to a young plant (exactly like Hytale's own harvest interaction) and collects the crop plus Life Essence, using the exact drop amounts from the game's eternal harvest tables. An eternal field never needs replanting; to dismantle it, break the plants (returns the eternal seed).
- Fixed: Seed switching no longer deadlocks. Previously the farmer only re-read the chest while depositing - if leftover crops of the old sort blocked the field, it never deposited and a seed swap was never noticed (farmer idled forever). Now it re-checks the seedbag every 5 seconds while scanning, and it harvests mature crops of all known types, so it clears the old field on its own and transitions to the new crop.
- Note: one chest still farms exactly one sort at a time - the first known seed bag (lowest slot) in the chest wins.
v9.0.0 (2026-06-11)
- Fixed: records are now world-bound.
chests.jsonstores the world of every farmer chest. Previously the world was only re-discovered after a restart when a player's scan re-found the block in their own world - until then the farmer stayed dormant, and identical coordinates in two worlds could adopt the wrong one. Legacy entries without a world self-heal: they are adopted by the world where the block is verifiably present. - No other behavior changes - placement, work logic, limits and persistence format stay compatible (the world field is added on the next save).
v8.0.0 (2026-05-29)
- Fix: Eliminated the
SEVERE Duplicate asset pack '...'error that appeared on every server boot after the first. The plugin generates its asset pack intomods/and Hytale's auto-scan already loads it at startup; the plugin then re-registered the same pack viaregisterPack(), which the engine flagged as a duplicate. The plugin now registers the pack only if it is not already loaded (AssetModule.getAssetPack(name) == null), mirroring the engine's own check. No functional change — assets load exactly as before, just without the log error. - Fix: The generated pack manifest now declares
"ServerVersion":"*"and is (re)written on every boot, clearing Hytale's "does not specify a target server version" warning (which Hytale states will become a hard error in a future version). Existing installs are upgraded automatically on the next start.
v6.0.0 (2026-05-03)
- Change: Work area around the chest is now a square instead of a circle. Lets you build clean rectangular field layouts (e.g. multiple 5x5 plots side by side) without the corners falling outside the farmer's reach. With
maxWorkRadius=32(default) the farmer now covers a 65x65 area around the chest. LowermaxWorkRadiusin the config if that is too large for your setup. - Fix: Alchemical seeds (Blood Rose, Azure Fern, …) no longer drop back as items right after planting. The farmer used to plant them on regular farmland, but Hytale's Support.Down rule destroys them on the first growth tick — effectively a seed-duplication bug. The farmer now plants each crop only on the ground type it actually accepts:
- Blood Rose & Bigger Bloom (Health1, Health2) and Azure Fern & Greater Azure Fern (Mana1, Mana2): require Crystallized Dirt (
Soil_Dirt_Crystal). Place a few crystallized dirt blocks next to your regular farmland and the farmer will plant and harvest them there. - Stamina1, Stamina2: still grow on regular farmland (Hytale accepts the soil tag).
- Tier 3 alchemical plants (Health3, Mana3, Stamina3): removed from the farmer's planting pool. These plants grow sideways on a wall, which a farming bot cannot place sensibly. Plant them by hand.
- Behavior: if no compatible ground is available within
maxWorkRadius, the farmer simply waits. It will not plant on the wrong block anymore.
v2.0.0 (2026-03-13)
- Fix: Critical NPC duplication bug when players fly far away and chunks unload
- New: Chunk-loaded check before farmer respawn - prevents spawn loop in unloaded chunks
- New: Cleanup of old farmer NPCs near chest before spawning a new one (30 block radius)
- New: Periodic duplicate detection every 10 seconds - removes excess farmers, keeps tracked one
- Fix: Adjacent chest cleanup no longer removes farmers belonging to other chests (UUID check)
v1.1.0 (2026-03-12)
- New: Special crops support (Health, Mana, Stamina plants) - harvest by block type swap detection
- New: Eternal crop variants (14 types)
- New: Config option: enableSpecialCrops
v1.0.0 (2026-03-11)
- Initial release
- Chest-based farming NPC system
- Custom Furniture_Farmer_Chest with Kweebec_Sapling farmer
- Automatic planting and harvesting (14 standard crops)
- State machine: WAITING_FOR_SEED > SCANNING > PLANTING/HARVESTING > DEPOSITING
- Priority system: Harvesting before planting
- Seed stays in chest (infinite use)
Only Marc can read this.