Skip to content

Commands & permissions

The command, keys and permissions of Cuxial Dance Class, and who can open a class.

Cuxial Dance Class has one command, open to every player. Who can teach is decided in the config, not by the command.

Commands ​

CommandWhoWhat it does
/danceclassEveryoneOpens the panel: create a class, manage your class, see nearby classes and your history.
/danceclass joinEveryoneJoins the nearest open class. A class with a fee charges it on joining.
/danceclass nextInstructorStarts the class or launches the next dance. Same as the F6 key.
/danceclass debugEveryonePrints your class, your role and the open classes around you to the F8 console.

The command name comes from instructor.command in shared/config.lua.

Keys ​

KeyWhoWhat it does
F6InstructorStarts the class or launches the next dance. Default from instructor.nextKey.
Not setEveryoneOpens the panel. Set a default in instructor.keybind.
EStudentAccepts the fee of a class when the prompt appears. From joinKey.
W A S D and arrowsStudentNotes of the minigame. The keys in use depend on the difficulty.
EscEveryoneCloses the panel.

The first two are FiveM key bindings: each player can change them in the GTA key settings. While a dance is playing, movement, jumping, attacks and vehicle entry are disabled.

Drawing the zone ​

The zone creator belongs to Cuxial Bridge and shows its controls on screen.

KeyWhat it does
Left clickPlaces a point.
Right clickRemoves the last point.
Arrows or scrollChanges the height of the zone.
EnterSaves the zone.
BackspaceCancels.

How a class runs ​

  • Instructor. Opens the panel, draws the zone, fills in the class and opens it. Each dance is launched with F6 or from the panel, where a specific dance can be picked. The panel also kicks students and ends the class.
  • Student. Walks into the zone to join. Leaving the zone, pressing the leave button in the panel or dying takes them out.
  • End. The class ends when the instructor ends it, dies or disconnects. If at least one dance was played, everyone sees the final podium and the history is saved.

Permissions ​

There are no staff commands. The only permission is who can open a class, set in instructor.mode:

instructor.modeWho can teach
'everyone'Any player. Default.
'job'Players whose job is in instructor.jobs.
'ace'Players with the ACE permission in instructor.ace.

With 'ace', grant the permission in your server configuration:

server.cfg
cfg
add_ace group.dancer danceclass.instructor allow

Players who cannot teach still open the panel. They see their history and the classes nearby.

© Cuxial