Player command
| Command | Description | Config key |
|---|
/battlepass | Open the battle pass UI | Config.OpenCommand |
Players can also open the UI with the F7 keybind (rebindable in Settings → Key Bindings, configured by Config.OpenKey), or another resource can open it with exports.nex_battlepass:openBattlepass().
Admin commands
These are restricted to the group.admin ace — the standard admin group on Qbox / txAdmin. Players who aren’t in that group can’t run them. The command names themselves are configurable under Config.Commands.
| Command | Description | Config key |
|---|
/bpadmin | Open the in-game rewards editor | Config.Commands.adminMenu |
/addxp [id] [amount] | Give a player XP | Config.Commands.addXp |
/setpremium [id] [0|1] | Enable (1) or disable (0) a player’s premium | Config.Commands.setPremium |
/extendpremium [id] | Extend a player’s premium duration | Config.Commands.extendPremium |
[id] is the target player’s server id. /addxp takes an XP amount; /setpremium takes a state of 1 (enable) or 0 (disable).
Permissions
Admin commands gate on the group.admin ace. Make sure your admins are in that group. A typical server.cfg grant looks like:
add_ace group.admin command allow
add_principal identifier.fivem:1234567 group.admin
On Qbox and txAdmin, admins are usually already in group.admin, so no extra setup is needed.
If /bpadmin or the other admin commands do nothing, the player isn’t in group.admin. Add them to that group and try again. See Troubleshooting.