Yatopia/README.md
2021-05-20 13:31:16 -04:00

4.3 KiB

Yatopia

Yatopia

Github-CI CodeMC Discord API

Blazing fast Purpur fork with best in class performance.

So what is Yatopia?

Yatopia is a performance-oriented fork of Purpur that adds even more optimizations overtop the already great performance that Purpur inherits from it's upstreams. We have also ported some optimizations from the following projects:

Try it out

The latest stable builds of Yatopia are always available over at our downloads page. You can also download the latest development build here.

Documentation

You can find a full explanation of the Yatopia configuration file on the wiki. Check out the list of patches included in this project and who created them here.

Building and setting up

Run the following commands in the root directory:

./gradlew applyPatches
./gradlew build paperclip

Using Yatopia-API

To build your plugin against the Yatopia-API, first add the CodeMC maven repository:

Maven

Add the CodeMC Repo:

<repositories>
    <repository>
        <id>codemc-repo</id>
        <url>https://repo.codemc.io/repository/maven-public/</url>
    </repository>
</repositories>

And then add the Yatopia-API dependency:

<dependencies>
    <dependency>
        <groupId>org.yatopiamc</groupId>
        <artifactId>yatopia-api</artifactId>
        <version>1.16.5-R0.1-SNAPSHOT</version>
        <scope>provided</scope>
    </dependency>
</dependencies>

Gradle

Groovy DSL

Add the CodeMC Repo:

repositories {
    maven {
        url 'https://repo.codemc.io/repository/maven-public/'
    }
}

And then add the Yatopia-API dependency:

dependencies {
    compileOnly 'org.yatopiamc:yatopia-api:1.16.5-R0.1-SNAPSHOT'
}

Kotlin DSL

Add the CodeMC Repo:

repositories {
    maven("https://repo.codemc.io/repository/maven-public/")
}

And then add the Yatopia-API dependency:

dependencies {
    compileOnly("org.yatopiamc:yatopia-api:1.16.5-R0.1-SNAPSHOT")
}

Why aren't there many API additions?

(Modified from starlis/empirecraft)

APIs are tough to design. In projects such as Bukkit, Spigot, Sponge, Paper, etc once an API is committed, it's almost forever. You can't go breaking it without solid justification. This is the politics game.

With that in mind, much thought has to be given to the API in now and future use cases and applications to ensure it can be extended without breaking.

This is a lot of politics that we don't have time in our lives to deal with.

That being said we make light API additions when requested.

License

License information can be found here.

Security

Security information can be found here.

Statistics

bStats Graph Data

Made with on Earth.