Advanced FiveM Access Control Entry (ACE) permission system integration with ChocoHax
What are ACE Permissions?
Understanding FiveM's native permission system
ACE (Access Control Entry) is FiveM's built-in permission system that allows server administrators to control which players can access specific commands and features. ChocoHax integrates with ACE to provide seamless permission management.
ACE Integration Setup
1
Enable ACE IntegrationConfigure ChocoHax to use FiveM's ACE permission system
In your server panel:
- Go to your server settings in the ChocoHax panel
- Navigate to the "Permissions" section
- Enable "ACE Permissions" toggle
- Save the configuration
- Restart your server
2
ACE Permission FormatUnderstanding how ChocoHax ACE permissions are structured
ChocoHax ACE Permission Pattern:
chocohax # Grant ALL permissions
chocohax.<permission_name> # Grant specific permission
All ChocoHax permissions are prefixed with chocohax. to avoid conflicts with other resources. Use chocohax alone as a wildcard to grant all permissions.
✓ Valid Examples
chocohax # All permissions
chocohax.ban # Ban command only
chocohax.adminmenu
chocohax.screenshot
chocohax.serverBypass
✗ Invalid Examples
ban
choco.ban
chocohax.*
CHOCOHAX.ban
3
Server.cfg ExamplesManual ACE permission configuration examples
These examples show manual configuration. When ACE integration is enabled, ChocoHax handles this automatically.
Admin Group Example (All Permissions)
# Create admin group with all permissions
add_ace group.admin chocohax allow
# Add user to admin group
add_principal identifier.steam:110000112345678 group.admin
Moderator Group Example (Specific Permissions)
# Create moderator group with specific permissions
add_ace group.moderator chocohax.kick allow
add_ace group.moderator chocohax.screenshot allow
add_ace group.moderator chocohax.spectate allow
add_ace group.moderator chocohax.adminmenu allow
# Add user to moderator group
add_principal identifier.discord:123456789012345678 group.moderator
Restricted Admin Example (All Except Ban)
# Give all permissions except ban command
add_ace group.restricted_admin chocohax allow
add_ace group.restricted_admin chocohax.ban deny
# Add user to restricted admin group
add_principal identifier.license:abc123def456 group.restricted_admin
Single Permission Example
# Give only ban permission
add_ace group.ban_only chocohax.ban allow
# Add user to ban only group
add_principal identifier.steam:110000112345678 group.ban_only
Available ACE Permissions
Complete ACE Permission List
All ChocoHax permissions available for ACE configuration
Server-Sided Permissions
chocohax.chatProtection
chocohax.eventsProtection
chocohax.frameworkProtection
chocohax.explosionProtection
chocohax.fxparticlesProtection
chocohax.weaponsProtection
chocohax.entitiesProtection
chocohax.loginProtection
chocohax.serverBypass
chocohax.heartbeatBypass
chocohax.steamTrustFactor
Client-Sided Permissions
chocohax.clientBypass
Commands and Admin Menu
chocohax.adminmenu
chocohax.screenshot
chocohax.ban
chocohax.unban
chocohax.cleararea
chocohax.vehicles
chocohax.getids
chocohax.kick
chocohax.teleport
chocohax.weapons
chocohax.esp
chocohax.debugMenu
chocohax.spectate
chocohax.noclip
chocohax.health
Miscellaneous
chocohax.skipadminmenulogs
chocohax.staffalerts
chocohax.permissions
chocohax.nochocohaxai
Next Steps
Continue learning about ChocoHax permissions