Server guide/Rollbacks
From FroobWorld Wiki
This guide is for Staff using CoreProtect. For more information on the rollback command, see CoreProtect's documentation here.
โ ๏ธ Important rollback info
- โ ๏ธ Always specify a user in the rollback command.
- ๐ Always perform a lookup before rolling back to see what will be affected. Parameters are the same as a lookup except for the radius. You must specify a radius for a rollback (defaults to 10 if not specified). You can also add
#previewto test the rollback first. Example:co rollback u:froobynooby t:1d r:30 #preview - ๐ซ Ensure the rollback does not affect other playersโ work. If a player was helping someone, make sure their builds arenโt unintentionally reverted.
- ๐ To perform a global rollback (all worlds) use
radius:#global. Be careful and always do a lookup first. - ๐ Avoid rolling back player shops where items were legitimately purchased. If payment was collected, rollback will duplicate items.
- โ Do not rollback theft that has already been manually fixed by Staff โ this will duplicate items.
- ๐ Avoid rolling back single actions (like block place only or container insert only). Always roll back all actions at once, except inventories and entities killed. Single-action rollbacks can cause inconsistencies.
- ๐น For griefing, check if any entities were killed and roll them back separately using
action:kill. - ๐ฅ If multiple players were together and need rollback, combine them. Example:
/co rollback u:froobynooby,thechief13 t:1d r:100 - ๐ฆ Do not roll back inventories. This can result in duplicated items or lost items.
- ๐ ๏ธ The
/co restorecommand can undo rollbacks using the same parameters, but use cautiously as it can create inconsistencies.
๐ /co inspect
Toggles the inspect tool, left and right click blocks to see the specific log.
- Usage:
/co inspect(Right click for container data)
๐๏ธ /co lookup
Looks up block or container changes for a specific player, time, or block.
- Usage:
/co lookup u:Player t:1d r:30
๐ /co rollback
Rolls back block changes according to the specified parameters. Always preview first!
- Usage:
/co rollback u:Player t:1d r:30 #preview
๐ ๏ธ /co restore
Restores block changes previously rolled back. Use cautiously.
- Usage:
/co restore u:Player t:1d r:30
โ๏ธ Parameters
These are to specify /co rollback and /co lookup commands.
| Parameter | Description | Example |
|---|---|---|
| u: | Username(s) of the player(s) to target | u:froobynooby
|
| t: | Time period for the command | t:1d
|
| r: | Radius in blocks or #global for all worlds |
r:30
|
| a: | Action type to target (e.g., +block, -block, container, kill) |
a:-block
|
| b: | Block type filter | b:diamond_ore
|
| #preview | Test the command first, client-side only | #preview
|