Yatopia/README.md

131 lines
4.3 KiB
Markdown
Raw Normal View History

2020-12-02 16:55:51 +01:00
<img width="200" src="https://yatopiamc.org/static/img/yatopia-shiny.gif" alt="Yatopia" align="right">
<div align="left">
<h1>Yatopia</h1>
2020-08-03 21:34:41 +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/)
[![Discord](https://img.shields.io/discord/342814924310970398?color=%237289DA&label=Discord&logo=discord&logoColor=white)](https://discord.gg/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)
<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
## So what is Yatopia?
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
* [Akarin](https://github.com/Akarin-project/Akarin)
* [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)
* [Airplane](https://github.com/Technove/Airplane)
* [Cadmium](https://github.com/LucilleTea/cadmium-fabric)
* [Tic-Tacs](https://github.com/Gegy/tic-tacs)
## 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).
## Documentation
2020-09-17 17:21:10 +02: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
## 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
./gradlew initGitSubmodules
./gradlew setupUpstream
./gradlew applyPatches
./gradlew paperclip
2020-02-26 17:23:57 +01:00
```
2020-09-17 17:21:10 +02:00
## Using Yatopia-API
2020-09-17 21:26:13 +02:00
To build your plugin against the Yatopia-API, first add the CodeMC maven repository:
# 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>
<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>
```
# 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")
}
```
## 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>
2021-04-16 21:09:41 +02:00
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.
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
## License
2020-02-26 17:23:57 +01:00
2021-03-09 22:01:41 +01:00
License information can be found [here](/Licensing/LICENSE.md).
2020-08-25 22:21:01 +02:00
## Security
2020-08-25 22:21:01 +02:00
2021-04-16 20:43:28 +02:00
Security information can be found [here](/SECURITY.md).
2020-09-17 18:27:38 +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;">&#9829;</span> on Earth.