gradle fix

This commit is contained in:
2023-04-14 00:21:57 +02:00
commit 78e8c35200
12 changed files with 439 additions and 0 deletions

13
src/main/java/Main.java Normal file
View File

@@ -0,0 +1,13 @@
import net.minestom.server.MinecraftServer;
public class Main {
public static void main(String[] args) {
// Initialize the server
MinecraftServer minecraftServer = MinecraftServer.init();
// REGISTER EVENTS (set spawn instance, teleport player at spawn)
// Start the server
minecraftServer.start("0.0.0.0", 25565);
}
}