mirror of
https://github.com/YatopiaMC/Yatopia.git
synced 2025-02-27 09:42:45 +01: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.
|
||||
|
||||
## 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 ##
|
||||
|
||||
(Modified from [starlis/empirecraft](https://github.com/starlis/empirecraft/))
|
||||
|
Loading…
Reference in New Issue
Block a user