Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

Latest commit

 

History

History
56 lines (41 loc) · 2.53 KB

README.md

File metadata and controls

56 lines (41 loc) · 2.53 KB

Radio for Nukkit

Nukkit Build Release Release date

Radio is a plugin that allows the client to play specified background music.

If you found any bugs or have any suggestions, please open an issue on GitHub Issues.

If you like this plugin, please star it on GitHub.

Usage

  1. Copy audio files in OGG Vobis format (file suffix must be ogg) to "Path_to_Nukkit/plugins/Radio/music/".
  2. Restart the server.
  3. Audio files will be automatically sent to the client when the player joins the game for the first time.

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

Compiling

  1. Install Maven.
  2. Run mvn clean package. The compiled JAR can be found in the target/ directory.

Metrics Collection

This plugin uses bStats. You can opt out using the global bStats config; see the official website for more details.

If I have any grammar and/or term errors, please correct them :)