Greetings. First of all, I should state that this plugin was a byproduct of vibe-coding. If you'd like to mock me for this alone, I'd be more than glad to take inspirations so I could know what parts of the plugin could be improved.
This plugin, as it is obvious by its name, contains a .nbs (Note Block Studio) playing system. However, this one's got a few features that make this plugin the odd one among the dozens (insert Buzz Lightyear Clone meme here).
So, here's the list of features..:
- This plugin has two sources that it can play songs from. The main one is "https://noteblock.world", a site that is maintained by OpenNBS developers, for Note Block Studio enthusiasts to upload their Note Block covers so the others could listen to them; fetching the list of songs from its public API in a single API call. The GUI also has pagination, search, category and sorting features of the site all implemented in it. The second option is to either import a song by throwing a .nbs file into its "import" folder or directly download with "/nbw importurl (link) [fileName]".
With a left click, we can download and play the song, Shift + Left click to play it to everyone, press "F" if there are multiple pages of description within its lore, right click to see the full lore description sent to the chat, and Shift + Right click (twice) to delete the song if it has already been downloaded.
-
This plugin has a built-in resource packing system, and it is not done by setting a server-resource-pack. This is for 88-key octave support for all instruments, and custom instruments also get to use this feature. When the plugin downloads a song, if there are custom instruments packed in it, it parses those custom instruments, packs them into the resource pack that would later be sent to the players. And when a song with custom instruments were to be deleted, the custom instruments would be deleted from the pack as well, avoiding bloats with unused custom instruments. It opens a port in the server for this packaging method, one which can be adjusted within its config system.
-
The songs do not abide by 20 tick limit of Minecraft. How? Honestly, I have no idea either- it was coded in by Claude, and the way it explains is that one tick is considered 50ms, while the plugin can make the precision ticking work as fast as 2ms. x'3
So yeah, that's all for my ai slop plugin, I'm open to suggestions as in what to add :"3 (I've written this post myself though, I swear-)
(If anyone would like to ask about what's with the polyphony/sounds limit increased to 4096, its a mod since some note block songs exceed playing 1000 sounds at a time..)