lyx.ac
ACE Permissions

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 Integration
Configure ChocoHax to use FiveM's ACE permission system

In your server panel:

  1. Go to your server settings in the ChocoHax panel
  2. Navigate to the "Permissions" section
  3. Enable "ACE Permissions" toggle
  4. Save the configuration
  5. Restart your server
2
ACE Permission Format
Understanding 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 Examples
Manual ACE permission configuration examples

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