Page 1 of 1

Just an idea - Local save + sync

Posted: 15 Feb 2016, 04:31
by AchefDigital
Well, the idea is the following.
Since we all use AMXBans and know it uses SQL Databases to store the bans information and such, we all find the point in which we have problems with our websites, either downtimes, Remote SQL Connection failures, that prevent our AMXBans from communicating with our Servers to keep on working, which ends up in admins unable to ban players or no admins/bans at all being loaded.

Would be nice if there was a way to allow AMXBans to create a local save file in case of SQL Connection failures, to keep on banning people and later when connection can be reestablished sync that file and add the bans to the list.

Not sure if it's much to ask, I know there usually shouldn't be problems but sometimes things happen and it takes a while to fix it.

Re: Just an idea - Local save + sync

Posted: 06 Mar 2016, 02:08
by indianiso1
alternative for downtime:
1. Disable amxbans_main.amxx and amxbans_core.amxx and enable admin.amxx in your plugins.ini file
2. Type in users.ini file your admin names like this: "admin name" "password_not_checked" "abcdefghijklmnopqrstu" "de"
3. when your DB works again, do opposite 1st action.