mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-05-06 15:27:28 +00:00
* feat: initial minetest support * move player to master, remove comments * add markdown lines * oops, change player namespace * fix some edge cases * add entry to responses, tweak field names
19 KiB
19 KiB
Every protocol has its own response type(s), below is a listing of the overlapping fields on these responses.
If a cell is blank it doesn't exist, otherwise it contains the type of that data in the current column's response type. In the case that a field that performs the same function exists in the current column's response type that name is annotated in brackets.
Response table
| Field | Generic | GameSpy(1) | GameSpy(2) | GameSpy(3) | Minecraft(Java) | Minecraft(Bedrock) | Valve | Quake | Unreal2 | Epic | Proprietary: FFOW | Proprietary: TheShip | Proprietary: JC2MP | Proprietary: Savage 2 | Proprietary: Minetest |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| name | Option |
String |
String |
String |
String |
String |
String |
String |
String |
String |
String |
String |
String |
String |
|
| description | Option |
String |
String |
String |
String |
||||||||||
| game_mode | Option |
String |
String |
Option |
String |
String |
String |
String |
String |
||||||
| game_version | Option |
String |
String |
String |
String |
String |
String |
String |
String |
String |
String |
||||
| map | Option |
String |
String |
String |
Option |
String |
String |
String |
String |
String |
String |
String |
|||
| players_maxmimum | u32 |
u32 |
u32 |
u32 |
u32 |
u32 |
u8 |
u8 |
u32 |
u32 |
u8 |
u8 |
u32 |
u8 |
u32 |
| players_online | u32 |
u32 |
u32 |
u32 |
u32 |
u32 |
u8 |
u8 |
u32 |
u32 |
u8 |
u8 |
u32 |
u8 |
u32 |
| players_bots | Option |
u8 |
u8 |
||||||||||||
| has_password | Option |
bool |
bool |
bool |
bool |
bool |
bool |
bool |
bool |
Option |
|||||
| players_minimum | Option |
Option |
Option |
u8 |
|||||||||||
| players | Vec |
Vec |
Vec |
Option> |
Option> |
Vec |
Vec |
Vec |
Vec |
Vec |
Vec |
||||
| tournament | bool |
bool |
|||||||||||||
| unused_entries | Hashmap |
HashMap |
HashMap |
||||||||||||
| teams | Vec |
Vec |
|||||||||||||
| protocol_version | i32 |
String |
u8 |
u8 |
u8 |
String |
|||||||||
| server_type | Server |
Server |
Server |
Server |
|||||||||||
| rules | Option> |
HashMap> |
HashMap |
||||||||||||
| environment_type | Environment |
Environment |
|||||||||||||
| vac_secured | bool |
bool |
bool |
||||||||||||
| map_title | Option |
||||||||||||||
| admin_contact | Option |
||||||||||||||
| admin_name | Option |
||||||||||||||
| favicon | Option |
||||||||||||||
| previews_chat | Option |
||||||||||||||
| enforces_secure_chat | Option |
||||||||||||||
| edition | String |
||||||||||||||
| id | String |
String |
String |
||||||||||||
| the_ship | Option |
||||||||||||||
| is_mod | bool |
||||||||||||||
| extra_data | Option |
||||||||||||||
| mod_data | Option |
||||||||||||||
| folder | String |
||||||||||||||
| appid | u32 |
||||||||||||||
| active_mod | String |
||||||||||||||
| round | u8 |
||||||||||||||
| rounds_maximum | u8 |
||||||||||||||
| time_left | u16 |
||||||||||||||
| port | u32 |
Option |
u32 |
||||||||||||
| steam_id | Option |
||||||||||||||
| tv_port | Option |
||||||||||||||
| tv_name | Option |
||||||||||||||
| keywords | Option |
||||||||||||||
| mode | u8 |
||||||||||||||
| witnesses | u8 |
||||||||||||||
| duration | u8 |
||||||||||||||
| query_port | u32 |
||||||||||||||
| ip | String |
String |
|||||||||||||
| mutators | HashSet |
||||||||||||||
| next_map | String |
||||||||||||||
| location | String |
||||||||||||||
| level_minimum | String |
||||||||||||||
| time | String |
||||||||||||||
| creative | Option |
||||||||||||||
| damage | bool |
||||||||||||||
| game_time | u32 |
||||||||||||||
| lag | Option |
||||||||||||||
| proto_max | u16 |
||||||||||||||
| proto_min | u16 |
||||||||||||||
| pvp | bool |
||||||||||||||
| uptime | u32 |
||||||||||||||
| url | Option |
||||||||||||||
| update_time | u32 |
||||||||||||||
| start | u32 |
||||||||||||||
| clients_top | u32 |
||||||||||||||
| updates | u32 |
||||||||||||||
| pop_v | f32 |
||||||||||||||
| geo_continent | Option |
||||||||||||||
| ping | f32 |