mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-01 02:53:56 -07:00
Added official warning messages moderators can use to inform users
This commit is contained in:
parent
1409b97490
commit
6ad2a59367
23 changed files with 429 additions and 7 deletions
|
|
@ -3,6 +3,9 @@ message ModeratorCommand {
|
|||
enum ModeratorCommandType {
|
||||
BAN_FROM_SERVER = 1000;
|
||||
BAN_HISTORY = 1001;
|
||||
WARN_USER = 1002;
|
||||
WARN_HISTORY = 1003;
|
||||
WARN_LIST = 1004;
|
||||
}
|
||||
extensions 100 to max;
|
||||
}
|
||||
|
|
@ -24,4 +27,30 @@ message Command_GetBanHistory {
|
|||
optional Command_GetBanHistory ext = 1001;
|
||||
}
|
||||
optional string user_name = 1;
|
||||
}
|
||||
|
||||
message Command_WarnUser {
|
||||
extend ModeratorCommand {
|
||||
optional Command_WarnUser ext = 1002;
|
||||
}
|
||||
|
||||
optional string user_name = 1;
|
||||
optional string reason = 2;
|
||||
optional string clientid = 3;
|
||||
}
|
||||
|
||||
message Command_GetWarnHistory {
|
||||
extend ModeratorCommand {
|
||||
optional Command_GetWarnHistory ext = 1003;
|
||||
}
|
||||
optional string user_name = 1;
|
||||
}
|
||||
|
||||
message Command_GetWarnList {
|
||||
extend ModeratorCommand {
|
||||
optional Command_GetWarnList ext = 1004;
|
||||
}
|
||||
optional string mod_name = 1;
|
||||
optional string user_name = 2;
|
||||
optional string user_clientid = 3;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue