Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 1.72 KB

README.md

File metadata and controls

19 lines (12 loc) · 1.72 KB

mc-server-pinger

License Test Crates.io GitHub release (latest by date)

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