1.7.0
Compatibility
Changes
Released 2026-03-30
★ Script visually in your browser — no typing needed! → kode.viirless.net/scripter ← Drag nodes · Connect them · Download your
.kodefile
✦ Folia Support
Kode now runs natively on Folia, Paper's region-threaded server fork. The internal scheduler automatically detects Folia at startup and uses the correct scheduler APIs — no configuration needed. Fully backwards-compatible with Paper and Spigot.
6 New Events
| Event | Variables |
|---|---|
PlayerAdvancement |
$advancement (advancement key) |
PlayerShootBow |
$force (0.0–1.0), $is_critical |
BlockBurn |
$block_type, $x, $y, $z |
PlayerOpenInventory |
$inventory_type |
PlayerToggleGlide |
$gliding (true = started, false = stopped) |
EntityTame |
$entity_type |
on PlayerAdvancement:
send "&6Achievement unlocked: &e$advancement" to player
on PlayerShootBow:
if $is_critical == true:
send "&cCritical shot! Force: $force" to player
on PlayerToggleGlide:
if $gliding == true:
send "&bGliding activated!" to player
on EntityTame:
send "&aYou tamed a $entity_type!" to player
sound ENTITY_PLAYER_LEVELUP
6 New Actions
| Keyword | Description |
|---|---|
send_bossbar <text> [color] [duration] |
Boss bar for duration ticks (default 100); color: PURPLE/BLUE/RED/GREEN/YELLOW/WHITE/PINK |
equip <slot> <material> |
Equip armor to head, chest, legs, or feet |
clear_effects |
Remove all active potion effects at once |
set_max_health <value> |
Set the player's maximum health attribute (default 20) |
set_fly <true|false> |
Enable or disable player flight; disabling cancels active flying |
explode [power] |
Non-damaging, non-block-breaking explosion at player's location (default 3.0) |
command /arena [permission: myserver.arena]:
set_max_health 40
equip head IRON_HELMET
equip chest IRON_CHESTPLATE
equip legs IRON_LEGGINGS
equip feet IRON_BOOTS
clear_effects
send_bossbar "&cArena — survive!" RED 600
send "&aArena kit applied!" to player
command /fly [permission: myserver.fly]:
if gamemode() == "survival":
set_fly true
send "&bFlight enabled!" to player
command /boom:
explode 5.0
sound ENTITY_GENERIC_EXPLODE
send "&c💥 BOOM!" to player
7 New Built-in Functions
| Function | Returns |
|---|---|
level() |
Player's current XP level |
gamemode() |
Player's current game mode (survival, creative, etc.) |
formattime(seconds) |
Human-readable time string like 1h 5m 30s |
isop() |
true if the player is a server operator |
x() |
Player's current block X coordinate |
y() |
Player's current block Y coordinate |
z() |
Player's current block Z coordinate |
command /info:
set $lv = level()
set $gm = gamemode()
set $op = isop()
send "&aLevel: $lv &bMode: $gm &cOP: $op" to player
command /coords:
set $cx = x()
set $cy = y()
set $cz = z()
send "&aPosition: X=$cx Y=$cy Z=$cz" to player
Visual Scripter Updated (60+ nodes)
All six new events are in the Event node's drop-down, and all six new action nodes have been added to the palette. Node count is now 60+.
How to Update
- Stop your server.
- Replace
kode-1.5.0.jarwithkode-1.7.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:chydOG6P"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:Zp2qAVsU:chydOG6P"
}

