Most modern servers have a big network with smaller subnetworks. To explain this feature, we'll use a detailed example. Imagine a big skywars network that runs multiple lobbies and multiple skywars servers. Because the players arrive in the lobby first, that's where you want to show the leaderboard. Due to the fact that the skywars plugin that you have on your skywars servers is not installed in the lobby, this is a bit hard. That's where the leaderboard syncing feature comes in. Follow these steps to use it on your own server.
database.ymlof each server and make sure they are all connected to the same database.
serveroption in the
database.ymlfile of each server. Make sure to give your servers a name per group. This means that you should call all your skywars servers
skywars2etc. if your skywars servers share the same data.
/leaderheads setserver <name>, where
nameis the server that you want to sync from, in this case
skywars, to set this sign to synchronize from the server that you want. If this is the first time, the plugin will generate a file located at
synced-statistics/servername/statistic.ymlto configure this statistic.