Risparmia oggi con 20% Usa il codice WELCOME al pagamento. WELCOME

Comandi di amministrazione QBCore

Testare uno script gratuito?

Gli script gratuiti vanno bene per controlli rapidi. Per server in produzione, confronta pacchetti server completi o script a pagamento mantenuti, in base al framework e al caso d'uso.

All QBCore ADMIN COMMANDS – Overview

Clean, accurate, dependency‑labeled. Copy/paste‑ready. Assumes qb-core E qb-adminmenu are installed. Server IDs = /giocatori list or in scoreboard.


Use QBCore’s built‑in permission system (not legacy “groups”).

/addpermission [id] [admin|mod|god]
/removepermission [id] [admin|mod|god]

Mancia: keep Dio for owners only; amministratore for senior staff; mod for helpers.


1) Teleport & Movement

/admin                        # open admin menu
/coords                       # print your current XYZ & heading in chat
/tpm                          # teleport to map waypoint
/goto [id]                    # teleport yourself to player [id]
/bring [id]                   # bring player [id] to you
/flip                         # flip nearby vehicle upright

Note

  • /setcoords E /tpcoords Sono non stock; use menu → Teleport → Custom Coords instead.

2) Player Management

/setjob  [id] [job]  [grade]  # e.g. /setjob 12 police 3
/setgang [id] [gang] [grade]  # e.g. /setgang 12 ballas 2

/setmoney  [id] [cash|bank] [amount]
/givemoney [id] [cash|bank] [amount]

/clearinventory [id]          # empties inventory
/clearloadout   [id]          # removes weapons
/warn [id] [reason]
/kick [id] [reason]
/ban  [id] [reason]
/unban [identifier]

Note

  • Money targets cash O banca; there is no generic “account”.
  • Unban uses an identifier (license/steam/discord) depending on your ban system.

3) Health & Character

/revive [id]                  # revive target player
/reviveme                     # revive self
/heal   [id]                  # full health

Optional (depends on your medical/armor resource):

/setarmor [id] [amount]

4) Vehicles

/car [model]                  # spawn vehicle by model name, e.g. /car sultan
/dv                           # delete nearest vehicle (aka /cardel)
/fix                          # repair current vehicle

5) Communication

/announce      [message]      # server‑wide message
/announcestaff [message]      # staff‑only broadcast

6) Visual Aids & Debug

/blips                        # toggle player blips on map
/names                        # toggle player overhead IDs
/debug [on|off]               # client debug helpers

7) Inventory & Items (if enabled in your admin menu)

/giveitem [id] [item] [amount]
/giveweapon [id] [weapon] [ammo]
/giveweaponcomponent [id] [weapon] [component]
/showinventory [id]

Dipendenza: your admin menu/inventory resource must expose these actions. In pure stock setups, do them via /amministratore UI.


8) Optional Commands (labelled by resource)

Time & Weather — qb-weathersync or equivalent

/weather [type]               # types: extra_sunny, clear, neutral, smog, foggy, overcast, clouds, clearing, rain, thunder, snow, blizzard, light_snow, xmas
/settime [hour] [minute]      # 0–23, 0–59

Noclip & Godmode — admin menu feature

/noclip [on|off]
/godmode [id] [on|off]
/invincible [id] [on|off]

Whitelist — separate whitelist resource

/whitelist [add|remove] [identifier]

Server control — txAdmin/console, not a chat command

  • Utilizzo txAdmin or server console for restart/shutdown. Avoid advertising /fermare as a chat cmd.

9) Best‑Practice Examples

# promote helper to moderator
/addpermission 23 mod

# hire a new officer, grade 2
/setjob 48 police 2

# set player’s bank balance to 25k
/setmoney 48 bank 25000

# bring a reported player to you, review inventory, warn
/bring 48
/showinventory 48
/warn 48 FailRP – ignoring fear mechanics

# revive a downed player and fix their car
/revive 48
/fix

10) Common Pitfalls (what non to list)

  • /setcoords, /tpcoords: not shipped in stock QBCore; use menu or /tpm.
  • /fermare: console/txAdmin only.
  • Generic /impostacontomoney//daredenaroalconto: utilizzo /setmoney//givemoney con cash|bank.
  • Group management via /setgroup|/addgroup|/removegroup: use QBCore permissions Invece.

11) Quick Dependency Matrix

Command/FeatureStock QBCoreqb-adminmenuqb-weathersync (or similar)Inventory/Admin extras
/admin, /tpm, /goto, /bring, /flip
/coords, /blips, /names, /debug
/setjob, /setgang, /setmoney, /givemoney
/clearinventory, /clearloadout, /showinventory✓*
/car, /dv, /fix
/revive, /reviveme, /heal
/weather, /settime
/noclip, /godmode, /invincible
/lista bianca

✓* = often present via the admin menu; may rely on your inventory implementation.


12) Copy Blocks for Your Docs (ready‑to‑embed)

### Permissions
/addpermission [id] [admin|mod|god]
/removepermission [id] [admin|mod|god]

### Teleport & Movement
/admin
/coords
/tpm
/goto [id]
/bring [id]
/flip

### Player Management
/setjob  [id] [job]  [grade]
/setgang [id] [gang] [grade]
/setmoney  [id] [cash|bank] [amount]
/givemoney [id] [cash|bank] [amount]
/clearinventory [id]
/clearloadout [id]
/warn [id] [reason]
/kick [id] [reason]
/ban  [id] [reason]
/unban [identifier]

### Health & Character
/revive [id]
/reviveme
/heal [id]

### Vehicles
/car [model]
/dv
/fix

### Communication
/announce [message]
/announcestaff [message]

### Visual & Debug
/blips
/names
/debug [on|off]

### Optional (Weather/Time)
/weather [type]
/settime [hour] [minute]

Possiedi un server FiveM? Scopri la nostra nuovissima raccolta di mod e modelli FiveM.

Luca
Luca

Mi chiamo Luke, sono un giocatore e amo scrivere di FiveM, GTA e giochi di ruolo. Gestisco una community di gioco di ruolo e ho circa 10 anni di esperienza nell'amministrazione di server.

Articoli: 436

Lascia una risposta