EndstoneMC / endstone

Endstone - High-level Plugin API for Bedrock Dedicated Servers (BDS), in both Python and C++.
http://endstone.dev/
Apache License 2.0
260 stars 23 forks source link

[feature] Save the world when on server crash #57

Open wu-vincent opened 1 month ago

wu-vincent commented 1 month ago

Is your feature request related to a problem? Please describe.
When the server crashes, all progress is lost since there is no automatic save feature. This can be frustrating, especially when players have made significant progress right before the crash. Currently, admins must rely on regular intervals for saving, which might not capture the state right before a crash.

Describe the solution you'd like
The server should automatically save the game world whenever a crash is detected. This way, even if the server crashes unexpectedly, the world is preserved up to the point of failure, minimizing data loss and improving the player experience.

Describe alternatives you've considered

Additional context
This feature could significantly improve server stability and data preservation for players. It may require capturing server states or integrating with existing crash-handling mechanisms. A similar implementation exists in other server software, e.g., LeviLamina, which could serve as a reference.

Mih4n commented 1 month ago

Thank u

github-actions[bot] commented 3 weeks ago

This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.

github-actions[bot] commented 2 weeks ago

This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Endstone, please open a new issue and link this to it. Thanks!