PailPiano Version: v1.0 Download The Plugin When installed on a server running spout, this plugin changes the way SpoutCraft enabled players interact with noteblocks. Right clicking a noteblock opens a Piano GUI that can be used to select the desired note or simply play a song on the noteblock. In the case of this plugin, a picture is worth 1000 words. Concept from a post by Ewic13 on Reddit. Source Code available in the jar. Changelog: Version 1.0 Release
I tested it and it works pretty well I bet someone out there wants this to be added to their plugin lol...
Ho god, now my players will have me install this as well! Great idea, by the way, I think this is going to be quite fun to use.
Ideas: Keyboard support Ways to select multiple keys Program short songs and reply them? Name for plugin: Virtuoso? (IDK, the "Spout"- prefix is getting old.) e.g [Mech]Virtuoso 1.1 [Spout][1185]
Keyboard support is coming for sure. The original focus was entering notes for the noteblock, so I'm not sure about multiple notes. Any chance of custom backgrounds for buttons Afforess? I could make this look like a real piano.
Cool. All just ideas. Possibly - I do need to stop and do some gui stuff. We've been running full tilt at client addons and custom blocks, which now both work. (With bugs though). Notch just uses a solid texture and streches it, and has 3 images for it, disabled, hovering, and normal. Check out what minecraft.jar/gui.gui.png looks like. If you think your gui's would follow that format, 3 images, one for each state, I could add support. More advanced buttons would need to be manually rendered via a client addon.
@Afforess, how is render order handled? It may be simpler at this point for me to draw the keyboard as a graphic and hide buttons behind it.
There is a render priority, which you can manipulate. http://jd.getspout.org/org/getspout/spoutapi/gui/RenderPriority.html widget.setRenderPriority(priority) Keep in mind that rendering first (or before others) == rendering on the bottom.
Your plugin works... but every time we click on a keyboard button... there comes a message with: "Unknown command. Use help for help". We are using CommandBook for out command plugins. Can you add a config to turn the command of... whatever it was?