You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix crash with one command-line argument
* implement ping() on BedrockServer
simply measures the latency of status()
* support Bedrock servers in CLI
done in a slightly ad-hoc way, but this is the best
we can do given the split of the response types.
* print server kind and tweak player sample printing
* JavaServer ping() doesn't work?
* fix precommit warnings
* review: remove Bedrock ping()
* review: change CLI ping comment to be more permanent
* review: formalise hostip/hostport within QueryResponse
* review: only squash traceback in common errors
* review: leading line break for multi-line motd
* Revert "review: formalise hostip/hostport within QueryResponse"
This reverts commit 3a0ee8c.
* review: use motd.to_minecraft() in json
* review amendment: factor out motd line breaking
* review: refactor CLI json() to use dataclasses.asdict()
* amendment: add NoNameservers and remove ValueError from squashed errors
ValueError might be thrown by programming errors in
json handling, for example.
* review: fallback logic in CLI ping
since this runs both ping() then status(), it can report
precisely when one fails and the other succeeds.
some kludgy logic to switch bedrock too.
* review: use ip/port fields in CLI's JSON output
in anticipation of #536
Co-authored-by: Perchun Pak <github@perchun.it>
* review: avoid kind() classmethod
* review: clarify MOTD serialisation comment
* review: simplify ping fallback logic
Co-authored-by: Perchun Pak <github@perchun.it>
* make version consistent between status and query
* review: apply simplify() to motd in CLI JSON output
Co-authored-by: Perchun Pak <github@perchun.it>
* review: use separate JSON field for simplified MOTD
* review: remove MOTD fixup comment
* review: update README with new CLI
* review: no raw motd
* no --help output in readme
* review: allow main() with no arguments
* Update mcstatus/__main__.py
Co-authored-by: Kevin Tindall <kevinkjt2000@users.noreply.github.com>
* avoid json collision
* oops! good linter
* drike review
* good linter
* one more ci failure and i turn on the computer
* also squash ConnectionError
happens during server startup, for example
---------
Co-authored-by: Perchun Pak <github@perchun.it>
Co-authored-by: Kevin Tindall <kevinkjt2000@users.noreply.github.com>
0 commit comments