Tags
Creators
Details
All versions
v0.7.0-beta
Beta
kashub v0.7.0-beta10 months ago 35
Compatibility
Minecraft: Java Edition
1.21.1
Platform
Fabric
Supported environments
Client-side
Client and server
Changes
[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
| Endpoint | Method | Description |
|---|---|---|
/api/status |
GET | Mod status, player info, task stats |
/api/validate |
POST | Validate KHScript code |
/api/autocomplete |
POST | Get autocomplete suggestions |
/api/run |
POST | Execute script code |
/api/tasks |
GET | List all running tasks |
/api/tasks/{id}/stop |
POST | Stop a specific task |
/api/tasks/{id}/pause |
POST | Pause a specific task |
/api/tasks/{id}/resume |
POST | Resume a paused task |
/api/variables |
GET | Get all environment variables |
✨ WebSocket Events
| Event | Description |
|---|---|
script_output |
Script print/log output |
script_error |
Script execution errors |
task_state_change |
Task started/stopped/paused |
variable_update |
Environment 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
Supplementary resources
| File | Type | Size | |
|---|---|---|---|
| kashub-v0.7.0-beta-sources.jar | Sources jar | 3.47 MiB |
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:yq1pcH6Z:CM7dy1BE"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:yq1pcH6Z:CM7dy1BE"
}

