Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
max1mde authored Nov 1, 2023
1 parent 932ecc0 commit 7c42934
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<div align="center">
<h1>LabyMod Server API</h1>
<p>1.20.2<p>
<p>Original: https://www.spigotmc.org/resources/92724/</p>
</div>


# Usage

For example set a server banner (tablist) & send a player to a different minecraft server
```java
LabyModAPI labyModAPI = LabyModAPI.getInstance();

labyModAPI.sendServerBanner(player, "https://yourdomain.com/image.png");
labyModAPI.sendClientToServer(player, "Your title", "nextfight.net", true);
```

0 comments on commit 7c42934

Please sign in to comment.