extends |
Gamespy3 |
---|
Minecraft Protocol Class Thanks to https://github.com/xPaw/PHP-Minecraft-Query for helping me realize this is Gamespy 3 Protocol. Make sure you enable the items below for it to work. Information from original author: Instructions Before using this class, you need to make sure that your server is running GS4 status listener. Look for those settings in server.properties: enable-query=true query.port=25565
Methods inherited from GameQ\Protocols\Gamespy3 |
---|
challengeParseAndApply(), processResponse(), cleanPackets(), processDetails(), processPlayersAndTeams() |
Methods inherited from GameQ\Protocol |
---|
__construct(), __toString(), portDiff(), findQueryPort(), joinLink(), name(), nameLong(), state(), getProtocol(), transport(), options(), getPacket(), packetResponse(), hasChallenge(), challengeApply(), getNormalize(), beforeSend(), |
Properties | |||
---|---|---|---|
protected
|
string
|
$name = 'minecraft'
|
# |
protected
|
string
|
$name_long = "Minecraft"
|
# |
protected
|
string
|
$join_link = "minecraft://%s:%d/"
|
# |
protected
|
array
|
$normalize = [
'general' => [
'dedicated' => 'dedicated',
'gametype' => 'game_id',
'hostname' => 'hostname',
'mapname' => 'map',
'maxplayers' => 'maxplayers',
'numplayers' => 'numplayers',
'password' => 'password',
],
'player' => ['name' => 'player'],
]
|
# |
Properties inherited from GameQ\Protocols\Gamespy3 |
---|
$packets, $protocol, $packetSplit |
Properties inherited from GameQ\Protocol |
---|
$port_diff, $transport, $responses, $process_methods, $packets_response, $result, $options, $state, |