Example mod written on Orion API
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/main
.gitignore
LICENSE
README.md
pom.xml

README.md

Orion example Mod

Description

This is example mod demonstrating configuration API and overriding EULA check on 1.12 Paper server using Mixin

Put this into mods dir, remove eula.txt and see how it works 😄

Requirements

  • Paper 1.12

Configuration

See modconfigs/examplemod.cfg, it has one option named restore-the-check. Setting that to true makes mod not apply mixin to the server

I want to create mod like this!

Sure, here's appropriate Maven/Gradle configuration

Maven

<repositories>
    <repository>
        <id>mikroskeem-repo</id>
        <url>https://repo.wut.ee/repository/mikroskeem-repo/</url>
    </repository>
</repositories>

<dependencies>
    <!-- Note: `./paper j` and `mvn install` in Paper-Server directory -->
    <dependency>
        <groupId>com.destroystokyo.paper</groupId>
        <artifactId>paper</artifactId>
        <version>1.12-R0.1-SNAPSHOT</version>
        <scope>provided</scope>
    </dependency>

    <!-- Orion API -->
    <dependency>
        <groupId>eu.mikroskeem</groupId>
        <artifactId>orion.api</artifactId>
        <version>0.0.1</version>
        <scope>provided</scope>
    </dependency>
</dependencies>

Gradle

repositories {
    maven {
        name = 'mikroskeem-repo'
        url = 'https://repo.wut.ee/repository/mikroskeem-repo'
    }
}

dependencies {
    compileOnly group: 'com.destroystokyo.paper', name: 'paper', version: '1.12-R0.1-SNAPSHOT'
    compileOnly group: 'eu.mikroskeem', name: 'orion.api', version: '0.0.1'
}

I want this mod!

See releases

I want to steal your mod's code!

Go ahead, this mod is WTFPL