Skip to main content

Music Player

Built-in music player with YouTube support and player custom playlists

This section

Music Player

Built-in music player that plays YouTube music during loading. Players can also add their own music.

How It Works

  • A default playlist is defined in cfg/config.lua
  • Music is added via YouTube links — thumbnails are fetched automatically
  • Players can add their own music through the UI
  • Player-added music is saved and persists across reconnections
  • Players can remove their own custom music entries
  • Volume is adjustable with a default starting level

Configuration

OptionDefaultDescription
Config.musicVolume20Default volume level (0-100)
Config.musicListtableDefault music playlist

Default Music List

lua
Config.musicList = {
{
name = "Confetti - Ghost",
link = "https://www.youtube.com/watch?v=mgQOEPWxp7c",
},
}

Each entry requires:

  • name — Display name for the track
  • link — YouTube video URL (thumbnail is fetched automatically)