myDJ - synchronized music, playlists with autoplay and more for your party!

Hey guys,

with this post we want to present myDJ!

Update 23.01.2022:
The script is now available for ESX and QBCore.
You can find the store links below.

Features of myDJ:

  • You can create as many playlists as you want
    → When you select a song from a playlist, the next title will automatically start playing when the selected song is over → Autoplay function
  • Insert and delete songs from playlists very easy with one click
  • You can set up zones for the DJ desks with configurable volume ranges
  • There are buttons to pause the music, to skip some seconds, to rewind and to change the volume
  • Due to the integration of the xsound API you can simply listen to every youtube video (which isn’t copyright restricted) or discord, radio stream/file.
  • You can restrict the DJ Desks to certain jobs

Showcase:

DJ Interface:

Synchronization:

  • Of course the sound and all applied changes like changed volume, skipped seconds and so on are synced between all players. And the sound volume will be adapted depending on how far away you are from the DJ desk.

When a song is played the script will run between 0.03-0.04ms
resmon
and during idle at round about 0.02ms
resmon2

Configuration:
You can simply create as many DJ desks as you want in the Config file:

Example DJ desk
Config.DJPositions = {
    {
        name = 'bahama',
        pos = vector3(-1381.01, -616.17, 31.5),
        requiredJob = nil, 
        range = 25.0, 
        volume = 1.0,
    }

}

You can also open the UI by triggering the client-side event myDj:open

Dependencies:

  • ESX: Is only used for server-side callbacks and job requirement checks
  • xsound

Price: 9.99€ + tax
Download at https://luis-scripts.tebex.io/package/4535238 (ESX)
Version for QBCore: https://luis-scripts.tebex.io/package/4919928

Feel free to check out my other scripts

myMinijobs
myMailing
myJobsystem
myCrafting
myImpound
myDrugs
myClothesshop
myProperties
myMapbuilder
myShops
myMultichar
myBills
EnhancedBarbershop
myATMRobbery

23 Likes

10/10
Just exactly what I was looking for, for so long.

3 Likes

Onesync infinity ready?

Geil!

1 Like

Nice Post love it !

1 Like

Amazing Script!!!

1 Like

Is it possible to be standalone?

just a idea, if you could have two decks so you can play two songs at same time, could make it better for people to mix songs

3 Likes

Hey,

we tested the script on ESX 1.1 and 1.2, since the script doesn’t use ESX for anything else then for the Callbacks. When xsound is installed it will work with every ESX version.

Best regards,
Luis

cant turn it up and down apparently


please help

1 Like

Hey
I guess you opened the menu without being at a DJ Desk, maybe manually with the event or command. Am I True?
I’ll also send you a PM for further support

Best regards,
Luis

Hi i found the problem but i dont know how to fix it, it says: xsound does not specify an fx_version in fxmanifest.lua

It doesn’t work, when you open it, it sticks and doesn’t play anything too.

Hey,

be sure you didn’t rename the script and xsound is running.
Then it will work perfectly :slight_smile:
Best regards,
Luis

Hello how do you enable it for example for a job named DJ and not other jobs? Can you send an example code

image

You simply set this up here :slight_smile:

myDJ - Fix - 09.07.2021

  • Fixed a bug that the players job wasn’t correctly requested

hi there, the playlist will appear to all dj desk or each dj desk will appear the playlist created there ?

Hey,

the playlists will appear on every DJ Desk, so they are synced between the desks :slight_smile:
Best regards,
Luis

1 Like