Skip to main content

Commands

zCollections has one command with a few subcommands. Aliases make it quick to type.

The base command

/collection opens the main collection menu. It also has the aliases /collections and /coll, so any of these work.

Add a collection name to open that one straight away, for example /collection mining or /collection fishing. The name is the collection id from categories.yml. This always works, with no setup needed. Type a name that does not exist and it tells you the collection is unknown instead of opening the main menu.

CommandWhat it doesPermission
/collectionOpen the main menuzcollections.use
/collectionsSame as above (alias)zcollections.use
/collSame as above (alias)zcollections.use
/collection <collection>Open one collection directly, e.g. /collection miningzcollections.use

Every player has zcollections.use by default, so anyone can open their collections.

Per-collection shortcut commands

Each collection can also have its own short command that jumps straight to its page, so a player can type /mining instead of /collection mining. These are on by default and are fully configurable in the category-commands section of config.yml: rename them, add extra names, or turn the whole feature off. They all need zcollections.use. Changes apply after a server restart.

If a name is already taken by another plugin, the command still works as /zcollections:<name>, for example /zcollections:mining.

Reload

/collection reload reloads config.yml, the active language file, and categories.yml. Run it after editing any of those. Menu changes in menus.yml also apply on reload.

Reset

/collection reset <player> clears a player's progress. Add a collection name to reset just that one, or all to reset everything.

/collection reset Steve # reset all of Steve's progress
/collection reset Steve mining # reset only Steve's Mining
/collection reset Steve all # reset all of Steve's progress

The player does not have to be online. Tab-complete only lists players currently on the server, but you can type the name of any player who has joined before and it resets them too.

Resets cannot be undone

The player loses discovery and progress for whatever you reset, and they will discover those resources again from scratch. Use a category name to limit the damage.