; ; ; Format of each line is "ruletype" "nickname" "uniqueid" "ip" "netmask" ; ; "ruletype" is this an "Allow" or "Deny" rule. ; if this rule matches for a given client "allow" lets ; the client connect, "deny" kicks the player from the server ; "nickname" is the player name of the connecting user ; "uniqueid" is a uniqueid of a user based on their CDKey ; "ip" is the ipaddress of the connecting client ; "netmask" use this with "ip" to ban whole networks. ; ; If the first character on a line is ';' then the whole ; line is ignored ; ; Each of the above fields are ANDed with each other on a ; given line. So if nickname and ip are both filled in ; they both have to match to satisfy the rule. ; ; When a client connects they are compared against each ; rule in this file starting from the top down. As soon as ; a match is made for a given rule, the behavior in "ruletype" ; is applied to the connecting client. ; ; If the client doesn't match any rules the default behavior is ; to "allow". ; ; ; The nickname field supports limited wildcard matching. The % wildcard will ; only match at the beginning/end of a nickname. ; ; Syntax: ; ; "%foo" == match anyone with "foo" at the end of their nickname ; "foo%" == match anyone with "foo" at the beginning of their nickname ; "%foo%" == match anyone with "foo" anywhere in their nickname ; ; To match on a literal % in the nickname use %% ; ; Trying to use "foo%bar" (match a nickname beginning with "foo" with any ; thing in the middle and ending with "bar") will not work. Instead it would ; only match if someone with the literal nickname "foo%bar" joined the server. ; ; When using the "ban" console command banned entries get appended to the bottom ; of this file. This file is reloaded by the server every minute. ; ; Currently the only way to determine someone's unique id is to "ban" them from ; the console, then look at the bottom of this file for their uniqueid. You can ; then apply that uniqueid for whatever rule you want. ; ; ; ; Samples: ; ; "Deny" "" "7a838ed837467a838ed837468ed83746" "" "" ;Ban this unique id from the server ; ;;;; The following two lines only allow the [CLAN] prefix to be used from the 10.2.30.0 ;;;; Class C Address range. ; ; "Allow" "[CLAN]%" "" "10.2.38.0" "255.255.255.0" ;restrict [CLAN] prefix to this class C ; "Deny" "[CLAN]%" "" "" "" ;Ban anyone with "[CLAN]" at the front of their name ; ;;;; The next two lines only allows the person with this unique ;;;; id to use the "Server_Stud" nickname ; ; "Allow" "Server_Stud" "7a838ed837555a838ed837468ed83746" "" "" ; ; "Deny" "Server_Stud" "" "" "" ;Ban anyone with the name Server_Stud ; ;;;; Ban the 192.168.0.25 ip address ; ; "Deny" "" "" "192.168.0.25" "" ;Ban this ipaddress ; ;;;; Ban the entire 192.168.0 class C range ; ; "Deny" "" "" "192.168.0.0" "255.255.255.0" ;Ban the entire 192.168.0 class C range ; ;