mirror of
https://github.com/YatopiaMC/Yatopia.git
synced 2024-09-12 15:48:47 +02:00
[ci-skip] add yatopia API
This commit is contained in:
parent
d6eac016df
commit
da467fa2ea
26
README.md
26
README.md
@ -87,6 +87,32 @@ ## Building and setting up ##
|
|||||||
|
|
||||||
If you are repatching you need to delete `Yatopa-API` and `Yatopia-Server` folders.
|
If you are repatching you need to delete `Yatopa-API` and `Yatopia-Server` folders.
|
||||||
|
|
||||||
|
## Using Yatopia-API ##
|
||||||
|
|
||||||
|
To build your plugin against the Yatopia-API,
|
||||||
|
First add the CodeMC maven repository:
|
||||||
|
```xml
|
||||||
|
<repositories>
|
||||||
|
<!-- CodeMC -->
|
||||||
|
<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>net.yatopia</groupId>
|
||||||
|
<artifactId>yatopia-api</artifactId>
|
||||||
|
<version>1.16.2-R0.1-SNAPSHOT</version>
|
||||||
|
<scope>provided</scope>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
```
|
||||||
|
|
||||||
## Why are there not many API additions ##
|
## Why are there not many API additions ##
|
||||||
|
|
||||||
(Modified from [starlis/empirecraft](https://github.com/starlis/empirecraft/))
|
(Modified from [starlis/empirecraft](https://github.com/starlis/empirecraft/))
|
||||||
|
Loading…
Reference in New Issue
Block a user