π΅ Dynamic Jukebox | Positional Business Music System
by Dynamic Scripts
Bring your businesses to life with immersive, positional 3D music. Dynamic Jukebox lets you set up ambient playlists for any location on your server β bars, clubs, restaurants, shops β with music that players can actually hear fade in and out as they walk through the space. Control it all from a sleek in-game jukebox panel.
Drop your MP3s in a folder, set your coords, and your businesses have a soundtrack.
π How It Works
Each business gets two coordinate points β one where the music plays from (center of the room), and one where the jukebox control sits. Players hear 3D positional audio that fades naturally with distance, and anyone can walk up to the jukebox to control what's playing through a clean NUI panel.
All playback is server-synced β every player in range hears the same track at the same volume. No desync, no per-client playlists.
β¨ Features
β 3D Positional Audio β Music radiates from a configurable center point. Volume fades naturally as players move away.
β NUI Jukebox Panel β Play/pause, skip, previous, volume slider, full playlist view with click-to-play, and shuffle toggle.
β Playlist Looping β Songs auto-advance and seamlessly loop back to track 1. Add as many MP3s per location as you want.
β Shuffle Mode β Random playback toggle with proper shuffling. Works per-business.
β Unlimited Businesses β Add as many locations as your server needs. Each one gets its own independent playlist, volume, distance, and settings.
β Job-Locked Jukeboxes β Optionally restrict jukebox controls to specific jobs so only staff can change the music.
β Auto-Spawning Jukebox Prop β Spawns a GTA jukebox prop at each control point automatically. Don't need it? Set to false if your MLO already has one placed.
β Flexible Interaction β Works with qb-target, ox_target, or simple drawtext + E key β your choice.
β Admin Controls β Start/stop all jukeboxes, set volume per-business, and reload state β all from chat commands.
β Fully Server-Synced β Server-authoritative state ensures all players hear the same thing. No drift, no conflicts.
β Lightweight & Optimized β Minimal idle resource usage. Sound only processes for businesses in range.
π Dependencies
- QBCore (required)
- xsound (required)
- qb-target or ox_target (optional β drawtext fallback included)
π οΈ Setup
- Drop the resource into your server
- Add your
.mp3files to themusic/folder - Configure your businesses in
config.lua(coords, playlists, options) -
ensure dynamic-jukeboxin yourserver.cfg - Done β music starts automatically on boot
Full documentation and config examples included. Setup takes minutes, not hours.
π¬ Commands
Players: /jukeboxhelp β List all commands /jukeboxreload β Re-sync state
Admins: /jukeboxstop β Stop all jukeboxes /jukeboxstart β Start all jukeboxes /jukeboxvol [business] [0-100] β Set volume remotely
π¦ What's Included
- Full source code (not obfuscated, not escrow)
- Detailed
config.luawith thorough comments - NUI jukebox control panel
- README with install guide, config walkthrough, and troubleshooting
- MIT License β modify freely for your server
π‘ Perfect For
- Bars & nightclubs with curated playlists
- Restaurants and cafes with ambient background music
- Custom MLO interiors that need atmosphere
- Any business where silence kills the vibe
Dynamic Scripts β Built for immersion.