SkMusic

Addon SkMusic 2.0.0

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Supported Minecraft Versions
  1. 1.8
  2. 1.9
  3. 1.10
  4. 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 :emoji_slight_smile:. 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 :emoji_slight_smile:

This addon require the following plugin : NoteBlockApi

Documentation

Your songs must be placed in plugins/SkMusic


Play a nbs song to a given player
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
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
  • ...
Found a bug? Contact me :emoji_slight_smile:
Author
amacz13
Downloads
1,508
Views
1,508
First release
Last update
Rating
4.00 star(s) 1 ratings

Latest updates

  1. Download URL Fix

    This is an update posted by skUnity updating the download URL of the resource to a version...

Latest reviews

Very good addon but requiere a plugin :(
Make a addon without plugin(s) and I change my rate to 5/5.

Good luck :)