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 😄
- Paper 1.12
See modconfigs/examplemod.cfg
, it has one option named restore-the-check
. Setting that to true
makes mod not apply
mixin to the server
Sure, here's appropriate Maven/Gradle configuration
<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>
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'
}
See releases
Go ahead, this mod is WTFPL