Page cover

🧾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