DO NOT USE THIS. THIS IS REALLY BAD. WILL FIX IF I HAVE TIME.
The idea for this was by @Jannyboy11 who also wrote a plugin that basically does the same thing, but it's a mod for forge. Check out his thread: https://www.spigotmc.org/threads/playing-the-piano-in-minecraft.93924/ I thought that maybe not everyone has forge or wants to install it so I wrote my own version that uses a swing program.
GitHub:
https://github.com/glatteis/BukkitPiano
What is this plugin?
This plugin allows you to play the piano in minecraft, if you have any kind of standard MIDI controller, for instance a MIDI keyboard.
This plugin is a test version.
This plugin probably has a few weird edge cases and bugs.
How do I use this plugin?
I am a server owner and want to install this plugin.
Spoiler
Just put this plugin into your plugins folder and start the server. Everyone that should be able to play the piano has to have the permission piano.play.
I am a player and want to play the piano on a server that has this plugin.
Spoiler
Connect the MIDI device you want to play. Download the plugin and double click on the JAR file. A window will open. Join the server. Put the server IP into the upper textbox and your player name into the lower text box. Click "Connect". If the connection is successful, go into minecraft. If you get a message, type /bukkitpiano confirm. That's it!
Todo
Add pitch bend support
Screenshot
BukkitPiano client

Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta