Okes

WIP_banning_part_ins_guide

Jan 31st, 2015
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.46 KB | None | 0 0
  1. create in following files in “..\insurgency\cfg” directory:
  2. [code]
  3. banned_ip.cfg
  4. banned_user.cfg
  5. [/code]
  6.  
  7. !!!!!!!!if you copypasted my example, skip this step below!!!!!!
  8. Now add these commands into your “server.cfg”
  9. [code]
  10. exec banned_user.cfg // personal banlist based on user IDs
  11. exec banned_ip.cfg // personal banlist based on user IPs
  12. writeid
  13. writeip
  14. [code]
  15. !!!!!!!over of skipable part!!!!!!!!!!!!!
  16. Kicking:
  17.  
  18.  
  19. [code]
  20. kick <name>
  21. kickid <id>
  22. [/code]
  23.  
  24. Explanation:
  25. <name> is user name
  26. <id> is SteamID and have following format: STEAM_x:x:xxxxxxxx where “x” stands for number
  27.  
  28. Example: kick arc
  29. kickid STEAM_0:0:12345678
  30.  
  31. Adding/removing banned users/ips through console (works also via RCON):
  32.  
  33.  
  34. Adding/removing IP:
  35. [code]
  36. addip <time> <ip>
  37. removeip <ip>
  38. [/code]
  39.  
  40. Explanation:
  41. <time> how many MINUTES will be IP banned, 0 = permanent ban
  42. <ip> stands for numeric IPv4 address of user (example: 1.2.3.4)
  43. removeip does not need <time> parameter
  44.  
  45. Example: addip 0 10.10.10.11
  46.  
  47. Adding/removing steamID:
  48. [code]
  49. banid <time> <id>
  50. removeid <id>
  51. [code]
  52.  
  53. Explanation:
  54. <time> how many MINUTES will be IP banned, 0 = permanent ban
  55. <id> is SteamID and have following format: STEAM_x:x:xxxxxxxx where “x” stands for number
  56.  
  57. Example: banid 0 STEAM_0:0:12345678
  58.  
  59. To write banned IPs/IDs, type this command into the console depending of what you’ve banned:
  60. [code]
  61. writeid
  62. writeip
  63. [/code]
Advertisement
Add Comment
Please, Sign In to add comment