Skip to content

VgamerV3/hytale-mod-template-events

Repository files navigation

hytale-mod-template-events

Overview

Event registration patterns and event-to-service flow for gameplay reactions. This repository is a practical starting point for a Hytale mod.

Main entrypoint

  • Main class from manifest.json: net.hytaledepot.templates.mod.events.EventsModPlugin
  • Includes asset pack: true

Source layout

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

Key classes

  • EventsModPlugin
  • EventsModTemplate

Commands

  • /hdeventsmoddemo
  • /hdeventsmodstatus

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-mod-template-events-1.0.0.jar into your server mods/ folder.

License

MIT

About

Hytale mod template for events workflows, with runnable starter code and prebuilt artifact.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages