Clean baseline lifecycle structure for startup, setup, runtime, and shutdown. This repository is a practical starting point for a Hytale plugin.
- Main class from manifest.json: net.hytaledepot.templates.plugin.core.CorePluginTemplate
- Includes asset pack: false
- Java sources: src/main/java
- Manifest: src/main/resources/manifest.json
- Runtime jar output: build/libs/hytale-plugin-template-core-1.0.0.jar
- CoreDemoCommand
- CoreDemoService
- CorePluginLifecycle
- CorePluginState
- CorePluginTemplate
- CoreStatusCommand
- /hdcoredemo
- /hdcorestatus
- Ensure the server jar is available in one of these locations:
- HYTALE_SERVER_JAR
- HYTALE_HOME/install/$patchline/package/game/latest/Server/HytaleServer.jar
- workspace root HytaleServer.jar
- libs/HytaleServer.jar
- Run: ./gradlew clean build
- Copy build/libs/hytale-plugin-template-core-1.0.0.jar into your server mods/ folder.
MIT