Skip to content

Commit 639e845

Browse files
authored
feat: minestom (#24)
1 parent ad139ab commit 639e845

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/pages/server/index.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ Depending on the actual artifact you want to use, you have to add the following
4545
- `core` - The LabyMod implementation of the protocol, containing all packets and models to interact with the LabyMod client. Use this if you want to communicate with the LabyMod 4 Server API platform-independently.
4646
- `server-bukkit` - The platform-specific implementation of the LabyMod Protocol for Servers running on Bukkit (Spigot, Paper, etc.).
4747
- `server-bungeecord` - The platform-specific implementation of the LabyMod Protocol for Servers running on BungeeCord.
48+
- `server-minestom` - The platform-specific implementation of the LabyMod Protocol for Servers running on Minestom.
4849
- `server-velocity` - The platform-specific implementation of the LabyMod Protocol for Servers running on Velocity.
4950
- `server-common` - Contains shared classes and utilities used across different server implementations to ensure consistent behavior and reduce code duplication. Use this if you want to create your own platform implementation.
5051

@@ -141,6 +142,15 @@ Server API run as a separate plugin.
141142
```
142143
4. You're now ready to use the LabyMod 4 Server API in your BungeeCord plugin.
143144

145+
### Minestom Library
146+
147+
1. Add the `server-minestom` dependency to your project's dependencies as described above.
148+
2. Initialize the LabyMod 4 Server API before you call `MinecraftServer#start`:
149+
```java
150+
LabyModProtocolService.initialize();
151+
```
152+
3. You're now ready to use the LabyMod 4 Server API in your Minestom server.
153+
144154
### Velocity Plugin
145155

146156
#### Running the Server API as a Plugin

0 commit comments

Comments
 (0)