- Supported Minecraft Versions
- 1.8
- 1.9
- 1.10
- 1.11
SkMusic didn't start at version 2.0.0. The 1.x version of SkMusic was available on the old SkUnity forum and i forgot to reupload the addon in the new forum
. You can find older versions here.
About this Addon
This addon allow you to play NoteBlockSongs with Skript. I've made this addon because existing addons that have this feature are not working in Minecraft 1.10.
This is my first addon and my first spigot plugin so be indulgent
This addon require the following plugin : NoteBlockApi
Documentation
Your songs must be placed in plugins/SkMusic
Play a nbs song to a given player
Stop playing a nbs song to a specific player
Play a song to all players (Broadcast a Song)
Stop playing a nbs song to all players (Stop the Broadcast of a Song)
Play a nbs song to all players in a certain radius arround a location
Set the volume of a player's song
Set the fade duration effect of a player's song
Code:
[skmusic|nbs] play [song|music] %string% to %player%
Stop playing a nbs song to a specific player
Code:
[skmusic|nbs] stop play[ing] [song|music] to %player%
Play a song to all players (Broadcast a Song)
Code:
[skmusic|nbs] broadcast [song|music] %string%
Stop playing a nbs song to all players (Stop the Broadcast of a Song)
Code:
[skmusic|nbs] stop broadcast[ing] [song|music]
Play a nbs song to all players in a certain radius arround a location
Code:
[skmusic|nbs] play [song|music] %string% to [all] players in radius %integer% arround [location] %location%
Set the volume of a player's song
Code:
[skmusic|nbs] set volume of [player] %player% to %integer%
Set the fade duration effect of a player's song
Code:
[skmusic|nbs] set fade duration of [player] %player% to %integer%
Check if a song exist
Code:
[skmusic|nbs] (song|music) %string% exist
Get the volume of a player's song
Get the fade duration of a player's song
Get the title of a player's song (as defined in the nbs file)
Get the author of a player's song (as defined in the nbs file)
Get the speed of a player's song (as defined in the nbs file)
Get the duration of a player's song (duration wil be returned in ticks)
Code:
[skmusic|nbs] volume of [player] %player%
Code:
%player%['s] [music] volume
Get the fade duration of a player's song
Code:
[skmusic|nbs] fade duration of [player] %player%
Get the title of a player's song (as defined in the nbs file)
Code:
[skmusic|nbs] %player%['s] (song|music) (name|title)
Get the author of a player's song (as defined in the nbs file)
Code:
[skmusic|nbs] %player%['s] (song|music) author
Get the speed of a player's song (as defined in the nbs file)
Code:
[skmusic|nbs] %player%['s] (song|music) speed
Get the duration of a player's song (duration wil be returned in ticks)
Code:
[skmusic|nbs] %player%['s] (song|music) (length|duration)
Changelog
v2.0.0 : Recoded existing effects and many new effects, expressions and conditions
v1.2.0 : Per-player music control
v1.1.0 : Added expression to stop playing music
v1.0.0 : Initial release
Future
In the next version :
- Get informations about songs that are not played
- Stream and download nbs songs
- Nbs songs database
- ...