Pls... make function
RenamePermission("lastname","newname");// Rename permissions which permission=="name" for all players
RemovePermission("name") // Remove permissions which permission=="name" for all players
Renaming/migrating permissions
Discussion in 'Rust Development' started by bazuka5801, Feb 8, 2017.
-
Wulf Community Admin
You could easily write something to handle the rare event that you'd like to migrate a permission from one use to another.
The process:
- Update plugin with new permission to register (manual step by you)
- Loop through all players to check for old permission; revoke old and grant new if found
- Loop through all groups to check for old permission; revoke old and grant new if found
-
Okay..