Skip to content

Commands & permissions

Commands and keys of Cuxial License, and who can design, issue, check and revoke documents.

Cuxial License has three commands: one for staff and two for the jobs you authorize. Players need no command; they use the office NPC and their items.

Commands ​

CommandWhoWhat it does
/licenseStaffOpens the management panel: designs, issued documents, offices, prices, jobs and factions, settings and audit log.
/jobissuejobs.authorizedOpens the issuing panel of the job: issue a card to a nearby player, see who holds each card, revoke and restore.
/checklicense [id]jobs.authorized or jobs.idCheckOpens the ID check panel. With a server id, it scans that player on open.

The three names can be changed in commands (see Configuration). Inside the ID check panel you can also search by character identifier, which works for players who are offline.

The management panel ​

SectionWhat it does
DesignsCreate, edit, duplicate, import and export card designs, and manage templates.
IssuedSearch every issued document; revoke, restore, reprint, change the expiry or delete it.
OfficesCreate and edit offices, place the NPC at your position and teleport to it.
PricesChange the price of each card and turn cards on or off.
Jobs and factionsEdit jobs and the badges of documents.badges.
SettingsEdit the other live sections, return them to the file values (Factory), export and import them.
AuditLog of every staff action, with who did it and when.

Issuing a card ​

  1. The agent opens /jobissue, picks a nearby player and a card, fills the custom fields if the card has any, and optionally an expiry date.
  2. The player receives a request on screen with the name of the agent and of the card.
  3. If they accept, the photo studio opens. Once they submit the photo (and the signature, if enabled), the item goes to their inventory and the agent is notified.

The request expires after issuing.photoTimeout seconds (60 by default). If the player declines or it runs out, nothing is issued and the agent is told.

Each character holds one record per card design. Issuing the same card again updates that record with the new dates and photo, and lifts a previous revocation.

Revoking ​

Revoking does not take the item away. The card is shown with a revoked stamp, and the document no longer appears in ID checks or in the GetPlayerLicenses export. Restoring undoes it.

Keys ​

KeyWhat it does
EPuts away the card you are showing (display.hideKey).
GFlips the card to show the back (display.flipKey).
EscCloses the open panel.
Mouse drag / wheelIn the photo studio, moves the camera around the character and zooms.

Each player can rebind E and G in the GTA settings, under Key Bindings → FiveM. A card you show stays up for 30 seconds at most (display.duration); nearby players see it for 5 seconds (display.nearbyDuration).

Permissions ​

ActionRequirement
/license and everything in the management panelThe framework permission in admin.permission ('admin' by default)
/jobissue, issue cards, see nearby playersA job in jobs.authorized with its minimum grade, or staff
Issue one card in particularAlso one of the card's Jobs that can issue (or of its Restrict to job list when it has none). Empty = any authorized job
Revoke and restore in the issuing panelA job in jobs.revoke with its minimum grade, or staff
/checklicense and the ID check panelA job in jobs.authorized or jobs.idCheck with its minimum grade, or staff
Buy at an officeEveryone, or only the office's jobs when it has them
Fake ID generatorfakeId.enabled, and one of fakeId.jobs when it has them
Show a cardEveryone who carries the item

The staff permission is the one of your framework, read through cuxial_bridge. No ACE entry is needed in server.cfg unless you set restricted on a command.

© Cuxial