A starter focused on balance mutations, transfer-style flows, and the kind of counters you need while prototyping economy features.
- credit, transfer, and balance inspection examples
- small in-memory ledgers that are easy to replace later
- diagnostic output that surfaces transaction activity
- bundled UI or asset-pack resources so the example is usable out of the box
- Java 25
- Hytale Server 0.5.3
- the included Gradle wrapper
./gradlew clean buildBuilt jars are written to build/libs/hytale-mod-template-economy-1.1.0.jar, with matching sources and javadoc jars next to it.
/hdeconomymodstatus: Shows runtime status for EconomyModPlugin./hdeconomymoddemo: Runs a demo action for EconomyModPlugin.- Common actions:
info, toggle, sample, credit-demo, transfer-demo, balance-demo
src/main/java: mod entry point, commands, state objects, and service logicsrc/main/resources/manifest.json: metadata, entry class, and server targetsrc/main/resources/Server: bundled assets or UI resources that ship with the jar
- Build the project with
./gradlew clean build. - Copy
build/libs/hytale-mod-template-economy-1.1.0.jarinto your servermods/directory. - Restart the server so the bundled resources are loaded together with the code.
- rename the package, command names, and manifest identifiers to match your project
- replace the demo actions with your real gameplay, economy, networking, or UI logic
- move any persistent state into the storage or config format you actually want to support
- The Gradle build auto-detects a local
HytaleServer.jarwhen one is nearby, but it can also resolvecom.hypixel.hytale:Server:0.5.3directly from the Hytale Maven. - The templates are intentionally small enough to read in one sitting, so you can copy them into a new repo and start renaming immediately.