Skip to Content
GuidesQBCore Admin Commands - Menu, Permissions and Staff Cheatsheet

QBCore Admin Commands

Use this page as a practical cheatsheet for QBCore staff commands. It focuses on commands server owners search for most often: opening the admin menu, setting permissions, setting jobs, giving money, spawning vehicles, and fixing commands that do not appear in chat.

Core commands such as /setjob, /givemoney, /tp, and /dv are registered by qb-core. Menu commands such as /admin, /noclip, /coords, and warning tools are usually provided by qb-adminmenu. If a command is missing, first check that the right resource is installed and ensured in server.cfg.

Quick Command List

CommandPermissionSourceUse it for
/adminadminqb-adminmenuOpen the QBCore admin menu
/addpermission [id] [permission]godqb-coreGive a player mod, admin, or god permission
/removepermission [id] [permission]godqb-coreRemove a permission level from a player
/setjob [id] [job] [grade]adminqb-coreAssign a player job and grade
/setgang [id] [gang] [grade]adminqb-coreAssign a player gang and grade
/givemoney [id] [type] [amount]adminqb-coreAdd cash, bank, or crypto money
/setmoney [id] [type] [amount]adminqb-coreSet a money balance directly
/car [model]adminqb-coreSpawn a vehicle by model name
/dvadminqb-coreDelete the closest vehicle
/dvalladminqb-coreDelete all vehicles
/dvpadminqb-coreDelete all peds
/dvoadminqb-coreDelete all objects
/tp [id] or /tp [x] [y] [z]adminqb-coreTeleport to a player or coordinates
/tpmadminqb-coreTeleport to your map marker
/openserveradminqb-coreReopen a closed server
/closeserver [reason]adminqb-coreClose the server and kick non-whitelisted players

Open the QBCore Admin Menu

The common QBCore admin menu command is:

/admin

If /admin does nothing, check these first:

  1. qb-adminmenu is installed.
  2. ensure qb-adminmenu appears after ensure qb-core in server.cfg.
  3. Your player has admin or god permission.
  4. No other admin resource overrides the same command.

Give Yourself Admin Permission

For a live server, prefer assigning ACE permissions in server.cfg and then use QBCore permissions for in-game staff levels.

add_ace group.admin command allow add_ace resource.qb-core command allow add_principal qbcore.god group.admin add_principal qbcore.god qbcore.admin add_principal qbcore.admin qbcore.mod add_principal identifier.license:YOUR_LICENSE_HERE qbcore.god

After restarting, use the server console or an existing god-level admin to assign the runtime permission:

/addpermission 1 god

Replace 1 with the player’s current server ID. For regular staff, use admin or mod instead of god.

Player Management Commands

Set a Job

/setjob [player_id] [job_name] [grade]

Examples:

/setjob 12 police 0 /setjob 12 mechanic 2 /setjob 12 unemployed 0

The job name must exist in your QBCore job config. The grade must exist for that job. For a deeper walkthrough, use the set job guide.

Set a Gang

/setgang [player_id] [gang_name] [grade]

Use this only when your server uses QBCore gangs and the target gang is configured.

Give or Set Money

/givemoney [player_id] [money_type] [amount] /setmoney [player_id] [money_type] [amount]

Examples:

/givemoney 12 cash 500 /givemoney 12 bank 2500 /setmoney 12 cash 1000

Use /givemoney when you want to add to the current balance. Use /setmoney when you want to replace the balance.

Vehicle and World Cleanup Commands

TaskCommand
Spawn a vehicle/car sultan
Delete nearby vehicle/dv
Delete all vehicles/dvall
Delete all peds/dvp
Delete all objects/dvo
Teleport to player ID/tp 12
Teleport to coordinates/tp 215.0 -810.0 30.7
Teleport to map marker/tpm

Use global cleanup commands carefully on production servers. /dvall, /dvp, and /dvo affect the whole server, not only your local area.

Server Open and Close Commands

Close the server with a visible reason:

/closeserver Maintenance restart in 5 minutes

Reopen it after maintenance:

/openserver

Players with the configured whitelist permission can stay during a closed-server period. Everyone else is kicked with the reason you provide.

Why Commands Do Not Work

The command is not suggested in chat

Run a command refresh after changing permissions:

QBCore.Commands.Refresh(source)

If you changed permissions from the console or database, reconnect the player as well.

The command says you have no permission

Check both layers:

  1. ACE principals in server.cfg.
  2. QBCore runtime permissions from /addpermission.

The command /addpermission itself requires god, so a normal admin cannot promote another player to admin unless your server has customized permissions.

The command exists but does nothing

Check the resource that owns the command:

ensure qb-core ensure qb-adminmenu

Then check the server console for Lua errors during startup. A failed resource can leave its commands unregistered.

Last updated on