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

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

Type a query to search the guide.