NX Creative

Commands

Admin console commands, the MDT and Dash key bindings, the placement tools, and the Config.Debug tuning tools.

On this page

Players open the laptop through the ox_inventory item and ox_target, not a chat command. The only player-facing commands are the MDT's key bindings for officers. The rest are for server operators, for admins placing and tuning displays on a live server, and for live tuning during development.

Admin commands#

/computeradminnx_computer.admin ACE

Opens the admin console: darknet overview, drops, schedules, catalog overrides, orders (mark ready or cancel) and market rules, plus computers, sessions, accounts, app access and the audit log. Grant the ace to your admin group in server.cfg, for example add_ace group.admin nx_computer.admin allow.

Both admin commands are registered as restricted commands. An in-game caller therefore also needs FiveM's own ACE for the command (for example command.nx_computer_factory_reset), in addition to the check listed. An unauthorised caller gets no reply.

/nx_computer_factory_reset <computer_id>nx_computer.admin ACE or server console

Revoke every session for one laptop and delete its device row. The scope is a single device, identified by its computer id. The owning accounts and their data are preserved. Anyone signed in on that device is dropped to the lock screen. In-game callers pass the same admin check as the Admin app: the nx_computer.admin ACE, or the broad command ACE when Config.AllowCommandAceAdmin is true.

Arguments

computer_id string
The id of the laptop device to reset.
/nx_computer_reap_nownx_computer.admin ACE or server console

Force an immediate cleanup sweep that prunes stale rows and prints how many were removed. This runs the same maintenance pass the reaper performs on its schedule. In-game callers need the nx_computer.admin ACE. Config.AllowCommandAceAdmin does not apply to this command.

/nxmarket [subcommand] [symbol]server console only

Market engine diagnostics. With no argument it prints engine status: whether the market is enabled, asset count, queue depth, clock offset, time since the last tick, the current regime, and a per-asset line with price, 24 hour change, and valuation. flush writes any queued data out immediately. rebuild discards one asset's stored history and regenerates it. Registered only while Config.Exchange.Market.Enabled is true and the asset list loaded, and it ignores in-game callers.

Arguments

subcommand? string
status (default), flush, or rebuild.
symbol? string
Required by rebuild. The asset symbol to rebuild.
Text
nxmarketnxmarket flushnxmarket rebuild NXC

MDT and Dash key bindings#

Officers work dispatch calls without opening the laptop. Each action is a command with a key binding, listed in the game's settings under Key Bindings, FiveM, where every player can rebind it. Their own choice always wins over the default.

The bindings exist only while built-in dispatch is on (Config.MDT.Dispatch.Enabled = true), and the Dash bindings also need Config.MDT.Dash.Enabled. Any player can press them, but the server refuses anyone who is not on duty in an MDT department, so the command ACE FiveM grants for them is not a permission.

CommandKey Bindings entryDefault keyWhat it does
nxmdt_statuskeyDispatch: set my statusNot boundOpens the status picker: Available, En route, On scene, Busy, Out of service
nxmdt_respondDispatch: respond to the latest callYResponds to the newest call you were alerted to. While the Dash shows an alert, it responds to that alert, or starts a traffic stop on a plate hit
nxmdt_clearDispatch: clear my callUClears you from your call
nxmdt_panicDispatch: panic buttonNot boundSends a priority 1 call at your position to police and your own department
nxmdt_bodycamBodycam: start or stop recordingJStarts or stops your bodycam
nxdash_dismissCar MDT: dismiss the alertBackspaceDismisses the plate hit or the call offer on the Dash
nxdash_sheetCar MDT: open or closeF10Opens or closes the Dash sheet: status, lookup, calls, units and panic

The defaults come from Config.MDT.Dispatch.Keys (Status, Attach, Clear, Panic, Bodycam) and Config.MDT.Dash.Keys (Dismiss, Sheet). false leaves an action unbound. A changed default reaches players who join after the change; a player who already has the key keeps it until they rebind it.

Why status has no key. The status key used to default to F5, which most servers already use for a job or phone menu. It now ships unbound (Status = false), and officers set their status on the MDT, the phone or the Dash sheet. Its binding moved to the new entry nxmdt_statuskey, because FiveM keeps a player's saved key for an entry even after the default changes. An F5 saved from the old default therefore no longer opens the picker. Officers who want a status key bind it once. In Config.MDT.Dispatch.Keys, leaving Status out or setting it to '' brings F5 back as the default.

Panic is unbound because one press alerts the whole department. Officers bind it themselves.

/nxmdt_status can also be typed in chat to open the same status picker. It is the old name of the status binding: it has no key binding entry of its own, and it ignores a press while F5 is held, so an old saved F5 binding does nothing.

Development seeding#

These are registered only when Config.Debug is true, and they refuse any caller other than the server console. Leave Config.Debug off on a live server: with the gate off the commands do not exist at all.

/nxmdt_seed [agencyKey] [anchor] [keep] [corpus]server console only, Config.Debug

Fill the MDT with a generated set of records so the terminal can be reviewed without hand-entering data. keep and the corpus name are recognised in any position from the second argument on, so the anchor can be skipped. Only one seed or wipe runs at a time. Prints a summary of what it created and any statement that failed.

Arguments

agencyKey? string
Which agency to seed. Defaults to the first entry in Config.MDT.Agencies.
anchor? string
The officer the seeded records centre on.
keep? flag
Add to existing rows instead of wiping first.
corpus? string
Which language corpus the generated text is drawn from.
Text
nxmdt_seednxmdt_seed lspdnxmdt_seed lspd keep
/nxmdt_seed_wipeserver console only, Config.Debug

Remove the rows nxmdt_seed created. It matches on the seeder's own markers, so real records entered alongside them are left in place. The reference counters are deliberately kept so the first real record cannot collide with a seeded reference.

Placement tools#

/nxc_place and /nxc_cable work on a live server. They are allowed when either of these holds:

  • Config.Debug is true. The client answers locally, with no server check.
  • Config.PlacerAdminAccess is not false and the server confirms the player is an admin. Admin means the nx_computer.admin ACE (or the broad command ACE when Config.AllowCommandAceAdmin is true), an ESX group listed in Config.PlacerAdminGroups (default admin and superadmin), or the QBCore or Qbox admin or god permission.

The server check fails closed: any error or timeout means not allowed. The client caches the answer for 30 seconds. A refused player sees "You need Config.Debug or admin rights to use" followed by the command name. Set Config.PlacerAdminAccess = false to limit both tools to Config.Debug. Other resources can ask the same question through the CanUsePlacer server export.

CommandPurpose
/nxc_place [target]Live placement and tuning tool for world coordinates. laptop (the default), monitor, projector (or proj), or pick (or aim) to aim at a placed object and tune that one. Any other target prints the usage.
/nxc_place_closeClose the placer, or cancel pick mode.
/nxc_cableMonitor-cable decoration placement tool.
/nxc_cable_closeClose the cable placer.

Development tuning tools#

These client commands exist for live tuning of prop offsets, camera settings, and the operator pose, and for scripted testing. They are gated behind Config.Debug, which defaults to false. Leave it disabled on a live server. With the gate off, the tuners refuse with a message, and /nxcc, /nxc_freelook, /nxcnc, /nxc_open, and /nxc_focus do nothing. The polaroid tuner uses its own gate, Config.Camera.Debug.

CommandPurpose
/nxc_cam [copy]Live-tune the held camera prop: model, attach bone, and offsets. Run it while in photo mode, since there is no prop to tune otherwise. Pass copy to print a paste-ready Config.Camera snippet to the F8 console, or close to close it.
/nxc_cam_closeClose the camera tuner.
/nxc_pol [copy]Live-tune how a photo sits on the polaroid prop. Works with or without a real polaroid in hand: with none it spawns a calibration pattern. Pass copy to print a paste-ready Config.Camera.Polaroid snippet, or close to close it. Gated by Config.Camera.Debug.
/nxc_pol_closeClose the polaroid tuner.
/nxc_anim [band]Live-tune the operator typing posture. Pass a band id to open on that band, copy to print a paste-ready config.lua snippet, or close to close it. Suspend the laptop first: the tuner closes itself while a laptop has focus.
/nxc_anim_closeClose the posture tuner.
/nxccToggle third-person freelook while using a laptop.
/nxc_freelookAlias of /nxcc.
/nxcnc <metres>Live-tune the laptop and monitor camera near-clip, for example /nxcnc 0.35. Raise it to clip the operator's hands out of the lens. Lower it if the screen starts to disappear.
/nxc_openOpen the nearest placed laptop without using the ox_target eye. It runs the same open path the target uses.
/nxc_focusResume focus on the suspended laptop through the same path the ox_target option on the open laptop uses. Prints a console line when no laptop is suspended.
/nxc_meet_ghostToggle a test participant in the meeting you are in, so the Meetings app can be tested from one client. The ghost joins as a second copy of your own account, with no voice. Run it again to remove it. Requires an active meeting; the server also refuses it unless Config.Debug is true.

We are not affiliated with or endorsed by Rockstar North, Take-Two Interactive or other rights holders. FiveM is a copyright and registered trademark of Take-Two Interactive Software, Inc. Our checkout process is owned & operated by Tebex Limited, who handle product fulfilment, billing support and refunds.