Cuxial Tablet has one command. Players open the tablet with a key, and the staff open the admin panel with /tabletadmin.
Commands
| Command | Who | What it does |
|---|---|---|
/tabletadmin | Staff with the admin.permission permission | Opens 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
| Key | What it does |
|---|---|
| F1 | Opens and closes the tablet. Default from tablet.keybind. |
| Backspace | Stops 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
| Key | What it does |
|---|---|
| Mouse wheel up / down | Zoom in and out, between live.camera.zoomMin and zoomMax. |
| Backspace | Stops the stream. |
Movement and combat controls are blocked while the camera is on the shoulder.
In the 3D view of the shop
| Key | What it does |
|---|---|
| Hold left click and move the mouse | Rotates the object. Without it, the object turns slowly on its own. |
| Mouse wheel | Moves the object closer or further away. |
| E or Enter | Closes the view and buys the item. |
| Esc or right click | Closes 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.
| Key | What it does |
|---|---|
| Mouse wheel | Turns the heading. |
| Shift + mouse wheel | Raises or lowers the point. |
| Left click or E | Confirms the point. |
| Right click, Esc or Backspace | Cancels. |
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.
| Framework | How the permission is checked |
|---|---|
| QBox and QBCore | The framework permission with that name, as granted in your server.cfg. |
| ESX | The player's group must be admin or superadmin. |
# 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.adminStaff 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
| Setting | Who it allows |
|---|---|
news.publisherJobs | Jobs that can publish news and delete their own entries. |
live.broadcasterJobs | Jobs that can start a live stream. |
Both are lists of job names and are edited live from the admin panel.
