AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=7)
-   -   Unban all (https://forums.alliedmods.net/showthread.php?t=197560)

Diegorkable 10-04-2012 12:38

Unban all
 
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 :)

AmineKyo 10-04-2012 17:50

Re: Unban all
 
Quote:

Originally Posted by Diegorkable (Post 1812507)
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

fysiks 10-04-2012 18:39

Re: Unban all
 
Quote:

Originally Posted by AmineKyo (Post 1812700)
Delete banned.cfg & listip.cfg

You are missing very important steps:
  • Shutdown the server.
  • Delete banned.cfg
  • Start the server.

AmineKyo 10-04-2012 20:25

Re: Unban all
 
Quote:

Originally Posted by fysiks (Post 1812725)
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 ?

fysiks 10-04-2012 20:53

Re: Unban all
 
Quote:

Originally Posted by AmineKyo (Post 1812804)
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).

Diegorkable 10-05-2012 09:20

Re: Unban all
 
aight thanks guys


All times are GMT -4. The time now is 16:51.

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