CoreProtect records who placed and broke every block, so you can see what happened and undo it. Install it from Modding, Plugins and restart; it records from then on. To undo a griefer's work, type a rollback such as /co rollback u:Steve t:2h r:20, which puts back what Steve changed in the last two hours within 20 blocks of you.
The commands below are from CoreProtect's official documentation.
Install CoreProtect
- Open your server in the panel, click the Modding tab, then Plugins.
- Search for
CoreProtectand click Install on the CoreProtect row. - Restart the server.
CoreProtect runs on Paper, Purpur, Spigot and Folia. It only knows what happened after it was installed. Its commands are for operators by default (coreprotect.* and each command's permission default to op). See How to op yourself and manage permissions on your Minecraft server.
See who changed a block
- Type
/co inspect(or/co i) to turn the inspector on. - Click a block in the game to see who changed it and when.
- Type
/co iagain to turn it off.
Look up what someone did
/co lookup (or /co l) searches the records, with these parts:
u:the player, for exampleu:Steveoru:Steve,Alex.t:how far back, for examplet:2h,t:5d2hort:2w,5d,7h,2m,10s.r:how far around you, for exampler:10for 10 blocks, orr:#globalfor everywhere.a:one kind of action, for examplea:+blockfor blocks placed.
Example: /co lookup u:Steve t:1d r:50.
Roll back the damage
- Look up first, so you know what the rollback will change.
- Type
/co rollbackwith the same parts, for example/co rollback u:Steve t:2h r:20. - Check the area.
If the rollback went too far, /co undo reverses it. /co restore with the same parts puts back what a rollback removed.
Good to know
/co purge t:30ddeletes records older than 30 days.- A rollback is not a backup. For a whole world, restore a backup instead: How to back up, restore and reset your Minecraft world.
- To stop griefing in the first place, protect areas with WorldGuard: How to protect your spawn with WorldGuard on your Minecraft server, and ban the griefer: How to kick, ban and unban players on your Minecraft server.
- Every option is in CoreProtect's documentation at docs.coreprotect.net.



