0

I want to control the bukkit server through the spring web application.

For example, send a command to the console, receive his response, etc

I'm trying to figure out a way, but I can't find a good one.

How shall I do it?

Even if third-party plugins are imported through the database, I want to find a way to do basic bukkit control.

1 Answers1

0

First, you need to decide how to send the request to the server. It seems to me that in your case, the easiest is run the built-in java web server (HttpServer) to receive commands, and then process them.

If you need synchronous actions, then you can always do callSyncMethod

To receive command output, simply create your own implementation of CommandSender with overridden sendMessage methods

Im implement your idea in my plugin, you can see it on github

Spliterash
  • 191
  • 3
  • 9