Bungeecord mysql time sync doesn't work (v4.1)
Opened this issue ยท 16 comments
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.
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.
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
it will display different time on each server even though they are in the same mysql dtabase
@JoMW1998 You should use the latest version of Autorank.
@Justos Do you have both your servers pointing to the same mysql database? Are both instances of Autorank using the same database?
@Staarvin Yes. I have all servers in same mysql database and it does not work :(
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?
Oops. Thanks a lot for your help, but one question. Will the rankings be on all servers?
If you are using a rankup with global time, then yes, it will be on all servers.