You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Config should be sorted by category(rcon, query, world, etc)->alphabetically, with comments describing each section. Comment can be achieved with ruamel.yaml
Reason
The config should be mainly self-explanatory to new users. This also stops noob devs like me from spamming petus for help quite as often.
The text was updated successfully, but these errors were encountered:
Pls correct me if I'm wrong (which I probably am)
I'd also suggest changing the location of configs (and addition of a default .yaml file) to at least be in the same directory as main if not in the same directory as the startserver scripts, so that users don't have to dig for it (this requires a change in config.py though, to go one or two directories up which can be solved using something like this https://stackoverflow.com/questions/4381569/python-os-module-open-file-above-current-directory-with-relative-path)
There's a couple issues with this, the PyYAML package doesn't support having ordered dictionary entries, and the server.yml is already in the parent directory?
Feature
Reason
The text was updated successfully, but these errors were encountered: