LiquidBounce icon indicating copy to clipboard operation
LiquidBounce copied to clipboard

Kotlin addons

Open Ell1ott opened this issue 8 months ago • 2 comments

LiquidBounce Branch

Nextgen

Describe your feature request.

Similar to the current js scripts, you would be able to write add-ons in kotlin. I would say this has a few advantages:

  • Speed - I belive kotlin runs much more performant than Javascript
  • Bindings - When doing it directly in kotlin you would be able to use all the same events etc. As the build in modules
  • References - If you would like to add a new module, but you're new to scripting/programming, it's always great having a base, to then expand on top of. With kotlin any of the build in modules could be used as bases and references for new add-ons
  • From pr to own addon - If someone wants to merge a feature into liquidbounce, but It gets rejected, because it for example a too little user base would use the feature, it could easily be refactored into an addon
  • Typesafety - I belive kotlin has better typesafety and autocomplete

Additional context

No response

Ell1ott avatar Jun 01 '24 21:06 Ell1ott