Permission Levels
Pumpkin uses five permission levels (0-4) that determine what commands and actions a player can perform:Normal Player - Can use basic commands only.
Moderator - Can bypass spawn protection.
Gamemaster - Can use additional commands and command blocks.
Admin - Can manage multiplayer commands and moderate players.
Owner - Full access to all commands and server management.
Operators (Ops)
Operators have elevated permissions on the server. The ops list is stored inops.json in the config directory.
Op Structure
Each operator entry contains:The UUID of the operator.
The username of the operator.
The permission level assigned to this operator (Zero through Four).
Whether this operator can join even when the server is full.
Example ops.json
ops.json
Adding Operators
Use the/op command in-game or via console:
op_permission_level setting in configuration.toml:
configuration.toml
Default Permission Level
Players not in the ops file receive the default permission level, configured infeatures.toml:
features.toml
Whitelist
The whitelist restricts server access to approved players. The whitelist is stored inwhitelist.json in the config directory.
Enabling the Whitelist
Configure whitelist behavior inconfiguration.toml:
Whether the whitelist is enabled. When
true, only whitelisted players can join.Whether to immediately kick non-whitelisted players when the whitelist is enabled.
true- Non-whitelisted players are kicked immediately when whitelist is activatedfalse- Non-whitelisted players currently online can stay until they disconnect
configuration.toml
Whitelist Entry Structure
Each whitelist entry contains:The UUID of the whitelisted player.
The username of the whitelisted player.
Example whitelist.json
whitelist.json
Managing the Whitelist
Use these commands to manage the whitelist:Permission Best Practices
Use Minimal Permissions
Grant the lowest permission level needed for each role. Not everyone needs level 4 access.
Enable Whitelist for Private Servers
Use the whitelist for private or semi-private servers to control who can join.
Ops Bypass Player Limit
Use
bypasses_player_limit for trusted admins so they can always join.Regularly Review Access
Periodically review
ops.json and whitelist.json to remove inactive players.Validation Rules
Pumpkin validates permission configuration on startup:- Permission levels must be
Zero,One,Two,Three, orFour - UUIDs must be valid UUID format
- When
white_list = true, only whitelisted players can connect - When
enforce_whitelist = true, non-whitelisted players are kicked immediately
Manual File Editing
You can manually editops.json and whitelist.json while the server is running, then reload:
Permission Level Reference
| Level | Name | Abilities |
|---|---|---|
| 0 | Normal | Basic commands only |
| 1 | Moderator | Bypass spawn protection |
| 2 | Gamemaster | Use command blocks, more commands |
| 3 | Admin | Multiplayer management commands |
| 4 | Owner | All commands, server management |
Related Configuration
- Basic Configuration - Configure
op_permission_level,white_list,enforce_whitelist - Advanced Configuration - Configure
commands.default_op_level
