Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
Avatar for Viirless

Script your server without writing Java. Featuring Visual Scripting

Report Kode?

Release
1.7.0

Viirless released Kode version 1.7.0 on March 30, 2026

Kode 1.7.0 — Folia Support, 6 New Events, 6 New Actions & More

Released 2026-03-30

Script visually in your browser — no typing needed! → kode.viirless.net/scripter ← Drag nodes · Connect them · Download your .kode file


✦ 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+.

Open the Visual Scripter →


How to Update

  1. Stop your server.
  2. Replace kode-1.5.0.jar with kode-1.7.0.jar in your plugins/ folder.
  3. Start your server — no config changes needed.
  4. All existing .kode scripts are fully compatible; no migration required.

Need help? Join the Discord or visit the documentation.


Information

Published onMarch 30, 2026
Downloads2

Platforms

Paper Paper (1.21-1.21.11)