Raised This Month: $51 Target: $400
 12% 

remove all bans after restart server


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
yoni279
Member
Join Date: Feb 2010
Old 09-27-2014 , 12:30   remove all bans after restart server
Reply With Quote #1

hey i want to make a plugin or some other way that remove all bans from this command:
addip
after i change map or restart the server.
thanks for help

Last edited by yoni279; 09-27-2014 at 12:31.
yoni279 is offline
NikKOo31
Senior Member
Join Date: May 2013
Location: Home
Old 09-27-2014 , 12:55   Re: remove all bans after restart server
Reply With Quote #2

Just delete the file banned.cfg
__________________
Hey ^_^
NikKOo31 is offline
yoni279
Member
Join Date: Feb 2010
Old 09-27-2014 , 13:07   Re: remove all bans after restart server
Reply With Quote #3

Quote:
Originally Posted by NikKOo31 View Post
Just delete the file banned.cfg
arleady delete this files and isn't work
the ban still saving

Last edited by yoni279; 09-27-2014 at 13:08.
yoni279 is offline
aron9forever
Veteran Member
Join Date: Feb 2013
Location: Rromania
Old 09-27-2014 , 14:01   Re: remove all bans after restart server
Reply With Quote #4

addip bans are stored inside listip.cfg
__________________
Meanwhile, in 2050:
Quote:
Originally Posted by aron9forever
useless small optimizations
Quote:
Originally Posted by Black Rose View Post
On a map that is 512x512x128 units you end up with 3,355,443,200,000 different "positions". To store each one of those positions individually in the variable "user_or" you need 12 terabytes of memory.
aron9forever is offline
yoni279
Member
Join Date: Feb 2010
Old 09-27-2014 , 14:38   Re: remove all bans after restart server
Reply With Quote #5

Quote:
Originally Posted by aron9forever View Post
addip bans are stored inside listip.cfg
but i dont have this file in cstrike and the bans remove only when i shutdown and online the server.
i want the ban will remove after i changemap or restart
yoni279 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 09-27-2014 , 15:37   Re: remove all bans after restart server
Reply With Quote #6

Bans are kept in memory while the server is running. They are not released from memory on a restart or mapchange. You must either unban every single entry or stop the server.

So, to easily remove all bans, you need to stop your server completely. Delete the ban files. Start your server.
__________________

Last edited by fysiks; 09-27-2014 at 15:38.
fysiks is online now
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:18.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode