infrared icon indicating copy to clipboard operation
infrared copied to clipboard

API for developers (like plugins for Bungeecord)

Open zLupa opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe. I like this Minecraft proxy, it is lightweight and written in Go, but I've never seen an API somewhat usable for developers to extend its functionalities.

Describe the solution you'd like I would like an API for developers to extend its features, I was thinking of an implementation like BungeeCord's plugins, but I don't know if Go can load Go code on runtime, so maybe make Infrared as a library?

Describe alternatives you've considered I've tried gate you can import it as a library.

zLupa avatar Aug 17 '22 20:08 zLupa

This is a great idea. I'm already working on a REST API that can query live data from Infrared and do basic commands like disconnecting a player. There is also a public plugin API planned. At the moment you can already see a sort of preview in the rewrite branch: Current Plugin API, Example Plugin

haveachin avatar Aug 29 '22 14:08 haveachin