xF3d33 / UltimateTeams

https://modrinth.com/plugin/ultimate-teams
GNU General Public License v3.0
4 stars 4 forks source link

[QUESTION] Sync issues // delay with two servers connected to same database #41

Open FreddieDK opened 1 month ago

FreddieDK commented 1 month ago

Hi, I have an issue involving two servers: one called "Survival" and the other "MiningWorld." I want these servers to function like they are part of the same network, but as separate worlds.

Both servers are connected to the same database using UltimateTeams, but there's a significant delay before the plugin on the other server recognizes when a player has joined or created a team. I often have to restart the other server to force the sync.

My question is: how can I speed up this syncing process so that players are always on the same team across both servers?

xF3d33 commented 1 month ago

Hi, as for now the plugin does not support cross server. There is no currently message broker that instantly sends and receives update from players. i was developing it https://github.com/xF3d33/UltimateTeams/tree/cross-server-support but i have no date for a release, i'll probably do it once i'm satisfied with the rest of the plugin itself

FreddieDK commented 1 month ago

Hi, alright thanks answering my question.