A simple server status checker for minecraft written in python
# Example
> python ./mc_server_check.py -ip mc.hypixel.net --port 25565
Arguments | Description | Notes |
---|---|---|
-ip | Server address | |
--port | Server address port | Optional - Defaults to 25565 |
# Successful
> python ./mc_server_check.py -ip mc.hypixel.net
The server is up and running
# No server found
> python ./mc_server_check.py -ip someserver.com
The server is offline or doesn´t exist
# The server is probably alive but not responding
> python ./mc_server_check.py -ip anotherserver.net
Warning: the connection timed out
# No internet connection
> python ./mc_server_check.py -ip mc.hypixel.net
Error: check your internet connection and try again
# Something went wrong when testing the connection
> python ./mc_server_check.py -ip mc.hypixel.net
Error: couldn´t ping the server. Return code: XY
# Wrong syntax
> python ./mc_server_check.py -address mc.hypixel.net -port
Error: please use the correct syntax: python ./mc_server_check.py -ip <address> [OPTIONAL: --port <port>]