How To Add Admins to Your FiveM Server
Learn how to grant admin permissions on your FiveM dedicated server using ace permissions.
FiveM uses an ace permissions system to manage admin access. This allows you to give specific players elevated privileges on your server.
Find the Player's Identifier
You need the player's FiveM identifier. The most common identifiers are:
- Steam Hex ID - Looks like
steam:110000xxxxxxxxx - Discord ID - Looks like
discord:123456789012345678 - License - Looks like
license:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Players can find their Steam Hex ID at SteamID.io by converting their SteamID64 to hexadecimal.
Open Files
Log in to the XGamingServer Panel and select your FiveM server. In the sidebar, click Files.
Open server.cfg
Open the server.cfg file.
Add Admin Permissions
Add the following lines to your server.cfg:
# Add the player to the admin group
add_principal identifier.steam:110000xxxxxxxxx group.admin
# Give the admin group all permissions
add_ace group.admin command allow
add_ace group.admin command.quit denyReplace steam:110000xxxxxxxxx with the player's actual identifier.
Set Up Permission Groups (Optional)
You can create custom permission groups for different admin levels:
# Create moderator group
add_ace group.moderator command.kick allow
add_ace group.moderator command.ban allow
# Create admin group with full access
add_ace group.admin command allow
# Add players to groups
add_principal identifier.steam:110000xxxxxxxxx group.admin
add_principal identifier.steam:110000yyyyyyyyy group.moderatorSave and Restart
Save the file and restart your server from the Console page.
📝 Note: If you are using a framework like ESX or QBCore, admin permissions may be managed differently through the framework's built-in admin system or a resource like vMenu or EasyAdmin.
💡 Tip: You can also manage permissions through txAdmin if it is available on your server.
How is this guide?