A single Paper plugin containing multiple independently organized features for Minecraft Java Edition 26.2.
- Java 25
- A Minecraft Java Edition 26.2 client
.\gradlew.bat runServerOn the first run, Paper creates run/eula.txt and exits. Review the
Minecraft EULA, change eula=false to
eula=true if you agree, and run the command again.
Connect from Minecraft using the server address localhost.
.\gradlew.bat buildThe plugin JAR is written to build/libs.
Each event-based feature is a class in
src/main/java/dev/whileloop/minecraftplugins/features that implements
Paper's Listener interface. Add an instance of the class to the features
list in MinecraftPlugins.java. The single runServer task builds and loads
all listed features as one plugin JAR.