Hi,

when you ban a player with "banid" or "banip", you should use "writeid" and 
"writeip", too.
The last two save a  current ban list to file.

writeid = writes steam id bans into banned_user.cfg
writeip = writes ip bans into banned_ip.cfg

And I would add the following two commands into your server.cfg, too:
exec banned_user.cfg
exec banned_ip.cfg

That the server loads the ban files on startup.

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Vegard Mortensen
Sent: Thursday, October 01, 2009 5:53 PM
To: Half-Life dedicated Linux server mailing list
Subject: [hlds_linux] Banned players are unbanned on server restart

Hi

Im not sure if this problem has been posted before (I could not find it).

I have noticed that Counter-Strike Source servers only store its banned  
players in memory.
So when you restart the server all players are unbanned.


Problem:

I ban a player via IP using the following in the terminal
(You can also ban a player by steamID using banid)

addip 0 123.123.123.132

I can now see the banned ip by using listip.
Now I restart the server (using quit and starting srcds again).

The ip 123.123.123.132 is no longer banned.
I thought the banned plaers would be saved in a file something?


Does anyone else have this problem and a possible fix?


-- 
Vennlig hilsen
Vegard Mortensen
Ingame.no

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to