Before you dive in to using WorldEdit, you should know how to use history to undo mistakes you may make along the way. Your history is stored in your session, more details here.

Undo and Redo

Every action taken with WorldEdit, whether performed by a command or a tool, will be stored in your session’s history. By default, WorldEdit stores your last 15 actions (this can be changed in the configuration).

If you ever want to undo an action, you can use the //undo command. This will undo your last action. To redo it, use //redo.


WorldEdit only records direct changes. Indirect changes such as liquids that start flowing, attached blocks (doors, signs, tall grass) popping off, and so on, will not be recorded by history. Be careful while working with these things.

As shown in the quick start, history commands can operate on multiple actions at once. You can use //undo 5, for example, to undo your last 5 actions.

History commands also let players will permission undo or redo the actions of other players when on multiplayer. Note that thanks to sessions, you can undo another player’s actions for up to 10 minutes after they’ve logged out (and for as long as they are logged in). To do this, use //undo <number> <player name>.

Your stored history can be cleared with the /clearhistory command.