You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/pages/server/index.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,6 +45,7 @@ Depending on the actual artifact you want to use, you have to add the following
45
45
-`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.
46
46
-`server-bukkit` - The platform-specific implementation of the LabyMod Protocol for Servers running on Bukkit (Spigot, Paper, etc.).
47
47
-`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.
48
49
-`server-velocity` - The platform-specific implementation of the LabyMod Protocol for Servers running on Velocity.
49
50
-`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.
50
51
@@ -141,6 +142,15 @@ Server API run as a separate plugin.
141
142
```
142
143
4. You're now ready to use the LabyMod 4 Server API in your BungeeCord plugin.
143
144
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.
0 commit comments