-
Notifications
You must be signed in to change notification settings - Fork 31
Commands And Permissions
Muqsit Rayyan edited this page Jun 22, 2020
·
7 revisions
| Command | Permission | Description |
|---|---|---|
/pv <number> |
playervaults.vault.<number> |
Access your #<number> vault inventory |
/pv <number> <player> |
playervaults.others.view |
Allows you to view other players' vault inventories |
playervaults.others.edit |
Allows you to edit other players' vault inventories |
If you want to grant a player access to 30 vaults (/pv 1, /pv 2, .../pv 30) and don't want to go through the annoyance of assigning 30 permissions, permission-grouping.yml is for you! Configure a permission (lets call it vip.player) in permission-grouping.yml like so:
permissions:
vip.player: 30
vipplus.player: 50Any player with the permission vip.player will now have access to the first 30 vaults.
Any player with the permission vipplus.player will now have access to the first 50 vaults.
And yes, you can configure as many permission -> vaults mapping as you like.
ℹ️ Don't forget to set enabled to true in permission-grouping.yml.
ℹ️ Careful with indentation!
| Incorrect | Correct |
|---|---|
permissions: |
permissions: |