PaperProtect
SpigotMCModrinthPaperProtect - A CoreProtect alternative by TheErrorExe
PaperProtect
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
- Logging: Logs all block changes (place and break).
- Rollback: Allows undoing block changes within a specified time frame.
- Inspect: Displays the change history of a block.
- Near: Shows recent block changes near the player.
- Update Check: Automatically checks for updates and notifies players.
---
Installation
1. Download: Download the latest version of the plugin.
2. Install: Place the .jar file in your server's plugins folder.
3. Start Server: Restart the server to load the plugin.
4. Database: The database will be automatically created in the plugins/PaperProtect folder.
---
Permissions
- paperprotect.use: Allows access to all commands.
---
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!
Comments 0
No comments yet. Be the first to share your thoughts.