minekube / gate

High-Performance, Low-Memory, Lightweight, Extensible Minecraft Reverse Proxy with Excellent Multi-Protocol Version Support - Velocity/Bungee Replacement - Ready for dev and large deploy!
https://gate.minekube.com
Apache License 2.0
620 stars 49 forks source link

Support for scripting languages as plugins #9

Open robinbraemer opened 4 years ago

robinbraemer commented 4 years ago

This issue is there to discuss the support for scripting languages in Gate.

To simplify and accelerate customization Gate should add support for popular scripting languages like:

Which language should we target first?

Specifically Lua has being requested under Gate's reddit post. Please up-vote this issue whether this scripting should be added and/or comment some thoughts on this.

1vnt commented 1 year ago

Any updates on this?

robinbraemer commented 1 year ago

None. Do you want to use a script language?

1vnt commented 1 year ago

I'd find it useful if some kind of plugin system would be implemented, that could load both scripting languages and also go modules.

1vnt commented 1 year ago

Scripting languages could be used to create a quick plugin that sends custom messages etc.

1vnt commented 1 year ago

If wanted, I could implement some support, if you give me some directions!

robinbraemer commented 1 year ago

I'd find it useful if some kind of plugin system would be implemented, that could load both scripting languages and also go modules.

Do the examples help to understand a bit of Go for beginners? Go is simple to read and write.

Do you have specific script language in mind?

1vnt commented 1 year ago

If beginners had previous experiences with another simple language, they should easily be able to use go, I think

As for the scripting language, I thought of Lua

robinbraemer commented 1 year ago

If wanted, I could implement some support, if you give me some directions!

@legendary-cookie I'm open to adding a Lua plugin system to Gate.

1vnt commented 1 year ago

I'll look a bit into the code to get a better understanding overall, then I'll think of the design! Also the lib looks pretty good.

robinbraemer commented 1 year ago

Awesome

Dawsson commented 1 month ago

TS could be cool to use instead of lua, maybe even Java/kt?

NullyIsHere commented 1 month ago

This seems abandoned except for someone commenting 7h ago, i would love Python,

robinbraemer commented 1 month ago

Would be great if people just 👍 this feature request. We have developers that would pick this up.

NullyIsHere commented 1 month ago

How do we do that?