Skip to content

Repository files navigation

Cadmium

Cadmium is a scripting plugin for Minecraft, much like Skript. However, instead of a custom DSL, Cadmium uses Python with almost full support for the PyPI package ecosystem.

paper bukkit

github hangar modrinth

Features

Cadmium uses Python 3.12 as its scripting layer, which allows for almost full (read Technicals) suppport for PyPI packages. On top, Paper/Bukkit API abstractions are provided, allowing for Pythonic syntax to define Commands, hook into Events and more.

DISCLAIMER

ALL ABSTRACTIONS FOR PAPER APIS ARE NOT COMPLETE YET
As of now, Cadmium is in BETA. Currently, Java reflection is gonna be required in most cases. Cadmium is not production ready yet. API coverage will increase with updates.

Technicals

Cadmium runs on GraalVM/GraalPy. This means that some PyPI packages will not work, including requests (use httpx instead). A more comprehensive list is available here.

About

Add content to your Minecraft server with Python

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages