A Spigot plugin which adds a Minstrel trait to Citizens NPCs
EpicKnarvik97
2babceeb87
Adds several commands to control songs, volumes and pitches Moves code into proper packages Removes test song Adds loading and saving of minstrel data |
||
---|---|---|
src/main | ||
.gitignore | ||
pom.xml | ||
README.MD |
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