mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 00:04:48 -07:00
moderators can override game restrictions and kick players when spectating; game host privileges shift when host leaves
This commit is contained in:
parent
bca7b6414b
commit
c7ef61f750
22 changed files with 165 additions and 90 deletions
|
|
@ -15,7 +15,7 @@
|
|||
0:join_room:i,room_id
|
||||
1:leave_room
|
||||
1:room_say:s,message
|
||||
1:join_game:i,game_id:s,password:b,spectator
|
||||
1:join_game:i,game_id:s,password:b,spectator:b,override_restrictions
|
||||
2:kick_from_game:i,player_id
|
||||
2:leave_game
|
||||
2:say:s,message
|
||||
|
|
@ -47,6 +47,7 @@
|
|||
3:say:s,message
|
||||
3:leave
|
||||
3:game_closed
|
||||
3:game_host_changed
|
||||
3:kicked
|
||||
3:shuffle
|
||||
3:roll_die:i,sides:i,value
|
||||
|
|
@ -69,7 +70,7 @@
|
|||
4:server_shutdown:s,reason:i,minutes
|
||||
4:connection_closed:s,reason
|
||||
4:message:s,sender_name:s,receiver_name:s,text
|
||||
4:game_joined:i,game_id:s,game_description:i,player_id:b,spectator:b,spectators_can_talk:b,spectators_see_everything:b,resuming
|
||||
4:game_joined:i,game_id:s,game_description:i,host_id:i,player_id:b,spectator:b,spectators_can_talk:b,spectators_see_everything:b,resuming
|
||||
4:user_left:s,user_name
|
||||
5:leave_room:s,player_name
|
||||
5:room_say:s,player_name:s,message
|
||||
|
|
@ -81,4 +82,4 @@
|
|||
6:mulligan:i,number
|
||||
7:update_server_message
|
||||
7:shutdown_server:s,reason:i,minutes
|
||||
8:ban_from_server:s,user_name:s,address:i,minutes:s,reason
|
||||
8:ban_from_server:s,user_name:s,address:i,minutes:s,reason
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue