FAQ
How do I add the song into my server?
Click "File" in the top left and click Export as data pack. Make sure Export as ZIP is enabled and then click Export.Then, go to JSON song creator. You can also use the Java song creator if you want, but the file size is limited to 64kb
Upload your zip file then press upload
You will get an alert asking if you want to preview the code. Usually you can just press cancel if you don't. Pressing OK may cause lag for low end devices
Copy this text and make it a json file. Put it into the imported folder, next to the PxMusic config
How do I get a song in Skript?
song from import %string%
or imported song %string%
It will automatically import the song if it has not been imported yet
How do I get all imported songs?
song registry
It will return a list of all song names
How do I play a song?
play song %song%
if you are planning to modify the song after (which you will need to do, such as setting the listeners). Otherwise, you can use play and forget song %song% with listeners %listeners%
It will return a list of all song names
What are the skript events?
on song finished
[when the song has finished playing]on song note
[when a note has been played in a song. This event runs multiple times a tick]