PaperProtect - A CoreProtect alternative by TheErrorExe
This Project is no longer maintained.
PaperProtect is a simple plugin that logs block changes (place and break) and provides rollback functionality. It serves as an alternative to plugins like CoreProtect, with a focus on ease of use and performance.
Features
Installation
.jar file in your server's plugins folder.plugins/PaperProtect folder.Permissions
Commands
| Command | Description |
|---|---|
/paperprotect inspect |
Toggles inspect mode. Right-click blocks to view their history. |
/paperprotect rollback <time> |
Rolls back changes made in the last <time> (e.g., 1m, 2h, 3d). |
/paperprotect undorollback |
Undoes the last rollback. |
/paperprotect near |
Shows recent block changes near the player. |
/paperprotect help |
Displays a list of all commands. |
Examples
Perform a Rollback
To undo all changes made in the last 5 minutes:
/paperprotect rollback 5m
Enable Inspect Mode
Enable inspect mode and right-click a block to view its change history:
/paperprotect inspect
Show Recent Changes
Show recent block changes near you:
/paperprotect near
How does logging work?
The plugin logs all block changes (place and break) in an SQLite database. Data is stored by player, action, material, coordinates, and timestamp.
Can I export the database?
Yes, the database is located at plugins/PaperProtect/database.db. You can open and analyze it using an SQLite tool like DB Browser for SQLite (https://sqlitebrowser.org/).
Support
If you encounter issues or have questions about the plugin, you can contact me: [email protected]
Enjoy PaperProtect!