A Spigot plugin which adds a Minstrel trait to Citizens NPCs
Go to file
EpicKnarvik97 2babceeb87 Adds proper playback of any song
Adds several commands to control songs, volumes and pitches
Moves code into proper packages
Removes test song
Adds loading and saving of minstrel data
2022-10-30 19:29:56 +01:00
src/main Adds proper playback of any song 2022-10-30 19:29:56 +01:00
.gitignore Initial commit 2022-10-30 04:33:51 +01:00
pom.xml Initial commit 2022-10-30 04:33:51 +01:00
README.MD Initial commit 2022-10-30 04:33:51 +01:00

Minstrel

This plugin aims to add a Minstrel trait to Citizens NPCs which is able to play a set of songs from a custom resource pack. While there are plugins which use workarounds, this plugin aims to make the best npc-based "music box" add-on one can create within the Spigot API. While kind of hard to set up, this allows using any music, without compromise. Note: To make music hear-able only within the area of an NPC, you must make sure the track is Mono (1 channel). If you use a Stereo (2 channels) soundtrack, you'll hear the music everywhere, which is cool if you want to stream music globally.

Volume between 0 and 1 decides how loud the volume is. If volume is set above 1, it will still play at full volume, but can be heard further away.

Dependencies

  • Citizens