bans.txt not working

1 reply [Last post]
[FRAGENSTEIN]
Fragenstein's picture
Offline
Joined: Apr 2011
Posts:

I have this in bans.txt:

Name {
       "*Fragenstein*" { // ban all who use 'your_name' as their name
         IP: 192.168.0.2    // allow your IP to be excluded from the ban!
         Password: "test"    // also exclude if this password matches!
         Reason: "Sorry, 'Fragenstein' is a protected name!  Please use a different name!"
         }
 
       "ExcessivePlayer"    { // ban players who try to use no name
         Reason: "Sorry, come back when you've selected a proper name!"
         }
       "UnnamedPlayer"    { // ban players who try to use no name
         Reason: "Sorry, come back when you've selected a proper name!"
         }
 
       "NoNamedPlayer"    { // ban players who try to use no name
         Reason: "Sorry, players without names are not allowed on this server!"
         }
    }
 
    IP {
       172.23.3.56 { // ban this IP
         Name: "Dragon*"    // but allow if the name begins with 'Dragon'
         Reason: "Dude, you are not a member of the Dragon Clan!"
         }
 
       207.46.* { // ban all players from this IP Block
         Reason: "Microsoft's Corporate IP Block is banned for life!"
         }
    }

And this in server.cfg:
set xp_bans "bans.txt"

Players named ExcessivePlayer are still able to connect and play (not being banned). Am I missing something?

POPE * R5QT
Offline
Joined: Apr 2010
Posts:
Re: bans.txt not working

this works fine for me Happy
}

Guid { unknown { Reason: "You need valid cdkey to play here" } }
Guid { NO_GUID { Reason: "You need valid cdkey to play here" } }
Name { "unnamedplayer"{ Reason: "please use a name" } }
Name { "ExcessivePlayer"{ Reason: "please use a name" } }

>RSQT<CLAN TEAMSPEAK
173.199.64.246:9270
TS 3 Info
Default Channel
private