Documentation Index
Fetch the complete documentation index at: https://docs.hrtk.frotty27.com/llms.txt
Use this file to discover all available pages before exploring further.
For Mod Developers
1. Add the API dependency
PlaceHRTK-API.jar in your project’s libs/ directory and add it as compileOnly:
compileOnly means the API JAR is only needed at compile time. It’s not bundled into your mod JAR - annotations survive in bytecode but add zero runtime cost.2. Declare optional dependency
In yourmanifest.json, add HRTK as an optional dependency:
3. Write tests
Create test classes anywhere in your source tree:For Server Operators
1. Install the plugin
DownloadHRTK.jar and place it in your Hytale server’s mods directory:
Singleplayer / local testing:
2. Start the server
HRTK will scan all loaded mods for test annotations on startup:3. Run tests
Verify Installation
After setup, run/hrtk list to verify tests are discovered:
- Your mod JAR is in the server’s mods folder
- Test classes have
@HytaleTestannotations - HRTK.jar is also in the same mods folder