Difference between revisions of "Banned.txt"

From Soldat Community Wiki
Jump to: navigation, search
(Created page with "Plain ASCII text-file, one entry on each line (Windows style). Wild characters are allowed in the IP field. To ban someone you can either enter the man manually, or use the [[...")
 
Line 4: Line 4:
 
  xxx.xxx.xxx.xxx:ban_duration:ban_reason
 
  xxx.xxx.xxx.xxx:ban_duration:ban_reason
 
  xxx.xxx.xxx.xxx:ban_duration:ban_reason
 
  xxx.xxx.xxx.xxx:ban_duration:ban_reason
  xxx.xxx.xxx.xxx:ban_duration:ban_reason <span style="color:green; margin-left:1em;">#IP, ban_duration is an int holding the ban time in ticks (negative means permanent), string ban_reason ("Banned by <admin>",Flood,etc)</span>
+
  xxx.xxx.xxx.xxx:ban_duration:ban_reason  
 +
<span style="color:green;">#IP, ban_duration - time in ticks(negative means permanent), ban_reason ("Banned by <admin>",Flood,etc)</span>
  
 
== Example banned.txt ==
 
== Example banned.txt ==

Revision as of 19:52, 2 April 2014

Plain ASCII text-file, one entry on each line (Windows style). Wild characters are allowed in the IP field. To ban someone you can either enter the man manually, or use the /ban command. To unban, use /unban or /unbanlast.

Structure

xxx.xxx.xxx.xxx:ban_duration:ban_reason
xxx.xxx.xxx.xxx:ban_duration:ban_reason
xxx.xxx.xxx.xxx:ban_duration:ban_reason 
#IP, ban_duration - time in ticks(negative means permanent), ban_reason ("Banned by <admin>",Flood,etc)

Example banned.txt

196.207.192.245:132760800:Banned by {USA} ~ Retartron
82.51.146.35:-1000:Banned by an admin
71.137.111.222:-1000:Banned by an admin