Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API for developers (like plugins for Bungeecord) #154

Open
zLupa opened this issue Aug 17, 2022 · 1 comment
Open

API for developers (like plugins for Bungeecord) #154

zLupa opened this issue Aug 17, 2022 · 1 comment
Labels
2.0 Will be implemented in the 2.0 release enhancement New feature or request

Comments

@zLupa
Copy link

zLupa commented Aug 17, 2022

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 zLupa added the enhancement New feature or request label Aug 17, 2022
@haveachin
Copy link
Owner

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 haveachin added the 2.0 Will be implemented in the 2.0 release label Nov 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.0 Will be implemented in the 2.0 release enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants