How to Stop Griefing on Your Minecraft Server (and Undo It)
You log in and half your base is gone, a chest is empty, or there's lava where your farm used to be. Griefing happens on every server that lets new people in, even small friend groups. The good news: with the right two plugins you can see exactly who did it and put everything back in under a minute.
/co rollback u:PlayerName t:2h r:30. To prevent it, add land claims with GriefPrevention, turn on a whitelist, and only give OP to people you fully trust.Both plugins below run on Paper, Purpur and Spigot. If your server is Vanilla, switch to Paper first, it keeps your world and runs plugins (why Paper is the usual pick).
Step 1: Install CoreProtect (do it now, not after)
CoreProtect records who changed what, where and when. It can only roll back things that happened after it was installed, so add it on day one.
Upload the jar to your plugins folder and restart (plugin install guide). There's nothing to configure for normal use.
Step 2: Find out who did it
Run /co inspect (or /co i) to turn on the inspector. Now:
- Left click a block to see who placed or broke it there, and when.
- Right click a chest to see who took or added items.
Run /co i again to turn it off.
To look at a whole area, use a lookup:
/co lookup r:20 t:1d
That lists every change within 20 blocks of you in the last day.
Step 3: Roll it back
The rollback command has three parts you'll use constantly:
u:the player (u:Steve)t:how far back (t:30m,t:2h,t:3d)r:the radius around you in blocks (r:30), orr:#globalfor everywhere
Undo everything one player did in the last two hours within 30 blocks:
/co rollback u:Steve t:2h r:30
Made a mistake? Undo the rollback:
/co restore u:Steve t:2h r:30
Rollbacks also put back stolen chest items. Start with a small radius and a short time, check the result, then widen if needed.
Tip: if you don't know who did it, inspect a few broken blocks first. The name almost always shows up.
Step 4: Stop it happening again
Give players land claims
GriefPrevention lets each player protect their own builds. They hold a golden shovel and right click two opposite corners to claim an area. Nobody else can break, build or open chests inside unless they're trusted.
The commands players need:
/trust Namelets a friend build in your claim/containertrust Namelets them use chests only/untrust Nameremoves them/abandonclaimdeletes the claim you're standing in
Players earn more claim blocks the longer they play, which rewards regulars and stops a new account from claiming half the map.
Lock down who can join
For a friends server, a whitelist is the single best anti grief tool: only names you add can join. Most griefing on small servers comes from someone who found the address, not from inside the group.
Be careful with OP
An OP can do anything: give items, change gamemode, run commands that wreck the world. Only OP people you'd trust with your house keys. For everyone else, use ranks with specific permissions. Our LuckPerms guide shows how to give helpers only the commands they need. And if someone does cause trouble, here's how to ban them.
Turn off what you don't need
In server.properties you can lower risk a little: keep spawn-protection on so the spawn area can't be broken by non-OPs. The server.properties guide explains each setting.
Keep backups too
CoreProtect handles block by block damage. For the worst case, like a corrupted world or an accidental /co rollback r:#global gone wrong, you want a full copy of the world. Make a backup before big changes and keep one from before any big event. How to back up your server.
On FreaksMC: every plan has backup slots in the panel. Make one in a couple of clicks before you try a big rollback, and restore it if something goes wrong.
Does CoreProtect slow the server down?
Barely. It writes to a small database and is built for busy servers. The database grows over time, and you can clear very old entries with /co purge t:30d (removes logs older than 30 days) if disk space gets tight.
Quick checklist
- CoreProtect installed from day one
/co ito find who did it,/co rollbackto undo- GriefPrevention so players protect their own builds
- Whitelist on for a private server
- OP only for people you fully trust
- A backup before anything risky
Want a server that just runs fast?
FreaksMC runs on NVMe hardware with performance-tuned defaults baked in - pre-optimized Paper, sane view distances, and one-click world pre-generation. Set up in 60 seconds.
See plans from $3/mo