StressTester
StressTester
StressTester is a simple program which allows you to spawn a configurable amount of fake clients and have them join your server. It comes with a few configurable launch options

  • -host (hostname) | Sets the hostname that the bots will connect to
  • -port (port) | Sets the port which the bots will connect to
  • -amount (amount) | Sets the amount of bots it will spawn
  • -delay (seconds) | Sets the delay between each bot joining
Your server must be in offline mode and your delay must be higher than your connection throttle. For best results, do not run this on the machine that hosts your server.

Example Usage
java -jar stresstester.jar -host localhost -port 25565 -amount 20 -delay 5

Now introducing scripting!
This is just a small preview of what is to come, and only includes 3 commands; quit, sleep, and say.

NOTICE:
Loading a script may not work in windows, as the filesystem is different than Unix (Which all my machines run). I'm unable to test on windows, so if you run into any bugs, please let me know.

How it works:
Each bot starts running their own copy of the script once it joins the server. When the script is done and not ended with a 'quit', the bot will just sit there as normal.

Example Launch Command:
java -jar stresstester.jar -debug -host localhost -amount 5 -delay 5 -script scriptpath.txt

Command Overview
quit - Will disconnect the current bot
sleep (#) - Will delay the running of the following command by # seconds.
say (long message or command) - Will cause the bot to send the message after 'say '. Add a slash to turn it into a command.

Example Script:
say Hello World!
sleep 5
say I'm saying this 5 seconds after I said Hello World!
sleep 5
say /spawn
say Goodbye World!
quit

Latest reviews

wow!
BlackSpigot General Chat
Rules Help Users
    L @ LEGENDS_GOD420_: anyone have customitem plugin i really need it
    Top