Skip to content

CoreProtect rollback

Build a /co rollback command in plain terms: who, over what time, within what radius and what exactly to restore. Always start with /co lookup to see what turns up, and only then roll back.

What happened

Restore builds a specific player destroyed over the last day within a 30-block radius.

What to roll back

Blocksa:block

Placing and breaking blocks, the most common griefing case.

Commands: 3

/co lookup u:Griefer t:1d r:30 a:block
/co rollback u:Griefer t:1d r:30 a:block
/co restore u:Griefer t:1d r:30 a:block

The first line only shows what was found. The second rolls back. The third puts things back if the rollback was a mistake: /co restore with the same parameters.

Required permissions

coreprotect.inspect

Inspector mode: clicking a block shows who touched it.

coreprotect.lookup

Log lookup: without it you can't see what turns up.

coreprotect.rollback

The rollback itself. Trusted admins only.

coreprotect.restore

Undoing a rollback, insurance against a wrong move.

coreprotect.teleport

Jump to an event location right from the lookup results.

FAQ

How do I roll back an area after griefing?

Stand in the middle of the damage and run /co lookup u:Nick t:1d r:30 a:block to see what turns up. If the list is right, repeat the line with rollback instead of lookup. The radius is counted from your position, so stand in the middle, not at the edge.

How do I roll back a player's inventory?

No radius needed here, you search by player. /co rollback u:Nick t:2h a:item,inventory restores items from the last two hours. The player should be online at that moment, otherwise the items come back on their next login.

How do I roll back a TNT or Creeper explosion?

In CoreProtect, explosions are attributed to special “players”: #tnt, #creeper, #fire. The command /co rollback u:#tnt t:3h r:25 a:-block restores only what was destroyed without touching what was built. The minus sign before block means “broken only”.

How do I restore a chest's contents?

Use the container action: /co rollback u:Nick t:6h r:10 a:container. The radius is small on purpose, otherwise items from other people's chests over the same period would come back too.

I rolled back too much, what now?

Run the same command with restore instead of rollback and the same parameters, and CoreProtect will return the state from before the rollback. That's exactly why the third line in the command block is already built: in an emergency it's easier to copy than to remember the syntax.

Why does lookup find nothing?

Three usual reasons: logs for that period were already purged (/co purge on a schedule), the griefing happened in another world (then add w:world_name), or the nickname is written in different case. To check that the plugin is logging at all, use /co status.

See also