Browse docs

Configuration

Complete reference for global settings, Music Sync, boombox limits, permissions, music delivery and advanced audio files.

Open /djadmin to manage clubs and global settings. Complete Installation first, then choose how the global configuration should be managed.

Choose SQL or file settings

Config.IngameSettings = true is the default. This switch is read from config/config.lua and requires a resource restart after editing.

ModeActive global settingsWhere to make changes
IngameSettings = trueSaved settings in SQL; a new installation starts with the shipped defaults/djadmin → Settings, then save
IngameSettings = falseValues in config/config.luaEdit the existing file and restart sky_dj
In SQL mode, the other values in the customer config.lua are ignored, including on the first start. The generated source/shared/config_default.lua supplies the shipped defaults. Existing SQL settings take precedence and survive restarts. Editing config.lua is not an import operation; do not edit generated defaults or delete the SQL row to apply a change.

Switching to file mode does not copy saved SQL values into Lua. Review the file settings before switching. It disables global settings saves in-game and leaves the saved SQL settings intact for switching back later. Clubs, speaker and effect layouts, playlists and the boombox journal remain in SQL in either mode.

Sky DJ creates its sky_dj_state table and missing records automatically through sky_base. Back up this table before updating or changing the configuration mode. Sky DJ has its own administration interface; it does not require sky_jobs_base or register a /jobconfig section.

Find a setting

Paths below are relative to the installed sky_dj resource. The reference lists shipped defaults; an existing installation can have different saved values. Numeric ranges are the server's accepted global-settings ranges. Keep file-mode values inside those ranges too.

SectionMain settings
Audio & DJMaxVolume, MaxRadius, InteractDistance, MaxClubs, MarkerDrawDistance
Music & PlaylistsLivestreamEnabled, MusicDirectory, music delivery, transfer and cache budgets, queue, playlist and track-length limits
Music synchronizationMusicSync.enabled, source deck, bass/melody response, channel selection and quiet-section behavior
Festival groundsFestivalGroundEnabled, FestivalFencesEnabled
BoomboxEnabled state, item placement, command, volume ceiling, fixed range, device/audio limits and carrying
PermissionsAdminCommand, CommandPermissions.djadmin, AdminAce

IngameSettings is a Boolean with default true; it is the file-owned mode switch described above. The remaining Config keys are listed in the sections below. Where the current editor has no control for a compatibility setting, this is stated explicitly.

Audio and DJ limits

Open Settings → Audio & DJ in SQL mode.

SettingDefaultAccepted rangeEffect
MaxVolume2.00.05–2.0Global club-volume ceiling; shown as 5–200% in the editor.
MaxRadius150.0 m5–300 mUpper limit for saved club and individual speaker ranges.
InteractDistance2.5 m1–5 mDJ interaction distance; server-side control checks include a small distance tolerance.
MaxClubs501–100, whole numberMaximum custom clubs; the supplied festival does not count towards this limit.
MarkerDrawDistance20.0 m5–100 mDistance at which the DJ interaction marker is drawn. This does not extend audio range or grant access.

Lua volume values are multipliers: 1.0 means 100%, and 2.0 means 200%. The administration interface displays percentages. The ceiling does not raise each club's saved volume or replace individual speaker tuning. Lower existing club and speaker values before reducing a global limit below them; the server rejects incompatible limits.

Start with the smallest speaker ranges that cover your venue, then tune speaker direction and gain in the club. Increasing marker distance only makes the interaction easier to find. The Mixer and audio guide covers the separate per-club mix and speaker controls.

Administrator and DJ access

The default command is /djadmin. Set AdminCommand without a leading slash when renaming it; the permission key remains djadmin. An old saved default /clubadmin migrates to /djadmin; custom saved command names are retained. Opening the menu requires a loaded character and fresh server authorization.

SettingShipped defaultAccepted valueEffect
AdminCommand'djadmin'1–60 letters, digits, _ or -Administration command without a leading slash.
CommandPermissions.djadmin{ "god", "superadmin", "admin" }An ordered list of up to 30 unique group names, each 1–60 letters, digits, _ or -Groups accepted through Sky Base's command permissions. An empty list leaves independent ACE access available.
AdminAce'sky.dj.admin'1–60 letters, digits, _, . or -Additional ACE granting administration access.

In SQL mode, open /djadmin → Settings → Permissions. Enter group names separated by commas in Admin groups (separate with comma), keep your required ACE permission, then save. The server rejects a change that would remove your current access.

In file mode, edit these entries inside the existing Config table in config/config.lua:

config/config.lua — file mode
AdminCommand = 'djadmin',
CommandPermissions = {
    djadmin = { "god", "superadmin", "admin" },
},
AdminAce = 'sky.dj.admin',

Existing AdminGroups settings migrate automatically to CommandPermissions.djadmin while retaining exactly their former enabled groups. The additional god default applies to fresh installations only. For a manual file update, replace the old AdminGroups entry at the same position with this block, listing your own previous groups. Keep all other settings unchanged. Legacy file-mode values remain accepted; file mode does not rewrite saved SQL settings.

Configured groups use Sky Base's existing framework permission system, including group principal inheritance. A separate sky_dj.djadmin ACE also grants access; existing sky.dj.admin grants remain valid through AdminAce. Removing a configured group stops that group access path immediately, but does not revoke a separately granted ACE. Keep your framework's existing group memberships and grants.

Optional server integration: customize Config.Functions.HasCommandPermission in editable config/sv_functions.lua. Another trusted server resource can call exports.sky_dj:HasCommandPermission(playerSource, "djadmin") to obtain a Boolean permission result. Source 0 is allowed for trusted server integrations; it does not open an in-game menu or bypass the menu's loaded-character checks. This hook is not required for ordinary configuration.

Club access is separate. In the club editor, DJ access can allow administrators only, a job with a minimum rank, or All players. Allowing all players to use a DJ booth grants no global administration or playlist-management rights. DJ and FOH control also require the correct nearby interaction and routing bucket.

Music folder and delivery

Open Settings → Music & Playlists → Library & Queues for these global values.

SettingDefaultAccepted valueEffect
LivestreamEnabledfalseBooleanAllows administrator-added public HTTPS audio/HLS sources in assigned club playlists. Saved in-game changes apply live; disabling pauses live decks and disconnects listeners without deleting their playlist entries.
MusicDirectory'config/music'Resource-relative folder or @resource/folder, at most 240 charactersChooses the library scanned on the server. A leading @ selects another resource.
MusicOnDemandPlayerKiBps1024 KiB/s64–2048, whole numberOn-demand transfer budget shared by one player's active song transfers.
MusicOnDemandGlobalKiBps8192 KiB/s256–16,384, whole numberOn-demand transfer budget shared by all players on the server.
MusicOnDemandCacheMiB128 MiB64–512, whole numberPer-player budget for temporary compressed audio data in the on-demand browser cache.
MaxQueue301–100, whole numberTracks allowed in each deck queue. A mobile boombox queue also uses this limit, capped at 30.
MaxPlaylists501–200, whole numberMaximum saved playlists.
MaxPlaylistTracks1001–200, whole numberMaximum tracks in one playlist.
MaxTrackSeconds7200 s60–14,400 s, whole numberMaximum finite-track duration used for deck duration/reporting and queue advancement; also bounds boombox playback. The default is two hours. LIVE broadcasts have no finite track duration.

Optional livestreams

In SQL mode, use Settings → Music & Playlists → Library & Queues → Enable livestreams, then save. In file mode, edit Config.LivestreamEnabled in config/config.lua and restart sky_dj. A fresh or previously unconfigured installation keeps the option off; an existing saved choice remains authoritative.

This switch is separate from local Normal / On-demand MP3 delivery and from Music Sync. Administrators add a direct source under Playlists → Add livestream, then assign that playlist to a club. DJs can load only assigned sources. See Livestreams and radio for HTTPS/CORS requirements, supported live controls and music-reactive effects.

One MP3 folder, two delivery modes

Put your original .mp3 files in sky_dj/config/music, with a maximum of 50 MiB per file. Both modes use this same folder and the same installed resource; no variant folder or manifest replacement is needed. Normal playback needs no encoder. Optional On-demand delivery requires the process permission and full server restart in On-demand server preparation; its pinned server encoder installs automatically. No separate host Node/Yarn installation, terminal command, Nginx or external music service is required. Restart the resource after adding or replacing music files so its catalog and optional music package are rebuilt.

ModeWhen music is downloadedClient storage
Normal, checkbox offThe first local MP3 load requests the optional FiveM music package, containing the whole config/music library. The shipped configuration does not request this package merely because a player connects.FiveM's native resource cache; the package can remain cached for later use.
On-demand MP3, checkbox onOnly songs needed for playback or preparation are transferred through FiveM. Connecting, browsing the library or listing a playlist does not download the library or prefetch its queued songs.Temporary browser RAM cache, without persistent song storage on disk. Cached songs can be reused within the configured budget.

In SQL mode, open /djadmin → Settings → Music & Playlists → Library & Queues. Check On-demand MP3, acknowledge the confirmation dialog, then save. Uncheck it and save to return to Normal. A successful save applies the change live without a resource restart. Loaded decks and queues are resolved again for the chosen mode; their positions, pause state and mixer settings are retained, but audio may need to load again.

On-demand delivery is optional. Playback waits for the complete prepared song; this is not progressive audio streaming. Each source MP3 must be at most 50 MiB. Large songs, shared server bandwidth and several listeners can increase loading time. Switching modes cannot erase an existing FiveM music cache or cancel a native music-package download that has already started.

The on-demand cache reserves twice the transferred compressed-audio size during transfer assembly, then one copy for a ready song. Songs currently in use remain pinned; unused entries are evicted when space is needed. If the budget cannot hold the active songs and a new transfer, the new load fails instead of growing this cache without a limit. Decoded audio, browser and FiveM memory are additional to this compressed-audio budget. The temporary cache is cleared when the audio page or resource is stopped.

This client budget is separate from the server's prepared-song cache: data/music-cache/ retains up to 256 MiB / 64 entries and protects active outputs. Preparation uses one encoder job, with eight waiting jobs. Selected MP3s become stereo 96 kbps Ogg Opus when that makes the delivered file smaller; otherwise the original is used. Neither cache changes the original files or playlist filename IDs. Encoder installation, preparation and transfer have separate progress/error states; a larger client cache does not fix a failed encoder setup.

Transfer budgets count encoded data and overhead, so they are ceilings rather than promised raw MP3 speeds. The global budget is shared across listeners. Raising a limit does not guarantee a matching speed increase; server upload capacity, client connections and other transfers still matter. These three budget settings affect On-demand delivery only.

For file mode, edit these entries inside the existing Config table and restart sky_dj:

config/config.lua — file mode
MusicDirectory = 'config/music',
MusicOnDemandPlayerKiBps = 1024,
MusicOnDemandGlobalKiBps = 8192,
MusicOnDemandCacheMiB = 128,

Custom folders and existing installations

Keep the default folder for the supplied optional-package setup. In SQL mode, Music & Playlists → Library & Queues → Music folder changes MusicDirectory. An alternative such as @sky_dj_music/music selects a folder in another started resource on the same server. Use forward slashes and a resource-relative folder, not an absolute operating-system path.

Resource names use letters, digits, _ and - and are at most 64 characters. Each folder segment starts with a letter, digit, _ or -; subsequent characters can also include spaces and periods. Traversal (..), duplicate slashes, control characters and absolute paths are rejected. The catalog scans the selected folder rather than recursive subfolders.

The optional music package applies only to sky_dj/config/music. Normal delivery from another folder or resource requires ordinary client-published MP3 files, which can download when players connect. On-demand custom folders must remain private server files, outside ordinary client files entries and streamed asset folders. On-demand rejects ordinary client-published MP3s in the selected library or left in sky_dj/config/music. Other published audio remains subject to FiveM's normal downloads. See Installation before changing the folder or publishing rules.

Existing SQL settings remain authoritative when upgrading; do not reset sky_dj_state to enable a mode. A saved row without the on-demand opt-in stays in Normal mode. Missing transfer budgets receive the shipped defaults. For rows not yet migrated, a one-time upgrade changes the old default budget pair of 512 / 4096 to 1024 / 8192; other saved budget pairs are retained. Legacy HTTPS/Opus delivery settings are retired and removed during the settings upgrade. Use the original MP3 library for the current delivery modes.

Keep the same track filenames when moving a library so saved playlist references remain valid. See Mixer and audio for the club playback workflow. The mobile boombox has separate YouTube and Spotify pages.

Music Sync reference

Global Config.MusicSync settings are edited under Settings → Music synchronization. The tabs are Source, Channels, Response, Quiet and Detection. The paths below are written in full so they can also be found in config/config.lua.

The global enable switch controls the normal-club response. A custom club also has its own Lights & effects → Music Sync controls, and the festival has separate FOH → Music Sync controls. Those venue-specific responses can run while global Music Sync is off; you do not need every enable switch on. They also use shared detection/response values, so global sensitivity changes can affect a venue with its own synchronization enabled. Use the venue's controls for participation and overrides.

Supported live audio can supply the same analyzer as local MP3s. Livestream playback must be enabled separately with LivestreamEnabled; enabling a light response does not import or start a stream.

Source and sensitivity

SettingDefaultAccepted valueEffect and tuning
MusicSync.enabledfalseBooleanEnables normal-club music response. Off preserves manual presets. At least one channel must be selected for a response.
MusicSync.mode'bass''bass', 'melody', 'full'; legacy 'beat' and 'beat_bass' remain readableBass emphasizes low-frequency pulses, melody follows smoother melodic energy, and full combines both. The editor offers the three current modes and displays old beat modes as Bass.
MusicSync.deck'mix''mix', 'A' or 'B'Chooses the audible crossfade mix or one deck. A paused or unavailable selected deck supplies no fresh signal.
MusicSync.sensitivity1.00.25–3Overall onset/BPM sensitivity. Higher values accept weaker spectral attacks; excessive sensitivity can accept unwanted transients.
MusicSync.bassSensitivity1.00.25–3Low-band response and kick detection sensitivity. Raise gradually if genuine kicks barely react.
MusicSync.melodySensitivity1.00.25–3Melodic envelope strength. Raise for quiet melodic material, lower if its response stays saturated.
MusicSync.tempoLocktrueBooleanSmooths updates to a confident detected tempo rather than following each new estimate immediately.

Pulse timing and show response

The depth values are stored as 0–1 fractions and shown as 0–100% in the editor. They blend response with the active fixture/preset; they do not replace every fixture's own settings.

SettingDefaultAccepted rangeEffect and tuning
MusicSync.attackMs30 ms10–300 msRise time of the analyzed energy envelopes. Lower values respond more sharply; higher values soften the onset.
MusicSync.releaseMs350 ms80–2500 msEnvelope and pulse decay. Higher values leave longer tails; reduce if consecutive beats blur together.
MusicSync.holdMs120 ms40–1000 msHolds the beat pulse before decay. It is not a manual flame/CO₂ burst-duration setting.
MusicSync.intensityDepth0.700–1Brightness modulation depth. At zero the fixture keeps its base intensity; higher values give the music more control.
MusicSync.movementDepth0.700–1Amount of music-driven movement timing. Lower values retain more of the preset's normal movement.
MusicSync.colorDepth0.300–1Amount of music-driven colour variation. Zero retains the base colour response.
MusicSync.strobeDepth1.00–1Strength of beat-driven strobe response. Zero retains the fixture's normal strobe clock; switch the device off when no strobe is wanted.
MusicSync.smoothingMs150 ms30–1500 msSmooths the resulting movement, colour and brightness response. Increase for gentler transitions; decrease for a tighter response.

Quiet sections

SettingDefaultAccepted rangeEffect and tuning
MusicSync.quietThreshold0.080.01–0.5Energy threshold for quiet-section behavior. Higher values classify more material as quiet.
MusicSync.quietIntensity0.120–1Quiet-section brightness response target, blended through intensityDepth; this is not a master-volume control.
MusicSync.quietSpeed0.200–1Quiet-section movement target. Lower values produce slower motion.

Detection and frequency bands

SettingDefaultAccepted rangeEffect and tuning
MusicSync.noiseFloor0.0120.001–0.15Signal removed before analysis. Raise to ignore low-level noise; setting it too high can discard real quiet material.
MusicSync.minBpm45 BPM30–480 BPMLower bound of tempo detection.
MusicSync.maxBpm400 BPM30–480 BPMUpper bound of tempo detection and minimum separation of detected kicks.
MusicSync.fallbackBpm128 BPM30–480 BPM, within the chosen tempo windowMotion reference when the detected tempo is unavailable or insufficiently confident. It does not manufacture confirmed beats.
MusicSync.bassLowHz30 Hz20–500 HzLower edge of the analyzed bass band.
MusicSync.bassHighHz200 Hz20–500 HzUpper edge of the bass band. Narrowing the band can separate kicks from higher content.
MusicSync.melodyLowHz250 Hz100–12,000 HzLower edge of the analyzed melodic band.
MusicSync.melodyHighHz4000 Hz100–12,000 HzUpper edge of the melodic band.

minBpm must be strictly below maxBpm, and fallbackBpm must lie between them. Each band's lower frequency must be strictly below its upper frequency. These relationships are checked in addition to the individual ranges.

Channel switches

Every channel below defaults to true and accepts a Boolean. They select which existing effect families follow synchronization; they do not place props or enable a disabled device.

SettingEffect family
MusicSync.channels.lasersLaser response (L)
MusicSync.channels.strobesStrobe response (S)
MusicSync.channels.facadeStage illumination (W)
MusicSync.channels.towersTower illumination (T)
MusicSync.channels.co2COâ‚‚/cryo jets (C)
MusicSync.channels.fireFlames (F), triggered by strong bass peaks rather than continuous loudness

Tune with an assigned MP3 or supported livestream playing on the selected deck. Start with one visible channel and the defaults. If the show barely reacts, check deck playback, the appropriate global/club/FOH enable switch and device participation first. Then adjust the relevant sensitivity in small steps. For unwanted activity during quiet passages, tune noiseFloor and quietThreshold before raising every response depth. Change timing separately from detection so it is clear which value helped. See Lights and effects for manual shots and festival-specific behavior.

MP3 uploads

The Music import tab is available while On-demand MP3 is enabled. Its settings are shown directly below the upload controls. Follow MP3 uploads and playlists for in-game file selection, playlist assignment and player permissions.

File-mode keyShipped defaultAccepted range / effect
MusicImportEnabledfalseEnables MP3 uploads; also requires On-demand and MusicDirectory = 'config/music'
MusicImportPlayersfalseGlobal player-upload permission; the venue must also allow uploads and the player must have normal DJ access
MusicImportMaxSeconds90060–7200 seconds per song
MusicImportMaxMiB325–50 MiB for both the uploaded source and final MP3
MusicImportLibraryMiB102464–10240 MiB total in the music folder; the 500-file limit also applies

Per-club Allow player MP3 uploads at this DJ booth starts off for new clubs and existing clubs without that saved value. Enable it under Manage clubs → select club → Playlists, separately from the global player switch. Administrators manage playlist creation in the central music library; player uploads are restricted to the venue's assigned playlists.

Boombox settings

Open Settings → Boombox. Boombox volume and radius have independent ceilings from the club system.

SettingDefaultAccepted valueEffect
BoomboxEnabledtrueBooleanAllows mobile devices. Disabling stores active devices and silences their playback; owners retain item-recovery access.
BoomboxRequireItemfalseBooleanRequires an inventory item for placement when enabled. With false, the command places without inventory calls.
BoomboxItem'sky_boombox'1–60 characters: letters, digits, _ or -Usable-item name registered through Sky Base. Existing claims keep their original item name and metadata.
BoomboxCommand'boombox'Empty, or 1–60 letters, digits, _ or -Placement/open/reclaim command without a leading slash. An empty value disables the command; inventory use remains available.
BoomboxMaxDevices321–64, whole numberTotal deployed and recoverable devices. Each owner still has at most one.
BoomboxMaxVolume0.70.05–1.0Independent mobile volume ceiling, shown as 5–100% in the editor.
BoomboxMaxRange25 m3–50 mFixed audible radius for all boomboxes, including restored devices. Players have no per-device range adjustment.
BoomboxMaxAudible21–4, whole numberMaximum nearest audible, playing boomboxes each client renders as audio.
BoomboxCarrytrueBooleanAllows owners to carry and put down their device.
BoomboxDuitrueBooleanCompatibility name for allowing the native prop display. This no longer creates a browser/DUI and does not turn new displays on.
BoomboxDuiDistance8 m2–15 mMaximum native display visibility distance; at most one nearest display is drawn per client.

BoomboxDui and BoomboxDuiDistance remain in saved/global configuration for compatibility. They have no controls in the current editor, and the player panel has no display selector. Unrelated settings saves preserve them. Use the documented file mode when intentionally managing these file values. New devices start with display mode off.

Keep the fixed radius appropriate for a portable speaker. Raising BoomboxMaxAudible permits more overlapping online players on each client; it does not improve the sound of one device. See Boombox for placement-first behavior, item definitions, shared access and restart recovery.

Festival grounds and fences

SettingDefaultAccepted valueEffect
FestivalGroundEnabledtrueBooleanLoads the supplied festival grounds and enables its booth.
FestivalFencesEnabledtrueBooleanLoads the supplied fence perimeter when festival grounds are enabled.

FestivalGroundEnabled = true enables the Vespucci Beach venue and its DJ booth. It can be changed under Settings → Festival grounds. This switch controls the supplied festival; it is separate from the custom clubs you create.

FestivalFencesEnabled = true controls the festival perimeter fences independently. Fences require the festival grounds to be enabled. Set it to false to keep the festival without its supplied fence perimeter.

The festival includes a large map, speakers and show effects. Enabling it can increase client resmon time, especially near the venue with effects active. There is no guaranteed millisecond value: compare enabled and disabled operation on your server with representative clients, graphics settings and player activity.

MusicSync.enabled is false by default and controls normal club synchronization. The festival has its own FOH → Music Sync controls, also enabled explicitly; save there to return manually overridden festival channels to automatic control. Manual controls remain available without music. Devices saved as disabled do not follow presets or Music Sync. The FOH panel shows their counts and offers separate actions to enable the flame or CO₂ devices. See Lights and effects for show operation.

Retained media timeout

SettingDefaultAccepted rangeScope
MediaTimeout10000 ms2000–30,000 msRetained media-resolution request timeout in the UI/client request layer.

This setting has no current global-editor field. The current club library resolves local catalog entries rather than online media requests, so changing it does not extend MP3 loading timeouts. Mobile YouTube metadata has its own fixed five-second lookup timeout. Keep the default; the current UI has no online resolution workflow that needs tuning here.

Advanced audio file

config/audio.lua defines SkyDjAudioConfig, separately from Config and SQL global settings. Edit the file and restart to apply it. These values have no configurator range validation; use the shipped values as the baseline.

SettingDefaultUnit/typeEffect
SkyDjAudioConfig.RefreshTime300MillisecondsEmbedded engine player-position update interval and browser distance/volume refresh timing. Lower intervals increase update work; this is separate from Music Sync analysis and server synchronization.
SkyDjAudioConfig.distanceBeforeUpdatingPos40MetresExtra proximity margin around a spatial sound's range for position updates and range management. It does not enlarge the sound's configured audible radius.
SkyDjAudioConfig.interact_sound_enablefalseBooleanEnables the optional InteractSound compatibility handlers. Leave it off unless another resource needs that compatibility API.
SkyDjAudioConfig.interact_sound_file'ogg'File-extension stringExtension appended to compatibility sound basenames. Supply and publish matching sound files when using the compatibility handlers.

Avoid enabling two resources that both handle the same InteractSound events. The normal DJ/boombox system uses the embedded engine without requiring this emulator or a separate sound resource.

Sample catalog and per-club soundboard

config/soundboard.lua defines the file-owned ClubSamples catalog. Every entry has a stable id, a label, a sample file and its duration in seconds. Preserve IDs and the 16-entry layout when replacing a sound so saved club pad assignments keep their meaning. The runtime indexes the catalog by its position, matching the shipped IDs 1–16.

IDLabelFileDuration (s)
1RISEphaserUp1.ogg0.496327
2FALLphaserDown1.ogg0.470204
3ZAPzap1.ogg1.018776
4LASERlaser1.ogg1.100363
5POWERpowerUp1.ogg1.201633
6JUMPphaseJump1.ogg0.470204
7LOWlowDown.ogg0.783673
8HIGHhighUp.ogg0.548571
9TRIPLEthreeTone1.ogg0.827052
10SPACEspaceTrash1.ogg1.451315
11DOUBLEzapTwoTone.ogg1.306122
12SWEEPphaserUp3.ogg0.522449
13BELLimpactBell_heavy_000.ogg1.480181
14METALimpactMetal_heavy_000.ogg0.167664
15PUNCHimpactPunch_heavy_000.ogg0.649025
16PLATEimpactPlate_heavy_000.ogg0.488662

The file is resolved under source/html/samples/. A replacement must exist there and be included in the resource manifest. Keep duration aligned with the actual recording because the server uses it for sample lifetime and cleanup. Changing this Lua catalog requires a restart; adding runtime audio files also requires publishing those assets correctly.

The mixer's Soundboard & mixer panel manages separate per-club settings saved in SQL:

ControlDefaultAccepted valueEffect
Pad assignmentsIDs 1–16 in orderExactly 16 selections, each ID 1–16Selects a catalog sample for each A/B pad; right-click a pad to open its assignment.
Sample volume0.65 / 65%0–1Sample playback level for this club.
Lower music during samplesfalseBooleanEnables music ducking while samples play.
Crossfader curve'smooth''smooth', 'linear' or 'cut'Chooses the club mixer's crossfade behavior.

Save with Save for this club. Pads use 1–8 and Q W E R T Z U I while the mixer is active; the loop switch repeats a pad, and sample cut cancels active samples. At most four samples can play simultaneously, and loops stop after 30 seconds. These playback limits are fixed behavior, not additional Config settings.

Microphone and voice providers

Announcements use the existing Sky Base voice integration; there is no extra Sky DJ microphone configuration table. Update sky_base together with sky_dj and keep the voice provider selected there.

ProviderDJ microphone behavior
pma-voiceHands-free announcements with listener gain derived from the Main PA's coverage, levels, mute and room boundary. Requires the public isPlayerMuted export to preserve player mutes.
SaltyChat / YacaRange-based announcements around the DJ, capped at 100 m. The provider's existing PTT or voice activation remains in control; this does not reproduce per-speaker PA routing.
Other or unavailable providersAnnouncements are unavailable; local MP3 mixing does not require the microphone feature.

See Microphone announcements for operation and stop conditions.

Language and dependencies

Sky DJ follows Sky.Config.locale from sky_base, with English fallback. Its 19 JSON dictionaries are in config/locales/. There is no separate Config.Locale setting in Sky DJ.

The resource supports ESX, QBCore and Qbox through Sky Base and requires OneSync, ox_lib, sky_base and FiveM’s built-in yarn resource. SQL uses the provider configured by sky_base; no second audio resource or Jobs Base is required. A configured target provider is optional; the standard interaction uses the Sky TextUI/help adapter when target is disabled. See Installation for startup order and Troubleshooting for access or configuration errors.