+1
-1
README.md
+1
-1
README.md
···
1
1
# minecraft-stress-test
2
2
3
-
Automate the stress testing of your 1.20.6 Minecraft server with bots.
3
+
Automate the stress testing of your 1.21 Minecraft server with bots.
4
4
This project will log offline-mode bots into the specified server which will
5
5
fly around and explore the world.
6
6
+1
-1
src/main/java/com/github/puregero/minecraftstresstest/Bot.java
+1
-1
src/main/java/com/github/puregero/minecraftstresstest/Bot.java
···
14
14
15
15
16
16
public class Bot extends ChannelInboundHandlerAdapter {
17
-
private static final int PROTOCOL_VERSION = Integer.parseInt(System.getProperty("bot.protocol.version", "766")); // 761 is 1.19.3 https://wiki.vg/Protocol_version_numbers
17
+
private static final int PROTOCOL_VERSION = Integer.parseInt(System.getProperty("bot.protocol.version", "767")); // 767 is 1.21 https://wiki.vg/Protocol_version_numbers
18
18
private static final double CENTER_X = Double.parseDouble(System.getProperty("bot.x", "0"));
19
19
private static final double CENTER_Z = Double.parseDouble(System.getProperty("bot.z", "0"));
20
20
private static final boolean LOGS = Boolean.parseBoolean(System.getProperty("bot.logs", "true"));