Kode 1.1.0 — Bug Fix Update
Released 2026-03-17
Bug Fixes
- Fixed blank lines breaking if/else blocks — Blank lines and comment lines inside if, else if, and else blocks no longer cause the parser to exit the block early or throw errors.
- Fixed blank lines breaking switch/case blocks — Same fix applied to switch statements; blank lines between cases are now handled correctly.
- Fixed blank lines breaking try/catch blocks — Blank lines inside try and catch bodies no longer interrupt parsing.
- Fixed variable substitution in math expressions — Math operations such as set $x = $a + $b now correctly resolve all variable references before evaluating, preventing incorrect results when variables contained complex values.
What Was Happening
Scripts that used blank lines between statements inside control-flow blocks (which is natural when writing readable code) could silently fail or produce wrong results. This update adds a
blank-line skip step at the start of every block-parsing loop so that whitespace and comment-only lines are always ignored correctly.
How to Update
- Stop your server.
- Replace kode-1.0.0.jar with kode-1.1.0.jar in your plugins/ folder.
- Start your server — no config changes needed.
Need help? Join the Discord or visit the documentation.