Permissions System
VanguardRanks uses a comprehensive permission system to control access to various features. This guide explains all available permissions and how to set them up.
Basic Permissions
GUI Permissions
-
vanguardranks.gui
- Allows players to open the rank GUI for themselves
- Default: op
-
vanguardranks.gui.other
- Allows players to open the rank GUI for other players
- Default: op
-
vanguardranks.gui.set
- Allows players to set ranks through the GUI for themselves
- Default: op
-
vanguardranks.gui.set.other
- Allows players to set ranks through the GUI for other players
- Default: op
Rank Management Permissions
-
vanguardranks.up
- Allows players to rank themselves up
- Default: op
-
vanguardranks.up.other
- Allows players to rank up other players
- Default: op
-
vanguardranks.list
- Allows players to view the list of available ranks
- Default: op
Administrative Permissions
-
vanguardranks.reload
- Allows reloading of configuration files
- Default: op
-
vanguardranks.save
- Allows forcing a save of player data
- Default: op
-
vanguardranks.version
- Allows checking plugin version
- Default: op
-
vanguardranks.help
- Allows viewing help information
- Default: op
Setting Up Permissions
Using LuckPerms
- Add permission to a group:
/lp group <group> permission set vanguardranks.gui true
- Add permission to a player:
/lp user <player> permission set vanguardranks.gui true
Using Other Permission Plugins
VanguardRanks is compatible with any permission plugin that implements Bukkit’s permission system. Common alternatives include:
- PermissionsEx
- GroupManager
- UltraPermissions
Best Practices
-
Hierarchical Setup
- Create different permission groups for different staff ranks
- Use inheritance to build upon lower-ranked permissions
-
Security Considerations
- Carefully control access to
.other
permissions - Regularly audit who has administrative permissions
- Use temporary permissions for temporary staff
- Carefully control access to
-
Permission Organization
- Group similar permissions together
- Document which groups have which permissions
- Maintain a permissions hierarchy document
Common Issues
-
Permission Denied Messages
- Verify the player has the correct permission node
- Check for typos in permission nodes
- Ensure the permission plugin is working correctly
-
Inheritance Problems
- Check group inheritance chains
- Verify permission priorities
- Look for conflicting permissions
Testing Permissions
- Use
/lp user <player> info
to view current permissions - Test commands with different permission levels
- Verify GUI access works as expected
- Check rank-up functionality with different permissions
Last updated on