通过还原和回滚世界,保护你的服务器免受破坏!
工作原理:允许你在预定的时间点保存世界的控制点,并在出现问题时通过一条命令进行恢复。
✅ 备份经过优化,仅保存必要的内容,以占用尽可能少的磁盘空间。
✅ 开源
✅ 仅在保存和回滚区块时 TPS 会下降。
✅ 可配置
✅ 支持配额设置(防止磁盘满)
? 发现 bug?问题页面
源代码
命令
- griefrollback save → 执行世界备份
- griefrollback task [info/join] → 获取当前任务信息或让插件将自己设置为任务执行者(用于获取实时进度)。
- griefrollback rollback [time] → 将世界恢复到 [time] 前的状态(它将恢复最近的备份)。
- griefrollback version → 查看所有已保存的世界版本并允许快速恢复
配置文件
#这是 GriefRollback 的主配置文件
#如果 AutoCheckpoint 为 true,则启动计划任务,并按定义的刻间隔保存世界。
AutoCheckpoint: true
#所有修改过的区块将被保存的刻时间间隔(数值过低可能会严重影响服务器性能)()
AutoCheckpointInterval: 72000
#如果为 true,所有自动检查点任务都会发送到服务器控制台
LogAutoCheckPoint: true
#自动删除旧的世界版本:如果设置为 true,则删除最旧的版本以避免超过一定大小,这也可以称为“配额”功能
Autodeleteversion: true
#版本文件夹的最大大小(单位:MB)
AutodeleteversionMaxSize: 5000
#如果设置为 true,则会保存村民、经验值、位置和职业(保存区块可能需要更多时间和空间,且交易目前未保存)
StoreVillagers: true
#如果设置为 true,则会保存箱子中的所有物品(保存时会占用更多空间)
StoreChestContent: true
Protect your server from griefing by being able to restore and revert to your world !
How it works: Allows you to save control points of your world at certain predefined times and restore them in case of problems in a single command.
✅ Backups are optimized and are designed to take up little disk space by only saving what is necessary.
✅ Open-source
✅ Tps only decreases when saving and rolling back chunks.
✅ Configurable
✅ Add a quota (to prenvent a full disk)
? Found a bug? Issue page
Source code
Commands
- griefrollback save → Perform a world backup
- griefrollback task [info/join] → Get current task info or ask the plugin to set itself as the task executor (used to get real-time progress).
- griefrollback rollback [time] → Restores the world as it was [time] ago (it will restore the nearest backup).
- griefrollback version → View all saved versions of the world and allow them to be restored quickly
Config File
#This is the main configuration file for GriefRollback
#If Auto-checkpoint is equal true, a schedule start and the world will be save at a defined tick interval.
AutoCheckpoint: true
#The time interval in ticks where all modified chunks will be saved (Too low a number can greatly impact server performance) ()
AutoCheckpointInterval: 72000
#If true all auto-checkpoint task will be sent into the server console
LogAutoCheckPoint: true
#Auto-Delete old world version: if set to true the oldest version will be deleted to avoid exceeding a certain size, this can also be named as a 'Quota' feature
Autodeleteversion: true
#The max size of the version folder (in mo)
AutodeleteversionMaxSize: 5000
#If set to true all villagers, xp, position and profession will be save (can take more time to save a chunk and more space and the Trades was not saved currently)
StoreVillagers: true
#If set to true store all items inside the Chest (can take more space to save)
StoreChestContent: true
评论 0
登录后参与评分
还没有评论,来抢沙发吧