• 欢迎来到Minecraft插件百科!
  • 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
  • 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289

Regionerator

来自Minecraft插件百科
Qsefthuopq讨论 | 贡献2017年12月21日 (四) 20:35的版本
跳转至: 导航搜索
Regionerator
外文名Regionerator
作者Jikoo
最新版本1.4.4
源地址https://www.spigotmc.org/resources/magespells-remastered.50430/

免责声明

这个插件通过直接修改或删除region文件来删除区块.这无法被还原,建议有定期备份服务器地图的服务器使用
插件作者不会对该插件任何对服务器地图的损坏负责

作用

regionerator删除不使用的区块和区域,让您的服务器释放硬盘空间,摆脱旧的建筑或荒芜的土地。

在观察者模式玩家不会造成土地被标记。

权限

输入指令需要regionerator.command 权限.

指令

/regionerator - 获取所有世界的当前状态.

/regionerator reload - 重新加载配置并重启所有删除任务.

/regionerator pause - 暂停删除任务。为了防止一些问题发生,插件将在暂停之前完成当前检测的区域。

/regionerator resume - 恢复删除任务.

/regionerator check - 检测你所在的区块状态.

/regionerator flag - 永久标记相关区域为已加载.

/regionerator unflag - 取消标记相关区域为已加载.

  • 无参数 (例如 /regionerator flag)
    • 只限玩家
    • 编辑所在区块上的标记
  • 区块 x 和区块 z (例如 /regionerator unflag 0 0)
    • 只限玩家
    • 编辑特定区块上的标记
  • 世界名,区块 x 和区块 z (例如 /regionerator flag world 0 0)
    • 玩家和控制台可使用
    • 编辑特定世界特点区块上的标记
  • 选择 (例如 /regionerator unflag selection)
    • 只限玩家
    • 需要worldedit
    • 编辑所选区域内的标记

作者的话

每次插件尝试删除区块时,RegioneratorChunkDeleteEvent将会被激活.这个事件每周期每次会运行最多1024此,插件本身比旧版本更加有效,但对服务器负荷也许仍然很重,建议任何使用本插件的人都要谨慎.
Regionerator 也不能保证区块能被完全删除- 有可能当加载区块时会被储存 卸载和等待被写入.

Each time Regionerator attempts to delete a chunk, the RegioneratorChunkDeleteEvent is fired. The event can be called up to 1024 times per tick per cycle running, and Regionerator itself, while much more efficient than it used to be, is still quite heavy. Caution is advised for anyone using it.
Regionerator also makes no guarantee that chunks are fully deleted - it's possible that chunks could be stored unloaded and waiting to be written when Regionerator visits them.

配置

常见问题

我的服务器很卡! 我该什么办?

Try reducing chunks-per-deletion. Deletion must be done on the main thread to prevent potential world corruption, so there isn't much else that can be done. After the initial run, during which there's a lot of area to delete, it runs a lot more smoothly.

为什么这个插件删除区块要这么长时间?

Well, Regionerator doesn't magically know what has and hasn't been visited. It needs to gather data for as long as it takes chunks to become unvisited before it can tell what's safe to delete.

为什么重载区块这么慢?

If cycles are taking too long for your taste, try increasing chunks-per-deletion or decreasing ticks-per-deletion.

支持自定义世界生成吗?

Regionerator 实际上并不会重新生成区域,只是删除了区域. Whatever world generator you're using will then provide the chunk when it generates again.

可以添加某个保护插件的插件支持吗?

当然, point me to it. Provided it has a way I can efficiently check for claims in a chunk, I'll do it. I can't guarantee it'll happen soon, but Regionerator is open source, you're free to submit a pull request. I also can't effectively test plugins that I do not use myself, so I cannot guarantee that it will function properly.

支持的保护插件

  • ASkyBlock (未测试)
  • Factions / FactionsUUID (未测试)
  • Feudal (支持)
  • GriefPrevention
  • Kingdoms (未测试)
  • Landlord (未测试)
  • RedProtect (未测试)
  • Residence (支持)
  • Towny (未测试)
  • WorldGuard (可能有问题)
  • 原版出生点保护