API

This page is for developers who want to build against EcoMobs from their own plugin. EcoMobs is open-source, so you can read the code, depend on it, and hook into its mobs and events.

Source code

The source code lives on GitHub here.

Adding the dependency

  1. Add the Auxilor repository to your build.gradle.kts:

    repositories {
        maven("https://repo.auxilor.io/repository/maven-public/")
    }
    
  2. Add EcoMobs as a compileOnly dependency:

    dependencies {
        compileOnly("com.willfp:EcoMobs:<version>")
    }
    

The latest version available on the repo can be found here.


Where to go next

  • eco framework: the shared APIs live in eco.

  • Config side: How to Make a Custom Mob for the config-driven workflow.