自适应范围生物刷怪笼 (ARMS)
自适应范围生物刷怪笼(Adaptive Range Mob Spawner,简称 ARMS)插件会根据服务器的 TPS(每秒刻数)动态调整 Minecraft 中生物刷怪笼的激活范围,在确保最佳性能的同时最大化生物生成率。它在高效农场运营与服务器稳定性之间保持平衡,即使在玩家活动高峰期也能改善游戏体验。
主要功能
动态激活范围调整:
根据服务器的 TPS 自动在低阈值和高阈值之间调整刷怪笼的激活范围。
当 TPS 较高时,范围扩大以最大化生物生成。
当 TPS 降至配置阈值以下时,范围缩小以降低服务器负载。
玩家定义的范围控制:
可以在配置文件中定义初始、低和高范围,以满足服务器需求。
为放置的刷怪笼设置自定义初始范围。
可选择让自然生成的刷怪笼恢复至原版范围。
智能区块管理:
仅更新活跃玩家附近的区块,以减少不必要的处理。
可选择将预先存在的刷怪笼视为玩家放置的,以提供向后兼容性。
区块加载时自动更新:
确保在区块加载或 TPS 状态变化时,刷怪笼能够动态更新。
持久化玩家放置刷怪笼标记:
由玩家放置的刷怪笼会标记持久数据,确保只有被标记的刷怪笼保留调整后的范围,而自然生成的刷怪笼可保持不变。
启动和手动更新选项:
在服务器启动时自动更新所有已加载的区块。
通过命令强制手动更新所有刷怪笼。
配置选项
该插件提供广泛的配置文件来自定义其行为:
范围设置:
initial-spawner-range: 玩家放置刷怪笼的初始范围。
spawner-range-high: TPS 较高时的范围。
spawner-range-low: TPS 较低时的范围。
TPS 阈值:
tps-threshold-low: 降低范围的 TPS 水平。
tps-threshold-high: 恢复较宽范围的 TPS 水平。
区块管理:
only-update-near-players: 限制更新仅针对活跃玩家附近的区块。
player-chunk-radius: 监控的玩家周围区块半径。
世界控制:
disabled-worlds: 应禁用该插件的世界列表(例如 the_nether, the_end)。
刷怪笼更新策略:
affect-naturally-generated: 是否更新自然生成的刷怪笼。
update-preexisting-spawners: 是否更新没有玩家放置标记的预先存在的刷怪笼。
命令
/adaptivespawner — 查看当前 TPS、范围和插件状态。
/adaptivespawner reload — 无需重启服务器即可重新加载配置文件。
/adaptivespawner debug — 切换调试模式以启用详细日志记录。
/adaptivespawner update — 强制手动更新所有已加载的刷怪笼。
权限
block4block.admin — 授予访问插件命令和重新加载配置的权限。
使用场景
- 农场与磨坊:在高服务器负载期间最大化生物生成并保护 TPS。
- 生存与阵营服务器:动态范围调整确保高生物生成不会导致服务器卡顿。
- 创造与自定义世界:微调生物生成机制以适应服务器的特定需求。
性能影响与安全
利用区块缓存和高效的 TPS 检查优化,实现最小化影响。
在支持的情况下(适用于 Paper 服务器),异步区块处理确保即使在高峰时段也能平滑更新。
提供调试模式用于详细日志记录和故障排除。
安装与设置
下载并将插件 .jar 文件放入服务器的 plugins 文件夹。
启动或重载服务器。
自定义 config.yml 以符合您的服务器需求。
使用 /adaptivespawner reload 应用更改而无需重启。
兼容性
兼容 Bukkit、Spigot 和 Paper(推荐 Paper 以获得最佳性能)。
支持 Minecraft 1.13 至 1.21+ 版本。
完全可配置,以适应各种服务器类型和世界环境。
借助自适应范围生物刷怪笼,您可以确保高效的生物生成,维持最佳 TPS,并为玩家提供无缝的游戏体验。
Adaptive Range Mob Spawner (ARMS)
The Adaptive Range Mob Spawner (ARMS) plugin dynamically adjusts the activation range of spawners in Minecraft based on the server's TPS (Ticks Per Second), ensuring optimal performance while maximizing mob spawn rates. It improves gameplay by maintaining a balance between efficient mob farming and server stability, even during high player activity.
Key Features
Dynamic Activation Range Adjustment:
Automatically adjusts the spawner's activation range between a low and high threshold based on the server’s TPS.
When TPS is high, the range increases to maximize mob spawning.
When TPS drops below the configured threshold, the range decreases to reduce server load.
Player-Defined Range Control:
Initial, low, and high ranges can be defined in the configuration to meet server needs.
Set a custom initial range for placed spawners.
Automatically revert to a vanilla range for naturally generated spawners (optional).
Intelligent Chunk Management:
Only updates chunks near active players to reduce unnecessary processing.
Preexisting spawners can optionally be treated as player-placed for backward compatibility.
Auto-Update on Chunk Load:
Ensures spawners update dynamically when a chunk is loaded or when the TPS status changes.
Persistent Player-Placed Spawner Tagging:
Spawners placed by players are marked with persistent data, ensuring that only marked spawners retain adjusted ranges while natural spawners can be left unaffected.
Startup and Manual Update Options:
Automatically updates all loaded chunks on server startup.
Force-update all spawners manually with a command.
Configuration Options
The plugin offers an extensive configuration file to customize its behavior:
Range Settings:
initial-spawner-range: Initial range for player-placed spawners.
spawner-range-high: Range when TPS is high.
spawner-range-low: Range when TPS is low.
TPS Thresholds:
tps-threshold-low: TPS level to reduce the range.
tps-threshold-high: TPS level to restore a higher range.
Chunk Management:
only-update-near-players: Limit updates to chunks near active players.
player-chunk-radius: Radius of chunks around players to monitor.
World Control:
disabled-worlds: List of worlds where the plugin should be disabled (e.g., the_nether, the_end).
Spawner Update Policies:
affect-naturally-generated: Whether to update naturally generated spawners.
update-preexisting-spawners: Whether to update preexisting spawners without a player-placed marker.
Commands
/adaptivespawner — View the current TPS, range, and status of the plugin.
/adaptivespawner reload — Reload the configuration file without restarting the server.
/adaptivespawner debug — Toggle debug mode to enable verbose logging.
/adaptivespawner update — Force a manual update of all loaded spawners.
Permissions
block4block.admin — Grants access to plugin commands and configuration reloading.
Use Cases
- Farms and Grinders: Maximize mob spawns while protecting TPS during high server load.
- Survival and Faction Servers: Dynamic range adjustment ensures that high mob spawning does not cause server lag.
- Creative and Custom Worlds: Fine-tune mob spawn mechanics to suit the specific needs of your server.
Performance Impact and Safety
Optimized for minimal impact using chunk caching and efficient TPS checks.
Asynchronous chunk processing where supported (for Paper servers) ensures smooth updates even during peak hours.
Debug mode for detailed logging and troubleshooting.
Installation and Setup
Download and place the plugin .jar file in the server's plugins folder.
Start or reload the server.
Customize the config.yml to fit your server's requirements.
Use /adaptivespawner reload to apply changes without restarting.
Compatibility
Compatible with Bukkit, Spigot, and Paper ( Paper is recommended for best performance).
Supports Minecraft versions 1.13 to 1.21+.
Fully configurable to adapt to various server types and world environments.
With Adaptive Range Mob Spawner, you can ensure efficient mob spawning, maintain optimal TPS, and provide a seamless experience for your players.
评论 0
登录后参与评分
还没有评论,来抢沙发吧