Documentation ¶
Overview ¶
Package query implements the UT3 query protocol as described on http://wiki.unrealadmin.org/UT3_query_protocol. It is composed of a handshake, followed by data sent by the server that responds to a query sent by the client. This UT3 query protocol is used by most Minecraft related servers. Package query specialises on Minecraft Bedrock Edition related queries. Querying other types of game servers is not guaranteed to work.
Where some server softwares (most common public ones) support this query protocol, others do not. A different kind of 'query', which is supported by all servers, may be performed using the go-raknet library.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Do ¶
Do queries a server at the address passed using the UT3 query protocol. If the server responds, a map containing information is returned. Note that some servers do not support querying, in which case the query will time out. Do will take at most five seconds to try and get the query information.
Types ¶
This section is empty.