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

Server Config GUI #42

Open
The-Fireplace opened this issue Jan 28, 2022 · 0 comments
Open

Server Config GUI #42

The-Fireplace opened this issue Jan 28, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@The-Fireplace
Copy link
Member

Is your feature request related to a problem? Please describe.
As a server owner, I want a way to edit my configs in a GUI like I would be able to on a client.

Describe the solution you'd like
Allow mods to register their configs as server-modifiable. When the mod in question is present on server and client, a command (added by FL) can be used such as /flconfig <modid>. Server side checks permission, serializes necessary config data and sends to the client, which then spins up a config GUI to edit from. Upon save, client sends the updated config back to the server which loads it in.

Server owners must explicitly opt in to this in a config before anyone has access to this, and even then, they should be able to limit who has access via permission manager, allowlist, or maybe permission level.

Additional context
Challenges:

  • Knowing which ConfigBasedSerializables to sync - may have to be provided when registering for this command
  • How to get the Config GUI Builder to take in the server's configs instead of the client's - maybe back up client configs then load server configs on the client, then switch back to client configs once they save/cancel?
@The-Fireplace The-Fireplace added the enhancement New feature or request label Jan 28, 2022
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