Cockatrice
2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
Toggle main menu visibility
Loading...
Searching...
No Matches
serverinfo_ban.proto
Go to the documentation of this file.
1
syntax
=
"proto2"
;
2
/*
3
* Historical ban information stored in the ban table
4
*/
5
message
ServerInfo_Ban
{
6
required
string
admin_id
= 1;
// id of the staff member placing the ban
7
required
string
admin_name
= 2;
// name of the staff member placing the ban
8
required
string
ban_time
= 3;
// start time of the ban
9
required
string
ban_length
= 4;
// amount of time in minutes the ban is for
10
optional
string
ban_reason
= 5;
// reason seen only by moderation staff
11
optional
string
visible_reason
= 6;
// reason shown to the user
12
}
syntax
syntax
Definition
admin_commands.proto:1
ServerInfo_Ban
Definition
serverinfo_ban.proto:5
ServerInfo_Ban::ban_reason
optional string ban_reason
reason seen only by moderation staff
Definition
serverinfo_ban.proto:10
ServerInfo_Ban::visible_reason
optional string visible_reason
reason shown to the user
Definition
serverinfo_ban.proto:11
ServerInfo_Ban::ban_length
required string ban_length
amount of time in minutes the ban is for
Definition
serverinfo_ban.proto:9
ServerInfo_Ban::admin_id
required string admin_id
id of the staff member placing the ban
Definition
serverinfo_ban.proto:6
ServerInfo_Ban::ban_time
required string ban_time
start time of the ban
Definition
serverinfo_ban.proto:8
ServerInfo_Ban::admin_name
required string admin_name
name of the staff member placing the ban
Definition
serverinfo_ban.proto:7
libcockatrice_protocol
libcockatrice
protocol
pb
serverinfo_ban.proto
Generated by
1.18.0