-
Notifications
You must be signed in to change notification settings - Fork 1
Permissions.md
SpawnChestPlugin uses a permission-based system to control access to commands and features.
By default, all players have access to:
-
/nextchest- Check spawn timer -
/mystats- View statistics -
/leaderboard- View leaderboards -
/cooldowns- Check item cooldowns -
/cheststats- View plugin stats - Opening chests and using legendary items
spawnchest.adminGrants:
-
/chestnow- Spawn chest immediately -
/putintothechest- Custom loot GUI editor - All configuration commands
Recommended for: Server owners, head admins
spawnchest.configGrants:
-
/chestconfig- All config management -
/togglelegendary- Toggle legendary items -
/togglefeature- Toggle features -
/reloadchestconfig- Reload configurations
Recommended for: Admins, moderators
spawnchest.setchesttimerGrants:
-
/setchesttimer <seconds>- Change spawn interval
Recommended for: Event managers
spawnchest.resettimerGrants:
-
/resettimer- Reset timer to spawn soon
Recommended for: Event managers
spawnchest.giveappleGrants:
-
/giveapple <player> [amount]- Give summoner apples
Recommended for: Admins, event hosts
spawnchest.getlegendaryitemsGrants:
-
/getlegendaryitems- Get all legendary items
Recommended for: Testing, admin use only
spawnchest.reloadchestconfigGrants:
-
/reloadchestconfig- Reload all configs
Recommended for: Admins
spawnchest.testchestzoneGrants:
-
/testchestzone- Test spawn zone settings
Recommended for: Admins, developers
Owner/Admin Group:
/lp group admin permission set spawnchest.admin true
Moderator Group:
/lp group mod permission set spawnchest.config true
/lp group mod permission set spawnchest.reloadchestconfig true
VIP Group (can use apples):
/lp group vip permission set spawnchest.giveapple true
Event Manager:
/lp group event permission set spawnchest.setchesttimer true
/lp group event permission set spawnchest.resettimer true
/lp group event permission set spawnchest.admin true
groups.yml:
groups:
default:
permissions: []
vip:
permissions:
- spawnchest.giveapple
inheritance:
- default
moderator:
permissions:
- spawnchest.config
- spawnchest.reloadchestconfig
inheritance:
- vip
admin:
permissions:
- spawnchest.admin
- spawnchest.*
inheritance:
- moderatorgroups.yml:
groups:
Default:
permissions: []
VIP:
permissions:
- spawnchest.giveapple
inheritance:
- Default
Moderator:
permissions:
- spawnchest.config
- spawnchest.reloadchestconfig
inheritance:
- VIP
Admin:
permissions:
- spawnchest.*
inheritance:
- Moderatorspawnchest.*Grants: All plugin permissions
spawnchest.*
├── spawnchest.admin
│ ├── /chestnow
│ └── /putintothechest
├── spawnchest.config
│ ├── /chestconfig
│ ├── /togglelegendary
│ └── /togglefeature
├── spawnchest.giveapple
│ └── /giveapple
├── spawnchest.getlegendaryitems
│ └── /getlegendaryitems
├── spawnchest.setchesttimer
│ └── /setchesttimer
├── spawnchest.resettimer
│ └── /resettimer
├── spawnchest.reloadchestconfig
│ └── /reloadchestconfig
└── spawnchest.testchestzone
└── /testchestzone
| Permission | Commands | Default |
|---|---|---|
spawnchest.admin |
/chestnow, /putintothechest
|
OP |
spawnchest.config |
/chestconfig, /togglelegendary, /togglefeature
|
OP |
spawnchest.giveapple |
/giveapple |
OP |
spawnchest.getlegendaryitems |
/getlegendaryitems |
OP |
spawnchest.setchesttimer |
/setchesttimer |
OP |
spawnchest.resettimer |
/resettimer |
OP |
spawnchest.reloadchestconfig |
/reloadchestconfig |
OP |
spawnchest.testchestzone |
/testchestzone |
OP |
# Give all players basic access
permissions:
default: true # Minecraft default permissions
# Only ops get admin commands# VIPs can spawn chests with apples
vip:
- spawnchest.giveapple
# Admins have full control
admin:
- spawnchest.*# Players: nothing special
# Event hosts: can spawn chests
event-host:
- spawnchest.admin
- spawnchest.setchesttimer
- spawnchest.resettimerCheck if player has permission:
/lp user <player> permission check spawnchest.admin
Grant temporary permission:
/lp user <player> permission set spawnchest.admin true
Remove permission:
/lp user <player> permission unset spawnchest.admin
- ✅ Never give
spawnchest.*to regular players - ✅ Limit
spawnchest.adminto trusted staff - ✅ Use
spawnchest.giveapplecarefully - apples can spam chests - ✅ Monitor
/getlegendaryitemsusage - very powerful items - ✅ Keep
spawnchest.configfor admins only
Player can't use command:
- Check permission:
/lp user <player> permission check spawnchest.<permission> - Check inheritance:
/lp user <player> permission info - Reload permissions:
/lp sync
Command works in console but not in-game:
- Add permission to player's group
- Check for permission conflicts
Permission not working after adding:
- Run
/lp syncor/pex reload - Player may need to rejoin