▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/kashub
kashub

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.

Оцените первым
215
3
Все версииkashub v0.7.0-beta

kashub v0.7.0-beta

Beta28.12.2025

Список изменений

[v0.7.0 beta] - 2025-12-21

🔥 Major Features

VSCode Integration & API Server

  • HTTP API Server for external tool integration (VSCode, custom tools)

    • Default port: 25566 (configurable)
    • REST endpoints for script management
    • CORS support for web-based tools
  • WebSocket Server for real-time communication

    • Default port: 25567 (configurable)
    • Live script output streaming
    • Task state change notifications
    • Error broadcasting
  • VSCode Extension (separate package: kashub-vscode)

    • Full KHScript syntax highlighting
    • IntelliSense with online/offline modes
    • Real-time validation powered by actual Kashub parser
    • Kashub Console panel for live output
    • Run scripts directly from VSCode (Ctrl+Shift+K)
    • Environment variables viewer
    • Task management

✨ API Endpoints

EndpointMethodDescription
/api/statusGETMod status, player info, task stats
/api/validatePOSTValidate KHScript code
/api/autocompletePOSTGet autocomplete suggestions
/api/runPOSTExecute script code
/api/tasksGETList all running tasks
/api/tasks/{id}/stopPOSTStop a specific task
/api/tasks/{id}/pausePOSTPause a specific task
/api/tasks/{id}/resumePOSTResume a paused task
/api/variablesGETGet all environment variables

✨ WebSocket Events

EventDescription
script_outputScript print/log output
script_errorScript execution errors
task_state_changeTask started/stopped/paused
variable_updateEnvironment variable changed

⚙️ New Configuration Options

{
  "apiEnabled": true,
  "apiPort": 25566,
  "apiWebSocketPort": 25567,
  "apiRequireAuth": false
}

🔧 Improvements

  • Print and Log commands now broadcast to WebSocket for VSCode console
  • Better error messages with line numbers
  • Improved command validation

📝 Notes

  • API server starts automatically when mod loads (if enabled)
  • VSCode extension available separately
  • Works with hot-reload from v0.6.0

Файлы

kashub-v0.7.0-beta.jar(6.29 MiB)
Основной
Скачать
kashub-v0.7.0-beta-sources.jar(3.47 MiB)
Скачать

Метаданные

Канал релиза

Beta

Номер версии

v0.7.0-beta

Загрузчики

Fabric

Версии игры

1.21.1

Загрузок

15

Дата публикации

28.12.2025

Загрузил

ID версии

Главная