Updated Server setup (markdown)

TheMode 2020-05-10 19:40:27 +02:00
parent 4a51677eb6
commit 5bdcf48774

@ -16,14 +16,7 @@ Here is a correct example:
PlayerInit.init(); PlayerInit.init();
// Create the ResponseDataConsumer and start the server // Create the ResponseDataConsumer and start the server
minecraftServer.start("localhost", 55555, (playerConnection, responseData) -> { minecraftServer.start("localhost", 55555);
responseData.setName("1.15.2");
responseData.setProtocol(578);
responseData.setMaxPlayer(100);
responseData.setOnline(MinecraftServer.getConnectionManager().getOnlinePlayers().size());
responseData.setDescription("Test Minestom server");
responseData.setFavicon("data:image/png;base64,<data>");
});
} }
``` ```