LagSentinel
LagSentinel 是一款轻量级的 Minecraft 服务器性能管理插件,旨在通过实时倒计时系统和紧急自动重启功能,自动检测严重卡顿、清除卡顿源(掉落物与实体泛滥)、冻结重型红石机械,并防止服务器崩溃。
主要特性
双级紧急倒计时:
关键模式 (TPS <= 10.0):在服务器自动重启前,向所有玩家的屏幕上方操作栏发送持续 45 秒的实时广播倒计时。
极端模式 (TPS <= 2.0):当服务器出现完全卡顿或濒临崩溃时,触发 5 秒内的紧急快速重启。
智能卡顿清理:
自动清理所有世界中堆积的掉落物。
当 TPS 下降时,定期移除没有名称标签的野生怪物/生物。
名称标签溢出保护:安全地豁免已命名的生物,但如果发生极端的实体泛滥/堆叠(单个区块内超过 15 个命名生物),会自动限制数量并清理多余的实体。
红石自动冻结:
按区块追踪实时红石信号变化(BlockRedstoneEvent)。
自动冻结过载区块的红石流动(5 秒内超过 30 次红石变化或超过 50 个实体)。
实时操作栏警报:
当服务器进入紧急状态时,每秒向所有玩家的屏幕直接发送实时警告更新。
命令与权限:
/lagsentinel resume_redstone
解冻所有被锁定的区块中的红石流动。
权限:
lagsentinel.admin (OP)
/lagsentinel toggle
开启或关闭自动 TPS 监控系统
权限:
lagsentinel.admin (OP)
为什么你应该下载它?
与那些破坏原版体验的重型优化插件不同——例如完全破坏物品农场、限制火箭烟花等实用机制,或人为限制生物行为——LagSentinel 专注于精准与安全。它在正常游戏期间不会干扰你的玩法或限制有趣的机制;它仅在实际服务器紧急情况下作为智能安全网介入,仅冻结特定的过载区块,仅清理过度的卡顿泛滥,同时保持你合法的建筑、物品和农场完好无损。
鸣谢:
- NotToastCat : 协助者
- verityfanchk67 : 测试员
LagSentinel
LagSentinel is a lightweight Minecraft server performance management plugin designed to automatically detect extreme lag, purge lag sources (dropped items & entity spam), freeze heavy redstone machinery, and secure the server against potential crashes using a live countdown system and emergency auto-restart.
Key Features
Dual-Tier Emergency Countdown:
Critical Mode (TPS <= 10.0): Initiates a 45-second countdown with live broadcasts to the action bar of all players before automatically restarting the server.
Extreme Mode (TPS <= 2.0): Triggers an emergency fast-restart within 5 seconds when the server experiences total lag or near-crashes.
Smart Lag Purge:
Automatically cleans up stacked dropped items across all worlds.
Removes wild monsters/mobs without nametags periodically when TPS drops.
Nametag Overflow Protection: Safely exempts named mobs, but automatically caps and purges excess entities if extreme spam/stacking occurs (>15 named mobs in a single chunk).
Auto-Freeze Redstone:
Tracks real-time redstone signal changes (BlockRedstoneEvent) per chunk.
Automatically freezes redstone flow in overloaded chunks (>30 redstone changes in 5 seconds or >50 entities).
Live Action-Bar Alerts:
Delivers real-time warning updates directly to all players' screens every second when the server enters an emergency state.
Commands & Permissions:
/lagsentinel resume_redstone
Unfreezes redstone flow across all locked chunks.
Permission:
lagsentinel.admin (OP)
/lagsentinel toggle
Toggles the automatic TPS monitoring system on or off
Permission:
lagsentinel.admin (OP)
Why should you download it?
Unlike typical heavy optimization plugins that ruin the vanilla experience-such as completely breaking item farms, limiting useful mechanics like rocket fireworks, or artificially capping mob behaviors-LagSentinel focuses purely on precision and safety. It doesn't interfere with your gameplay or restrict fun mechanics during normal play; it only steps in as an intelligent safety net during actual server emergencies, freezing only the specific overloaded chunks and purging only excessive lag spam while keeping your legitimate builds, items, and farms completely intact.
Credits :
- NotToastCat : helper
- verityfanchk67 : tester
评论 0
登录后参与评分
还没有评论,来抢沙发吧