Cuxial Dance Class has one command, open to every player. Who can teach is decided in the config, not by the command.
Commands
| Command | Who | What it does |
|---|---|---|
/danceclass | Everyone | Opens the panel: create a class, manage your class, see nearby classes and your history. |
/danceclass join | Everyone | Joins the nearest open class. A class with a fee charges it on joining. |
/danceclass next | Instructor | Starts the class or launches the next dance. Same as the F6 key. |
/danceclass debug | Everyone | Prints 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
| Key | Who | What it does |
|---|---|---|
| F6 | Instructor | Starts the class or launches the next dance. Default from instructor.nextKey. |
| Not set | Everyone | Opens the panel. Set a default in instructor.keybind. |
| E | Student | Accepts the fee of a class when the prompt appears. From joinKey. |
| W A S D and arrows | Student | Notes of the minigame. The keys in use depend on the difficulty. |
| Esc | Everyone | Closes 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.
| Key | What it does |
|---|---|
| Left click | Places a point. |
| Right click | Removes the last point. |
| Arrows or scroll | Changes the height of the zone. |
| Enter | Saves the zone. |
| Backspace | Cancels. |
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.mode | Who 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:
add_ace group.dancer danceclass.instructor allowPlayers who cannot teach still open the panel. They see their history and the classes nearby.
