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

Unban all


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Diegorkable
Veteran Member
Join Date: Jun 2011
Old 10-04-2012 , 12:38   Unban all
Reply With Quote #1

Hey

Is it possible to unban all of the players banned so far in a server? (with amx_banip and amx_ban)
If so, please tell me how.

thanks
__________________
My Projects:

Auto-Mix (Pug): 100%

Joined the Military (a soldier now) - Inactive
Diegorkable is offline
AmineKyo
فوق سريرك
Join Date: Oct 2011
Location: Morocco
Old 10-04-2012 , 17:50   Re: Unban all
Reply With Quote #2

Quote:
Originally Posted by Diegorkable View Post
Hey

Is it possible to unban all of the players banned so far in a server? (with amx_banip and amx_ban)
If so, please tell me how.

thanks
Delete banned.cfg & listip.cfg
__________________
AmineKyo is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 10-04-2012 , 18:39   Re: Unban all
Reply With Quote #3

Quote:
Originally Posted by AmineKyo View Post
Delete banned.cfg & listip.cfg
You are missing very important steps:
  • Shutdown the server.
  • Delete banned.cfg
  • Start the server.
__________________
fysiks is offline
AmineKyo
فوق سريرك
Join Date: Oct 2011
Location: Morocco
Old 10-04-2012 , 20:25   Re: Unban all
Reply With Quote #4

Quote:
Originally Posted by fysiks View Post
You are missing very important steps:
  • Shutdown the server.
  • Delete banned.cfg
  • Start the server.
It works with me always
Delete .cfg's & "exec server.cfg"

Could you explain why shutdown and start ?
__________________
AmineKyo is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 10-04-2012 , 20:53   Re: Unban all
Reply With Quote #5

Quote:
Originally Posted by AmineKyo View Post
It works with me always
Delete .cfg's & "exec server.cfg"

Could you explain why shutdown and start ?
Because all bans are help in memory while the server is running. When the server shuts down, it overwrites the entire file with the bans in memory. So, if you delete the file while the server is running, it will re-write the ban file with all the bans in memory (you didn't delete them from memory).
__________________
fysiks is offline
Diegorkable
Veteran Member
Join Date: Jun 2011
Old 10-05-2012 , 09:20   Re: Unban all
Reply With Quote #6

aight thanks guys
__________________
My Projects:

Auto-Mix (Pug): 100%

Joined the Military (a soldier now) - Inactive
Diegorkable is offline
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 12:40.


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