JG Docs
Getting Started

Permissions Troubleshooting

All admin commands in our scripts require god permissions in QBCore and admin permissions in ESX by default.

You can adjust these permissions in framework/sv-functions.lua -> Functions.Server.IsAdmin().

  1. To give someone access to the command, they need to be part of the correct group in your server.cfg file - see the following example:

    add_principal identifier.fivem:XXXXXXX group.god # QBCore
    
    add_principal identifier.fivem:XXXXXXX group.admin # ESX
  2. Restart your server

  3. ESX only: If you are still having issues, try running /setgroup [id] admin in-game