I was wondering if there is way to have two of the same bukkit (Minecraft) plugins communicate over something like Socket?
What I would like to do is if someone executes a command, that command will then be executed and then sent to the other server and executed there, and vice versa.
EX: /broadcast {Message} Then both servers will broadcast that message.
I'm not a Java expert, I actually just started a few weeks ago.
An easy solution would to use something like BungeeCord
Plugins for server-chat sync can be found under the resources section The spigot community is great, and you can ask many more minecraft related questions on their forums.