Skip to main content
BAR includes a built-in music system that lets admins play background audio server-wide using Roblox sound asset IDs, with controls for volume, pitch, and looping. Songs can be pre-loaded into a startup playlist that shuffles automatically on server join, or individual tracks can be played on demand using chat commands.

Configuration

The MusicSystem table lives in ExtraSettings.lua and controls the startup playlist behavior:

Config fields

SoundIDs entries must be plain numbers — for example 6901063458. Do not include the rbxassetid:// prefix inside the array. The prefix is applied automatically by BAR at runtime.

Music Commands

All music commands require permission level 1 (Moderator) or above. They use the server’s configured prefix (default :).

Looping a track

Append any extra argument after the asset ID to enable looping:
Any non-empty third argument causes the sound’s Looped property to be set to true.

Startup Playlist Behavior

When the server starts (and Enabled = true), BAR shuffles the SoundIDs array and begins cycling through the tracks automatically. Each player hears the playlist from the moment they join.
When an admin uses :play or :music directly, the command immediately replaces whatever is currently playing — including a startup playlist track. The startup playlist does not resume automatically after a manual play command.