]> git.xonotic.org Git - xonotic/xonotic.wiki.git/blob - Moderation-tools.md
5dcc9fcfdc50c416f2240eaf75fef1a7d0414eb5
[xonotic/xonotic.wiki.git] / Moderation-tools.md
1 ## How can I block/ignore people personally?
2
3 **As a player**, use `ignore #player_id`, this player will be muted in your personal chat and you've this player in your mute list. Keep in mind that the player can continue talking in the server while you've muted him from your entire personal chat. <br/>
4 If you want to unignore from a player, use `unignore #player_id`. If you want to remove all muted players from your ignore list, use `clear_ignores`.
5
6 _Note: you can't ignore more than 16 players._
7
8 ## How can I disallow people from chatting in my server?
9
10 **As a server admin**, if there's someone spamming in the chat all time or being hostile, use `chatban #player_id` to prevent them from being able to send any messages to anyone, this includes private messages, team chat and spectator chat. <br/>
11 To unban the chatbanned player, use `unchatban #player_id`. <br/>
12 To see the list of chatbanned players, use `chatbans`.
13
14 _Note 1: there's another aliased version: `mute`. It has been used for many years while it wasn't improved, only temporarily muting for the duration of the match._
15 _Note 2: `muteban` is an alias to `chatban` as it was this feature's previous name and has been used for many years by a few admins while it was implemented via [SMB modpack](https://github.com/MarioSMB/modpack) before its merge to Xonotic's upstream master branch._
16
17 Set `g_chat_allowed` to 0, if you think there is a good reason to not anyone use any chats. <br/>
18 Remember, you can disable private, spectator and team chat as you wish.<br/>
19 - `g_chat_private_allowed 0` disables private chat, players can't use `tell #player_id` to send a private message to someone. 
20 - `g_chat_spectator_allowed 0` players can't chat while spectating. 
21 - `g_chat_team_allowed 0` disables team chat, preventing players from talking privately in their own teams. 
22
23 These cvars are set to 1 by default. Set 0 if you wish to disallow some chats.
24 <br/><br/>
25
26 ## How can I disallow people from voting in my server?
27
28 **As a server admin**, use `voteban #player_id` to disallow a player from voting. The player can't start a vote nor vote Yes or No for votes called by other players. <br/>
29 To allow the votebanned player vote again, use `unvoteban #player_id`.<br/>
30 To see the list of disallowed players from voting, use `votebans`.
31 <br/><br/>
32
33 ## How can I disallow people from playing in my server?
34
35 **As a server admin**, use `playban #player_id` to disallow a player from playing in the server, this player will be forced to spectate. <br/>
36 To allow a player to play again instead of being forced to spectate, use `unplayban #player_id`.<br/>
37 To see the list of players forced to spectate, use `playbans`.
38 <br/><br/>
39
40 _Note: `g_playban_minigames 1` also prevents the playbanned players from participating in minigames. (This is disabled by default)._
41
42 ## How can I ban people from my server?
43
44 **As a server admin**, doing that can be pretty harsh. Use this last resource if you decided definitely that it is what you want to do. <br/>
45 `ban <player_IP_address> <bantime> <reason>` stores a ban in the server, it isn't a quick ban. The player can stay in the server unless if disconnects and tries to go back. <br/>
46 `kickban #player_id` stores a ban and kicks the player from the server. <br/>
47 To unban the player, use `unban <player_IP_address/key_hash>`. <br/>
48 To see the ban list, use `bans`.