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

Alternative plugin to access Bukkit API thought pyjnius? #88

Open
nitanmarcel opened this issue Oct 24, 2019 · 2 comments
Open

Alternative plugin to access Bukkit API thought pyjnius? #88

nitanmarcel opened this issue Oct 24, 2019 · 2 comments

Comments

@nitanmarcel
Copy link

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)

@electronstudio
Copy link

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.

@electronstudio
Copy link

Because someone requested it, here is my proof of concept: https://github.com/electronstudio/python-minecraft-plugin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants