PrismProtect
Adds some protect functionality for server Has functions same as coreprotect(not all)
📖About PrismProtect
PrismProtect is a server-side Forge mod for Minecraft 1.20.1 that provides CoreProtect-like logging and rollback — without plugins, built for modded servers and high performance.
Features
Logs block break/place/replace with full BlockEntity NBT support
Tracks explosions (TNT, creepers, modded) including the source
Logs entity deaths with complete NBT snapshot for accurate restoration
Records container and inventory changes
Supports blocks and entities from any mod — namespaced IDs are stored as-is
Optimized SQLite storage with WAL journaling and async-safe writes
Inspect mode — click any block to view its full change history
Commands
/pp inspect on|off
Enables or disables inspect mode to view block history by clicking
/pp lookup [u:<name>] [t:<time>] [r:<radius>] [a:entity]
Searches logged actions using filters. Add a:entity to search entity log
/pp rollback [u:<name>] [t:<time>] [r:<radius>] [a:entity]
Reverts changes within the selected time range. Use a:entity to restore killed entities
/pp restore [u:<name>] [t:<time>] [r:<radius>]
Re-applies previously rolled-back changes
/pp purge t:<days>
Deletes log data older than the specified time (requires op level 4)
/pp status
Shows database statistics and mod version
Time Format
Supports s m h d w — for example: 1h30m, 2d, 1w, 30m
Entity Rollback
Entity rollback is available as a separate argument — add a:entity to any rollback command.
When rolling back entity kills, PrismProtect re-spawns the entity at the original location using the full NBT snapshot captured at the moment of death — including health, inventory, name tags, and custom data from modded entities.
Storage
PrismProtect uses SQLite (bundled — no external database required).
The database is stored at config/prismprotect/prismprotect.db.
WAL journaling ensures safe concurrent access during active play.
Version Support
| Minecraft | Forge | Status |
|---|---|---|
| 1.20.1 | 47.2.0+ | ✅ Supported |
| 1.20.x | Other builds | ⚠️ Not tested |
Server-side only. Does not need to be installed on the client.