๐ŸงพACE PERMISSIONS

The punishment system uses ACE permissions to manage access to the admin panel.


โž• Example: Grant permission to an admin group

add_ace group.admin "izaap.punishments" allow

โœ… Grants all users in the "admin" group access to the Punishment Admin Panel (/panelcastigos)


๐Ÿ”‘ Example: Grant permission to a specific license

add_ace identifier.license:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx "izaap.punishments" allow

โœ… Grants this specific player access to the Punishment Admin Panel


๐Ÿ’ก Note:

The script automatically checks for this ACE permission. If the player does not have it, the /panelcastigos command will be denied and a "No permission" notification will be displayed.

Last updated