Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 03/17/2023 in Posts

  1. I recently found out how to play NoteBlockAPI songs (.nbs files) through skript, and it wasn't really easy, nor any tutorials about it. So thought I would share how you do it with you guys. Versions tested: 1.18.2 requirements: Skript, Skript-reflect, NoteBlockAPI command /playsong: permission: op trigger: set {_file2} to NBSDecoder.parse(new File("plugins/Songs/YourSongNameHere.nbs")) set {_song} to New RadioSongPlayer({_file2}) {_song}.setAutoDestroy(true) {_song}.addPlayer(player) {_song}.setPlaying(true) How to use: step 1: download all of the plugins listed above. step 2: Go into the plugins folder and create a new folder called "Songs" step: 3 Put the songs you want inside of that folder.( It has to be a .nbs file) How to create a .nbs file song: https://opennbs.org/ step 4: add the skript. step 5: in the line " set {_file2} to NBSDecoder.parse(new File("plugins/Songs/YourSongNameHere.nbs")) " edit YourSongNameHere to the name of the song you put inside the song folder step 6: Reload the skript, do /playsong, enjoy.
    1 point
×
×
  • Create New...