Adding custom radios to Boombox
Due to some security reasons, players cannot add radio stations to the boombox. Only server owners are able to add stations on their server. This wiki page will briefly go through the command you need for adding custom radio stations, as well as other details.
Default Stations List
Stations are pulled from the manifest. You can not remove the default stations. Below is a list of some that were included when this was implemented. This list has changed, and some links could be bad. Check the manifest for an up to date version.
Adding Stations
As a server owner, you can add your own stations using a server variable:
BoomBox.ServerUrlList “<In-game Station Name>,<URL>”
So for example: BoomBox.ServerUrlList “Test Station,www.teststation.com”
Keep in mind that URL must be a direct link to the audio stream. .M3U
, .MP3
or any other format. (sometimes it's not seen in the link if their website was set up this way) If your browser automatically opens up the built-in audio players then this might be the correct link. Also note the final string can only be so big. You can not add a bunch of stations especially if the URLs are long.
DMCA
We recommend content creators turn off this feature (set Internet Audio Streams to Off in the Options menu) in order to not trigger any copyright/DCMA strikes.
Security Concerns
It is not recommended to add station URLs that you don't trust: there is no general rule that indicates which station might be problematic, but always be careful with suggestions to add player-hosted stations. Rust establishes a direct connection with the station URL and there is nothing between the client (you) and station server - this opens up a few exploit possibilities, including being able to gather IP addresses of players who get into the range of a working boombox. This is not exactly harmful besides of getting IP exposed, but might get players concerned.
Keep in mind that this involves only stations that players host themselves - these might be a problem only when they have a full control over it and can have their own interests when hosting the radio URL. This does not anyhow affect whitelisted radio stations or probably many others that you might find in the internet.