This repository is an example of integrating ModifoldAnalytics into your Hytale mod/plugin.
After integration, extended mod analytics will appear on your project Analytics page at https://modifold.com/.
- Java 25
- Maven
- Gson
mvn clean packageOutput JAR will be in target/.
- Add the class file to your mod source tree:
- copy
src/main/java/com/modifold/ModifoldAnalytics.javainto your mod project - adjust the
packageline if your project uses a different package structure
- copy
- Ensure Gson is available in your mod runtime/build.
- Initialize analytics during your mod/plugin startup (setup/init phase):
new ModifoldAnalytics("your-project-slug", "1.0.0");- Replace placeholders:
your-project-slug-> your Modifold project slug1.0.0-> your current mod version
You can add a Markdown image with your online graph to the project page:
You can enable dark theme by adding ?theme=dark:
Here optimized-somehow is your project slug.
