{"repo":"xrjr/mcutils","free":true,"listed":false,"github":"https://github.com/xrjr/mcutils","clone":"git clone https://github.com/xrjr/mcutils.git","description":"Implementation of Minecraft protocols in Go : ping, query, rcon and bedrock ping.","language":"Go","stars":26,"topics":["minecraft","protocols","ping","query","rcon","go","golang","bedrock"],"license":"MIT","category":"game-templates","readme_excerpt":"mcutils - Implementation of Minecraft protocols in Go Informations General All protocols are implemented in pure Go, without any external dependency besides stdlib. All protocols should be supported on any platform/architecture as long as Go can compile them. All protocols have been implemented using minecraft.wiki. All of them are 100% compliant with the standard described there. This project also contains an helper in communication with tcp/udp, called pkg/networking . While it is published as a package, it is primarly used in this library and its API should not be considered stable. Supported protocols - Ping (Server List Ping) - Query - Rcon - Bedrock Ping All protocols implementations support SRV record resolving. Rcon implementation supports fragmented response packets. Ping protocol changed in 1.7 in a non-backwards compatible way. Both modern and legacy SLP protocols are supported. CLI Install Usage Show usage How to use (simple way) ? Ping Query Rcon Bedrock ping How to use (full control way) ? Ping Query Rcon Bedrock Ping Customize client parameters Each protocol client is created with reasonable defaults, but you may need to adapt them to your very own requirements. For example, you may want to customize timeouts or skip the SRV lookup. Explore exported fields of clients to see more. Note on SRV resolving All clients are created with a default option that performs SRV resolving, besides bedrock one. This is because there is no such SRV records mechanism on bedrock ","default_branch":null,"files":null,"tree":[],"storefront":"/r/xrjr","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/xrjr/mcutils/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}