-
Notifications
You must be signed in to change notification settings - Fork 0
Commands & Permissions
This guide covers all available commands and permissions in SpectatorPlusPlus.
| Permission | Description | Default |
|---|---|---|
spectatorplusplus.use |
Allows players to use the main spectator commands | OPs only |
spectatorplusplus.admin |
Grants access to all admin commands | OPs only |
| Permission | Description | Default |
|---|---|---|
spectatorplusplus.command.lobby |
Use lobby management commands | OPs only |
spectatorplusplus.command.reload |
Reload configuration | OPs only |
spectatorplusplus.command.help |
View help command | Everyone |
spectatorplusplus.command.version |
Check plugin version | Everyone |
| Permission | Description | Default |
|---|---|---|
spectatorplusplus.firstperson |
Use first-person spectating | Inherits from spectatorplusplus.use
|
spectatorplusplus.compass |
Access player selection compass | Inherits from spectatorplusplus.use
|
spectatorplusplus.bypass.cooldown |
Bypass command cooldowns | OPs only |
spectatorplusplus.bypass.world |
Spectate in restricted worlds | OPs only |
/spectator
Aliases: spec, spectate
Description: Toggle spectator mode on and off. When entering spectator mode, you'll be teleported to the spectator lobby. When leaving, you'll return to your original location.
Permissions: spectatorplusplus.use
Cooldown: 3 seconds (configurable)
Item: Compass (Hotbar slot 0)
Description: Right-click the compass to open the player selection GUI. No command needed.
Permissions: spectatorplusplus.use and spectatorplusplus.compass
/spectator help
Aliases: spec help, spectate help
Description: Display all available commands and their usage.
Permissions: spectatorplusplus.command.help (default: everyone)
Aliases: spec version, spectate version, spectator v, spec v
Description: Check the installed version of SpectatorPlusPlus.
Permissions: spectatorplusplus.command.version (default: everyone)
/spectator lobby set
Aliases: spec lobby set, spectate lobby set
Description: Set your current location as the spectator lobby. This location is where players spawn when entering spectator mode and return to when leaving.
Permissions: spectatorplusplus.admin or spectatorplusplus.command.lobby
Usage Notes:
- Must be run before players can use spectator mode
- Saves coordinates, world, and rotation
- Overwrites any previously set lobby
/spectator lobby remove
Aliases: spec lobby remove, spectate lobby remove
Description: Remove the current spectator lobby location.
Permissions: spectatorplusplus.admin or spectatorplusplus.command.lobby
Warning: Removing the lobby will prevent players from using spectator mode until a new one is set.
/spectator reload
Aliases: spec reload, spectate reload
Description: Reload the plugin configuration from config.yml without restarting the server.
Permissions: spectatorplusplus.admin or spectatorplusplus.command.reload
Files Reloaded:
config.yml-
messages.yml(if separate) - Permission cache
/spectator force
Aliases: spec force, spectate force
Description: Force a player into spectator mode.
Permissions: spectatorplusplus.admin
Arguments:
-
<player>: Target player username
Example: /spectator force Notch
/spectator forceexit
Aliases: spec forceexit, spectate forceexit
Description: Force a player to exit spectator mode.
Permissions: spectatorplusplus.admin
Arguments:
-
<player>: Target player username
Example: /spectator forceexit Notch
# Basic player access
lp group default permission set spectatorplusplus.use false
# Staff group with full access
lp group staff permission set spectatorplusplus.use true
lp group staff permission set spectatorplusplus.admin true
# Event spectators (limited access)
lp group event_spec permission set spectatorplusplus.use true
lp group event_spec permission set spectatorplusplus.compass true
lp group event_spec permission set spectatorplusplus.firstperson true
# Temporary permission for events
lp user EventPlayer01 permission set spectatorplusplus.use true temporary 2hpermissions.yml (Bukkit)
permissions:
spectatorplusplus.use:
description: "Use spectator mode"
default: op
children:
spectatorplusplus.compass: true
spectatorplusplus.firstperson: true
spectatorplusplus.admin:
description: "Admin commands"
default: op
children:
spectatorplusplus.command.lobby: true
spectatorplusplus.command.reload: true
# Individual permissions
spectatorplusplus.command.lobby:
description: "Manage spectator lobby"
default: op
spectatorplusplus.command.reload:
description: "Reload configuration"
default: opgroups:
Default:
permissions:
- -spectatorplusplus.use
Moderator:
permissions:
- spectatorplusplus.use
- spectatorplusplus.command.lobby
Admin:
permissions:
- spectatorplusplus.*Permission Tree
spectatorplusplus.admin
├── spectatorplusplus.command.*
│ ├── spectatorplusplus.command.lobby
│ ├── spectatorplusplus.command.reload
│ └── spectatorplusplus.command.help
├── spectatorplusplus.bypass.*
│ ├── spectatorplusplus.bypass.cooldown
│ └── spectatorplusplus.bypass.world
└── spectatorplusplus.use
├── spectatorplusplus.compass
└── spectatorplusplus.firstperson| Permission | Grants |
|---|---|
spectatorplusplus.* |
All permissions |
spectatorplusplus.command.* |
All command permissions |
spectatorplusplus.bypass.* |
All bypass permissions |
Note: Use wildcards carefully as they grant access to current AND future permissions.
Solution:
- Check if player has
spectatorplusplus.usepermission - Verify permission plugin is working
- Ensure spectator lobby is set with
/spectator lobby set
Solution:
- Grant
spectatorplusplus.compasspermission - Check if player is in spectator mode
- Verify hotbar item slots in config
Solution:
- Grant
spectatorplusplus.firstpersonpermission - Check config:
first-person-spectating.enabled: true - Ensure player is in spectator mode
Solution:
- Grant
spectatorplusplus.adminor specific command permission - Check OP status (some permission systems require OP + permission)
- Verify command syntax
| Command | Cooldown | Bypass Permission |
|---|---|---|
/spectator |
3 seconds | spectatorplusplus.bypass.cooldown |
/spectator help |
1 second | spectatorplusplus.bypass.cooldown |
| GUI Interactions | 0.5 seconds | spectatorplusplus.bypass.cooldown |
- "Please wait before using that command again."
- "You're doing that too fast!"
Cooldowns can be configured in the configuration file.
# Regular players - no access
default: -spectatorplusplus.use
# VIP players - basic spectator access
vip: spectatorplusplus.use
# Staff - full access
staff: spectatorplusplus.admin
For Events
# Event staff - full control
event_staff: spectatorplusplus.admin
# Spectators - view only
event_spectator:
- spectatorplusplus.use
- spectatorplusplus.compass
- -spectatorplusplus.firstperson # Disable first-personFor Staff Training
# Trainee staff - limited access
trainee:
- spectatorplusplus.use
- spectatorplusplus.compass
- -spectatorplusplus.command.* # No admin commands- OP Status: Some permission systems require players to be OP even with permissions granted
-
Permission Conflicts: Check for negative permissions (
-permission.node) - World Permissions: Use world-specific permissions if supported by your permission plugin
- Temporary Permissions: Useful for events or temporary staff
- Inheritance: Set up proper group inheritance to manage permissions efficiently