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.
| Row | Slots |
|---|---|
| 1 | 0 to 8 |
| 2 | 9 to 17 |
| 3 | 18 to 26 |
| 4 | 27 to 35 |
| 5 | 36 to 44 |
| 6 | 45 to 53 |
Keys every menu uses
| Key | What it does |
|---|---|
title | The text at the top of the menu, in MiniMessage |
rows | How many rows the menu has, from 1 to 6. Menus with pages always have at least 2 |
filler | Whether empty slots are filled with the filler item |
navigation | Page buttons for this menu only, see navigation |
frame | Whether the bottom row uses the frame item, and the top row too on menus without content-rows |
layout | Only on minion and view. Rows whose buttons are packed together, see Packed rows |
packed-rows | Only on minion and view. false switches layout off, so every button sits on its own slot |
content-rows | Paged menus only. How many rows at the top hold entries. The rows below hold buttons |
items | The buttons |
Every button accepts all the item keys (material, name, lore, custom-model-data, itemsadder and the rest), plus these:
| Key | What it does |
|---|---|
slot | Where the button sits. A slot outside the menu, such as -1, hides the button |
slots | More 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 |
sound | A sound key played when it is clicked, such as ui.button.click. Empty for no sound |
icon | Only on buttons that stand for one minion. TYPE shows that minion type's own item, see Type icons |
states | A different look per state, such as paused or running, see Button states |
tooltip-style | A resource pack tooltip style for this button, see Tooltip styles |
hide-tooltip | true 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.
Menu titles
Every menu that belongs to one minion fills these placeholders in its title:
| Placeholder | Shows |
|---|---|
%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.
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.
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:
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.
minion:
items:
pause:
slot: 40
material: LIME_DYE
itemsadder: "mypack:invisible"
name: "<green>Pause"
states:
paused:
itemsadder: "mypack:paused_icon"
name: "<yellow>Resume"| Menu | Button | States |
|---|---|---|
minion | pause | running, paused |
minion | status | working, no_fuel, storage_full, no_target, paused, chunk_unloaded, owner_offline, broken |
minion | upgrade-level | available, max |
minion | area-preview | off, on |
minion | filter | accept, ignore |
minion | block-filter | off, blacklist, whitelist |
upgrades | level | available, max |
filter | mode | accept, ignore |
block-filter | mode | off, blacklist, whitelist |
filter-groups | group | chosen, 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.
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| Action | What 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.
gauges:
steps: 10
fuel-max: 5000
experience-max: 1000Fuel 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.
hide-item-details: trueThis 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: 31Type icons
Buttons that stand for one minion can show that minion's own item instead of a fixed material. Set icon: TYPE on them.
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:
| Menu | Button |
|---|---|
minion | info |
list | entry |
admin | entry |
paired | entry |
pair-confirm | minion |
view | info, 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.
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:
- The upgrade the minion would take next, so the third storage tier shows as an ender chest once the first two are on.
- Otherwise the first upgrade of that kind the minion's type may use.
- 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 file | Buttons |
|---|---|
minion | upgrade-speed, upgrade-storage, upgrade-range, upgrade-fuel-efficiency, upgrade-connections |
upgrades | Every entry under kinds |
shop.yml | The 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.
| Key | Default | What it does |
|---|---|---|
material | GRAY_STAINED_GLASS_PANE | The 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.
| Key | Default | What it does |
|---|---|---|
material | BLACK_STAINED_GLASS_PANE | The frame material |
name | " " | A single space hides the name |
navigation
Shared page buttons, used by every menu that needs them.
| Button | Default slot | Material | Used in |
|---|---|---|---|
previous | 45 | ARROW | Storage, filter, filter groups, trust, list, view, paired, admin and shop category menus, when there is an earlier page |
next | 53 | ARROW | The same menus, when there is a later page |
back | 49 | BARRIER | Storage, filter, filter groups, trust, paired, view and shop category menus |
close | 49 | BARRIER | List, 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.
storage:
navigation:
next:
slot: 50
material: PAPER
name: "<green>Next page"main
Opened by /minion on its own. Needs the minioncore.use permission.
| Key | Default |
|---|---|
title | <dark_gray>Minions |
rows | 3 |
filler | true |
frame | true |
| Button | Slot | What it does | Placeholders |
|---|---|---|---|
shop | 11 | Opens the shop. Only shown while the shop is on in shop.yml and the player has minioncore.shop | none |
minions | 13 | Opens the list of the player's minions | %count% placed minions |
claim | 15 | Hands 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.
| Key | Default |
|---|---|
title | <dark_gray>%type% |
rows | 6 |
filler | true |
frame | true |
| Button | Slot | Shown when | What it does |
|---|---|---|---|
info | 4 | Always | Shows owner, level and placing date, followed by the description lines from the type file. Ships with icon: TYPE |
storage | row 1 | The type has max-storage above 0 | Opens the storage menu |
status | row 1 | Always | Shows status, speed and range |
fuel | row 1 | The type uses fuel | Drop fuel on it to add one item. Shift clicking fuel in your own inventory adds the whole stack |
pair | row 2 | Chunk collector minions | Closes the menu and waits for the player to right click a minion to pair. Needs pair access |
paired | row 2 | Chunk collector minions | Opens the paired minions menu |
saplings | row 2 | Lumberjack minions while they replant | Opens the saplings menu. Needs saplings access |
experience | row 2 | output.collect-experience is on | Gives the stored experience to the player |
catches | row 2 | Fisherman minions | Lists what the minion can catch |
area | row 2 | Chunk loader and chunk collector minions | Shows the chunk area |
mode | row 2 | Chunk collector minions | Switches to the next mode in settings.modes of the type file. Owner only |
upgrades | row 3 | Always | Opens the upgrades menu. Needs upgrade access |
upgrade-level | -1 | Always | Buys the next level, or takes a LEVEL upgrade item dropped on it |
upgrade-speed | -1 | Not on chunk loaders | Drop a speed upgrade on it |
upgrade-storage | -1 | The type has storage | Drop a storage upgrade on it |
upgrade-range | -1 | The type has max-range above 0 | Drop a range upgrade on it |
upgrade-fuel-efficiency | -1 | The type uses fuel | Drop a fuel efficiency upgrade on it |
upgrade-connections | -1 | Chunk collector minions | Drop a connections upgrade on it |
filter | row 3 | The type has storage and may use a filter | Opens the filter menu |
block-filter | row 3 | Miner, farmer and lumberjack types with block-filter.enabled: true | Opens the block filter menu. Needs block filter access |
pause | row 3 | Always | Pauses or resumes the minion. Owner only |
trust | row 3 | Always | Opens the trust menu. Owner only |
facing | row 3 | Always | Left click turns the minion clockwise, right click turns it back. Owner only |
statistics | 47 | Always | Shows lifetime statistics |
pickup | 51 | Always | Picks the minion up |
close | 49 | Always | Closes 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:
| Button | Key | What it does |
|---|---|---|
pause | paused-material | The material shown while the minion is paused. material is shown while it works |
catches | entry | One line added per catch of a CUSTOM loot table. %item% is the catch name and %chance% its chance |
catches | vanilla | The line shown instead when the type uses vanilla fishing loot |
upgrade-speed, upgrade-storage, upgrade-range, upgrade-fuel-efficiency, upgrade-connections | locked-lore | The 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:
| Placeholder | Shows |
|---|---|
%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:
| Button | Placeholders |
|---|---|
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
| Key | Default |
|---|---|
title | <dark_gray>%type% storage |
rows | 6 |
content-rows | 5 |
filler | false |
frame | true |
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.
| Button | Slot | What it does | Placeholders |
|---|---|---|---|
put-in | 47 | Minions that take items in, such as feeders and sellers. Puts items from the cursor into storage | none |
take-all | 48 | Moves everything that fits to the player | none |
sell-all | 50 | Sells 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
| Key | Default |
|---|---|
title | <dark_gray>Filter |
rows | 6 |
content-rows | 4 |
filler | false |
frame | true |
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%.
| Button | Slot | What it does | Placeholders |
|---|---|---|---|
mode | 47 | Switches between keeping and throwing away the listed items | %mode% |
groups | 48 | Opens the filter groups menu | none |
help | 46 | A sign with instructions, not clickable | none |
entry | none | How each item entry looks. Only name and lore are used, the icon is the item itself | %item% |
group-entry | none | How 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.
| Key | Default |
|---|---|
title | <dark_gray>%type% block filter |
rows | 6 |
content-rows | 4 |
filler | false |
frame | true |
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.
| Button | Slot | What it does | Placeholders |
|---|---|---|---|
mode | 47 | Switches between Off, Blacklist and Whitelist | %mode% the mode text, %count% blocks listed, %max% the most it can hold |
help | 46 | A book with instructions, not clickable | The same as mode |
entry | none | How 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.
| Key | Default |
|---|---|
title | <dark_gray>Filter groups |
rows | 6 |
content-rows | 5 |
filler | true |
frame | true |
| Button | Key | What it does |
|---|---|---|
group | material | The material of a group that is not in the filter |
group | chosen-material | The 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
| Key | Default |
|---|---|
title | <dark_gray>Trusted players |
rows | 6 |
content-rows | 5 |
filler | false |
frame | true |
| Button | Slot | What it does | Placeholders |
|---|---|---|---|
add | 47 | Opens the trust-picker menu | none |
entry | none | One 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.
| Key | Default |
|---|---|
title | <dark_gray>Pick a player to trust |
rows | 6 |
content-rows | 5 |
filler | false |
frame | true |
| Button | Slot | What it does | Placeholders |
|---|---|---|---|
entry | none | One head per online player, leaving out the owner, players already trusted and players hidden from the owner. Click to trust them | %player% |
type-name | 47 | Closes the menu and asks the owner to type a name in chat, for players who are offline | none |
empty | 22 | Shown when there is nobody to pick | none |
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.
| Key | Default |
|---|---|
title | <dark_gray>Minion Shop |
rows | 6 |
filler | true |
frame | true |
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.
| Key | Default |
|---|---|
title | <dark_gray>Shop: %category% |
rows | 6 |
filler | true |
frame | true |
%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.
| Key | Default |
|---|---|
title | <dark_gray>Your minions |
rows | 6 |
content-rows | 5 |
filler | false |
frame | true |
| Button | What it does | Placeholders |
|---|---|---|
entry | One per placed minion, oldest first. Ships with icon: TYPE. Click to open its read only view | All 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.
| Key | Default |
|---|---|
title | <dark_gray>All minions |
rows | 6 |
content-rows | 5 |
filler | false |
frame | true |
| Button | Slot | What it does | Placeholders |
|---|---|---|---|
entry | none | One per minion. Ships with icon: TYPE. Left click teleports to it, right click opens its menu, shift click removes it | All the minion menu placeholders |
filter-owner | 47 | Left click to type an owner name in chat, right click to show everyone | %owner% |
filter-type | 48 | Left 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.
| Key | Default |
|---|---|
title | <dark_gray>%type% |
rows | 6 |
content-rows | 4 |
filler | true |
frame | true |
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.
| Button | Slot | Shown when | Placeholders |
|---|---|---|---|
info | top row | Always. Ships with icon: TYPE | All the minion menu placeholders |
status | top row | Always | %status%, %working%, %delay%, %range%, %facing% |
storage | top row | The type has storage | %stored%, %capacity%, %used%, %slots% |
fuel | top row | The type uses fuel | %fuel%, %fuel_use% |
statistics | 47 | Always | %actions%, %items%, %fuel_used%, %time% |
location | 51 | Always | %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.
| Key | Default |
|---|---|
title | <dark_gray>%type% saplings |
titles | {} |
rows | 0 |
filler | true |
frame | true |
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:
saplings:
titles:
2: "<white>\uE010"
4: "<white>\uE011"| Button | Slot | What it does | Placeholders |
|---|---|---|---|
help | 1 | Explains the menu, not clickable | %saplings%, %sapling_slots% |
back | 4 | Returns 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.
| Key | Default |
|---|---|
title | <dark_gray>%type% upgrades |
rows | 5 |
filler | true |
frame | true |
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| Button | Slot | What it does | Placeholders |
|---|---|---|---|
summary | 4 | The 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% |
level | 13 | Buys the next level, or takes a LEVEL upgrade item dropped on it. Needs upgrade access | The same as summary, plus %current% level, %next% level (or the "Max" text) and %cost% of the next level (or the "None" text) |
help | 37 | A book saying how to apply upgrades, not clickable | The same as summary |
back | 40 | Returns to the minion menu | The same as summary |
status holds the three texts that %status% shows on each entry:
| Key | Shown when | Shipped text |
|---|---|---|
status.locked | upgrades.require-max-level is on and the minion is below its highest level. Never used for level upgrades | Unlocks at level %max_level%. |
status.full | No more upgrades of this kind fit, or a level entry is at the highest level | Fully upgraded. |
status.open | More can be applied | Click 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:
| Placeholder | Shows |
|---|---|
%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:
| Kind | Placeholders |
|---|---|
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.
| Key | Default |
|---|---|
title | <dark_gray>Repair %type% |
rows | 3 |
filler | true |
frame | true |
| Button | Slot | What it does | Placeholders |
|---|---|---|---|
info | 13 | Shows 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 |
confirm | 11 | Pays and repairs the minion | %cost% |
cancel | 15 | Closes the menu without paying | none |
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.
| Key | Default |
|---|---|
title | <dark_gray>Paired minions |
rows | 6 |
content-rows | 5 |
filler | false |
frame | true |
| Button | Slot | What it does | Placeholders |
|---|---|---|---|
entry | none | One per paired minion, oldest first. Ships with icon: TYPE. Left click unpairs it, which needs pair access | All the minion menu placeholders, plus %in_range% (the menu.in-range or menu.out-of-range text), %connections% and %connection_capacity% |
connections | 47 | Shows 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.
| Key | Default |
|---|---|
title | <dark_gray>Pair this minion? |
rows | 3 |
filler | true |
frame | true |
| Button | Slot | What it does | Placeholders |
|---|---|---|---|
minion | 13 | Shows the minion about to be paired. Ships with icon: TYPE | All the minion menu placeholders, plus %in_range%, %connections%, %connection_capacity% and %collector_mode% |
confirm | 11 | Checks the rules again and makes the pair | The same as minion |
cancel | 15 | Closes the menu and sends collector.cancelled | The same as minion |
The title can use %type%, the minion type, and %collector%, the collector type.