Language

MicroClazz

MicroClazz

Modrinth

Instantly compile and load Java classes with in-game commands.

26 downloads 1 followers updated 8mo ago
latest v1.0-SNAPSHOT Modrinth
Paper 1.21.4 – 1.21.4

MicroClass adds in-game commands for compiling and loading java class on fly.

/microclazz load <filePath>
  • Load a class from a .class or .java file.

    Tip: There are example Java scripts you can try yourself to see how it works!
/microclazz unload <filePath>
  • Unload a previously loaded class.
/microclazz invoke <filePath> <method>
  • Invoke a method from a loaded class.
/microclazz list
  • List all currently loaded classes.

There's examples java you can try yourself.

Script Lifecycle

  • onScriptLoad() – Called when a script is successfully loaded
  • onScriptUnLoad() – Called when a script is unloaded

These hooks let scripts initialize or clean up resources dynamically.

Versions

Release
1.0-SNAPSHOT
paper · 1.21.4 · 8mo ago
26

Comments 0

No comments yet. Be the first to share your thoughts.

Download MicroClazz

Files are served directly from the original source. Modgrid does not host or modify them.