How config.yml works
#Everything works as it ships. /harvest reload re-reads the file and applies straight away: produce prices, crew roles, every message, level costs, the base yield, a keeper's capacity and the settings a new keeper starts with.
Some settings need a server restart: the database block, a keeper's reach, territory.source, the keeper's body and nameplate, the saving and selling intervals and the journal's in-memory size. You do not have to remember which: a reload compares your edits with what is running and names anything that needs a restart.
The connections (land, money, prices, stacker, body, nameplate) can also be chosen in game with /harvest setup, which writes your choice back into this file.
Language and messages
#| Key | Default | Description |
|---|---|---|
language | en | Language for players and operators, menus included. Shipped: en, es, pt_br, de, ru, fr, tr, pl, zh_cn, it, nl, vi, ja, ko. |
messages | not set | Override single lines without keeping a language file. Use the same key as in the language file; it wins over the file. |
menus.prepare-in-advance | true | Build each menu's fixed items once and hand out copies. Turn it off while designing a menu so every open rebuilds from the file. |
To add a language, copy lang/en.yml to lang/<name>.yml, translate it and set language to that name. Lines a translation leaves out fall back to the shipped language.
messages:
placed: "<positive>✔</positive> <text>Your keeper is up and running."
Theme (colours)
#| Key | Default | Description |
|---|---|---|
theme.default | gold | Palette everybody sees until they pick their own. |
theme.players-choose | true | Players may pick their own palette with /harvest theme. The pick only changes their own menus and messages. |
theme.text | "#D3CEC4" | Colour of the words around the coloured parts. |
theme.muted | "#8D877C" | Hints and switched-off things. |
theme.positive | "#9CCB8F" | Mark on a success. |
theme.negative | "#E08A7E" | Mark on a refusal. |
theme.notice | "#EFA65A" | Mark on a warning. |
theme.palettes | gold, emerald, sapphire, amethyst, rose, silver | Each palette has four tones: primary, value, accent, heading. Add your own under a new name and it shows up in /harvest theme. |
Messages and menus use colour names such as <primary>, <value> and <text> instead of fixed colours, so changing a palette recolours every line in every language.
Keeper
#| Key | Default | Description |
|---|---|---|
keeper.reach-horizontal | 5 | How far a keeper notices things, in blocks out. With a claim plugin, reach stops at the land's edge. Restart needed. |
keeper.reach-vertical | 3 | Blocks up and down. Restart needed. |
keeper.base-yield | 1 | What one harvest gives at crop level 0. Each crop level adds one. Must be at least 1. |
keeper.capacity | 20000 | Total a level 1 keeper can hold, all produce together. A full keeper stops collecting; the farm keeps working. |
keeper.levels | 4 levels | Keeper levels after level 1, each with capacity and cost; optional tax-percent, commands and console-commands. [] means keepers never level. |
keeper.full-notice.to | owner | Who is told when a keeper fills up: owner, crew or off. |
keeper.full-notice.every-minutes | 30 | At most one notice per keeper in this many minutes. |
keeper.level-cost.base | 100.0 | Cost of the first crop level. Level n to n+1 costs base + n * step. |
keeper.level-cost.step | 50.0 | Added cost per crop level. |
keeper.level-cost.max-level | 20 | Highest crop level. |
keeper.harvest | auto | auto: keepers harvest each crop as it would ripen. drops: crops ripen normally and keepers collect what is broken nearby. player-choice: each owner decides with the LET_RIPEN setting. |
keeper.default-toggles | [] | Settings a new keeper starts with switched on: COLLECT_DROPS, COLLECT_MOB_DROPS, AUTO_SELL, HIDDEN, CULL, LET_RIPEN. |
The shipped keeper levels:
keeper:
levels:
- capacity: 40000
cost: 5000
- capacity: 80000
cost: 20000
- capacity: 160000
cost: 60000
- capacity: 320000
cost: 150000
A level can also run commands when it is bought; <player> and <level> are filled in:
- capacity: 640000
cost: 400000
tax-percent: 0
commands: ["say My keeper is level <level>"]
console-commands: ["lp user <player> permission set farm.master"]
Keeper body and nameplate
#| Key | Default | Description |
|---|---|---|
keeper.body.enabled | true | Show a body for each keeper. |
keeper.body.source | entity | entity (a plain mob), item (an item display), citizens, fancynpcs, znpcsplus, modelengine or bettermodel. A plugin that is missing falls back to a plain mob. Restart needed. |
keeper.body.type | VILLAGER | Any spawnable living mob. PLAYER makes a person with an NPC plugin. |
keeper.body.skin | "" | For an NPC of type PLAYER: whose skin it wears, as a player name. |
keeper.body.model | "" | For modelengine or bettermodel: the model id. |
keeper.body.item | "" | For item: a vanilla item (HAY_BLOCK) or a custom item key ("nexo:scarecrow"). |
keeper.body.scale | 1.0 | Size of the item body, 1.0 being a block. |
keeper.body.looks.players-choose | true | Owners may change their keeper's look from the Look button. |
keeper.body.looks.types | 19 mobs | Mob types an owner may pick, from VILLAGER to RABBIT. WITHER and ENDER_DRAGON are not allowed. |
keeper.body.looks.glow | 8 colours | Glow colours an owner may pick; [] for none. On Folia every glow is white. |
keeper.body.looks.skins | [owner] | Skins for an NPC body of type PLAYER; owner is the owner's own skin. |
keeper.nameplate.source | display | display (the game's own text display), decentholograms or hologramlib. Restart needed. |
keeper.nameplate.height | 2.2 | Blocks above the keeper's block. |
keeper.nameplate.format | "<value><stored><muted> / <text><capacity>" | MiniMessage text. <stored>, <capacity>, <kinds> and <owner> are filled in. |
keeper.nameplate.refresh-ticks | 20 | Shortest gap between two updates of one nameplate. 0 updates every time. |
keeper.nameplate.sweep-ticks | 40 | How often held-back updates are written. |
keeper.nameplate.sweep-limit | 200 | Most nameplates updated in one sweep. |
Bodies and nameplates are never saved to disk: they vanish with their chunk and are spawned again when it loads, so a restart never leaves abandoned keepers behind.
Territory (whose land is whose)
#| Key | Default | Description |
|---|---|---|
territory.source | auto | auto, chunks or a plugin name. Restart needed. |
territory.superiorskyblock.privilege | BUILD | Island privilege needed to place a keeper with SuperiorSkyblock2. |
Supported values for territory.source:
| Kind | Values |
|---|---|
| Islands | superiorskyblock, bentobox, iridiumskyblock, fabledskyblock, skyllia |
| Claims | lands, griefprevention, griefdefender, huskclaims, residence, protectionstones, ultimateclaims, uxmclaims, nclaim, rclaim |
| Groups | towny (one keeper per town), factions (one keeper per faction) |
| No plugin | chunks (one keeper per chunk, anybody may place) |
auto takes the first one installed, in the order above. There is one keeper per region. A player may place a keeper where they are a member of the land and may build. Admin land (spawn claims, server residences, wilderness) holds no keeper. WorldGuard is not a land source on purpose: its regions are drawn by staff, not owned by players.
Placing
#| Key | Default | Description |
|---|---|---|
placing.limit | 0 | Most keepers one player may own. 0 means no limit beyond one per region. simpleharvest.limit.<number> gives a personal limit (highest wins). |
placing.command | true | Whether /harvest place works. Turn it off to make keeper eggs the only way. |
placing.price | 0 | What /harvest place costs. Needs an economy when above 0. |
placing.refund-percent | 50 | Share of what was actually paid that comes back when the keeper is removed. |
placing.egg.enabled | true | Keeper eggs place keepers. Give them with /harvest give. |
placing.egg.return-on-remove | true | Removing a keeper that came from an egg gives the egg back. |
placing.egg.material | VILLAGER_SPAWN_EGG | What an egg looks like. Eggs already given out keep working if you change it. |
placing.egg.name | "<primary>Keeper egg" | Egg name (MiniMessage). |
placing.egg.lore | 2 lines | Egg lore. |
placing.on-new-land.enabled | false | Give a free keeper in every new claim, island or town (GriefPrevention, SuperiorSkyblock2, BentoBox, Towny). |
placing.on-new-land.offset | "0 0 0" | Offset from the centre of the land, as "x y z". |
Stacker and culling
#| Key | Default | Description |
|---|---|---|
stacker | auto | auto, rosestacker, wildstacker or none. With it known, keepers cull a stack the way the stacker kills one. Restart needed. |
culling.interval-ticks | 100 | How often culling keepers look for mobs. Restart needed. |
culling.keepers-per-sweep | 100 | Keepers visited in one sweep. Restart needed. |
culling.max-per-sweep | 16 | Most mobs one keeper kills in one sweep. |
culling.targets | [hostile] | hostile, animals or mob names such as ZOMBIE or COW; mix freely, for example [hostile, COW]. |
culling.spare-animals | 2 | Animals of each kind left alive so a pen keeps breeding. Monsters are never spared. |
culling.experience.capacity | 100000 | Most experience one keeper holds. |
culling.experience.price | 0 | What one experience point sells for. 0 means it can be taken out but not sold. |
Culling is switched on per keeper by its owner (the CULL setting). A keeper never kills anything with a name, tamed, leashed, riding or ridden mobs, babies, bosses, NPCs or keeper bodies.
Crew
#| Key | Default | Description |
|---|---|---|
crew.roles | Hand, Foreman | Roles an owner can give the people they invite. Each has a fixed id, a name and permissions. |
crew.default-role | 1 | Role id given when none is named on invite. |
crew.land-members-role | none | Role every member of the keeper's land holds without an invite (island members, trusted players, town residents). An id, a name or none. |
crew.keep-on-transfer | false | Whether a keeper handed to another player keeps its crew. |
Crew permissions: WITHDRAW, SELL, RAISE_LEVEL, INVITE, EXPEL, EDIT_SETTINGS, RELOCATE, VIEW_JOURNAL. The owner always holds all of them.
crew:
roles:
- id: 1
name: Hand
permissions: [WITHDRAW, SELL]
- id: 2
name: Foreman
permissions: [WITHDRAW, SELL, RAISE_LEVEL, INVITE, EDIT_SETTINGS, VIEW_JOURNAL]
default-role: 1
Produce and prices
#| Key | Default | Description |
|---|---|---|
produce.price-source | config | config, auto, shopguiplus, economyshopgui or excellentshop. A shop source takes what the shop pays for one of each crop. Restart needed. |
produce.fallback-to-config | true | With a shop source, crops the shop does not buy use the price below. false keeps them in the keeper. |
produce.price-refresh-ticks | 6000 | How often a shop's prices are read again (6000 = five minutes). Restart needed. |
produce.prices | 9 crops | Price for one of each item. |
The shipped prices:
produce:
prices:
WHEAT: 2.0
CARROT: 2.0
POTATO: 2.0
BEETROOT: 2.5
NETHER_WART: 4.0
SUGAR_CANE: 1.5
COCOA_BEANS: 3.0
MELON: 3.0
PUMPKIN: 3.0
Use item names (CARROT, not the CARROTS block). Custom items are written as plugin and id, for example "itemsadder:farming:ruby_berry": 12.0, "nexo:mango": 4.0, "oraxen:onion": 3.0 or "craftengine:default:topaz": 25.0. A crop that is not listed, or listed at 0, is not for sale: it stays in the keeper when the rest is sold.
Economy and selling
#| Key | Default | Description |
|---|---|---|
economy.source | auto | auto, vault, coinsengine, excellenteconomy, playerpoints, island-bank or none. island-bank pays into the owner's SuperiorSkyblock island bank and must be named. Restart needed. |
economy.coinsengine.currency | coins | CoinsEngine or ExcellentEconomy currency id. |
economy.playerpoints.format | "{amount} points" | How a PlayerPoints amount is written. Points are whole numbers, so prices are rounded. |
selling.interval-ticks | 1200 | Ticks between automatic sale sweeps for keepers with AUTO_SELL on. Restart needed. |
selling.keepers-per-sweep | 200 | Most keepers put up for sale in one sweep. |
selling.tax-percent | 0 | Share of every sale that never reaches the owner and leaves the economy. |
selling.experience-tax-percent | 0 | The same for selling experience. |
Journal and saving
#| Key | Default | Description |
|---|---|---|
journal.recent-entries | 50 | Recent entries kept in memory per keeper for the journal window. Restart needed. |
journal.keep-days | 30 | How long journal rows are kept in the database. |
saving.interval-ticks | 6000 | Ticks between save cycles (five minutes). Only changed keepers are written, off the main thread. Restart needed. |
saving.keepers-per-cycle | 500 | Most keepers one cycle writes. |
Database
#| Key | Default | Description |
|---|---|---|
database.engine | sqlite | sqlite, mysql or mariadb. An unknown value stops the plugin instead of falling back. |
database.table-prefix | harvest_ | Table prefix: letters, digits and underscores only. |
database.file | harvest.db | SQLite only, relative to the plugin folder. |
database.host | localhost | MySQL/MariaDB host. |
database.port | 3306 | MySQL/MariaDB port. |
database.database | harvest | Database name. |
database.username | '' | User name. |
database.password | '' | Password. |
database.use-ssl | false | Connect with SSL. |
database.pool-size | 6 | Connections to keep. Ignored on SQLite. |
database.connection-timeout-millis | 10000 | Connection timeout. |
The network section is covered in Network and migration.
Menus
#Every window is a file in menus/ (keeper.yml, settings.yml, crew.yml, journal.yml, look.yml, appearance.yml, stats.yml, setup.yml). Each file explains itself at the top. You can move, re-skin, re-word or hide any button (slot: -1), add your own extras, set a filler, change the title (a resource pack font works) and the open sound. Anything you leave out comes from the shipped copy, so a change can be a single line:
buttons:
sell:
slot: 10
Menu items can also carry view-requirement, click-requirement and deny-message written in the rule language.
Found a mistake or something missing? Open a ticket on Discord.
Report an issue