Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Use Server List Ping for auto-shutdown instead of query #37
Query is not enabled by default, and may not be supported by alternate server implementations. Why not use the standard 1.7+ server list ping first, and then fallback to query?
At the time of writing 1.7 and the 1.7 server list ping were new, and it was fragile supporting old ping protocols (server doesn't respond if you don't follow its protocol, so you set a timeout, then try another protocol version). The query protocol seemed nice because it has remained unchanged
It's been over a year and probably most servers are on 1.7+ now, so I'll look into supporting that. Should be straightforward but probably low priority as I want to focus on scheduling asap