PLAYING DANCE MACHINE#
Quasar Dance Machine allows players to enjoy a complete rhythm game experience directly inside FiveM. Players can interact with any dance machine placed on the server, choose a song, select a difficulty, and compete for the highest score either alone or with another player.
The resource supports Solo, Duo, and Versus game modes. Every note is synchronized between players, scores are calculated in real time, and the final results are automatically saved to the server leaderboard.
Each song includes multiple difficulty levels, configurable gameplay settings, cinematic stages, and customizable key bindings, allowing every server to tailor the experience to its own community.
MANAGING SONGS#
New songs can be added simply by placing audio files inside the songs directory and opening the /dancemusic panel. From there, administrators can generate beatmaps, edit song information, configure available difficulties, define preview sections, and regenerate songs whenever necessary.
The resource supports MP3, OGG, and WAV files, automatically extracting metadata whenever possible. Generated songs are stored in the database and become immediately available to every connected player without requiring another restart.
DANCE MACHINE CREATOR#
Administrators can create, edit, duplicate, teleport to, and remove dance machines directly from inside the game using the /dancecreator command.
Each machine can have its own location, heading, entry price, payment method, supported game modes, and player capacity. Every created machine is automatically saved inside the database and restored every time the server starts.
AVAILABLE COMMANDS#
Command | Description |
|---|---|
| Opens the Dance Machine Creator panel. |
| Opens the Music Manager. |
| Places and calibrates dance pads. (Debug only) |
| Opens the cinematic camera calibration tool. (Debug only) |
SERVER EXPORTS#
Quasar Dance Machine provides several server exports that allow other resources to access song information, active dance machines, and leaderboard data. These exports are useful for integrations, custom interfaces, and server-side scripting.
exports['qs-dancemachine']:GetSongCatalog() -- Returns the complete song catalog.
exports['qs-dancemachine']:GetMachines() -- Returns all active dance machines.
exports['qs-dancemachine']:GetRecords(songId, difficulty) -- Returns the server record and leaderboard for a song.
exports['qs-dancemachine']:GetGlobalTop() -- Returns the global player leaderboard.


