X3D Music

Description

A free boombox for ESX. Put a speaker on the ground or on a car and play YouTube for everyone around.


Features

  • [+] Easy setup: tune everything in config, or set it from the web builder
  • [+] Place the speaker on the ground or on a car, with a ghost preview and scroll rotate
  • [+] Search YouTube by name or paste a link; the API key stays on the server
  • [+] Shared queue with a length you set, or owner-only adding
  • [+] Owner can play, pause, skip, clear and pick a 10/20/30 m range
  • [+] Volume fades with distance; set how fast it drops
  • [+] Set speaker limits per player and per server
  • [+] Set the longest song; live streams cannot be added
  • [+] Ground speakers survive restarts; car speakers return as an item
  • [+] Admins stop one speaker or all with musicstop
  • [+] Set the item name and prop model, or turn car mounting off
  • [+] Hook it into other scripts in addons/

What's inside

  • Ground or vehicle: use the boombox item, see a ghost preview, rotate with the scroll wheel, or aim at a car to mount it.
  • YouTube search: search by name or paste a link. The API key stays on the server.
  • Shared queue: anyone in range can add songs, up to 25, and everyone sees who added what.
  • Owner controls: play, pause, skip, clear, volume, range 10/20/30 m and pick up.
  • Distance falloff: the music fades as you walk away, up to 3 speakers are heard at once, and people who arrive late hear the song from the right point.
  • Survives restarts: ground speakers are saved in the database; vehicle speakers go back to the owner when the car is gone.
  • Limits: per player and per server, and admins can stop music with musicstop.
  • Thai and English

Make it fit your server

File Job
addons/items/server.lua Returns the boombox to the player (hook up your mail system here)
addons/vehiclekey/server.lua Who may mount a speaker on a car (hook up your vehicle keys here)
addons/notify/client.lua Notifications
addons/prompt/client.lua Floating label and the [E] key

Requirements

  • es_extended (ESX Legacy)
  • oxmysql
  • A YouTube Data API v3 key (free from Google Cloud)

Version history

  • 1.1.4 — Released 13/10/2026 00:17
  • 1.1.2 — Released 12/10/2026 10:23
  • 1.1.1 — Released 11/10/2026 16:19
  • 1.0.0 — Released 26/09/2026 21:56
Reviews

Reviews from customers

No reviews yet. Customers who bought, rented or claimed this script can review it.

Same category

Related scripts

View all products
Read more

Posts that cover this script