MinionCore logoMinionCore

Menus

How gui.yml lays out every MinionCore menu, with slot numbers, button keys and the placeholders each menu fills in.

Every menu in the plugin is built from gui.yml: its title, its size, which button sits in which slot, what each button looks like and the sound it plays. You can move buttons, restyle them, rename them or translate them without touching anything else.

Menu text lives in gui.yml, not in the language files. Changing language in config.yml does not change menu titles or button names. A few words that appear inside menus do come from the language file: the status words (Working, Out of fuel and so on), and the short values under menu such as "Max", "None" and the filter mode names.

Changes apply the next time a menu is opened after /minion reload.

Slot numbers

Slots count from 0 in the top left corner, left to right, then row by row. Each row has 9 slots.

RowSlots
10 to 8
29 to 17
318 to 26
427 to 35
536 to 44
645 to 53

Keys every menu uses

KeyWhat it does
titleThe text at the top of the menu, in MiniMessage
rowsHow many rows the menu has, from 1 to 6. Menus with pages always have at least 2
fillerWhether empty slots are filled with the filler item
navigationPage buttons for this menu only, see navigation
frameWhether the bottom row uses the frame item, and the top row too on menus without content-rows
layoutOnly on minion and view. Rows whose buttons are packed together, see Packed rows
packed-rowsOnly on minion and view. false switches layout off, so every button sits on its own slot
content-rowsPaged menus only. How many rows at the top hold entries. The rows below hold buttons
itemsThe buttons

Every button accepts all the item keys (material, name, lore, custom-model-data, itemsadder and the rest), plus these:

KeyWhat it does
slotWhere the button sits. A slot outside the menu, such as -1, hides the button
slotsMore slots that show the same button and do the same thing when clicked, such as slots: [45, 46, 47]. A button with only slots sits on the first one. Copies never cover another button or a slot that holds items
soundA sound key played when it is clicked, such as ui.button.click. Empty for no sound
iconOnly on buttons that stand for one minion. TYPE shows that minion type's own item, see Type icons
statesA different look per state, such as paused or running, see Button states
tooltip-styleA resource pack tooltip style for this button, see Tooltip styles
hide-tooltiptrue shows no tooltip at all when the button is hovered

slots works on every button in every menu, page buttons included. In the sapling menu slot and slots are columns of the bottom row, from 0 to 8, not menu slots.

Page buttons under navigation take the same item keys as any other button, so itemsadder, item-model and custom-model-data make them invisible or custom over a drawn background.

Buttons that stand for one upgrade kind also take material: UPGRADE, see Upgrade icons.

In a paged menu (storage, filter, filter groups, trust, list, view, paired, admin, shop category), buttons must sit in a row below content-rows. A button set inside the content area is not shown.

PlaceholderAPI placeholders also work in titles, names and lore when PlaceholderAPI is installed.

Every menu that belongs to one minion fills these placeholders in its title:

PlaceholderShows
%type%The type's display name
%type_id%The type file name, such as miner
%level%The minion's level
%max_level%The type's highest level
%status%The status text, such as Working or No fuel
%status_id%The status in lower case, such as working or no_fuel
%owner%The owner's name
%paused%true or false
%fuel_percent%, %storage_percent%, %xp_percent%How full fuel, storage and stored experience are, from 0 to 100
%fuel_step%, %storage_step%, %xp_step%The same, rounded to a step from 0 to gauges.steps, see Gauges

A menu can also take titles-by-status, a title per status used instead of title. The keys are the %status_id% values: working, no_fuel, storage_full, no_target, paused, chunk_unloaded, owner_offline and broken.

gui.yml
minion:
  title: "<white>"
  titles-by-status:
    paused: "<white>"
    no_fuel: "<white>"
    storage_full: "<white>"

The title is set when the menu opens, so a status change shows the next time the menu is opened.

%type_id% and %status_id% never change with the language file, so they suit resource pack font tricks that draw a background behind the title.

Per type menus

A minion type can have its own menus. Make a file in the menus folder named after the type id, such as plugins/MinionCore/menus/miner.yml, and write it like gui.yml, with only the keys you want to change. Every menu opened for a minion of that type uses gui.yml with those keys put over it. Anything left out comes from gui.yml.

menus/miner.yml
minion:
  title: "<white>\uE001"
  rows: 6
  packed-rows: false
  items:
    storage:
      slot: 10
      slots: [11, 19, 20]
storage:
  title: "<white>\uE002"

This works for the minion, storage, upgrades, filter, block filter, filter groups, trust, trust picker, view, saplings, repair, paired and pair confirm menus. The main menu, list, admin and shop menus are not tied to one type and always use gui.yml.

A shop category can have its own file the same way, in the shop folder inside the menus folder and named after the category id from shop.yml, such as menus/shop/upgrades.yml. It is put over gui.yml when that category is open, so each category can have its own shop-category title, background and buttons. Changes are read on /minion reload. type-menus-folder at the top of gui.yml names the folder, and an empty value switches per type menus off.

Hidden buttons

Some minion menu buttons only show for some types, such as pair, seller or saplings. On a drawn background that leaves an empty space. Give the button a hidden-item and that item is shown in its place whenever the button is hidden:

gui.yml
minion:
  items:
    saplings:
      slot: 20
      hidden-item:
        material: GRAY_STAINED_GLASS_PANE
        name: " "

hidden-item takes every item key. It sits on the button's own slot and slots, or on its own slot and slots when it has them, and is never clickable. It is not used for buttons hidden with a slot outside the menu. With packed-rows on, the visible buttons move, so drawn backgrounds work best with packed-rows: false.

Button states

A button that shows a state can look different in each one. Add a states section with an entry per state, holding only the keys that change. Everything else comes from the button itself.

gui.yml
minion:
  items:
    pause:
      slot: 40
      material: LIME_DYE
      itemsadder: "mypack:invisible"
      name: "<green>Pause"
      states:
        paused:
          itemsadder: "mypack:paused_icon"
          name: "<yellow>Resume"
MenuButtonStates
minionpauserunning, paused
minionstatusworking, no_fuel, storage_full, no_target, paused, chunk_unloaded, owner_offline, broken
minionupgrade-levelavailable, max
minionarea-previewoff, on
minionfilteraccept, ignore
minionblock-filteroff, blacklist, whitelist
upgradeslevelavailable, max
filtermodeaccept, ignore
block-filtermodeoff, blacklist, whitelist
filter-groupsgroupchosen, not-chosen

paused-material on pause and chosen-material on group still work. When the button has a states.paused or states.chosen entry, that entry is used instead.

Custom items

Any menu can hold extra items under custom-items, for decoration, a help page or a link to another plugin. Each one takes slot or slots, every item key, sound, an optional permission the viewer needs to see it, and actions run in order on click.

gui.yml
minion:
  custom-items:
    help:
      slot: 8
      material: BOOK
      name: "<green>Help"
      actions:
        - "[player] warp minions"
        - "[close]"
    decor:
      slots: [0, 9]
      itemsadder: "mypack:corner"
      hide-tooltip: true
ActionWhat it does
[player] <command>The player runs the command
[console] <command>The console runs the command
[menu] main, list, shop or shop:<category>Opens that menu
[close]Closes the menu

%player% and PlaceholderAPI placeholders are filled in actions. An item with no actions does nothing when clicked. Custom items only go on empty slots or slots holding the filler, so they never cover a real button.

Tooltip styles

On 1.21.2 and newer a resource pack can add tooltip styles. tooltip-style at the top of gui.yml sets one for every menu icon, tooltip-style on a menu sets one for that menu's buttons, and tooltip-style on a button sets it for that button alone. Page buttons use their own key or the one at the top of the file. Older servers skip the key with one warning. Stored items in the storage, view and sapling menus are never changed.

Gauges

The gauge placeholders turn fuel, storage and stored experience into a step, so a resource pack font can draw a bar in a title or lore line, with one glyph per step.

gui.yml
gauges:
  steps: 10
  fuel-max: 5000
  experience-max: 1000

Fuel counts against the type's max-stored-actions, or fuel-max for types with no limit. Storage counts stored items against the storage capacity. Experience counts against experience-max. The step placeholders work in minion menu titles and in the lore of minion menu buttons.

Item details

Minecraft adds its own lines under many items: attack damage and attack speed on tools and weapons, armour on armour pieces, enchantments, potion effects, dye colour and more. On a menu button these only get in the way, so they are hidden and a button shows just its name and lore.

gui.yml
hide-item-details: true

This one key covers every menu, including the shop icons from shop.yml and the entries of the filter and block filter menus. An item with enchantments still glows.

Items stored in a minion are real items, so they keep their own lines in the storage, view and sapling menus, and nothing a player takes out or buys is changed.

Set it to false to show the vanilla lines again. You can then hide them on single buttons with flags, such as HIDE_ATTRIBUTES.

Packed rows

The minion and view menus take a layout list. Each entry names a row and the buttons on it:

minion:
  layout:
    - row: 1
      items: [storage, status, fuel]
    - row: 2
      items: [experience, pair, paired, seller-link, saplings, catches, area, feeder, seller, mode]
    - row: 3
      items: [upgrades, filter, block-filter, trust, pause, facing]

A button named in layout ignores its own slot. The buttons a minion actually shows are centred on their row, and the ones it does not show leave no gap. Up to four buttons keep an empty slot between them, five fill every other slot, and six or more sit side by side. A row with more than nine spills onto the next row. Buttons not named in layout keep their slot.

To place every button yourself, set packed-rows: false. The layout list stays in the file but is ignored, and each button sits on its own slot. Nothing is moved for you then, so two buttons one minion shows must not share a slot. Buttons that only different types show, such as catches and seller, can share one. An empty layout: [] does the same.

minion:
  packed-rows: false
  items:
    storage:
      slot: 10
    upgrades:
      slot: 31

Type icons

Buttons that stand for one minion can show that minion's own item instead of a fixed material. Set icon: TYPE on them.

gui.yml
list:
  items:
    entry:
      icon: TYPE
      material: PLAYER_HEAD
      name: "<green>%type%"

With icon: TYPE, the look comes from item in the minion's type file: its material, head, custom-model-data, item-model, itemsadder id or saved item. The name, lore, amount, flags and enchantments still come from gui.yml. Leave icon empty to use material and the other keys from gui.yml as before.

These buttons take icon, and ship with icon: TYPE:

MenuButton
minioninfo
listentry
adminentry
pairedentry
pair-confirmminion
viewinfo, and any other button in that menu

The shipped type files use player heads with their own textures, so the list and admin menus show a different head for each profession.

Upgrade icons

Buttons that stand for an upgrade kind can show the real upgrade item from upgrades.yml instead of a fixed material. Set material: UPGRADE on them.

gui.yml
upgrades:
  kinds:
    looting:
      material: UPGRADE
      name: "<gold>Looting"

The look comes from the upgrade item: its material, head, custom-model-data, item-model, itemsadder id, saved item and shine. The name and lore still come from gui.yml. When a kind has more than one upgrade, such as the three storage tiers, the button shows:

  1. The upgrade the minion would take next, so the third storage tier shows as an ender chest once the first two are on.
  2. Otherwise the first upgrade of that kind the minion's type may use.
  3. Otherwise the first upgrade of that kind in upgrades.yml.

A kind with no upgrade item at all, such as level in the shipped files, shows a built in material, EXPERIENCE_BOTTLE for levels. Any other material, an itemsadder id or a saved-item turns UPGRADE off for that button.

These take material: UPGRADE, and ship with it:

Menu or fileButtons
minionupgrade-speed, upgrade-storage, upgrade-range, upgrade-fuel-efficiency, upgrade-connections
upgradesEvery entry under kinds
shop.ymlThe display of an entry with sells: UPGRADE, see Shop and claims

Up to 1.0.0-3 these buttons had a fixed material that did not always match the item, such as a gold ingot for Looting, an iron block for Reliability, a feather for Silk Touch and a chest for every storage tier. When gui.yml updates to gui-version: 5, each of these that still holds its old shipped material is switched to UPGRADE. A material you chose yourself is kept.

filler

The item used to fill empty slots in any menu that has filler: true.

KeyDefaultWhat it does
materialGRAY_STAINED_GLASS_PANEThe filler material
name" "A single space hides the name

frame

The item used for the frame rows of any menu that has frame: true. It goes on the bottom row, and on the top row too in menus without content-rows, in every slot no button uses.

KeyDefaultWhat it does
materialBLACK_STAINED_GLASS_PANEThe frame material
name" "A single space hides the name

Shared page buttons, used by every menu that needs them.

ButtonDefault slotMaterialUsed in
previous45ARROWStorage, filter, filter groups, trust, list, view, paired, admin and shop category menus, when there is an earlier page
next53ARROWThe same menus, when there is a later page
back49BARRIERStorage, filter, filter groups, trust, paired, view and shop category menus
close49BARRIERList, admin and the main shop menu

Each takes slot, material, name, lore, sound and the other item keys. %page% shows the page the button leads to on previous and next, and the current page on back and close.

A menu can have its own page buttons. A navigation section inside a menu, such as storage.navigation.next, is used for that menu instead of the shared one. Buttons it leaves out still come from the shared section.

gui.yml
storage:
  navigation:
    next:
      slot: 50
      material: PAPER
      name: "<green>Next page"

main

Opened by /minion on its own. Needs the minioncore.use permission.

KeyDefault
title<dark_gray>Minions
rows3
fillertrue
frametrue
ButtonSlotWhat it doesPlaceholders
shop11Opens the shop. Only shown while the shop is on in shop.yml and the player has minioncore.shopnone
minions13Opens the list of the player's minions%count% placed minions
claim15Hands over items waiting for the player%amount% items waiting

minion

The menu for one minion, opened by right clicking it. See Minion menu for what players do with it.

KeyDefault
title<dark_gray>%type%
rows6
fillertrue
frametrue
ButtonSlotShown whenWhat it does
info4AlwaysShows owner, level and placing date, followed by the description lines from the type file. Ships with icon: TYPE
storagerow 1The type has max-storage above 0Opens the storage menu
statusrow 1AlwaysShows status, speed and range
fuelrow 1The type uses fuelDrop fuel on it to add one item. Shift clicking fuel in your own inventory adds the whole stack
pairrow 2Chunk collector minionsCloses the menu and waits for the player to right click a minion to pair. Needs pair access
pairedrow 2Chunk collector minionsOpens the paired minions menu
saplingsrow 2Lumberjack minions while they replantOpens the saplings menu. Needs saplings access
experiencerow 2output.collect-experience is onGives the stored experience to the player
catchesrow 2Fisherman minionsLists what the minion can catch
arearow 2Chunk loader and chunk collector minionsShows the chunk area
moderow 2Chunk collector minionsSwitches to the next mode in settings.modes of the type file. Owner only
upgradesrow 3AlwaysOpens the upgrades menu. Needs upgrade access
upgrade-level-1AlwaysBuys the next level, or takes a LEVEL upgrade item dropped on it
upgrade-speed-1Not on chunk loadersDrop a speed upgrade on it
upgrade-storage-1The type has storageDrop a storage upgrade on it
upgrade-range-1The type has max-range above 0Drop a range upgrade on it
upgrade-fuel-efficiency-1The type uses fuelDrop a fuel efficiency upgrade on it
upgrade-connections-1Chunk collector minionsDrop a connections upgrade on it
filterrow 3The type has storage and may use a filterOpens the filter menu
block-filterrow 3Miner, farmer and lumberjack types with block-filter.enabled: trueOpens the block filter menu. Needs block filter access
pauserow 3AlwaysPauses or resumes the minion. Owner only
trustrow 3AlwaysOpens the trust menu. Owner only
facingrow 3AlwaysLeft click turns the minion clockwise, right click turns it back. Owner only
statistics47AlwaysShows lifetime statistics
pickup51AlwaysPicks the minion up
close49AlwaysCloses the menu

Buttons on a row come from the packed rows layout, so only the ones a minion has are shown, centred. The level, speed, storage, range, fuel efficiency and connections buttons ship hidden at -1, since levels are bought and upgrade items applied in the upgrades menu. Give one a slot, such as 37, to show it again. It still takes an upgrade item dropped on it.

Extra keys some buttons take:

ButtonKeyWhat it does
pausepaused-materialThe material shown while the minion is paused. material is shown while it works
catchesentryOne line added per catch of a CUSTOM loot table. %item% is the catch name and %chance% its chance
catchesvanillaThe line shown instead when the type uses vanilla fishing loot
upgrade-speed, upgrade-storage, upgrade-range, upgrade-fuel-efficiency, upgrade-connectionslocked-loreThe lines shown instead of lore while upgrades.require-max-level is on and the minion is below its highest level. %current% is the value now and %max_level% the level that unlocks the button. Leave the key out to always show lore

Every button in this menu can use these placeholders:

PlaceholderShows
%type%The type's display name
%owner%The owner's name
%level%The level
%placed%The date it was placed, as year-month-day
%status%The status text from the language file
%state%The "Working" or "Paused" text from the language file
%delay%Seconds between actions
%range%The work area, such as 3x3
%used% and %slots%Storage slots used, and in total
%stored% and %capacity%Items stored, and how many fit: 64 for each storage slot
%fuel%Stored fuel actions
%fuel_use%Fuel one action uses, with two decimals, such as 1.10
%facing%The direction the minion looks, from menu.facing-north and the other facing words in the language file
%working%The menu.working or menu.not-working text, depending on whether the status is Working
%collector%Where the collector this minion is paired with stands, or the "None" text
%experience%Stored experience points
%mode%The filter mode name from the language file
%count%Trusted players
%actions%Actions taken in total
%items%Items produced in total
%fuel_used%Fuel actions used in total
%time%Time spent working, such as 2h 15m
%world%, %x%, %y%, %z%Where the minion stands

Some buttons fill in extra ones:

ButtonPlaceholders
upgrade-level%current% level, %next% level (or the "Max" text), %cost% of the next level (or the "None" text)
upgrade-speed, upgrade-storage, upgrade-range, upgrade-fuel-efficiency%current% value, and %next% value after the next upgrade that would fit (or the "Max" text)
area%area% size in chunks, such as 3x3, and %minions% other minions inside it
pair, paired, mode, upgrade-connections%connections% minions paired now, %connection_capacity% how many can be, %collector_mode% the mode text from menu.collector-paired, menu.collector-ground or menu.collector-both
upgrade-connections%current% connections now, and %next% after the next connections upgrade (or the "Max" text)
saplings%saplings% saplings stored, %sapling_slots% slots in the sapling store
upgrades%upgrades% installed upgrades that count towards breakdowns
block-filter%block_filter_mode% the mode text, %block_filter_count% blocks listed, %block_filter_max% the most it can hold

Open minion menus update by themselves when the minion changes, so fuel, storage and status stay current while a player watches.

storage

KeyDefault
title<dark_gray>%type% storage
rows6
content-rows5
fillerfalse
frametrue

The content rows show the stored items, spread over as many pages as the minion's storage needs. Left click takes a stack, right click takes half.

ButtonSlotWhat it doesPlaceholders
put-in47Minions that take items in, such as feeders and sellers. Puts items from the cursor into storagenone
take-all48Moves everything that fits to the playernone
sell-all50Sells everything that has a price. Only shown while sell.enabled is on and Vault has an economy%value% total worth

Uses navigation.previous, next and back. With filler: true, slots beyond the minion's storage and empty button slots are filled.

filter

KeyDefault
title<dark_gray>Filter
rows6
content-rows4
fillerfalse
frametrue

The content rows show the filter's entries. Players click an item in their own inventory to add it, and click an entry to remove it. The title can use %type%.

ButtonSlotWhat it doesPlaceholders
mode47Switches between keeping and throwing away the listed items%mode%
groups48Opens the filter groups menunone
help46A sign with instructions, not clickablenone
entrynoneHow each item entry looks. Only name and lore are used, the icon is the item itself%item%
group-entrynoneHow each group entry looks%group%, %count% items in the group

Uses navigation.previous, next and back. With filler: true, empty button slots are filled.

block-filter

The per minion block filter, opened from the block-filter button of a miner, farmer or lumberjack. See Block filter.

KeyDefault
title<dark_gray>%type% block filter
rows6
content-rows4
fillerfalse
frametrue

The content rows show the listed blocks, a page at a time. Players click a block in their own inventory to add it, and click an entry to remove it. The last row holds the buttons, and a button placed inside the content rows is not shown.

ButtonSlotWhat it doesPlaceholders
mode47Switches between Off, Blacklist and Whitelist%mode% the mode text, %count% blocks listed, %max% the most it can hold
help46A book with instructions, not clickableThe same as mode
entrynoneHow each listed block looks. Only name and lore are used, the icon is the block's item%block%

The mode words come from menu.block-filter-off, menu.block-filter-blacklist and menu.block-filter-whitelist in the language file. Uses navigation.previous, next and back, and back returns to the minion menu. With filler: true, empty slots below the content rows are filled.

filter-groups

Lists the groups from filters.yml so players can add or remove a whole group at once.

KeyDefault
title<dark_gray>Filter groups
rows6
content-rows5
fillertrue
frametrue
ButtonKeyWhat it does
groupmaterialThe material of a group that is not in the filter
groupchosen-materialThe material of a group that is already in the filter

group also takes name, lore, sound and the other item keys, with %group%, %count% items in the group and %state% (the "In the filter" or "Not in the filter" text). Groups fill the content rows, spread over as many pages as filters.yml needs. content-rows is kept at least 1 and always leaves one row for the buttons. Uses navigation.previous, next and back. The title can use %type%.

trust

KeyDefault
title<dark_gray>Trusted players
rows6
content-rows5
fillerfalse
frametrue
ButtonSlotWhat it doesPlaceholders
add47Opens the trust-picker menunone
entrynoneOne head per trusted player. Click to remove them%player%

While entry uses PLAYER_HEAD, each head shows that player's skin. A skin the server has not seen yet is fetched in the background, and the menu redraws with it once it arrives. Uses navigation.previous, next and back. The title can use %type%.

trust-picker

Opened from the add button of the trust menu. It lists the online players the owner can trust. See Trust and access.

KeyDefault
title<dark_gray>Pick a player to trust
rows6
content-rows5
fillerfalse
frametrue
ButtonSlotWhat it doesPlaceholders
entrynoneOne head per online player, leaving out the owner, players already trusted and players hidden from the owner. Click to trust them%player%
type-name47Closes the menu and asks the owner to type a name in chat, for players who are offlinenone
empty22Shown when there is nobody to picknone

Heads fill the content rows, spread over as many pages as needed. The type-name slot has to sit below the content rows, or the button is left out. The chat prompt uses input.cancel-word and input.timeout-seconds from config.yml. Uses navigation.previous, next and back, and back returns to the trust menu.

shop

The first shop page, showing the categories.

KeyDefault
title<dark_gray>Minion Shop
rows6
fillertrue
frametrue

This section has no items. Categories, their icons and their slots are set in shop.yml, see Shop and claims. Uses navigation.close.

shop-category

The page for one shop category.

KeyDefault
title<dark_gray>Shop: %category%
rows6
fillertrue
frametrue

%category% is the category name. The items, their pages and their slots come from shop.yml. The last row is kept for navigation.previous, next and back, so an item placed there is not shown.

list

The player's own minions, opened from the main menu.

KeyDefault
title<dark_gray>Your minions
rows6
content-rows5
fillerfalse
frametrue
ButtonWhat it doesPlaceholders
entryOne per placed minion, oldest first. Ships with icon: TYPE. Click to open its read only viewAll the minion menu placeholders above, such as %type%, %level%, %world% and %status%

Opened from the main menu and by /minion list with no page number. Uses navigation.previous, next and close. With filler: false no filler is placed at all, and empty slots stay empty. filler: true fills every empty slot.

admin

Every loaded minion on the server, opened by /minion admin. Clicks need minioncore.admin.

KeyDefault
title<dark_gray>All minions
rows6
content-rows5
fillerfalse
frametrue
ButtonSlotWhat it doesPlaceholders
entrynoneOne per minion. Ships with icon: TYPE. Left click teleports to it, right click opens its menu, shift click removes itAll the minion menu placeholders
filter-owner47Left click to type an owner name in chat, right click to show everyone%owner%
filter-type48Left click for the next type, right click to show every type%type%

Uses navigation.previous, next and close. Filler works the same way as the list menu. See Admin tools.

view

A read only look at one minion, opened by clicking an entry in the list menu. Nothing can be taken or changed from it.

KeyDefault
title<dark_gray>%type%
rows6
content-rows4
fillertrue
frametrue

The top row shows info, status, storage and fuel, packed by layout, and the content rows below it show the stored items, a page at a time. Clicking them does nothing. With filler: true only the button rows are filled. With an empty layout, the four buttons use their slot and the stored items start in the top row.

ButtonSlotShown whenPlaceholders
infotop rowAlways. Ships with icon: TYPEAll the minion menu placeholders
statustop rowAlways%status%, %working%, %delay%, %range%, %facing%
storagetop rowThe type has storage%stored%, %capacity%, %used%, %slots%
fueltop rowThe type uses fuel%fuel%, %fuel_use%
statistics47Always%actions%, %items%, %fuel_used%, %time%
location51Always%world%, %x%, %y%, %z%

Every button here can use any of the minion menu placeholders. Uses navigation.previous, next and back, and back returns to the list.

saplings

The sapling store of a lumberjack, opened from the saplings button in the minion menu.

KeyDefault
title<dark_gray>%type% saplings
titles{}
rows0
fillertrue
frametrue

With rows: 0 the item rows follow settings.sapling-slots in the type file, one row per 9 slots up to 5 rows, and one row of buttons sits below them. A rows value from 2 to 6 fixes the height, so every lumberjack's menu has the same size. If sapling-slots needs more rows than that, the menu grows to fit. With filler: true, item slots past sapling-slots and empty button slots are filled.

titles holds a title per menu height, keyed by the total rows, used instead of title when it matches:

gui.yml
saplings:
  titles:
    2: "<white>\uE010"
    4: "<white>\uE011"
ButtonSlotWhat it doesPlaceholders
help1Explains the menu, not clickable%saplings%, %sapling_slots%
back4Returns to the minion menu%saplings%, %sapling_slots%

In this menu slot and slots are columns in the bottom row, from 0 on the left to 8 on the right, because the number of rows above it changes with sapling-slots.

upgrades

Every upgrade kind a minion takes, with what it does for that minion right now. Opened from the upgrades button. See Minion menu.

KeyDefault
title<dark_gray>%type% upgrades
rows5
fillertrue
frametrue
slots[19, 20, 21, 22, 23, 24, 25, 28, 29, 30, 31, 32, 33, 34]

slots are the slots the kind entries fill, in order. Only the kinds the minion takes, and that have at least one upgrade in upgrades.yml the type may use, are shown, so the list closes up with no gaps. A slot already holding a button is skipped. If there are more kinds than slots, the rest are left out.

To pin one kind to a slot, add slot to its entry under kinds. That kind then always sits there and the others fill slots around it:

upgrades:
  kinds:
    speed:
      slot: 22
ButtonSlotWhat it doesPlaceholders
summary4The minion's level, counted upgrades, extra fuel use, fuel per action and break chance, not clickable%type%, %level%, %max_level%, %upgrades%, %fuel_increase%, %fuel_use%, %chance%
level13Buys the next level, or takes a LEVEL upgrade item dropped on it. Needs upgrade accessThe same as summary, plus %current% level, %next% level (or the "Max" text) and %cost% of the next level (or the "None" text)
help37A book saying how to apply upgrades, not clickableThe same as summary
back40Returns to the minion menuThe same as summary

status holds the three texts that %status% shows on each entry:

KeyShown whenShipped text
status.lockedupgrades.require-max-level is on and the minion is below its highest level. Never used for level upgradesUnlocks at level %max_level%.
status.fullNo more upgrades of this kind fit, or a level entry is at the highest levelFully upgraded.
status.openMore can be appliedClick an upgrade in your inventory to apply it.

kinds holds one entry per upgrade kind, each with material, name, lore and itemsadder. The shipped entries use material: UPGRADE, see Upgrade icons. The key is the kind in lower case with dashes: storage, speed, range, fuel-efficiency, level, fire-aspect, damage, looting, silk-touch, reliability, connections and replant. A kind with no entry here is not shown. Every entry can use these:

PlaceholderShows
%installed%How many of this kind are on the minion
%max%The most of this kind that fit, or menu.no-limit when there is no cap
%bonus%The total amount of this kind on the minion
%fuel_increase%The extra fuel use this kind adds, in percent
%level%, %max_level%The level now, and the highest level
%state%menu.upgrade-installed or menu.upgrade-not-installed
%status%The matching status text above
%type%The type's display name

Some kinds fill in more:

KindPlaceholders
storage%slots% storage slots now
speed%delay% seconds now, %delay_without% seconds without speed upgrades
range%range% area now, %range_without% area without range upgrades
fuel-efficiency%efficiency% percent saved now, %efficiency_without% percent without these upgrades
fire-aspect%fire_level% the fire aspect level, %burn_seconds% how long a hit mob burns
damage%damage% damage per hit, %hearts% the same in hearts, %base_damage% damage without upgrades
looting%looting% the looting level used, %max_looting% the cap from upgrades.max-looting
reliability%reliability% percent the chance is cut, %chance_without% break chance without reliability, %chance% the final break chance
connections%connections% minions that can be paired now

repair

Opened by right clicking a broken minion, for players with repair access. See Breakdowns and repairs.

KeyDefault
title<dark_gray>Repair %type%
rows3
fillertrue
frametrue
ButtonSlotWhat it doesPlaceholders
info13Shows the price%cost% the whole repair price as one total (or the "None" text when it is free), %base_cost% and %upgrade_cost% its two parts, %upgrades% upgrades counted for it
confirm11Pays and repairs the minion%cost%
cancel15Closes the menu without payingnone

All three can also use the minion menu placeholders.

paired

The minions paired with a chunk collector, opened from the paired button. See Collector pairing.

KeyDefault
title<dark_gray>Paired minions
rows6
content-rows5
fillerfalse
frametrue
ButtonSlotWhat it doesPlaceholders
entrynoneOne per paired minion, oldest first. Ships with icon: TYPE. Left click unpairs it, which needs pair accessAll the minion menu placeholders, plus %in_range% (the menu.in-range or menu.out-of-range text), %connections% and %connection_capacity%
connections47Shows how many connections are in use, not clickable%connections%, %connection_capacity%, %collector_mode%

The title can use %type%, the collector type. Uses navigation.previous, next and back, and back returns to the collector's menu.

pair-confirm

Asks the player to confirm a pair after they right click a minion while pairing.

KeyDefault
title<dark_gray>Pair this minion?
rows3
fillertrue
frametrue
ButtonSlotWhat it doesPlaceholders
minion13Shows the minion about to be paired. Ships with icon: TYPEAll the minion menu placeholders, plus %in_range%, %connections%, %connection_capacity% and %collector_mode%
confirm11Checks the rules again and makes the pairThe same as minion
cancel15Closes the menu and sends collector.cancelledThe same as minion

The title can use %type%, the minion type, and %collector%, the collector type.

On this page