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

Cache files before reload, so if there are issues in the config/messages, they don't reset #77

Open
WizardCM opened this issue Jul 12, 2013 · 0 comments

Comments

@WizardCM
Copy link
Member

Currently, if you have one issue in either of the files, they'll reset to default, and if you're unlucky to not have it open and ready to re-save.. you can easily lose everything.

Here's my idea; periodically, or on server launch, cache a temporary version - if an updated/modified version of either file on a reload has some YAML issues, display a message ingame, irc and console. In console, include more detail - where the issues can be found, etc, and revert the currently loaded config to the cached copy - but leave the real version unedited so the user can fix the issues and try again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant