CoreProtect is a server-side logging and anti-griefing plugin for Bukkit, Spigot, Paper, Purpur, and Folia servers running Minecraft Java Edition. It records block changes, container interactions, and player actions in a local database, letting admins roll back grief damage, restore accidentally destroyed builds, and inspect the history of any block with a single command.
What CoreProtect Records
CoreProtect captures a wide range of in-game events so admins have a complete audit trail:
- Block placements and removals by players
- Chest, furnace, and container interactions (items added or removed)
- Entity kills, including animals, mobs, and other players
- Natural block changes from fire, water, lava, explosions, and pistons
- Sign text edits and command usage
- Player chat messages
Rolling Back and Restoring Damage
To undo grief damage, run the rollback command with a time range and optional filters. To revert a rollback and put the world back to its post-grief state, use the restore command with the same parameters.
- /co rollback u:<username> t:<time> — roll back a player's actions within a time window
- /co restore u:<username> t:<time> — undo a rollback if you changed your mind
- /co lookup u:<username> t:<time> — list logged actions without changing anything
- /co inspect — toggle the inspection tool on a stick; right-click any block to see its history
Compatible Server Software
CoreProtect runs server-side only. Players do not install anything. Supported server platforms include Bukkit, Spigot, Paper, Purpur, and Folia (thread-safe variant). It supports Minecraft Java Edition 1.16.5 through 1.21.x and stores logs in either SQLite (zero config, single file) or MySQL/MariaDB for larger multi-server setups.
Performance
CoreProtect was designed for servers with many active players. Logging is asynchronous, so block change events do not stall the main server thread. Database writes are batched, and old log data can be pruned on a schedule to keep the database size manageable. Most survival and SMP servers report no measurable TPS drop after installing CoreProtect.
CoreProtect overview and setup walkthrough
Questions about this entry.
How do I install CoreProtect on my Minecraft server?
Download the CoreProtect JAR from Modrinth and drop it into your server's plugins folder. Restart the server. CoreProtect creates its configuration file and database automatically on first run. No additional setup is required for SQLite storage.
Does CoreProtect work with Paper or Spigot?
Yes. CoreProtect supports Bukkit, Spigot, Paper, Purpur, and Folia for Minecraft Java Edition 1.16.5 and newer. Paper is the most common deployment and receives the most testing by the CoreProtect team.
How do I roll back grief damage with CoreProtect?
Use /co rollback u:<username> t:<time> in the server console or in-game as an admin. For example, /co rollback u:GrieferName t:1h rolls back everything that player did in the last hour. Run /co restore with the same arguments to undo the rollback.
Does CoreProtect affect server performance?
CoreProtect uses asynchronous logging so data writes happen off the main thread. It is widely used on large public servers and SMP realms with no measurable impact on TPS. You can also configure log pruning to keep the database compact.
What database does CoreProtect use?
By default CoreProtect uses an embedded SQLite database stored in its plugin folder, which requires no setup. For high-traffic servers or multi-server networks, you can configure it to use MySQL or MariaDB in the config.yml file.






