6 releases
0.1.0-alpha.6 | Nov 16, 2021 |
---|---|
0.1.0-alpha.4 | Mar 12, 2021 |
0.1.0-alpha.3 | Mar 10, 2021 |
0.1.0-alpha.2 | Mar 8, 2021 |
#66 in #minecraft-server
14KB
174 lines
mc-server-pinger
Description
Command line utility for pinging Minecraft servers via Server List Ping protocol.
Usage
Short syntax is mc-server-pinger <hostname>
.
The following options can be specified:
Full name | Short name | Type | Default value (if available) | Description |
---|---|---|---|---|
flavor |
f |
One of status_code |
status_code |
Flavor of the output: - status_code : terminates with zero code if ping is successful and non-zero code otherwise |
port |
p |
Integer in range [0; 65535] |
25565 |
Port of the server |
timeout |
t |
<value><units> where value is an integer and units is one of ns , us , ms , s |
5s |
Timeout after which the request should be considered failed |
Dependencies
~5–13MB
~156K SLoC