Shared HostingFirst month freeShared web hosting from $2.99/mo — $0 today, and the price you sign up at is the price you renew at.See hosting plans →

NxLabs / Mordhau

Radio Mod

By TheSaltySeaCow

An in-game radio that can play any song from YouTube.

Radio Mod

Description

An in-game radio that can play any song from YouTube.

FEATURES

  • Synced playback across all players
  • Full YouTube search
  • Queue system that stores up to 8 songs at once
  • Favorites tab for saving your favorite songs without having to search
  • Playlist mode, if you only want to allow songs from a specific YouTube playlist
  • Volume control, both local for each player and global for the whole server
  • Vote skip system
  • Radio's position, rotation, and volume ranges can be set and saved independently for each map and game mode
  • Admin skip and remove from queue buttons
  • Players that are server muted will not be allowed to queue songs
  • Admin settings panel for even more control
  • A cute squirrel

INSTALLATION

  • Open your server's game.ini file
  • Under the [/Script/Mordhau.MordhauGameSession] section, change: bAllowHttpRequests=False to bAllowHttpRequests=True (create this line if you don't have it)
  • Under the [/Script/Mordhau.MordhauGameSession] section, add: Mods=3280881
  • Under the [/Script/Mordhau.MordhauGameMode] section, add: SpawnServerActorsOnMapLoad=/RadioMod/BP_RadioManager.BP_RadioManager_C

ADMIN CHAT COMMANDS

  • .radio - opens the radio menu, regardless of where you are
  • .radio setpos current - sets and saves the radio's position to your character's current position in the map
  • .radio setpos x,y,z - sets and saves the radio's position to the x,y,z values (ex. .radio setpos 120,470,0)
  • .radio setrot current - sets and saves the radio's rotation to your character's current rotation
  • .radio setrot x - sets and saves the radio's rotation to the x value (ex. .radio setrot 180)
  • The above commands save the radio's location for the current map and game mode, allowing different locations to be set for every map.

OPTIONAL CONFIG VARIABLES

Paste this new section at the bottom of your server's game.ini file, if you wish to use either of these optional settings.

Example:

[RadioMod] DiscordWebhook="https://discord.com/api/webhooks/1234/asdf" ChatLogs=Server MaxSeconds=600 SquirrelName="Nibbles"

  • The DiscordWebhook variable can be set to a Discord Webhook in your Discord server. It will log all queue submissions to whichever channel you set your webhook to.
  • The ChatLogs variable changes the mode in which queue submissions are logged to in-game chat. The three modes are False, Player, and Server. Default mode is Server.
  • The MaxSeconds variable can be set to a lower value if you wish to not allow songs over x seconds.

By default, the mod will connect to my radio server. If you wish to self-host, you can learn more here: https://github.com/TheSaltySeaCow/Radio-Mod-Backend

Join the Discord for updates! https://discord.gg/dejFwzP9Tb

Linux Server Pak: https://drive.google.com/drive/folders/1ZaKEMxYE8AFj6haB63-KxVC27vrog8KJ?usp=sharing

Donations are not required, but are greatly appreciated! ❤️ https://ko-fi.com/thesaltyseacow

Ratings & reviews

No ratings yet

Sign in to leave a rating or comment.