Undo & History
Command/paste undoEvery paste records the blocks it overwrote. The Undo tool (the barrier in slot 9) or /paste undo puts them back, newest paste first: Restored 329 blocks from buildings/cottage_t1.

How far back
Config keypaste.undo-historypaste.undo-history (default 10) is how many pastes each player can undo, newest first. Older ones drop off. 0 turns undo off.
The history belongs to the paste mode session. Leave paste mode, log out or restart, and it is gone. One-time sessions (console handouts, vouchers, blueprints) have no undo tool.
Command/paste undoThe Undo tool and /paste undo run the same undo: same restore, same refund.
What undo restores
Undo writes back exactly the blocks the paste replaced, as they were right before it. It does not look at what happened since:
- Blocks players placed or broke inside the footprint after the paste are overwritten by the old state.
- Only positions where the schematic has a block are recorded. With
paste.ignore-air: false, blocks that the schematic's air cleared are not brought back. - A chest, sign or other block entity the paste replaced comes back with its contents.
- Config keypaste.copy-entitiesEntities the paste added with
paste.copy-entitiesare removed again.
If the paste created a tracked building, undo removes that building record too, unless an upgrade or pick-up of it is running.
Refunds
Config keyeconomy.refund-window-secondsCommand/paste undoWith economy.refund-window-seconds above 0 (default 30), undoing a paid paste within that many seconds, with the Undo tool or /paste undo, gives the money back: Refunded $1,000 from undone paste of buildings/cottage_t1.
When undo is refused
| Situation | Message |
|---|---|
| Not in paste mode | You are not in paste mode. |
| A paste or construction is still placing blocks | Wait until the current paste finishes before undoing. |
| Nothing left in the history | There is nothing to undo. |
A construction in progress cannot be undone, but it can be cancelled: leave paste mode and, with construction.rollback-on-cancel: true, the blocks placed so far are rolled back and the money refunded. See Construction Animation.