Just an idea - Local save + sync

Here we can discuss suggestions and development of amxbans.
Nothing discussed in here are certain that it will be coded or added.
Post Reply
AchefDigital
Posts: 11
Joined: 17 Mar 2015, 02:04

Just an idea - Local save + sync

Post 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.
User avatar
indianiso1
Posts: 179
Joined: 16 Oct 2015, 01:59
Contact:

Re: Just an idea - Local save + sync

Post 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.
Post Reply