Skip to content

modifold-website/analytics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Modifold Banner

Modifold Analytics Plugin

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/.

Tech

  • Java 25
  • Maven
  • Gson

Build

mvn clean package

Output JAR will be in target/.

Installation In Your Mod

  1. Add the class file to your mod source tree:
    • copy src/main/java/com/modifold/ModifoldAnalytics.java into your mod project
    • adjust the package line if your project uses a different package structure
  2. Ensure Gson is available in your mod runtime/build.
  3. Initialize analytics during your mod/plugin startup (setup/init phase):
new ModifoldAnalytics("your-project-slug", "1.0.0");
  1. Replace placeholders:
    • your-project-slug -> your Modifold project slug
    • 1.0.0 -> your current mod version

Optional Markdown Embed

You can add a Markdown image with your online graph to the project page:

![](https://api.modifold.com/analytics/optimized-somehow/embed)

You can enable dark theme by adding ?theme=dark:

![](https://api.modifold.com/analytics/optimized-somehow/embed?theme=dark)

Here optimized-somehow is your project slug.

About

Plugin made to test ModifoldAnalytics integration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages