MinionCore logoMinionCore

Commands

Every player and admin command, the permission each one needs, and how to rename them.

One main command covers everything. Players use it to open their menus and manage their minions, and admins use it to hand out items and look after other players' minions. The name, the aliases and every subcommand label can be changed in config.yml.

Player commands

CommandPermissionWhat it does
/minionminioncore.useOpens the main menu, with buttons for the shop, your minion list and items waiting to be claimed
/minion help [page]noneShows the player help, a page at a time
/minion listminioncore.listOpens the list menu with your placed minions. Clicking one opens a read only view of it
/minion list <page>minioncore.listLists your placed minions in chat with their type, level, world, position and status, 8 to a page
/minion shopminioncore.shopOpens the minion shop
/minion removeminioncore.removePicks up the minion you are looking at
/minion pairminioncore.pairStarts pairing a minion with a chunk collector. Type it again to stop
/minion soundsminioncore.soundsTurns minion sounds off or back on for you only. The choice is kept when you rejoin. See Muting minion sounds
/minion holograms hide|show thisminioncore.holograms.toggleHides or shows the hologram of the minion you are looking at. See Hiding holograms
/minion holograms hide|show all [player]minioncore.holograms.bulkHides or shows the holograms of all your minions. A player name needs minioncore.holograms.others
/minion holograms hide|show type <type> [player]minioncore.holograms.bulkThe same for one minion type
/minion holograms view [on|off]minioncore.holograms.viewHides or shows every minion hologram for you only. The choice is kept when you rejoin

Notes:

  • /minion list, /minion shop, /minion remove, /minion pair and /minion sounds can only be run by a player, not from the console. /minion holograms works from the console only with a player name after all or type.
  • /minion list with no page opens the list menu. The view it opens shows the minion's status, whether it is working, its storage, fuel, statistics and location. Nothing can be taken or changed from there. Add a page number, such as /minion list 1, to get the chat list instead.
  • /minion shop only exists while the shop is switched on (enabled: true in shop.yml). While it is off, the label is not suggested and typing it shows the unknown command message.
  • /minion remove works on a minion up to 6 blocks away, in the direction you are looking. You must own it or have minioncore.admin.bypass. Trusted players cannot use it, even on a type that lets trusted players pick up with shift and right click. It follows the same rules as a normal pick up, see Placing and picking up.
  • /minion pair asks you to right click the chunk collector first, then the minion to pair with it. A confirm menu opens before the pair is made. Pairing stops when you type the command again, when you log out, or after collectors.pair-timeout-seconds in config.yml, which ships as 60. You need the pair access on the collector, and the minion must be yours and have the same owner as the collector unless you have minioncore.admin.bypass. See Collector pairing.

Admin commands

Giving items

CommandPermissionWhat it does
/minion give <player> <type> [amount]minioncore.admin.giveGives minion items of a type
/minion fuel <player> <fuel> [amount]minioncore.admin.fuelGives fuel items
/minion upgrade <player> <upgrade> [amount]minioncore.admin.upgradeGives upgrade items
  • <type> is the file name of a minion type in the minions folder, such as miner. <fuel> is an id from fuel.yml, or a fuel set in a type file written as <type>:<key> such as miner:coal, and <upgrade> is an id from upgrades.yml.
  • [amount] defaults to 1. give hands out at most 64 minions at once, fuel and upgrade at most 2304 items.
  • The player can be offline, as long as they have joined the server before. Their items go to the claim queue and are handed over when they next join. Whatever does not fit then waits behind the claim button in the main menu. Anything that does not fit in an online player's inventory goes to the claim queue too. See Shop and claims.
  • These work from the console, so a store or crate plugin can run them.
minion give Steve miner 1
minion fuel Steve basic 32
minion upgrade Steve storage-1 1

basic and storage-1 are ids from the shipped fuel.yml and upgrades.yml. If you rename or add entries, use your own ids, the command suggests them as you type.

Server tools

CommandPermissionWhat it does
/minion reloadminioncore.admin.reloadReads every config and language file again, applies minion type changes to placed minions and sends a short summary
/minion adminminioncore.adminOpens the admin menu, see Admin tools
/minion admin help [page]any admin nodeShows the admin help, a page at a time
/minion admin list <player> [page]minioncore.admin.listLists another player's placed minions, 8 to a page
/minion admin remove <player> [type]minioncore.admin.removeRemoves all of a player's minions, or only those of one type
/minion admin setlevel <level>minioncore.admin.setlevelSets the level of the minion you are looking at
/minion admin debugminioncore.admin.debugShows queued and loaded minions, actions per second, the average action time, and how many minions each world has
/minion admin refresh-modelsminioncore.admin.refresh-modelsPuts the ModelEngine model back on every loaded ModelEngine minion, so a changed model shows without a full reload, and says how many were refreshed
/minion admin debug groundminioncore.admin.debugLists dropped items within 16 blocks and which chunk collector takes each one, or why none does. Player only

Notes:

  • /minion admin with nothing after it opens the menu for players with minioncore.admin. From the console, or for a player with only some admin nodes, it shows the admin help instead.
  • /minion admin remove asks for confirmation. Run the same command again within 10 seconds to go ahead. The minion items and their stored items go to the owner, or to the owner's claim queue if they are offline. A minion is left in place when its storage is not empty and pickup.storage is BLOCK, or when the owner is online without room in their inventory. The command tells you how many were skipped.
  • /minion admin setlevel works on the minion up to 6 blocks away that you are looking at, and can only be run by a player. The level is kept between 1 and the highest level in that type file.
  • /minion reload cannot change the command name, the aliases, the subcommand labels, the admin labels or the database. Those need a full restart, and the reload tells you when one of them changed.

Tab completion

Pressing tab suggests only what the sender can use.

  • Subcommand labels are hidden when the sender lacks their permission. The admin label is only suggested to senders with at least one admin node, and nothing after it is suggested without one.
  • give, fuel, upgrade, admin list and admin remove suggest online player names first.
  • After the player name, give and admin remove suggest minion type ids, fuel suggests fuel ids, and upgrade suggests upgrade ids.
  • Amounts suggest 1, 16 and 64.
  • help suggests its page numbers.

Aliases

With the shipped config.yml, /minions and /minioncore run the same command as /minion. All the subcommands work the same under any of the three names. The aliases come from command.aliases, so you can change or remove them.

Renaming commands

Everything a player types can be changed in config.yml.

config.yml
command:
  name: minion
  aliases:
    - minions
    - minioncore
  labels:
    help: help
    list: list
    shop: shop
    remove: remove
    pair: pair
    give: give
    fuel: fuel
    upgrade: upgrade
    reload: reload
    admin: admin
  admin-labels:
    help: help
    list: list
    remove: remove
    setlevel: setlevel
    debug: debug
KeyWhat it changes
command.nameThe main command, /minion by default
command.aliasesOther names for the main command
command.labels.<id>The word typed for one subcommand. For example labels.list: liste makes it /minion liste
command.admin-labels.<id>The word typed after admin for one admin subcommand. For example admin-labels.list: liste makes it /minion admin liste

Player and admin labels are kept apart, so renaming labels.list changes /minion list and leaves /minion admin list as it is. The admin word itself is labels.admin. Files from 1.0.0-1 may still have labels.setlevel and labels.debug. Nothing reads them any more and they can be deleted.

Restart the server after changing any of these. /minion reload reads the new values but keeps the running command as it is. It tells you when the name no longer matches, and sends general.reload-restart-settings when the aliases or any label changed since startup.

/minion is built into the plugin, so it keeps working alongside a new name. Every other name comes from config.yml, so taking an alias out of command.aliases removes it after a restart. If a server does not let plugins register a custom command name, the console prints one line saying so and the plugin carries on under /minion.

Help lines follow renamed labels by themselves. Each line is built from the label in use now plus the arguments under help.arguments.<id> or admin-help.arguments.<id> in your language file, so renaming labels.list to liste shows /minion liste [page] in the help. See Messages and language.

Paginated help

/minion help [page] lists the player commands and /minion admin help [page] lists the admin commands. Each page holds 6 lines by default.

lang/en_US.yml
help:
  per-page: 6
admin-help:
  per-page: 6

The header, each line, the footer and every description can be edited in the language file. Leave footer empty to hide it.

On this page