Undo griefing with CoreProtect rollbacks
Someone griefed your server? With CoreProtect you inspect, look up the culprit, preview, then roll back. The order, the radius trap and the undo.
Quick answer Turn the inspector on with
/co i, left-click a block to see who placed it [5]. Then/co lookup u:Name t:6h r:50to see everything that player did [2]. Run the same filters as/co rollback ... #preview, and if the preview looks right, run it without#preview[2]. Wrong call?/co restorewith the same filters undoes it [2]. Watch the radius: a rollback with nor:uses 10 blocks around you, a lookup uses no radius at all [2]. CoreProtect can only revert what it logged, so install it before you need it.
What CoreProtect logs
The project describes itself as “a fast, efficient data logging and anti-griefing tool” [1]. Its README lists block placement and breakage, water and lava flow, fire, explosions, container, hopper, dropper and dispenser transactions, entity deaths and player kills, sign changes, chat, commands and player sessions, plus WorldEdit changes and supported FAWE clipboard pastes [1]. That is enough to answer “who emptied the chest at 3am” without guessing, and it also means a staff member’s bad WorldEdit paste is in the log like a griefer’s lava.
The README says it supports Bukkit, Spigot, Paper, Folia and MultiPaper [1]. Version support is where the sources disagree, as of 2026-11-17. The README on the main branch advertises downloads for Minecraft 1.14 to 26.3 [1], and so does the Modrinth page’s description [5]. But the latest tagged release on GitHub and the latest file on Modrinth is 24.1, from 24 September 2026, and Modrinth lists it for versions up to 26.2 [5]. The main branch’s build number is 25.0, and the 26.3 download link points at coreprotect.net/latest, which sent me to the author’s Patreon page rather than a file. So on 26.3, the free build I could confirm is listed for 26.2 at most. Check the version list on the exact file before you download, and recheck on each new Minecraft release.
Install it before you need it
CoreProtect cannot show you damage that happened before it was running. The docs pages I read have no install steps, so this part is ordinary plugin practice: put the jar in plugins/, restart, and confirm it loaded. The Paper plugin install guide covers the steps. Do it on a quiet day, not in the middle of an incident.
A griefing, start to finish
This is an example scenario, with a made-up player name, to show the order. Say someone burned a house near spawn and emptied a chest in it a few hours ago.
1. Inspect to find the name. Run /co i. The docs: “Enable the inspector. Type the command again to disable it.” [2] With it on, left-click a block to see who placed it, and right-click a door, button, lever or container to see who last used it [5]. Left-click the burned blocks, right-click the chest. You now have a name, or several.
2. Look up everything that player did. Lookups take the same filters as rollbacks, and u: is the user, t: the time, r: the radius [2]:
/co lookup u:GrieferName t:6h r:50
Time can combine weeks, days, hours, minutes and seconds, accepts decimals, and also takes a range such as t:1h-2h [2]. A lookup has no default radius [2], so leave r: off to search the whole world. If it returns several pages, /co lookup <page> switches [2].
3. Check what came out of containers. a: restricts the action. a:-container is “items taken from chests”, a:+container is “items put in chests” and a:container is both [2]:
/co lookup u:GrieferName t:6h a:-container
The docs define these actions and show no container rollback example, and I did not test one. Read the lookup before you assume a rollback will return the items.
4. Preview the rollback. #preview is documented as “Preview a rollback/restore”, and the docs’ example puts it at the end of the command [2]:
/co rollback u:GrieferName t:6h r:50 #preview
Do not skip this. A rollback with the wrong radius or time is its own griefing event, and the preview shows the change before it happens. Use the docs’ own example as the template: /co rollback u:Notch,Intelli t:1h #preview previews two players at once [2].
5. Roll it back. Same line, no #preview:
/co rollback u:GrieferName t:6h r:50
6. Verify, then undo if needed. Walk the area. If you rolled back the wrong player or window, /co restore with the same filters puts the changes back [2]. The docs also list /co undo as “Revert a rollback/restore via the opposite action” [2].
The parameters
Rollback and restore “use the same parameters as /co lookup” [2]:
| Parameter | Meaning per the docs [2] |
|---|---|
u:<user> |
Specify the user(s) to lookup |
t:<time> |
Specify the amount of time to lookup |
r:<radius> |
Specify a radius area to limit the lookup to |
a:<action> |
Restrict the lookup to a certain action |
i:<include> |
Include specific blocks/entities |
e:<exclude> |
Exclude blocks/entities |
A numeric radius means “within that many blocks of your player location”. You can target a world by name (r:#world_the_end), the whole server (r:#global), or a WorldEdit selection (r:#worldedit) [2]. Other actions include a:block, a:-block (blocks broken), a:+block (placed), a:chat, a:command, a:kill and a:session [2]. The docs example /co rollback t:15m r:#worldedit undoes everything done in the last 15 minutes inside a WorldEdit selection [2].
When the rollback does nothing
- The radius. With no
r:, a rollback applies a radius of 10 around you [2]. If you stood at the wrong spot or forgotr:, almost nothing matches. The lookup you ran earlier had no radius, which is why it looked so much bigger. - The time window.
t:1hcovers one hour, not “since the incident”. Check the first line of your lookup for the actual age of the damage. - You are searching the wrong name. Use the exact name the inspector showed. If the player may have changed accounts,
/co lookup u:Name a:usernamelists previous usernames [2]. - The data was never logged. Anything before install, or anything excluded through
blacklist.txt[4], is gone. Keep regular backups as the safety net for that. That is my advice, not a CoreProtect claim.
Permissions
The docs list coreprotect.inspect, coreprotect.lookup, coreprotect.rollback, coreprotect.restore and coreprotect.purge, each “Allows access to the CoreProtect [name] command”, and they default to op [3]. Give rollback and restore only to staff you trust with the whole world. The whitelist and permissions guide covers assigning permission nodes.
Storage and purging
The docs say new installations use embedded DuckDB by default, stored in plugins/CoreProtect/database.duckdb, with sqlite, mysql and clickhouse also listed as values for database-type, and that DuckDB needs CoreProtect 25.0+ [4]. The 24.1 release in the paragraph above predates that: its config still has the older use-mysql switch, set to false by default (from the 24.1 source, not from running it), so expect a SQLite file there. Logs grow over time. /co purge t:<time> r:<world> i:<include> removes old data, “useful for freeing up space” [2]. In game it only purges data older than 30 days, and from the console only data older than 24 hours [2]. Purged data cannot be rolled back, which is my inference from what purge does.
The docs also describe an automatic purge that runs once a day (auto-purge: 180d in the example, with a 30-day minimum), off by default, and they say it is a Patreon-exclusive feature in CoreProtect 24.0+ builds [6]. If your build does not include it, purge by hand.
What I did not check
I did not run any of these commands on a server for this post. The command syntax, defaults and permission nodes are from the documentation as read on 2026-11-17. How container rollbacks behave in practice, and how long a large rollback takes, are things I cannot tell you.
Questions people ask
How do I undo a rollback I ran by mistake?
Use /co restore with the same parameters. The docs say restoring can be used to undo rollbacks [2]. They also list /co undo, described as reverting a rollback/restore via the opposite action [2].
Who can use CoreProtect rollbacks by default?
The permissions page lists coreprotect.rollback and coreprotect.restore as defaulting to op [3]. Grant them only to staff you trust.
Why did my rollback change almost nothing when the lookup showed hundreds of edits?
Rollbacks apply a default radius of 10 blocks around you when you give none, and lookups do not [2]. Add r:50 or r:#global to the rollback to match what the lookup searched.
Does CoreProtect support Minecraft 26.3?
The newest release published on GitHub and Modrinth is 24.1 (24 September 2026), and Modrinth lists it for Minecraft up to 26.2 [5]. The README on GitHub's main branch advertises downloads up to 26.3 [1], but that branch is version 25.0, which I could not find as a download on either site. Check the version list on the file you download.