A tool to stress test Minecraft servers by simulating numerous bot connections, helping identify performance bottlenecks and stability issues.
-
Disable Online Mode & Encryption: Ensure that
online-mode=false
in your server'sserver.properties
file. This is crucial for Botmark to connect as it simulates offline-mode clients. (Warning: only do this in a test environment). -
Run Botmark: Use the following command in your terminal, adjusting the arguments as needed:
./botmark --ip <ip:port> --count <bot-count> [OPTIONS]
Here's a detailed breakdown of all available command-line arguments:
-
--ip <ip:port>
(Required):- The IP address and port of the Minecraft server to stress test.
- Example:
127.0.0.1:25565
orexample.com:25565
-
-c, --count <bot-count>
(Optional, Default:1
):- The number of bots to simulate connecting to the server.
- Example:
--count 50
-
-d, --delay <delay>
(Optional, Default:200
):- The delay (in milliseconds) between each bot connection.
- Example:
--delay 100
(100 milliseconds delay)
-
--spam_message "<message>"
(Optional):- Will send a Chat message with the specefied
spam_message_delay
. - Example:
--spam_message "Hello, I'm a Robot"
- Will send a Chat message with the specefied
-
--spam_message_delay <delay>
(Optional, Default:210
):- The delay (in milliseconds) between spam message.
- Example:
--spam_message_delay 100
(100 milliseconds delay)