{"id":21844161,"url":"https://github.com/electronstudio/python-minecraft-plugin","last_synced_at":"2026-05-03T01:40:24.680Z","repository":{"id":53918075,"uuid":"256801911","full_name":"electronstudio/python-minecraft-plugin","owner":"electronstudio","description":"The Bukkit sample plugin modified to compile with gradle+paperMC+graalVM","archived":false,"fork":false,"pushed_at":"2020-04-18T16:49:13.000Z","size":57,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-23T20:19:36.394Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/electronstudio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-18T16:34:41.000Z","updated_at":"2022-08-06T10:46:59.000Z","dependencies_parsed_at":"2022-08-13T04:10:49.303Z","dependency_job_id":null,"html_url":"https://github.com/electronstudio/python-minecraft-plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/electronstudio/python-minecraft-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/electronstudio%2Fpython-minecraft-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/electronstudio%2Fpython-minecraft-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/electronstudio%2Fpython-minecraft-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/electronstudio%2Fpython-minecraft-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/electronstudio","download_url":"https://codeload.github.com/electronstudio/python-minecraft-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/electronstudio%2Fpython-minecraft-plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32555839,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T00:31:16.350Z","status":"ssl_error","status_checked_at":"2026-05-03T00:31:15.546Z","response_time":132,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-27T22:18:37.598Z","updated_at":"2026-05-03T01:40:24.661Z","avatar_url":"https://github.com/electronstudio.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"This is a proof-of-concept to show that Minecraft can execute Python code.\n\nThe only new code I've added to the sample is this bit:\n```java\nContext polyglot = Context.create();\nValue array = polyglot.eval(\"python\", \"[1,2,42,4]\");\nint result = array.getArrayElement(2).asInt();\nSystem.out.println(result);\ngetLogger().info(\"POLYGLOT \"+result);\n```\n\nThis is just a single array from Python, not an entire plugin, but it proves it works.\n\n## Setup\n\n1. Download and unzip GraalVM: https://github.com/graalvm/graalvm-ce-builds/releases\n\n2. Install Python for GrallVM:\n\n    `~/Downloads/graalvm-ce-java8-20.0.0/Contents/Home/bin/gu install python`\n\n3. Download PaperMC minecraft server (fork of Spigot): https://papermc.io/downloads\n\n4. Check that you can run PaperMC using GraalVM\n\n    `~/Downloads/graalvm-ce-java8-20.0.0/Contents/Home/bin/java -jar paper-*.jar`\n\n5. Compile the sample plugin:\n\n    `./gradlew jar`\n\n6. Copy the generated plugin jar into the plugins folder of PaperMC and re-run paperMC.\n\n    `cp build/libs/*.jar ~/papermc/plugins/`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felectronstudio%2Fpython-minecraft-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felectronstudio%2Fpython-minecraft-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felectronstudio%2Fpython-minecraft-plugin/lists"}