Commands
Commands and permissions
Commands and permissions
What are the commands?
/spec: Displays this list of commands in game
- /spec <on/off>: enables/disables spectate mode (spectate.use)
- /spec <on/off> <player>: enables/disables spectate mode for <player> (spectate.use.others)
- /spec lobby: Manage the location spectators are teleported to before and after spectating (spectate.admin.lobby)
- /spec lobby set: Set the lobby to your current position
- /spec lobby del: Set the lobby to the global /spawn location
- /spec mode: Change the player selection mode (spectate.admin.mode)
- /spec mode any: anyone who isn't spectating can be teleported to (unless they have spectate.hide)
- /spec mode arena: only players in one of the defined arenas can be teleported to (unless they have spectate.hide)
- /spec arena: Allows you to manage arenas (spectate.admin.arena)
- /spec arena add <arena name>: creates a new arena with <arena name> as the display name (see the arena setup page)
- /spec arena reset: deletes all defined arenas (see the disabling arena mode page)
- /spec arena list: lists all defined arenas and their lobby locations
- /spec arena lobby <arena name>: sets the lobby for a certain arena
- /spec say <message...>: Broadcasts a message to only spectators (spectate.admin.say)
Only some of these commands can be accessed from the console.
What about permissions?
spectate.*: Grants you all permissions, excluding spectate.hide (default: no-one)
- spectate.use: allows you to enable/disable your own spectate mode (default: op) (recommended for players)
- spectate.use.others: allows you to enable/disable spectate mode for other players (default: op)
- spectate.hide: stops players teleporting to you (default: no-one)
- spectate.admin: Gives access to all of the setup commands (e.g. set the lobby, create arenas, change the mode) (default: op)
- spectate.admin.lobby: Gives access to only the /spec lobby command (default: op)
- spectate.admin.mode: Gives access to only the /spec mode command (default: op)
- spectate.admin.arena: Gives access to only the /spec arena command (default: op)
- spectate.admin.reload: Gives access to reloading of the plugin using /spec reload (default: op)
- spectate.admin.say: Gives access to only the /spec say <mesage...> command (default: op)
- spectate.use.others: Giving spectate.admin gives this permission by default (default: op)
Raw file taken from plugin.yml
permissions: spectate.*: description: Allows you to spectate and stops players spectating you children: spectate.use: true spectate.hide: false spectate.admin: true default: false spectate.use: description: Allows you to spectate (recommended for players) default: op spectate.use.others: description: Allows you to change spectate mode for others [/spec on <player>] default: op spectate.hide: description: Stops players spectating you default: false spectate.admin: description: Allows you to manage all setup and admin commands in SpectatorPlus default: op children: spectate.use.others: true spectate.admin.lobby: true spectate.admin.mode: true spectate.admin.arena: true spectate.admin.reload: true spectate.admin.say: true spectate.admin.lobby: description: Allows you to set the global lobby default: op spectate.admin.mode: description: Allows you to set the plugin mode default: op spectate.admin.arena: description: Allows you to manage arenas default: op spectate.admin.reload: description: Allows you to reload the plugin default: op spectate.admin.say: description: Allows you to send a message only to the spectators default: op