KasHub

Powerful in‑game scripting engine for Minecraft automation. VSCode‑style editor, 40+ high‑level commands, themes, debugging tools, and multi‑tasking — perfect for automating farms, utilities, and server‑side workflows.
Back to Files

kashub 1.0.0-FSR

File namekashub-1.0.0-FSR.jar
Uploader
kasperenokkasperenok
Uploaded
Nov 22, 2026
Downloads
4
Size
10.9 MB
Mod Loaders
Fabric
File ID
9750531
Type
R
Release
Supported game versions
  • 1.21.1

Curse Maven Snippet

Fabric

modImplementation "curse.maven:kashub-1429527:9750531"

Learn more about Curse Maven

What's new

🚀 KasHub v1.0.0-FSR — First Stable Release

The First Stable Release of Kashub brings a unified multi-loader engine (Fabric + NeoForge 1.21.1), full in-game script editing, live packet-hooked events, and professional IDE/MCP integration.

🪟 Editor & UI (KHGui 1.0.11)

  • Tab-bar geometry unified — new TabBarLayout owns tab widths, label ellipsis, close glyph and close hitbox; rendering, clicking, scrolling and clamping all read the same rects. Fixes the close x drifting onto the filename once the strip overflowed.
  • Overflow now scrolls — the strip reserves real toolbar space, shrinks tabs to a 64px minimum, then scrolls horizontally (mouse wheel over the tab bar) with a slim accent scrollbar; tabs are scissored so they can never paint over the toolbar buttons.
  • Close button works — a 16px hitbox around the 12px glyph means clicking x closes instead of re-focusing the tab.
  • Phantom dirty flag removed — getContent() no longer fabricates "\n" for empty files, so freshly opened files stop showing the • marker and stop refusing to close.
  • No more content bleeding — tab switches/closes persist the buffer into the tab it belongs to (lastTabIndex) and funnel through one syncFromContext(), so reopening the editor no longer duplicates one script's text into every tab.
  • In-Game Docs Generator — dynamically generates documentation sections directly from registered game objects and methods, with per-method one-click COPY code snippet buttons.

⚡ Scripting Engine & Core Runtime

  • Operators & Syntax — Added post-increment/decrement (i++, i--) and compound assignments (+=, -=, *=, /=, %=). Block headers without parentheses (e.g. while i == 5 {) are supported.
  • Stack Overflow Guard — Recursion depth is strictly bounded (200 calls), producing a clean script error instead of crashing the client VM.
  • Task Control & Real Pause — Task pausing now completely halts background loop execution instead of only updating state labels; stopped tasks cleanly unregister event handlers.
  • VFS & Script Paths — Tilde expansion (~) resolved cleanly to the user scripts directory; path traversal attacks (..) blocked.
  • Pathfinding — Armed stuck detection with automatic re-planning when no forward progress is made.

📡 Event Subsystem

  • Packet Hooks — All gameplay events (onPlayerJoin, onPlayerLeave, onRespawn, onDamage, onDeath, onHunger, onHeal, onTick, onJump, onSneak, onSprint, onItemUse, onInventoryChange) wired to live network packets and game hooks.
  • Lifecycle & Deduplication — Handler leaks eliminated when re-running tasks; double-firing of onPlayerJoin fixed; finished tasks owning handlers stay alive without memory corruption.

🛠️ Tooling, Debugger & Server Bridge

  • VS Code DAP Debugger — Breakpoints now pause execution in the interpreter loop before lines run; stepping and resume fully synchronized with the VS Code extension.
  • Model Context Protocol (MCP) — Fixed list_scripts recursive directory scanning, get_logs reading the active instance log, and scan_target_peripheral frame responses.
  • Server Plugin (Paper/Spigot) — Updated server bridge to support v2 syntax (System.print) and dynamic command metadata discovery.
  • NeoForge Compatibility — Full build parity with Fabric under NeoForge 1.21.1 and bundled libs/ for offline/CI builds.

🧹 Multi-Loader Core & Progression

  • Multi-Loader Core — Full Fabric + NeoForge baseline abstraction via KHWrapper and Architectury.
  • Neuro-Implant & Progression — Support for Curios and Trinkets neural implant slots with tiered access policies.
  • ComputerCraft: Tweaked (CC:T) — Automatic peripheral mounting to /mnt/cc/<id>/ and in-game terminal integration.