- Resource Type
- Second modification
- Copyright Link
- https://github.com/wode490390/Radio
- Open Source URL
- https://github.com/lt-name/Radio
Radio for Nukkit
Radio is a plugin that allows the client to play specified background music.
Usage
- Copy audio files in OGG Vobis format (file suffix must be
ogg
) to "Path_to_Nukkit/plugins/Radio/music/". - Restart the server.
- Audio files will be automatically sent to the client when the player joins the game for the first time.
Tips:
You can create subfolders named after world names in the music folder and place audio files for different worlds in their corresponding subfolders.
When a player enters a specific world, the plugin will automatically play the audio files for that world to the player.
Download
Commands
Command | Alias | Permission | Description | Default |
---|---|---|---|---|
/radio [play|stop] |
/fm /music |
radio.command | Plays/Stops audio | true |
/radioadmin dump |
radio.admin.command | Dumps radio resource packs | OP |
Configuration
config.yml
# If true, music will play automatically when the player joins the game.
# Allowed values: "true" or "false"
autoplay: true
# Allowed values: "order" or "random"
play-mode: random
# Show music name when playing begins
show-notification: true
Compiling
- Install Maven.
- Run
mvn clean package
. The compiled JAR can be found in thetarget/
directory.
Metrics Collection
This plugin uses bStats. You can opt out using the global bStats config; see the official website for more details.