支持版本:1.17 ~ 26.3
-> 点击此处联系我们获取技术支持 <-
玩家:“资源世界太麻烦了,总是得来回传送。”
玩家:“不能在一个世界里既采集资源又建造吗?”
开发者:“但那样的话就无法重置世界了,资源会一直枯竭。”
玩家:“能不能让已探索的区域定期恢复原状?”
于是,这个插件应运而生。
跳过毫无意义的资源世界,在一个世界中享受无限资源的便利!
? 功能特性
-
可选的土地认领再生保护模式
-
可选的依赖项
- CoreProtect
- Residence
- GriefPrevention
- GriefDefender
- ChunkClaimPlugin2
- FastAsyncWorldEdit (1.21+ 必需)
-
兼顾服务器性能的配置
- 基于 TPS 暂停再生,直到 TPS 恢复正常
- 基于玩家数量暂停再生,直到人数降至设定值以下
- 调整每个 tick 再生的区块数量
- 调整每次再生放置的最大方块数
- 限制再生的时间窗口
- 调整区块生成策略和激进程度
aggressive(激进)- 如果区块过期,则自动加载并再生average(平均)- 玩家加载一个区块后,若附近区块(3×3)已过期,则进行再生passive(被动)- 仅当玩家加载的区块已过期时才进行再生
- 限制每天再生的鞘翅最大数量
- 调整允许再生的生物群系和世界
- 在再生后增加额外的延迟,以防止玩家在固定地点刷取资源
- 再生后随机化矿物分布,以防止固定地点刷取资源
- 限制矿物混淆的高度及受影响的方块类型
- 防止战利品箱在再生时生成物品,以防止固定地点刷取资源
- 调整非过期区块数据保存并同步到本地或远程数据库的频率(以 tick 为单位)
- 调整执行数据库命令的频率(以 tick 为单位)
- 调整检查区块过期的频率(以 tick 为单位)
- 调整处理事件影响区块计算频率(以 tick 为单位)
- 调整检查和恢复需保留方块的频率(以 tick 为单位),以避免末地传送门闪烁等视觉故障
- 限制每次标记区块过程中处理的最大方块数
-
多种数据存储选项
yaml- 本地sqlite- 本地mysql- 远程,需要配置 MySQL 服务器
-
供开发者集成资源再生流程的方式
- 再生过程会触发
Bukkit事件,供开发者挂钩使用 IIntegrationManager负责处理土地认领保护、方块日志记录、再生等的集成IAPIMain是插件的主接口,其他类可通过它获取
- 再生过程会触发
? 使用方法
- 下载本插件
- 将
plugin.jar放入服务器的插件文件夹 (plugins) - 完成!(如果使用插件加载器,记得
load该插件)
? 使用此插件时,请务必备份您的地图,以防发生意外情况!!!
⚙️ 配置
插件成功启动后,您将在 plugins/NatureRevive 目录中找到一个 config.yml 文件,其中包含所有插件设置。
? 命令
/nr forceregenall— 强制重新生成所有过期区块/nr regenchunk <bukkit/fawe>— 强制重新生成当前区块 (1.21+ 下 bukkit 模式自动禁用)/nr reload— 重载插件/nr pause— 暂停资源再生进程/nr resume— 恢复资源再生进程/nr migrate <yaml/sqlite/mysql>— 将数据库迁移至指定的存储方式/nr debug— 调试信息;非必要请勿使用
? 权限
naturerevive.forceregenall— 使用/nr forceregenall的权限naturerevive.regenthischunk— 使用/nr regenchunk的权限naturerevive.togglerevive— 使用/nr pause和/nr resume的权限naturerevive.reloadreviveconfig— 使用/nr reload的权限naturerevive.navmigrate— 使用/nr migrate的权限naturerevive.debug— 使用/nr debug的权限
? 源代码
?️ BlueMap 显示支持
? 工作原理
- 玩家在某个区域活跃后,该区域会被标记为**“过期区块”**
- 如果在一定时间内没有其他玩家**“活跃”**于其中,则执行再生
- (默认情况下,包含土地认领的区块会被排除)
- “处于活跃状态”包括:
BlockBreakEvent(方块破坏事件)BlockBurnEvent(方块燃烧事件)BlockCookEvent(方块烹饪事件)LeavesDecayEvent(树叶腐朽事件)EntityDeathEvent(实体死亡事件)(特定条件:击杀者为玩家,且受害者不是玩家)BrewEvent(酿造事件)FurnaceBurnEvent(熔炉燃烧事件)EntityExplodeEvent(实体爆炸事件)BlockExplodeEvent(方块爆炸事件)BlockPlaceEvent(方块放置事件)BlockRedstoneEvent(红石方块事件)BlockGrowEvent(方块生长事件)PlayerInteractEvent(玩家交互事件)
- “处于活跃状态”包括:
? 致谢
| 贡献者 | 贡献内容 |
|---|---|
| NCT skyouo | NatureRevive 创建者;2.2.0 之前版本的Lead开发者 |
| twseer67875 | 添加了对 GriefDefender 插件的支持 |
| thechosecat | 添加了选择区块再生时间的闸门;提供了插件优化 |
| AlexCai2019 | 提供了插件优化 |
? 公告
请勿出售由 Brilliant Team 开发的插件或其功能。
我们所有插件均免费提供给服务器使用,
因此开发这些插件并不会为我们带来实际收入。
此类行为会在一定程度上削弱我们持续开发的意愿,
并可能导致我们将原本免费、开源的插件转为付费、闭源。敬请谅解。
Supported Versions: 1.17 ~ 26.3
-> Click here to contact us for support <-
Player: "Resource worlds are such a hassle, always having to teleport back and forth."
Player: "Can't gathering and building just happen in the same world?"
A dev: "But then you couldn't reset the world, and resources would just keep running out."
Player: "Can't the explored areas periodically revert to their original state?"
And so, this plugin was born.
A way to skip the pointless resource world and enjoy the convenience of unlimited resources in a single world!
? Features
-
Optional land-claim regeneration protection modes
-
Optional dependencies
- CoreProtect
- Residence
- GriefPrevention
- GriefDefender
- ChunkClaimPlugin2
- FastAsyncWorldEdit (required for 1.21+)
-
Configuration that takes server performance into account
- Pause regeneration based on TPS until TPS returns to normal
- Pause regeneration based on player count until it drops below a set number
- Adjust how many chunks regenerate per tick
- Adjust the maximum number of blocks placed per regeneration
- Restrict the time window for regeneration
- Adjust the chunk generation strategy and aggressiveness
aggressive- If a chunk is expired, it's automatically loaded and regeneratedaverage- After a player loads a chunk, nearby chunks (3×3) are regenerated if expiredpassive- Only the chunk the player loads is regenerated if expired
- Limit the maximum number of elytra regenerated per day
- Adjust which biomes and worlds are allowed to regenerate
- Add extra regeneration delay after regenerating, to prevent players from farming resources at a fixed spot
- Randomize ore distribution after regeneration, to prevent fixed-spot farming
- Limit the height of ore obfuscation and which blocks get obfuscated
- Prevent loot chests from spawning items on regeneration, to prevent fixed-spot farming
- Adjust how often (in ticks) non-expired chunk data is saved and synced to the local or remote database
- Adjust how often (in ticks) database commands are executed
- Adjust how often (in ticks) chunk expiration is checked
- Adjust how often (in ticks) event-affected chunk calculations are processed
- Adjust how often (in ticks) blocks that need to be preserved are checked and restored, to avoid the visual glitch of the End gateway flickering in the center of the End
- Limit the maximum number of blocks processed per chunk-marking pass
-
Multiple data storage options
yaml- localsqlite- localmysql- remote, requires a configured MySQL server
-
A way for developers to integrate with the resource regeneration process
- Regeneration fires
Bukkitevents for developers to hook into IIntegrationManagerhandles the integration of land-claim protection, block logging, regeneration, and moreIAPIMainis the plugin's main interface, from which other classes can be obtained
- Regeneration fires
? How to Use
- Download this plugin
- Drop the
plugin.jarinto your server's plugins folder (plugins) - Done! (If you use a plugin loader, remember to
loadthe plugin)
? When using this plugin, remember to back up your map to avoid any unexpected incidents!!!
⚙️ Configuration
After the plugin starts successfully, you'll find a config.yml file in the plugins/NatureRevive directory, which contains all of the plugin's settings.
? Commands
/nr forceregenall— Force-regenerate all expired chunks/nr regenchunk <bukkit/fawe>— Force-regenerate the current chunk (bukkit is auto-disabled on 1.21+)/nr reload— Reload the plugin/nr pause— Pause the resource regeneration process/nr resume— Resume the resource regeneration process/nr migrate <yaml/sqlite/mysql>— Migrate the database to the specified storage/nr debug— Debug messages; please don't use unless necessary
? Permissions
naturerevive.forceregenall— Permission to use/nr forceregenallnaturerevive.regenthischunk— Permission to use/nr regenchunknaturerevive.togglerevive— Permission to use/nr pauseand/nr resumenaturerevive.reloadreviveconfig— Permission to use/nr reloadnaturerevive.navmigrate— Permission to use/nr migratenaturerevive.debug— Permission to use/nr debug
? Source Code
?️ Displayed in BlueMap
? How It Works
- After a player has been active in an area, it is marked as an "expired chunk"
- When no other players have "been active" in it for a certain period, regeneration is performed
- (By default, chunks containing land claims are excluded)
- "Being active" includes:
BlockBreakEventBlockBurnEventBlockCookEventLeavesDecayEventEntityDeathEvent(specific condition: the killer is a player and the victim is not a player)BrewEventFurnaceBurnEventEntityExplodeEventBlockExplodeEventBlockPlaceEventBlockRedstoneEventBlockGrowEventPlayerInteractEvent
- "Being active" includes:
? Credits
| Contributor | Contribution |
|---|---|
| NCT skyouo | Creator of NatureRevive; lead developer for versions prior to 2.2.0 |
| twseer67875 | Added support for the GriefDefender plugin |
| thechosecat | Added a time gate to choose when chunk regeneration occurs; provided plugin optimizations |
| AlexCai2019 | Provided plugin optimizations |
? Notice
Please do not sell plugins developed by the Brilliant Team, or sell their features.
All of our plugins are provided to servers free of charge,
so we earn no real income from developing them.
Such behavior will, to some extent, reduce our willingness to keep developing,
and may lead us to consider turning free, open-source plugins into paid, closed-source ones. We hope you understand.
下载 NatureRevive - 出色的
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 NatureRevive - 出色的
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 NatureRevive - 出色的
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 NatureRevive - 出色的
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 NatureRevive - 出色的
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 NatureRevive - 出色的
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 NatureRevive - 出色的
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 NatureRevive - 出色的
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 NatureRevive - 出色的
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 NatureRevive - 出色的
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
26.3 支持
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
使床在所有维度中爆炸的模组
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
评论 0
登录后参与评分
还没有评论,来抢沙发吧