Autorank

Autorank

380k Downloads

Bungeecord mysql time sync doesn't work (v4.1)

Opened this issue ยท 16 comments

commented

Hello,
we have a bungeecord network with 2 Servers and a mysql database where the time's are saved, the mysql works fine, but it doesn't sync/getting read from the data.yml, we want that on Server 1 and Server 2 the player's have the same time, but it doesn't sync between these 2 servers.

commented

i am having a simalar problem autorank 4.1 is not working for me at all even after i place the plugin in to the plugins folder.

commented

i am trying to make a good server with plugins and i was successful with most of it till i wanted to use autorank 4.1

commented

it will display different time on each server even though they are in the same mysql dtabase

commented

@JoMW1998 You should use the latest version of Autorank.

commented

@Justos Do you have both your servers pointing to the same mysql database? Are both instances of Autorank using the same database?

commented

@Staarvin Yes. I have all servers in same mysql database and it does not work :(

commented

/ar time. Ok, i try sync

commented

What command do you use to show the time of a player?

commented

Also, have you synced your local data.yml with the database?

commented

There is a difference between the local server time and the global server time of Autorank.
On each of your server, Autorank keeps track of how many minutes a player has played on that particular server. This is the time in the data.yml. Autorank can also keep track of the data that is played across all servers of the network. That is your global time in the MySQL database.

This means that on each server /ar check will show the time a player has played on that particular server, while /ar gcheck will show you the time the player has played over all servers. This means that the gcheck should be (roughly) the same over all servers, while the check differs between servers.

Do you understand?

commented

Oops. Thanks a lot for your help, but one question. Will the rankings be on all servers?

commented

What do you mean by rankings?

commented

Rank up

commented

Rank up on all servers with global time. Sorry im from Finland

commented

If you are using a rankup with global time, then yes, it will be on all servers.

commented

Thank you!