Open Commandcracker opened 1 day ago
Im not sure about comments. There is no good way to add them using toml or Serde. I just planned to link people to the docs where you can then see up-to-date defaults and descriptions.
In the features.toml
config everything is "grouped" together in categories . This is not the case in the configuration.toml
because it is and will stay very simple, much like "server.properties" from vanilla. IMOP There are so few values that categories are unnecessary
I've searched existing issues and couldn't find a duplicate.
Is your feature request related to a problem? Please describe.
What I would like
Describe the solution you'd like
Using toml_edit, to keep comments and something custom to translate struct doc comments into toml comments. Console warning if a value has not been set correctly and the default is used.
example:
->
Many values could be better grouped like view_distance and simulation_distance into "rendering" or online_mode and encryption into "rendering" in order to make the whole config file better structured.