Automate the stress testing of a Minecraft server network using bots
Java 100.0%
9 1 0

Clone this repository

https://tangled.org/keii.dev/minecraft-stress-test
git@tangled.org:keii.dev/minecraft-stress-test

For self-hosted knots, clone URLs may differ based on your setup.

README.md

minecraft-stress-test#

Automate the stress testing of your 1.18 Minecraft server with bots. This project will log offline-mode bots into the specified server which will fly around and explore the world.

Building#

Download the source code with

git clone https://github.com/PureGero/minecraft-stress-test.git

Build the source code with

mvn

Running#

Ensure the following values are set in your server.properties:

online-mode=false
allow-flight=true

Run the bot with

java -jar target/minecraft-stress-test-1.0.0-SNAPSHOT-jar-with-dependencies.jar

Or, specify optional parameters:

java
    -Dbot.count=1
    -Dbot.ip=127.0.0.1
    -Dbot.port=25565
    -Dbot.login.delay.ms=100
    -Dbot.radius=1000
    -jar target/minecraft-stress-test-1.0.0-SNAPSHOT-jar-with-dependencies.jar

Note that bots are unable to respawn, we recommend giving them creative mode.