To get started, type
/fw fix (seconds) to fix the current world that you are in to the specified amount of time delay. For example, typing
/fw fix 30 will make it such that all changes in the world are reverted after 30 seconds.
There are a variety of settings you can tune to adjust the impact on performance for your server.
The
batchsize controls how many blocks are restored per restoration tick. One restoration tick happens during every
batchinterval. A lower batch interval means that restoration actions run more often on the server, having a lower value will mean that the server is always doing more work to do restorations, but will be a smoother experience for players.
The
flushinterval is how often we save all of the data for the plugin to the database. Saving data to the database is important as it gives us protection against server shutdowns and unexpected crashes. Saving to the database more often (lower value) will cause more lag if there are a lot of changes happening on your server all the time.
The
walinterval is how often we write to the log of changed blocks. We use a system where we save changed blocks in multiple locations, the WAL (write-ahead-log) is one of these places, and it helps us guarantee block consistency through restarts and crashes. Saving to this log more often will ensure better consistency and safety through restarts and crashes, but will incur more server load.
When your server crashes, the plugin attempts to do its best effort to identify what blocks were changed and need to be restored, and will attempt to restore it at the proper time automatically when the server starts again. This process is not foolproof, and there may be very small spots that do not restore 100% properly. Please let me know when you run into cases like this!