Skip to content

Building from source

Pavel Erokhin edited this page Nov 9, 2026 · 3 revisions

You need JDK 25. Gradle downloads it when it’s missing.

Build the jar

  1. Clone the repository:

    git clone https://github.com/MairwunNx/mobosses
    cd mobosses
  2. Build it:

    ./gradlew build
  3. Take paper/build/libs/mobosses-paper-dev.jar. Local and CI builds are dev. Only the “Release” workflow puts a version in, through -PreleaseVersion (Releasing).

build runs the tests too. The jar is shaded: its libraries sit under ru.mairwunnx.mobosses.libs, so they never clash with other plugins.

The same build makes the mods’ frames, fabric/build/libs/mobosses-fabric-dev.jar and neoforge/build/libs/mobosses-neoforge-dev.jar. They load and make no bosses yet. The -slim jars beside them don’t load at all.

Print the balance

./gradlew balance prints the stat curves, experience, and player levels from the real formulas, for the bundled config. To check a server’s own files:

./gradlew balance --args=path/to/plugins/MoBosses

It reads that folder’s config.yml and classes.yml. Run it after changing a formula or its defaults.

Next: Architecture

Clone this wiki locally