Assigning administrator rights allows you simple and comprehensive administration with full control over your server. As an admin, you can use all available options and features the game offers directly in-game. All the steps you need to take to assign administrator rights for your server are described below.
The configuration of administrator rights is done via the server.cfg file. Log in to the txAdmin interface and open the CFG Editor. Then navigate to the end of the configuration file until you reach the Permissions section.
QBCore supports various player IDs, including FiveM IDs (identifier.fivem:), Rockstar licenses (identifier.license:), and Discord IDs (identifier.discord:). You can read these IDs directly from your txAdmin interface. You can decide whether to assign them GOD, Admin, or Mod status.
Once you have identified the IDs and desired status, you can assign rights to individual players by entering them in your server.cfg. Add one of the three available options as a new entry under the Permissions section:
add_principal identifier.license:xxxxxx qbcore.god # PlayerName
add_principal identifier.license:xxxxxx qbcore.admin # PlayerName
add_principal identifier.license:xxxxxx qbcore.mod # PlayerName
The final result might look like this:
## Permissions ##
add_ace group.admin command allow # allow all commands
# Deployer Note: this admin master has no IDs to be added automatically.
# add_principal identifier.discord:111111111111111111 group.admin # Example
add_principal identifier.fivem:16219250 qbcore.admin # PlayerName
