2020-12-02 16:55:51 +01:00
< img width = "200" src = "https://yatopiamc.org/static/img/yatopia-shiny.gif" alt = "Yatopia" align = "right" >
2020-10-03 21:05:10 +02:00
< div align = "left" >
< h1 > Yatopia< / h1 >
2020-08-03 21:34:41 +02:00
2020-08-13 17:53:32 +02:00
[![Github-CI ](https://github.com/YatopiaMC/Yatopia/workflows/CI/badge.svg )](https://github.com/YatopiaMC/Yatopia/actions?query=workflow%3ACI)
2021-01-16 07:39:47 +01:00
[![CodeMC ](https://ci.codemc.io/buildStatus/icon?job=YatopiaMC%2FYatopia%2Fver%252F1.16.5 )](https://ci.codemc.io/job/YatopiaMC/job/Yatopia/job/ver%252F1.16.5/)
2020-08-29 10:27:19 +02:00
[![Discord ](https://img.shields.io/discord/342814924310970398?color=%237289DA&label=Discord&logo=discord&logoColor=white )](https://discord.io/YatopiaMC)
2021-01-16 07:39:47 +01:00
[![API ](https://img.shields.io/website?down_color=lightgrey&down_message=offline&label=API&up_color=green&up_message=online&url=http%3A%2F%2Fapi.yatopiamc.org%2F )](https://api.yatopiamc.org/v2/latestBuild?branch=ver/1.16.5)
2021-01-26 20:13:17 +01:00
< h3 > Blazing fast < a href = "https://github.com/Spottedleaf/Tuinity" > Tuinity< / a > fork with best in class performance.< / h3 >
2020-08-03 21:34:41 +02:00
< / div >
2020-03-23 22:42:28 +01:00
2020-10-03 21:05:10 +02:00
## So what is Yatopia?
2021-01-21 11:58:52 +01:00
Yatopia combines the code from many [Paper ](https://github.com/PaperMC/Paper ) forks and optimization mods, as well as many unique optimizations. We borrow code from the following repos:
2020-02-26 17:23:57 +01:00
2020-08-03 22:46:36 +02:00
* [Akarin ](https://github.com/Akarin-project/Akarin )
2020-10-03 21:05:10 +02:00
* [EMC ](https://github.com/starlis/empirecraft )
* [Lithium ](https://github.com/jellysquid3/lithium-fabric )
2020-08-06 05:07:50 +02:00
* [Origami ](https://github.com/Minebench/Origami )
2020-08-03 22:46:36 +02:00
* [Purpur ](https://github.com/pl3xgaming/Purpur )
2021-02-05 17:57:30 +01:00
* [Airplane ](https://github.com/Technove/Airplane )
2021-01-23 19:47:55 +01:00
* [Hydrogen ](https://github.com/jellysquid3/hydrogen-fabric )
2021-01-23 19:57:49 +01:00
* [Krypton ](https://github.com/astei/krypton )
2020-08-03 22:46:36 +02:00
2020-10-03 21:05:10 +02:00
## Try it out
2021-01-16 07:39:47 +01:00
The latest stable builds of Yatopia are always available over at our [downloads page ](https://yatopiamc.org/download.html ). You can also download the latest development build [here ](https://api.yatopiamc.org/v2/latestBuild/download?branch=ver/1.16.5 ).
2020-08-03 22:46:36 +02:00
2020-10-03 21:05:10 +02:00
## Documentation
2020-09-17 17:21:10 +02:00
2021-01-21 11:58:52 +01:00
You can find a full explanation of the Yatopia configuration file on the [wiki ](https://github.com/YatopiaMC/Yatopia/wiki ). Check out the list of patches included in this project and who created them [here ](PATCHES.md ).
2020-06-19 22:25:02 +02:00
2020-10-03 21:05:10 +02:00
## Building and setting up
2020-09-17 17:21:10 +02:00
2020-07-16 00:30:41 +02:00
Run the following commands in the root directory:
2020-02-26 17:23:57 +01:00
2020-09-17 17:21:10 +02:00
```shell
2021-01-21 11:58:52 +01:00
./gradlew initGitSubmodules
./gradlew setupUpstream
./gradlew applyPatches
./gradlew paperclip
2020-02-26 17:23:57 +01:00
```
2020-09-17 17:21:10 +02:00
2020-10-03 21:05:10 +02:00
## Using Yatopia-API
2020-09-17 21:26:13 +02:00
2020-10-03 21:05:10 +02:00
To build your plugin against the Yatopia-API, first add the CodeMC maven repository:
2021-01-21 11:58:52 +01:00
# Maven
Add the CodeMC Repo:
2020-09-17 21:26:13 +02:00
```xml
< repositories >
< repository >
< id > codemc-repo< / id >
< url > https://repo.codemc.io/repository/maven-public/< / url >
< / repository >
< / repositories >
```
And then add the Yatopia-API dependency:
```xml
< dependencies >
< dependency >
2020-12-02 07:35:11 +01:00
< groupId > org.yatopiamc< / groupId >
2020-09-17 21:26:13 +02:00
< artifactId > yatopia-api< / artifactId >
2021-01-16 07:39:47 +01:00
< version > 1.16.5-R0.1-SNAPSHOT< / version >
2020-09-17 21:26:13 +02:00
< scope > provided< / scope >
< / dependency >
< / dependencies >
```
2021-01-21 11:58:52 +01:00
# Gradle
> Groovy DSL
Add the CodeMC Repo:
```groovy
repositories {
maven {
url 'https://repo.codemc.io/repository/maven-public/'
}
}
```
And then add the Yatopia-API dependency:
```groovy
dependencies {
compileOnly 'org.yatopiamc:yatopia-api:1.16.5-R0.1-SNAPSHOT'
}
```
> Kotlin DSL
Add the CodeMC Repo:
```kotlin
repositories {
maven("https://repo.codemc.io/repository/maven-public/")
}
```
And then add the Yatopia-API dependency:
```kotlin
dependencies {
compileOnly("org.yatopiamc:yatopia-api:1.16.5-R0.1-SNAPSHOT")
}
```
2020-10-03 21:05:10 +02:00
## Why aren't there many API additions?
2020-09-17 17:21:10 +02:00
2020-09-17 21:15:52 +02:00
(Modified from [starlis/empirecraft ](https://github.com/starlis/empirecraft/ ))
2020-09-04 17:39:35 +02:00
< p >
2020-09-18 00:29:47 +02:00
APIs are tough to design. In projects such as Bukkit, Spigot, Sponge, Paper, etc once an API is commited, it's almost forever. You can't go breaking it without solid justification. This is the politics game.
2020-09-04 17:39:35 +02:00
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.
2020-09-17 21:15:52 +02:00
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.
< / p >
2020-02-26 17:23:57 +01:00
2020-10-03 21:05:10 +02:00
## License
2020-02-26 17:23:57 +01:00
2021-01-21 11:58:52 +01:00
License information can be found [here ](../Licensing/LICENSE.md ).
2020-08-25 22:21:01 +02:00
2020-10-03 21:05:10 +02:00
## Security
2020-08-25 22:21:01 +02:00
2021-01-21 11:58:52 +01:00
Security information can be found found [here ](../SECURITY.md ).
2020-09-17 18:27:38 +02:00
2020-10-03 21:05:10 +02:00
## Statistics
[![bStats Graph Data ](https://bstats.org/signatures/server-implementation/Yatopia.svg )](https://bstats.org/plugin/server-implementation/Yatopia)
2020-09-17 18:27:38 +02:00
2020-09-17 21:15:52 +02:00
Made with < span style = "color: #e25555 ;" > ♥ </ span > on Earth.