A Shulker Agent implementation for the Minestom Minecraft server.
Important
Shulker for Minestom only supports the Velocity proxy, however it would be simple to include Bungeecord support.
git clone https://github.com/miners-online/shulker-for-minestom.git
./gradlew shadowJar
Once complete, this will output a Shulker for Minestom-1.0-SNAPSHOT-all.jar
file inside the build/libs
directory.
- Import the previous jar
- Create the following test server:
import uk.minersonline.shulker_for_minestom.ShulkerBootstrap;
public class TestServer {
public static void main(String[] args) {
ShulkerBootstrap.init();
// Do whatever you need here, e.g. listen for the `AsyncPlayerConfigurationEvent` event.
ShulkerBootstrap.start();
}
}
- Modify it to add your own functionality
Shulker for Minestom "pretends" to be a standard Paper server. It does this by:
- reading standard
server.properties
andpaper-global.yml
files. Thees files are essential for a standard Paper server to work behind a proxy. - behaving the same way to fields inside those files as a standard Paper server.
- implementing a custom Shulker Agent, so Shulker is aware of the Minestom server.