Skip to main content

Player command

CommandDescriptionConfig key
/battlepassOpen the battle pass UIConfig.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.
CommandDescriptionConfig key
/bpadminOpen the in-game rewards editorConfig.Commands.adminMenu
/addxp [id] [amount]Give a player XPConfig.Commands.addXp
/setpremium [id] [0|1]Enable (1) or disable (0) a player’s premiumConfig.Commands.setPremium
/extendpremium [id]Extend a player’s premium durationConfig.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.