Commands
On this page(2)
The root command is /vspawner. The aliases are /vs and /virtualspawner, and you can change them in command.aliases of config.yml. The root is admin-gated: players use spawners through blocks and menus, not commands.
| Command | Permission | Description |
|---|---|---|
/vspawner help [page] | snvirtualspawners.admin | Show the command list. |
/vspawner reload | snvirtualspawners.admin.reload | Reload config, lang, mob files, restrictions, menus, holograms and the generation settings. |
/vspawner debug | snvirtualspawners.admin.debug | Toggle the runtime debug output. |
/vspawner admin give <player> <mob> <amount> [-s] | snvirtualspawners.admin.give | Give ONE item holding <amount> spawners of a mob. -s skips the notice to the receiver. The amount cannot exceed limits.stack-limit. |
/vspawner admin tool <player> <uses> <chance> [-s] | snvirtualspawners.admin.tool | Give a spawner breaker with <uses> uses and a <chance> (percent, 0-100) to get spawners back. -s skips the notice to the receiver. Refused while breaker-tool.enabled is false. |
/vspawner admin set <amount> | snvirtualspawners.admin.set | Set the stack of the spawner you look at, within admin.target-range blocks. Stored items and XP are never deleted. |
/vspawner admin restrict add <mob> <SELL_ONLY|NO_OPEN> | snvirtualspawners.admin.restrict | Restrict the spawners of a mob. |
/vspawner admin restrict remove <mob> | snvirtualspawners.admin.restrict | Lift the restriction of a mob. |
/vspawner admin logs player <player> [page] [action] | snvirtualspawners.admin.logs | Show the logged actions of a player, newest first, optionally filtered by action. |
/vspawner admin logs here [page] | snvirtualspawners.admin.logs | Show the logged actions at the spawner you look at. |
Restrictions
SELL_ONLY: players can sell the storage but cannot take items out of it.NO_OPEN: the menu of those spawners cannot be opened.
Restrictions are stored in restrictions.yml. Use the commands above instead of editing the file by hand.
Log actions
place, stack, break, convert, extract, sell, collect_xp, buy_stack, admin_give, admin_set, restrict and admin_tool. Entries become visible a few seconds after the action because they are written in batches.
/vspawner admin set is refused while the spawner's menu is in use, and the amount is clamped to limits.stack-limit.