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 [[...")
 
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
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 [[Commands|/ban]] command. To unban, use [[Commands|/unban]] or [[Commands|/unbanlast]].
 
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 [[Commands|/ban]] command. To unban, use [[Commands|/unban]] or [[Commands|/unbanlast]].
 +
  
 
== Structure ==
 
== 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
 
  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 ==
Line 10: Line 13:
 
  82.51.146.35:-1000:Banned by an admin
 
  82.51.146.35:-1000:Banned by an admin
 
  71.137.111.222:-1000:Banned by an admin
 
  71.137.111.222:-1000:Banned by an admin
 +
  
 
[[Category:Server]]
 
[[Category:Server]]

Latest revision as of 21:28, 16 April 2018

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