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.
- Player
- Admin
| Command | What it does | Permission |
|---|---|---|
/collection | Open the main menu | zcollections.use |
/collections | Same as above (alias) | zcollections.use |
/coll | Same as above (alias) | zcollections.use |
/collection <collection> | Open one collection directly, e.g. /collection mining | zcollections.use |
Every player has zcollections.use by default, so anyone can open their collections.
These need zcollections.admin, which operators have by default. See
Permissions.
| Command | What it does |
|---|---|
/collection reload | Reload config, language, and categories without a restart |
/collection reset <player> | Reset all of a player's progress |
/collection reset <player> <category> | Reset one collection for a player |
/collection reset <player> all | Reset all of a player's progress |
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.
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.