Ban Management

Ban Management

193k Downloads

Syncing

kemit-the-frog opened this issue ยท 17 comments

commented

When I try to sync across multiple servers (I'm testing with 2 servers), one server is working normal and i can ban, mute, ect. thru console but the other server just gets put into alarm mode and disables it self. Both configs are the same and I will attach them here. http://pastebin.com/JZs1LV4H (config)
Thanks
Kemit-the-frog

commented

Alarm mode?

commented

when it disables it self.

commented

so each server has to have a separate table on the one database?

Thanks

commented

You shouldn't use the same database/tables for multiple servers. If you want to do global bans, you need to have separate local tables, and enable the "external" section of the config for shared tables.

commented

You can certainly have the same database and tables for multiple servers under local. BanManager supports syncing all punishments across servers.

What I don't understand is alarm mode. Do you have any errors on startup? Can you post the BanManager output from the console?

commented
commented

Could not create connection to database server. Attempted reconnect 10 times. Giving up.

Check your database credentials.

commented

All credentials are correct

commented

Does your mysqld listen to localhost only?

commented

Yes, the problem is that if you ban a player on one server it does not carry over.

commented

or any other punishment for this

commented

Could it be a different config file?

commented

Your issue can not be solved by bm. You need to configure your databases properly to allow external access for your secondary server.

commented

Your second server cannot connect to the mysql database. That is the
problem. Read the FAQ on the plugin page. It covers your issue.
On 24 Oct 2015 22:43, "kemit-the-frog" [email protected] wrote:

Could it be a different config file?

โ€”
Reply to this email directly or view it on GitHub
#432 (comment)
.

commented

The database should work, I talked to my hosting company and they said "External access SHOULD work, but that is not something that we offer support for. Meaning that we have no intention of blocking it, but if it doesn't work for you then we won't do anything about it since it is not for a service owned through our company."
Thanks

commented

@kemit-the-frog Check your Firewall then. Look at your logs! It has nothing to do with BanManager ๐Ÿ˜„

If you're really sure that this is a problem with BanManager, please send the results of

mysql -u <username> -p -h <ip/xxx.xxx.xxx.xxx>

executed at the root where it doesn't work.

commented

Closing as not a plugin issue.