? OptimizerBoostTPS | 你的 TPS 守护者!
OptimizerBoostTPS 是一款功能强大且先进的 Minecraft 服务器插件,其核心目标只有一个:彻底消除因怪物过多和恶意红石延迟机器导致的服务器卡顿(TPS 下降)。
得益于智能 AI 管理系统和实时红石脉冲分析,该插件能在服务器出现性能下降之前就做出反应。它专为最新的 Paper 版本(1.21+)编写,并使用 Java 21 开发。
✨ 主要特性
?♂️ 智能怪物管理(清理与节流)
- 动态 AI 冻结: 位于玩家可配置半径之外的怪物会失去其人工智能(AI)。它们将停止寻路和移动,从而将对 CPU 的负载降至几乎为零。当玩家靠近时,它们会“苏醒”。
- 区块限制(清理): 防止创建大型农场并造成卡顿。任何在单个区块内超过设定数量的怪物都会被自动移除。
- 智能保护过滤器: 插件确保不会破坏游戏体验。系统会自动保护以下情况下的怪物免受移除和冻结:
- 拥有名称标签(由玩家命名)。
- 已被驯服(例如狗、猫)。
- 拴在拴绳上。
- 已拾取物品或穿着盔甲(可选)。
- 来自刷怪蛋(可选)。
- 位于可配置的黑名单中(例如村民、凋灵、末影龙、监守者)。
⚡ 无情的延迟机器拦截器(红石限制器)
- 快速时钟检测: 系统分析观察者、中继器和比较器等组件的信号变化频率。
- 即时断电: 超过每秒脉冲数限制后,机制会自动切断电源,从而消除延迟。
- 警告与线路销毁: 在危急情况下,过载的红石线会被销毁,并在原位出现一块写有 “Server redstone TICK LIMIT” 告示牌的警告牌,明确告知玩家系统的干预行为。安全机制将销毁限制为每秒最多 3 条线路,以防止过多的方块更新。
? 命令与权限
所有系统消息均使用现代 MiniMessage 格式。
/optimizer reload (别名: /opt reload, /LAJCIORCODE-optimizer reload) – 无需重启服务器即可安全地重新加载整个配置文件。
所需权限: optimizerbylajcior.admin (OP 默认拥有)。允许使用重载命令并授予命令自动补全(TabCompleter)访问权限。
?️ 配置 (config.yml)
完全自由地根据服务器需求调整插件:
⚙️ 怪物部分 (mobs)
- task-interval: 扫描世界的频率(以刻为单位)(默认为 20 - 良好的平衡点)。
- active-radius: 玩家周围活跃区块的半径。在此范围之外,怪物将进入休眠状态。
- max-per-chunk: 每个区块普通怪物的绝对上限(默认为 25)。
- ignore-persistent-mobs: 保护来自命令和刷怪蛋的怪物。
- ignore-equipped-mobs: 保护穿戴盔甲或手持物品的怪物。
- ignored-types: 排除在优化之外的实体列表(例如 Boss)。
⚙️ 红石部分 (redstone)
- enabled: 电路保护的主开关。
- max-updates-per-second: 每秒每个方块允许的信号变化次数(默认为 6 - 有效阻止延迟机器)。
? 技术信息
- Minecraft 版本: 1.21+
- 所需 Java 版本: 21
- 引擎: Paper, Purpur
? OptimizerBoostTPS | Your TPS Guardian!
OptimizerBoostTPS is a versatile, advanced plugin for Minecraft servers, created with one main goal: the complete elimination of server lag (TPS drops) caused by an excess of mobs and malicious redstone lag machines.
Thanks to an intelligent AI management system and real-time redstone pulse analysis, the plugin reacts to threats before the server even experiences a performance drop. It was written specifically for the latest Paper versions (1.21+) using Java 21.
✨ Main Features
?♂️ Intelligent Mob Management (Culling & Throttling)
- Dynamic AI Freezing: Mobs located outside a configurable radius from the player lose their Artificial Intelligence (AI). They stop pathfinding and moving, reducing the CPU load caused by these entities to almost zero. They "come alive" the moment a player gets close.
- Chunk Limiting (Culling): Prevents the creation of massive farms and lag. Any mob exceeding the set limit within a single chunk is automatically removed.
- Smart Protection Filters: The plugin ensures gameplay isn't ruined. The system automatically protects mobs from removal and freezing if they:
- Have a NameTag (named by a player).
- Are tamed (e.g., dogs, cats).
- Are on a lead.
- Have picked up items or are wearing armor (optional).
- Come from spawn eggs (optional).
- Are on a configurable blacklist (e.g., Villagers, Wither, Ender Dragon, Warden).
⚡ Ruthless Lag Machine Blocker (Redstone Limiter)
- Fast Clock Detection: The system analyzes signal change frequencies for components like Observers, Repeaters, and Comparators.
- Instant Power Cut: Exceeding the pulses-per-second limit automatically cuts the power in the mechanism, neutralizing the lag.
- Warnings and Wire Destruction: In critical situations, an overloaded redstone wire is destroyed, and a sign with the warning "Server redstone TICK LIMIT" appears in its place, clearly informing the player about the system's intervention. The safeguard limits destruction to a maximum of 3 wires per second, preventing excessive block updates.
? Commands and Permissions
All system messages use modern MiniMessage formatting.
/optimizer reload (aliases: /opt reload, /LAJCIORCODE-optimizer reload) – Safely reloads the entire configuration without needing a server restart.
Required permission: optimizerbylajcior.admin (Default for OP). Allows using the reload command and grants access to command auto-completion (TabCompleter).
?️ Configuration (config.yml)
Complete freedom to adjust the plugin to your server's needs:
⚙️ Mobs Section (mobs)
- task-interval: Frequency (in ticks) of scanning the world (default is 20 - a great balance).
- active-radius: Radius of active chunks around the player. Outside of it, mobs are put to sleep.
- max-per-chunk: Absolute limit of regular mobs per chunk (default is 25).
- ignore-persistent-mobs: Protection for mobs from commands and spawn eggs.
- ignore-equipped-mobs: Protection for mobs with armor/items in hand.
- ignored-types: List of entities excluded from optimization (e.g., bosses).
⚙️ Redstone Section (redstone)
- enabled: Main toggle for circuit protection.
- max-updates-per-second: Allowable number of signal changes per block in a second (default is 6 - effectively blocks lag machines).
? Technical Information
- Minecraft Version: 1.21+
- Required Java: 21
- Engine: Paper, Purpur
评论 0
登录后参与评分
还没有评论,来抢沙发吧