mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-12 09:04:53 -07:00
Added the ability or moderation staff to request user ban history
This commit is contained in:
parent
3bc61eb2e9
commit
90cb890cc2
17 changed files with 140 additions and 4 deletions
12
common/pb/serverinfo_ban.proto
Normal file
12
common/pb/serverinfo_ban.proto
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
syntax = "proto2";
|
||||
/*
|
||||
* Historical ban information stored in the ban table
|
||||
*/
|
||||
message ServerInfo_Ban {
|
||||
required string admin_id = 1; // id of the staff member placing the ban
|
||||
required string admin_name = 2; // name of the staff member placing the ban
|
||||
required string ban_time = 3; // start time of the ban
|
||||
required string ban_length = 4; // amount of time in minutes the ban is for
|
||||
optional string ban_reason = 5; // reason seen only by moderation staff
|
||||
optional string visible_reason = 6; // reason shown to the user
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue