Skip to content

Instantly share code, notes, and snippets.

Avatar
🙃
i have no idea what im doing

Alex GreenXenith

🙃
i have no idea what im doing
View GitHub Profile
@GreenXenith
GreenXenith / loadtester.sh
Created Feb 9, 2019
Minetest Server Tester
View loadtester.sh
#!/bin/bash
COUNT=0
while [[ $COUNT -ne 50 ]]; do
# Run minetest directly to server and free terminal input (&)
./minetest --go --address 123.456.78.9 --port 30000 --name 'LoadTester'$COUNT --password 'password123' &
# Record PID
PID=$!
sleep 0.5
# Get window id
while [ "$WID" == "" ]; do