警告
本项目已不再维护。
PaperProtect
PaperProtect 是一款简单的插件,用于记录方块变化(放置与破坏)并提供回滚功能。它可作为 CoreProtect 等插件的替代品,专注于易用性和性能。
功能
- 日志记录:记录所有方块变化(放置与破坏)。
- 回滚:允许撤销指定时间范围内的方块变化。
- 检查:显示方块的变更历史。
- 附近:显示玩家附近的近期方块变化。
- 更新检查:自动检查更新并通知玩家。
安装
- 下载:下载该插件的最新版本。
- 安装:将
.jar 文件放入服务器的 plugins 文件夹中。
- 启动服务器:重启服务器以加载插件。
- 数据库:数据库将在
plugins/PaperProtect 文件夹中自动创建。
权限
- paperprotect.use:允许使用所有命令。
命令
| 命令 |
描述 |
/paperprotect inspect |
切换检查模式。右键点击方块以查看其历史记录。 |
/paperprotect rollback <time> |
回滚过去 <time> 时间内所做的更改(例如 1m、2h、3d)。 |
/paperprotect undorollback |
撤销上一次回滚操作。 |
/paperprotect near |
显示玩家附近最近的方块更改。 |
/paperprotect help |
显示所有命令列表。 |
示例
执行回滚
若要撤销过去 5 分钟内所做的所有更改:
/paperprotect rollback 5m
启用检查模式
启用检查模式并右键点击一个方块以查看其更改历史:
/paperprotect inspect
显示最近更改
显示你附近的最近方块更改:
/paperprotect near
日志记录是如何工作的?
该插件在 SQLite 数据库中记录所有方块更改(放置和破坏)数据。数据按玩家、操作、材质、坐标和时间戳存储。
可以导出数据库吗?
是的,数据库位于 plugins/PaperProtect/database.db。你可以使用 SQLite 工具(如 DB Browser for SQLite)打开并分析它。
支持
如果你在使用插件时遇到问题或有疑问,可以通过以下方式联系我:theerrorexe@gmail.com
祝你使用 PaperProtect 愉快!
WARNING
This Project is no longer maintained.
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
- Download: Download the latest version of the plugin.
- Install: Place the
.jar file in your server's plugins folder.
- Start Server: Restart the server to load the plugin.
- 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 ().
Support
If you encounter issues or have questions about the plugin, you can contact me: theerrorexe@gmail.com
Enjoy PaperProtect!
评论 0
登录后参与评分
还没有评论,来抢沙发吧