1.5.0
Compatibility
Changes
Released 2026-03-25
★ Script visually in your browser — no typing needed! → kode.viirless.net/scripter ← Drag nodes · Connect them · Download your
.kodefile
6 New Events
| Event | Variables |
|---|---|
PlayerKick |
$reason |
PlayerTeleport |
$from_x, $from_y, $from_z, $to_x, $to_y, $to_z, $cause |
PlayerPortal |
$portal_type (nether or ender) |
PlayerSwapHands |
$main_hand_item, $off_hand_item |
PlayerHeldItemChange |
$slot, $previous_slot |
SignChange |
$line1, $line2, $line3, $line4 |
on PlayerPortal:
if $portal_type == "nether":
send "&6Entering the Nether — be careful!" to player
on SignChange:
if $line1 == "[Shop]":
send "&aShop sign detected!" to player
on PlayerKick:
broadcast "&c$player was removed from the server: $reason"
6 New Actions
| Keyword | Description |
|---|---|
close_inventory |
Close the player's currently open GUI |
lightning [x y z] |
Strike lightning at the player's location, or at specific coords |
remove_potion <effect> |
Remove a potion effect by name (e.g. speed, poison) |
spawn_entity <type> |
Spawn a mob at the player's location (e.g. ZOMBIE) |
set_display_name <name> |
Set chat and tab-list display name; supports & color codes |
set_walk_speed <speed> |
Set walk speed from 0.0 (stopped) to 1.0 (default 0.2) |
command /vip [permission: myserver.vip]:
set_display_name "&6[VIP] $player"
set_walk_speed 0.35
potion speed 600 1
send "&6VIP perks applied!" to player
command /smite:
lightning
send "&cBOLT!" to player
command /sober:
remove_potion poison
remove_potion blindness
remove_potion nausea
send "&aEffects cleared." to player
3 New Built-in Functions
| Function | Returns |
|---|---|
health() |
Player's current health (0 – 20) |
food() |
Player's current food level (0 – 20) |
nearby(radius) |
Count of other players within radius blocks |
command /status:
set $hp = health()
set $hunger = food()
set $near = nearby(20)
send "&aHP: $hp/20 &eFood: $hunger/20 &bNearby: $near" to player
on PlayerJoin:
if health() < 10:
heal
send "&cYou were low on health — restored!" to player
Visual Scripter Updated
All six new events are now in the Event node's drop-down, and all six new action nodes have been added to the palette. Node count is now 40+.
How to Update
- Stop your server.
- Replace
kode-1.4.1.jarwithkode-1.5.0.jarin yourplugins/folder. - Start your server — no config changes needed.
- All existing
.kodescripts are fully compatible; no migration required.
Need help? Join the Discord or visit the documentation.
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:Zp2qAVsU:iJLZmgLd"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:Zp2qAVsU:iJLZmgLd"
}

