Skip to content

Commands & permissions

The admin command of Cuxial Casino, every key used in the games, the lift and the office, and the permissions of staff and employees.

Cuxial Casino has one command, for staff. Everything else is done in game, through the target menu and keys.

Commands ​

CommandWhoWhat it does
/casinoadminStaff in the ACE group group.admin with the admin.permission permissionOpens the admin panel. Anyone else gets a notice instead.

The name and the ACE group are set in admin.commands.admin of shared/config.lua.

Keys ​

All keys are registered through ox_lib, so each player can change them in the GTA key settings, under FiveM. The default only applies to players who have never joined.

WhereKeys
Seated anywhereE stand up
Slot machine1 bet one · 2 bet max · Space spin · F lever · C camera · hold right click to zoom on the screen
BlackjackEnter hit · Space stand · D double · S split · B chip cursor · C camera
RouletteB cursor on the felt · C camera
Three Card PokerEnter play · X fold · Space look at cards · B chip cursor · C camera
Texas Hold'emX fold · Space check or call · Enter bet or raise · H look at cards · B cursor · C camera
Lucky wheelE take the wheel and stop the strength meter · Backspace leave
Inside Track terminalC look at the big screen · hold right click to zoom on the terminal
Player dealerG close bets · X leave the table
Penthouse liftE open the panel
First-visit hintsDelete dismiss the visible hint

The office keys are shown on screen while using it: E computer, X stand up and G count money. They are set in office.keys.

Staff permissions ​

The admin panel and the management app are checked on the server through Cuxial Bridge with the permission in admin.permission (admin by default).

server.cfg
cfg
add_ace group.admin admin allow
add_principal identifier.license:xxxxxxxxxxxxxxxx group.admin
OptionDefaultWhat staff with the permission can do
security.adminBypasstrueExpel and ban from the target menu without clocking in and without limits.
vip.adminBypassfalseEnter every private area.

Staff can always use the boss office and its computer.

Employee permissions ​

Employees of the casino job get their permissions from their grade, set in job.perms. Except for the office, they also need to be on duty.

PermissionGradeWhat it allows
expel1Escort a player out of a private room, or out of the casino.
ban1Ban for up to 24 hours (job.banHours.short).
banLong5Ban for up to 720 hours (job.banHours.long) or permanently, and lift bans.
manage5Take the penthouse lift without a card and use the boss office.

The security options appear only for employees on duty in the security post.

The casino management app on the office computer is for the boss grade of the job (grade 6 in the example job) and for staff. A boss cannot fire, pay, change the grade of or take off duty another boss.

© Cuxial