Alternative plugin to access Bukkit API thought pyjnius?
Opened this issue · 2 comments
This is a little off-topic but you have any ideas of plugins that lets you access the API from outside sources? (Like a GUI app, console, etc.)
If you never heard about pyjnius it's a python module to access Java classes from within python.
It's more used with Kivy, another library that allows you to code Android app in python but can be used on other purposes too. I see it useful for enabling python modding in Minecraft with ease as there shouldn't be any need to make some crazy hooks between Java functions and python ones (in theory)
GraalVM can run Python and Java code in the same VM. I tested it with PaperMC as the server and it let me add Python code to a plugin and run it sucessfully.
Because someone requested it, here is my proof of concept: https://github.com/electronstudio/python-minecraft-plugin