Skip to content

Put the server in lockdown should the plugin fail to load claims correctly #263

@Geolykt

Description

@Geolykt

Is your feature request related to a problem? Please describe.
The plugin tends to fail to load claims correctly from time to time, which is a bit of an issue considering that it means that players can now interact with the world in an unrestrained manner.

Furthermore such interactions can cause destructive actions and the administrators might not instantly know whats wrong (they might assume that all claims have been deleted instead)

Describe the solution you'd like

The solution I propose is to implement a safe mode. Such a safe mode would prevent the interactions with the world, limit player and mob movement. Implementing this however is understandably a very time-consuming process as it more or less NEEDS to be throughout. Furthermore other plugins can also put some dents into such a proposal.

Describe alternatives you've considered
An alternative would be to optionally (i.e. set via a config option) shut down the server - which would be a quick and easy solution, but might hurt the server's playerbase a bit (the most fun moment I had in towny was while it was in lockdown mode caused by a failing database)

Another alternative would be the prevent saving of any kind and to broadcast that to the server regularly. However this may interfere with plugins which will actually save things.

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementSuggested change to the plugin

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions