Skip to content

AbleUnion/ZMusicBox

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZMusicBox

Play music in your server using noteblocks!

Requirements

  • The server software that you use must have working noteblock functionality (All current php server softwares)
  • Noteblocks must be placed in the server
  • Songs must be in .nbs format in order to be played

How to use

  1. Place the phar in your plugins folder of the server
  2. Run the server
  3. Stop the server
  4. Place .nbs files in the /plugins/songs directory of the server
  5. Run the server
  6. Place a noteblock

Commands

  • /music <start|stop|next>

API

ZMusicBox is also accessible from its API:

  • Switch to the Next Song
$this->ZMusicBox->StartNewTask();
  • Stop the music
$this->getServer()->ZMusicBox->getScheduler()->cancelTasks($this);

Other Information

  • Use Minecraft Note Block Studio to convert midi files into nbs files. Website: http://www.stuffbydavid.com/mcnbs
  • Please do not use this code nor these algorithms for other plugins

About

Just play music in your server~

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%