···1# minecraft-stress-test
23-Automate the stress testing of your 1.19.2 Minecraft server with bots.
4This project will log offline-mode bots into the specified server which will
5fly around and explore the world.
6···55Set the bot count to 1000. This will either connect more bots, or disconnect existing bots as needed.
5657`speed 0.2`
58-Set the bots' movement speed. The default is 0.2 blocks/tick.
000
···1# minecraft-stress-test
23+Automate the stress testing of your 1.19.3 Minecraft server with bots.
4This project will log offline-mode bots into the specified server which will
5fly around and explore the world.
6···55Set the bot count to 1000. This will either connect more bots, or disconnect existing bots as needed.
5657`speed 0.2`
58+Set the bots' movement speed. The default is 0.1 blocks/tick.
59+60+`radius 600`
61+Set the radius of the area the bots can move around in. The default is 1000 blocks.
···1+package com.github.puregero.minecraftstresstest;
2+3+public final class PacketIds {
4+ private PacketIds() {}
5+6+ public static final class Clientbound {
7+ private Clientbound() {}
8+9+ public static final class Login {
10+ private Login() {}
11+ public static final int
12+ DISCONNECT = 0x00,
13+ LOGIN_SUCCESS = 0x02,
14+ SET_COMPRESSION = 0x03;
15+ }
16+17+ public static final class Play {
18+ private Play() {}
19+ public static final int
20+ DISCONNECT = 0x17,
21+ KEEP_ALIVE = 0x1F,
22+ PING = 0x2E,
23+ SYNCHRONIZE_PLAYER_POSITION = 0x38,
24+ RESOURCE_PACK = 0x3C;
25+ }
26+27+ }
28+29+ public static final class Serverbound {
30+ private Serverbound() {}
31+32+ public static final class Handshaking {
33+ private Handshaking() {}
34+ public static final int
35+ HANDSHAKE = 0x00;
36+ }
37+38+ public static final class Login {
39+ private Login() {}
40+ public static final int
41+ LOGIN_START = 0x00;
42+ }
43+44+ public static final class Play {
45+ private Play() {}
46+ public static final int
47+ CONFIRM_TELEPORTATION = 0x00,
48+ CLIENT_INFORMATION = 0x07,
49+ KEEP_ALIVE = 0x11,
50+ SET_PLAYER_POSITION_AND_ROTATION = 0x14,
51+ PONG = 0x1F,
52+ RESOURCE_PACK = 0x24;
53+ }
54+55+ }
56+57+}