---
title: "Setting Up CoreProtect: Block Logging and Rollback | ZCS"
description: "When a build gets griefed, the first question is always \"what happened here,\" and CoreProtect is the plugin that actually answers it."
url: "https://www.zcraftstudios.com/blog/coreprotect-block-logging-setup"
updated: "2026-10-19T18:29:55.974461+00:00"
source: "ZCraft Studios"
---

> Site index for AI agents: https://www.zcraftstudios.com/llms.txt (full reference: https://www.zcraftstudios.com/llms-full.txt). Every page is available as Markdown by adding `.md` to its URL or sending `Accept: text/markdown`.

1. [Home](https://www.zcraftstudios.com/)
2. [Blog](https://www.zcraftstudios.com/blog)
3. Setting Up CoreProtect: Block Logging and Rollback

[ All posts](https://www.zcraftstudios.com/blog)

# Setting Up CoreProtect: Block Logging and Rollback

ZCraft StudiosOct 3, 2026Updated Oct 19, 2026

When a build gets griefed, the first question is always "what happened here," and CoreProtect is the plugin that actually answers it.

## In this guide

- [Install CoreProtect](#install-coreprotect)
- [Looking Up What Happened in an Area](#looking-up-what-happened-in-an-area)
- [Looking Up a Specific Player](#looking-up-a-specific-player)
- [Rolling Back Damage](#rolling-back-damage)
- [Restoring a Rollback (Undo the Undo)](#restoring-a-rollback-undo-the-undo)
- [Logging Container Access](#logging-container-access)
- [Performance Considerations](#performance-considerations)
- [A Few Things Worth Knowing](#a-few-things-worth-knowing)
- [Rollback commands and workflow](#rollback-commands-and-workflow)
- [CoreProtect project image](#coreprotect-project-image)
- [Related reading](#related-reading)

## Setting Up CoreProtect: Block Logging and Rollback

_Not "who do we think did it," but an actual log of every block change, with a command to undo it._

CoreProtect logs block placements, breaks, container access, and more, with a timestamp and the player responsible. When something gets griefed (or a build just needs reverting after a mistake), CoreProtect can both show what happened and roll it back automatically.

## Install CoreProtect

[CoreProtectCoreProtect is a fast, efficient, data logging and anti-griefing tool. Rollback and restore any amount of damage. Designed with large servers in mind, CoreProtect will record and manage data without impacting your server performance.On Modrinth ](https://modrinth.com/plugin/coreprotect)

Download CoreProtect from the project linked above. Check the supported Minecraft version, server platform, Java requirement and dependencies for the selected release.

1. Back up the server files and any plugin database.
2. Stop the server before changing JAR files. Put the compatible plugin build and its required dependencies in the correct plugin folder.
3. Start the server and read the startup log. Resolve missing dependencies or version errors before editing the generated configuration.
4. Stop the server, make one small configuration change, then restart and test it with a non-operator account.

Check that block logging works before relying on rollback. Preview a narrowly scoped rollback and keep a backup before reverting player builds.

## Looking Up What Happened in an Area

Stand near the affected area and run:

```
/co inspect
```

This gives you a tool (by default, your held item) that shows block history when you left-click a block: who placed or broke it, and when.

## Looking Up a Specific Player

```
/co lookup player <name> time:1h
```

shows everything that player did in the last hour, across their logged radius. Add `action:block` or `action:container` to narrow it to a specific type of action.

## Rolling Back Damage

```
/co rollback player <name> time:30m radius:50
```

reverts every logged change by that player within 50 blocks of your current location, in the last 30 minutes. This is the core feature. Most other logging plugins only show history, not revert it.

## Restoring a Rollback (Undo the Undo)

```
/co restore player <name> time:30m radius:50
```

reapplies whatever a rollback just removed. This is useful if a rollback accidentally reverted legitimate changes along with the griefing.

## Logging Container Access

CoreProtect also logs chest/container opens and item transactions by default, which is often how item theft between players gets resolved; `/co lookup` with `action:container` surfaces exactly who took what from a shared chest.

## Performance Considerations

On a very active, long-running server, the logging database can grow large. `/co purge t:30d` purges logs older than 30 days, trading long-term history for database size. That's a reasonable tradeoff on servers without a strong moderation need to reference very old incidents.

## A Few Things Worth Knowing

- CoreProtect logs by default as soon as it's installed. There's no separate "enable logging" step.
- Rollback and restore both affect a radius around **your current location**, not the entire world, so standing in the right spot before running the command matters.
- MySQL storage is supported and recommended for very high-traffic servers, configured the same way most other plugins switch storage backends.

## Rollback commands and workflow

For the full command reference, parameters and a safe rollback workflow, see the [CoreProtect Rollback Guide](https://www.zcraftstudios.com/blog/coreprotect-rollback-commands-guide).

## CoreProtect project image

[CoreProtect official project iconView project details, supported versions and downloads.On Modrinth ](https://modrinth.com/project/Lu3KuzdV)

_Official CoreProtect project image. [CoreProtectCoreProtect is a fast, efficient, data logging and anti-griefing tool. Rollback and restore any amount of damage. Designed with large servers in mind, CoreProtect will record and manage data without impacting your server performance.On Modrinth ](https://modrinth.com/plugin/coreprotect)._

## Related reading

- [Dealing With Cheaters on a Minecraft Server](https://www.zcraftstudios.com/blog/minecraft-server-cheaters)
- [Best Minecraft Server Plugins by Category](https://www.zcraftstudios.com/blog/best-minecraft-plugins-by-category)

## Continue reading

- [CoreProtect Rollback Guide: Commands and Safe Restores](https://www.zcraftstudios.com/blog/coreprotect-rollback-commands-guide)
- [Setting Up AdvancedBan for Punishment Logging](https://www.zcraftstudios.com/blog/advancedban-setup-guide)
- [Setting Up LiteBans for Ban, Mute, and Kick Logging](https://www.zcraftstudios.com/blog/litebans-setup-guide)

[ Previous guide Setting Up Multiverse for Multiple Worlds](https://www.zcraftstudios.com/blog/multiverse-multiple-worlds-setup)[ Next guide Setting Up GriefPrevention for Player Land Claims](https://www.zcraftstudios.com/blog/griefprevention-claims-setup)
