Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Support syncing user data across a multi-server setup #148

Open
Sammster10 opened this issue Jul 23, 2024 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@Sammster10
Copy link

Is your feature request related to a problem? Please describe.
When using in a multi-server setup, it can be annoying when the toggles get out of sync. It's nice to monitor MSPT in real time but I'd like to either have it on or off, across all servers. Using the boss bar toggle, for example.

Describe the solution you'd like
In modern versions supporting PersistentDataContainers (PDC) allow user data to be stored in the player PDC so plugins that sync data across multiple servers can be responsible for keeping this data in sync. There should be a config option for this, so both json files and the PDC are valid options.

Describe alternatives you've considered
I've considered a solution where data is stored in a remote database but this seems overkill for a couple toggles which don't need to be accessible offline. I can't justify the overhead that comes with a db in this case.

Additional context
The solution I described would work on spigot based servers, however after some quick research it seems that other supported servers (such as fabric) have a similar way to persist data on the player.

@Sammster10 Sammster10 added the enhancement New feature or request label Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant