- Removed commands-handler because it's no longer needed
- Added addpermission + delpermission section for ranks and prestiges
That is faster than adding a command to add a permission
Code (YAML):
Ranks:
B:
nextrank
: LASTRANK
display
:
"&6[B]"
executecmds
:
[
]
addpermission
:
-
"essentials.warps.B"
-
"some.other.permission"
delpermission
:
-
"essentials.warps.A"
- Changed autocommands from using commands to remove permissions to programmatically removing them
- Added a temp command
"/prxconvertperms" with the permission:
prisonranksx.convertperms to convert permissions managements commands in executecmds to addpermission section
don't worry it will make a backup of your config file incase something goes wrong