Guides setting up a Hytale plugin development environment and building/testing mods. Covers JDK 25 installation (Windows/macOS/Linux), VS Code configuration, Gradle wrapper, project template, build commands, deploying to the Mods folder, and troubleshooting. Use when a user needs to set up their environment, clone the plugin template, fix build errors, or deploy a plugin for testing. Triggers - setup, environment, env, JDK, Java 25, install, Gradle, build, test, deploy, Mods folder, plugin template, gradlew, build.gradle, settings.gradle, gradle.properties, hytale.home_path, VS Code, development environment.
Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.
Quelldateien prüfen
Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.
Ein direkter Befehl überspringt den Prüf-Prompt. Prüfen Sie die Quelle, bevor Sie ihn ausführen.
Guides setting up a Hytale plugin development environment and building/testing mods. Covers JDK 25 installation (Windows/macOS/Linux), VS Code configuration, Gradle wrapper, project template, build commands, deploying to the Mods folder, and troubleshooting. Use when a user needs to set up their environment, clone the plugin template, fix build errors, or deploy a plugin for testing. Triggers - setup, environment, env, JDK, Java 25, install, Gradle, build, test, deploy, Mods folder, plugin template, gradlew, build.gradle, settings.gradle, gradle.properties, hytale.home_path, VS Code, development environment.
Hytale Environment Setup & Build/Test
Step-by-step guide for setting up a Hytale plugin development environment and building/testing plugins. Focused on VS Code (skip JetBrains).
Create .vscode/tasks.json to enable one-click build and deploy from VS Code. Before creating the deploy task, ask the user where Hytale is installed so the deploy path can be configured correctly.
Setup Procedure
Ask the user for their Hytale installation path (e.g., C:\Program Files\Hytale or wherever they installed it).
Derive the Mods folder from that path: <hytale_path>\UserData\Mods (Windows) or check %APPDATA%\Hytale\UserData\Mods for the default AppData location.
Set hytale.home_path in gradle.properties to the user's Hytale path.
Create .vscode/tasks.json with the tasks below, substituting the deploy path.
.vscode/tasks.json
{"version":"2.0.0","tasks":[{"label":"build plugin","type":"shell","command":".\\gradlew.bat","args":["build"],"group":{"kind":"build","isDefault":true},"problemMatcher":["$javac"],"detail":"Build the plugin JAR via Gradle"},{"label":"build and deploy","type":"shell","command":".\\gradlew.bat","args":["build"],"group":"build","problemMatcher":["$javac"],"detail":"Build the plugin and copy to Hytale Mods folder","dependsOrder":"sequence","dependsOn":[],"presentation":{"reveal":"always","panel":"shared"}},{"label":"deploy to mods","type":"shell","command":"powershell","args":["-Command","Copy-Item -Path 'build/libs/*.jar' -Destination '${config:hytale.modsPath}' -Force"],"problemMatcher":[],"detail":"Copy built JAR to Hytale Mods folder","dependsOn":["build plugin"]}]}
Note: The build and deploy task can alternatively be a single compound task. The example above uses a separate deploy to mods task that depends on build plugin.
.vscode/settings.json (Hytale Mods Path)
Store the Mods folder path as a VS Code setting so tasks can reference it via ${config:hytale.modsPath}: