minecraft-server icon indicating copy to clipboard operation
minecraft-server copied to clipboard

Plugin support

Open pepsi opened this issue 5 years ago • 4 comments

(Suggestion, im not sure how to add the label) Im not experienced with go at all, but I suggest getting a good plugin system from the start. After a little googling I came across this , which might be good.

pepsi avatar Mar 07 '20 16:03 pepsi

The Plugin Stuff in go is not really good atm. I tried many ways, and allways ended up with pipes to other processes or rest calls. I suggest you check out io.Pipe() and exec.Command() and start the plugin as exec and pipe input data into the executable and receive answers from the executable in a predefined format.

ToasterKTN avatar May 23 '20 14:05 ToasterKTN

The best bet would be the go plugin definition by hashicorp, it's also used in famous tools like terraform and packer.

tboerger avatar Jun 27 '20 17:06 tboerger