Home > Archivio Domande > Ascend Servers > Game Servers > Specific Game Servers > Insurgency Standalone > Kicking, Banning and Unbanning

Kicking, Banning and Unbanning

This guide will show you how to Kick, Ban, and Unban players.



Create following files in “..\insurgency\cfg” directory:
banned_ip.cfg 
banned_user.cfg

Now add these commands into your “server.cfg”
exec banned_user.cfg         // personal banlist based on user IDs exec 
banned_ip.cfg         // personal banlist based on user IPs writeid writeip

To discover player SteamID or IP, type "status" into the Server console, or "rcon status" to the Client console.
Kicking:
kick <name> 
kickid <id>

Explanation:
<name> is user name
<id> is SteamID and have following format: STEAM_x:x:xxxxxxxx where “x” stands for number

Examples:
kick arc
kickid STEAM_0:0:12345678


Adding/removing banned users/ips through console (works also via RCON):
Adding/removing IP:
addip <time> <ip> 
removeip <ip>

Explanation: 
<time> how many MINUTES will be IP banned, 0 = permanent ban
<ip> stands for numeric IPv4 address of user (example: 1.2.3.4)
removeip does not need <time> parameter

Examples: 
addip 0 10.10.10.11
removeip 1.2.3.4


Adding/removing steamID:
banid <time> <id> 
removeid <id>

Explanation:
<time> how many MINUTES will be IP banned, 0 = permanent ban
<id> is SteamID and have following format: STEAM_x:x:xxxxxxxx where “x” stands for number

Examples:
banid 0 STEAM_0:0:12345678
removeid STEAM_0:0:87654321

To write banned IPs/IDs to a file, type this command into the console depending of what you’ve banned:
writeid 
writeip

To view banned IDs or IPs through console, use those resepctive commands:
listid 
listip

listid - will show you how many IDs are banned, exact IDs and for how long
listip - will show you how many IPs are banned, exact IPs and for how long
Hai trovato utile questa risposta?
0 Utenti hanno trovato utile questa risposta 0 Voti

Leggi anche