Garry's Mod

Garry's Mod

33 ratings
[ULX/SAM] Unknown's Simple Server Music
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Addon Tags: Cartoon, Fun, Movie
File Size
Posted
Updated
17.383 KB
6 Apr, 2024 @ 3:45am
29 Jun @ 3:27pm
5 Change Notes ( view )

Subscribe to download
[ULX/SAM] Unknown's Simple Server Music

In 2 collections by Unknown Developer
Jailbreak: Test Server
34 items
Testo
10 items
Description
Provides ability to play music on the server. Has high performance and automatic synchronization of audio files for all players. Also has open and simple API for developers.


Features
  • Supported audio files: mp3, ogg, wav ( like "https://my-files.com/audio.mp3" )
  • Streaming supported (online radio), for example "https://radio.r4v3.party/listen/edm/radio.mp3"
  • Playback from local files also possible (Client must have audio files), for example "sounds/garrysmod/save_load1.wav"
  • Synchronizes playback across all players.
  • Always works until stopped.
  • No matter if a player has just joined the server or has been playing for a long time, the music will play the same for everyone on the server.
  • Linked with game settings, volume control in client settings will change volume of music.

PLAYBACK OF YOUTUBE VIDEOS IS NOT SUPPORTED, MP3 CONVERSION IS REQUIRED!

Chat Commands
Type !setaudio "path/to/file" to start playback, and !setaudio "" to stop. An empty file path or none will stop the audio stream.

Chat commands works only if ULX or SAM[www.gmodstore.com] are installed on the server.

setaudio is also available in the ulx/sam menu under "Fun" category.

Source Code: GitHub[github.com]
5 Comments
Dingus 12 Apr, 2024 @ 3:51am 
Is there anyway to not be forced to use chat commands?
Unknown Developer  [author] 9 Apr, 2024 @ 10:02am 
snd_musicvolume
shelby 9 Apr, 2024 @ 9:56am 
will you add a volume command? 0-1 for example
Virgiliu314 8 Apr, 2024 @ 12:12am 
Does this have a playlist feature?
IceGhostKnight 6 Apr, 2024 @ 1:03pm 
nice