Instruments
Instruments
Hello everyone! This is my first plugin posted to BukkitDev, called Instruments. Making an instrument is simple, all you have to do is edit the config.yml to include some information about the item's name, the item's type, the sound you want to play, and the pitches you want to play at certain points.
Here is an example of an instrument made in the config.
##This is the display name of the item Drum: ##This is the item type Item: leather ##This is the sound that the instrument will play at different pitches. Sound: NOTE_SNARE_DRUM Volume: 5 Pitches: ##if the player right clicks, normally standard_right_click: 1.5 ##if the player left clicks, normally standard_left_click: 0 ##if the player right clicks, while sneaking sneak_right_click: 2 ##if the player right clicks, while sneaking sneak_left_click: 1
Here is the reference to the ITEM types to be used in the config
Here is the reference to the SOUND types to be used in the config
To play different pitches of your instrument, you need to go into different positions. There are currently four positions: left clicking, right clicking, sneaking and left clicking, and sneaking and right clicking. All of these will play a different configured pitch(see above for the configuration example).
As I said, this is my first plugin posted publicly, which means that there is going to be approximately 2 million bugs. Please message me @xlr20ice on BukkitDev or comment here for bug fix requests.
Thank you, and enjoy!
~Xlr~
NICE! This is actually a really really cool idea! I love it! Granted, I find no use for it on my server, but I'm sure other servers can. This is really awesome, and I love that it's as configurable as this. Considering this is your first publish to BukkitDev, I'm excited to see future content from you, my friend.
Best of luck, you have a great plugin on your hands!