Skip to content

Building from source

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

You need JDK 25. Gradle downloads it through the foojay resolver when it’s missing.

  1. Clone the repository:

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

    ./gradlew build

    This runs the tests and writes build/libs/moafks-dev.jar. The jar is shaded: Kotlin, kaml, and the MaxMind reader sit relocated under ru.mairwunnx.moafks.libs, so they can’t clash with other plugins.

  3. Put the jar in a Paper 26.3 server’s plugins/ and start it.

Local builds are dev, and CI builds carry the commit, like dev-1f25537. Only the “Release” workflow sets a real version: see Releasing.

Next: Development

Clone this wiki locally