Skip to content

Commands

null-version-nova edited this page Nov 21, 2023 · 1 revision

Commands are returned from events, seperated by semicolons.

stop

This stops all songs started by the mod. This does not stop sounds Minecraft is playing.

pause

This pauses all songs, to be able to be resumed later.

resume

This resumes paused songs.

delay [int] (int)

This sets the delay, in ticks, before play_song triggers. This does not decrease while a song is playing.

play [song] (song)...

This plays a song. If there is more than one argument, it randomly picks which song to play. The arguments can either be the data tag of a sound in Minecraft, or the filepath of the song file from .minecraft/musicscript/songs. For external files, wav, aiff, au, mp3, and flac files are supported. For example, play Omori/bs_calm.flac would play the bs_calm.flac file in .minecraft/musicscript/songs/Omori.

Clone this wiki locally