Java inside Skript
Write Java directly in your scripts. Use familiar syntax, collections and server APIs while keeping your gameplay logic in Skript.
SkJvm 2.0.0Formerly SkBee++ · A Skript addon
Start here
Quick start
Install the addon and run your first Java block.
Variable bridge
Share values, lists and nested maps with Skript.
Modules and integrations
Reuse Java code across scripts with .jv modules.
Security boundary
Understand what is restricted and what remains privileged.
Your first Java block
An execute java section connects ordinary Java code to a Skript event or command. The context and sender are available inside the block.
command /javahello:
trigger:
execute java:
var words = List.of("Hello", "from", "SkJvm!");
sender.sendMessage(String.join(" ", words));Save in a .sk file, reload the script and wait for the Java block readiness message.
Explore the guide
- Compilation, caching and reloadHow your code is prepared and executed.
- Skript callbacksExpose Skript sections as Runnable and Consumer.
- Maven dependenciesLoad approved libraries with SHA-256 verification.
- Upgrading from SkBee++New names, variable scopes and loading behavior.