Fisch37 / better-server-packs-fabric

Fabric rewrite of BetterServerPacks https://github.com/Fisch37/better-server-resourcepack
MIT License
1 stars 1 forks source link

Client-side support and a config UI! #4

Open Fisch37 opened 1 week ago

Fisch37 commented 1 week ago

I've recently gotten more into client side programming and since #2 would make configuration significantly more complicated, it might be helpful for users to have a built-in config menu since that is probably going to be more intuitive.

This menu should only be accessible with Permission Level 3 or higher (Note: if #3 does not require admin for the info commands, consider making the menu unmodifiable for non-OPs instead)

Thoughts on the Networking: C: ReqPackState S: PackState (client does all the editing) C: UpdatePackState (only sends the changes)

Fisch37 commented 1 week ago

This will require a rich-text editor for the description (#2), which is not implemented normally. That might take some work to accomplish

Fisch37 commented 1 week ago

The current networking draft will introduce race conditions since open config screens don't receive any updates. Some changes should be made to alleviate this issue

Fisch37 commented 1 week ago

Note: Client-side UIs will most likely be done with OwO lib since that is what I am used to. OwO lib also implements a config system so it might be better in the long run to use its config system to reduce library count

Fisch37 commented 6 days ago

Work on this issue is now progressing in https://github.com/Fisch37/better-server-packs-fabric/tree/client-gui