bans.txt not working
12. February 2012 - 21:17
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?
13. February 2012 - 0:09
#1
Re: bans.txt not working
this works fine for me
}
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" } }