Skip to content

VgamerV3/hytale-plugin-template-core

Repository files navigation

hytale-plugin-template-core

Overview

Clean baseline lifecycle structure for startup, setup, runtime, and shutdown. This repository is a practical starting point for a Hytale plugin.

Main entrypoint

  • Main class from manifest.json: net.hytaledepot.templates.plugin.core.CorePluginTemplate
  • Includes asset pack: false

Source layout

  • Java sources: src/main/java
  • Manifest: src/main/resources/manifest.json
  • Runtime jar output: build/libs/hytale-plugin-template-core-1.0.0.jar

Key classes

  • CoreDemoCommand
  • CoreDemoService
  • CorePluginLifecycle
  • CorePluginState
  • CorePluginTemplate
  • CoreStatusCommand

Commands

  • /hdcoredemo
  • /hdcorestatus

Build

  1. 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
  2. Run: ./gradlew clean build
  3. Copy build/libs/hytale-plugin-template-core-1.0.0.jar into your server mods/ folder.

License

MIT

About

Hytale plugin template for core workflows, with runnable starter code and prebuilt artifact.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages