-
Notifications
You must be signed in to change notification settings - Fork 81
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
Undo #43
Comments
Hi fireglow, I think that's a good idea. Expect to see it in the next version! |
Cool, I'm looking forward to it :) |
still waiting :D |
How would you code a rollback/undo feature ? I was thinking about saving to disk affected areas and keeping a defined number of undo files per player. |
undo is very important, especially if importing a large schematic and is placed wrong. |
FYI: I've made a we_undo mod: https://github.com/HybridDog/we_undo |
Minecraftian WorldEdit had an undo/redo feature. I haven't ever checked though what happens when multiple people operate on the same area and perform undoing/redoing like: player A undoes, player B undoes, player A redoes, player B redoes. Will it result in state just before undoing? Also it's open-source, so maybe a good source to see and learn. |
My mod saves the differences compressed in memory; it does not save the state before and after but only the difference to before (or after in case of redo). A journal list for each player stores the differences for multiple undoing and redoing. When multiple players undo changes at the same positions, the journal for the redo command remembers the current nodes when undo is applied. |
Please put @HybridDog s undo mod into we, but it should be improved so it can undo everything |
It's a very useful functionality. I think it should be included. |
The undo feature is a must have when using worldedit. I didn't know of the existence of @HybridDog undo mod and it would have saved me multiple times hours of work when building. This feature should be present in worldedit without the need of installing another mod. Hope it will be added soon |
+1: I also would like to see the undo feature native in this mod. |
especially for schematics its very nice to have the undo feature (sadly not working with HybridDogs extention :( ).. i'd love to see this included and optimized into we |
I'd like to see this undo feature too. It's almost impossible to get large things right the first try and it's more logical to use //undo than to have to set everything to air. It has been about 7 years since this issue was opened, is this ever going to be added? |
I've implemented undoing for //mtschemplace and //load in we_undo by now. |
Hi,
I think a undo function to rollback the last change made by WorldEdit would be a good addition to the tool.
Thank you for considering it :-)
The text was updated successfully, but these errors were encountered: