Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- create in following files in “..\insurgency\cfg” directory:
- [code]
- banned_ip.cfg
- banned_user.cfg
- [/code]
- !!!!!!!!if you copypasted my example, skip this step below!!!!!!
- Now add these commands into your “server.cfg”
- [code]
- exec banned_user.cfg // personal banlist based on user IDs
- exec banned_ip.cfg // personal banlist based on user IPs
- writeid
- writeip
- [code]
- !!!!!!!over of skipable part!!!!!!!!!!!!!
- Kicking:
- [code]
- kick <name>
- kickid <id>
- [/code]
- Explanation:
- <name> is user name
- <id> is SteamID and have following format: STEAM_x:x:xxxxxxxx where “x” stands for number
- Example: kick arc
- kickid STEAM_0:0:12345678
- Adding/removing banned users/ips through console (works also via RCON):
- Adding/removing IP:
- [code]
- addip <time> <ip>
- removeip <ip>
- [/code]
- 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
- Example: addip 0 10.10.10.11
- Adding/removing steamID:
- [code]
- banid <time> <id>
- removeid <id>
- [code]
- 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
- Example: banid 0 STEAM_0:0:12345678
- To write banned IPs/IDs, type this command into the console depending of what you’ve banned:
- [code]
- writeid
- writeip
- [/code]
Advertisement
Add Comment
Please, Sign In to add comment