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

  1. โš ๏ธ Always specify a user in the rollback command.
  2. ๐Ÿ” 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 #preview to test the rollback first. Example: co rollback u:froobynooby t:1d r:30 #preview
  3. ๐Ÿšซ Ensure the rollback does not affect other playersโ€™ work. If a player was helping someone, make sure their builds arenโ€™t unintentionally reverted.
  4. ๐ŸŒŽ To perform a global rollback (all worlds) use radius:#global. Be careful and always do a lookup first.
  5. ๐Ÿ›’ Avoid rolling back player shops where items were legitimately purchased. If payment was collected, rollback will duplicate items.
  6. โŒ Do not rollback theft that has already been manually fixed by Staff โ€“ this will duplicate items.
  7. ๐Ÿ”„ 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.
  8. ๐Ÿ‘น For griefing, check if any entities were killed and roll them back separately using action:kill.
  9. ๐Ÿ‘ฅ If multiple players were together and need rollback, combine them. Example: /co rollback u:froobynooby,thechief13 t:1d r:100
  10. ๐Ÿ“ฆ Do not roll back inventories. This can result in duplicated items or lost items.
  11. ๐Ÿ› ๏ธ The /co restore command 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