Skip to content

Commands & permissions

The tablet key, the admin command, the staff permission and the keys used in live streams, the 3D view and the placement tool of Cuxial Tablet.

Cuxial Tablet has one command. Players open the tablet with a key, and the staff open the admin panel with /tabletadmin.

Commands ​

CommandWhoWhat it does
/tabletadminStaff with the admin.permission permissionOpens and closes the admin panel. Anyone without the permission gets a notice instead.

The name can be changed in commands.admin of shared/config.lua.

Keys ​

KeyWhat it does
F1Opens and closes the tablet. Default from tablet.keybind.
BackspaceStops your own live stream. Default from live.camera.stopKey.

Both keys are registered through ox_lib, so each player can change them in the GTA key settings, under FiveM. Changing the default in the config applies to players who have never joined; the others keep the key they already had.

The tablet does not open while the player is dead, swimming, driving or cuffed, unless tablet.canOpen allows it. As a passenger it opens by default.

While broadcasting ​

KeyWhat it does
Mouse wheel up / downZoom in and out, between live.camera.zoomMin and zoomMax.
BackspaceStops the stream.

Movement and combat controls are blocked while the camera is on the shoulder.

In the 3D view of the shop ​

KeyWhat it does
Hold left click and move the mouseRotates the object. Without it, the object turns slowly on its own.
Mouse wheelMoves the object closer or further away.
E or EnterCloses the view and buys the item.
Esc or right clickCloses the view.

The view closes on its own after two minutes.

In the placement tool of the admin panel ​

Used to pick the coordinates of a city job from the panel.

KeyWhat it does
Mouse wheelTurns the heading.
Shift + mouse wheelRaises or lowers the point.
Left click or EConfirms the point.
Right click, Esc or BackspaceCancels.

Permissions ​

The admin panel, the operations on players and the moderation of news, streams and the gallery are checked on the server with the permission in admin.permission (admin by default), through Cuxial Bridge.

FrameworkHow the permission is checked
QBox and QBCoreThe framework permission with that name, as granted in your server.cfg.
ESXThe player's group must be admin or superadmin.
server.cfg
cfg
# QBox and QBCore: the admin group holds the "admin" permission
add_ace group.admin admin allow

# One line per staff member
add_principal identifier.license:xxxxxxxxxxxxxxxx group.admin

Staff also count as publishers and broadcasters: they can write news and go live without holding one of the jobs in news.publisherJobs or live.broadcasterJobs.

Jobs ​

SettingWho it allows
news.publisherJobsJobs that can publish news and delete their own entries.
live.broadcasterJobsJobs that can start a live stream.

Both are lists of job names and are edited live from the admin panel.

© Cuxial