2020-11-05 16:51:20 +00:00
|
|
|
syntax="proto3";
|
|
|
|
|
2021-01-08 15:54:54 +00:00
|
|
|
package mcstatus.protobuf;
|
2020-11-05 16:51:20 +00:00
|
|
|
|
2021-01-08 15:54:54 +00:00
|
|
|
option go_package = "git.0cd.xyz/michael/mcstatus/mcstatuspb";
|
2020-11-05 16:51:20 +00:00
|
|
|
|
|
|
|
message Response {
|
|
|
|
message Version {
|
|
|
|
string name = 1;
|
|
|
|
int32 protocol = 2;
|
|
|
|
}
|
|
|
|
Version version = 1;
|
|
|
|
message Players {
|
|
|
|
int32 max = 1;
|
|
|
|
int32 online = 2;
|
|
|
|
message Sample {
|
|
|
|
string name = 1;
|
|
|
|
string id = 2;
|
|
|
|
}
|
|
|
|
repeated Sample sample = 3;
|
|
|
|
}
|
|
|
|
Players players = 2;
|
|
|
|
message Description {
|
2020-12-15 21:13:50 +00:00
|
|
|
message Extra {
|
|
|
|
string text = 1;
|
|
|
|
}
|
|
|
|
repeated Extra extra = 1;
|
|
|
|
string text = 2;
|
2020-11-05 16:51:20 +00:00
|
|
|
}
|
|
|
|
Description description = 3;
|
|
|
|
string favicon = 4;
|
|
|
|
}
|