CoreProtect Guide: Roll Back Griefing on Your Minecraft Server
CoreProtect is a popular logging plugin. It records block changes, container use and more, so you can see who did something and undo it. It runs on Spigot and Paper style servers, not vanilla.
Install
- Download CoreProtect from its official plugin page and pick the build that supports your version.
- Stop the server, upload the jar to the plugins folder in the Files tab, and start again.
- Check the Console for a CoreProtect enabled message.
Inspect blocks
Run /co inspect to toggle inspector mode. Click a block to see who placed or broke it. Run the same command again to leave inspector mode.
Look up activity
The lookup command uses parameters:
- u: a user name
- t: a time range such as 3h or 2d
- r: a radius in blocks around you
- a: an action, such as block or container
Example: /co lookup u:PlayerName t:1d r:30 shows what that player did nearby in the last day.
Roll back and restore
Always lookup first so you know what will change.
- Run /co rollback u:PlayerName t:1h r:20 to undo their changes.
- If you undid too much, run /co restore with the same parameters to reapply them.
- Rollbacks can be large, so do big ones during quiet times to avoid lag.
Permissions
Give moderators only what they need. Permission nodes like coreprotect.inspect, coreprotect.lookup and coreprotect.rollback exist. Check the plugin page for the full list and set them through LuckPerms or your permissions plugin.
Tips
- Logs take database space. Check the config for a purge setting if the file grows too large.
- CoreProtect only knows what happened after it was installed.
- Pair it with region protection, covered in our WorldEdit and WorldGuard guide, to stop grief before it happens.
- A backup remains your safety net for anything CoreProtect cannot undo.