LagTrace 是一款先进的 Minecraft 服务器性能诊断与卡顿热点检测插件,旨在帮助服务器管理员识别世界中出现问题的活动位置。
与仅仅报告服务器 TPS 低或 MSPT 高不同,LagTrace 会分析已加载世界的活动情况,并找出最重要的热点,提供精确的世界坐标供管理员直接调查。
? 热点检测
LagTrace 分析服务器世界中当前加载的区块,并对最显著的活动热点进行排名。该插件将活动划分为较小的空间区域,从而能够比简单报告整个区块更精确地定位问题地点。
/lagtrace 命令目前会报告前 3 个检测到的热点,包括其所在世界、精确的 X/Y/Z 坐标、活动分数、实体活动和方块实体活动。
? 精确坐标
每个检测到的热点都包含其确切位置。坐标在聊天中可点击,允许管理员快速准备传送指令并在游戏中直接检查该位置。
? 掉落物分析
LagTrace 不仅仅计算掉落物实体。Minecraft 可以将大量物品合并为单个物品实体,因此 LagTrace 会读取实际的堆叠数量,并报告真实的掉落物数量。
例如,72 个物品实体包含合计 4,608 个物品,会被报告为:
Dropped Items: 4608
而不是简单地报告 72。
LagTrace 还可以按类型分解掉落物,使识别异常大的物品堆积变得更加容易。
⚙️ 实体分析
实体活动按类型进行分析,允许管理员查看热点中存在哪些实体。报告可以识别出可能需要进行调查的生物群系、掉落物、载具和其他实体的集中区域。
? 方块实体分析
LagTrace 还会分析热点区域中的方块实体,并报告检测到的类型。这有助于识别包含大量方块实体(如漏斗、熔炉、箱子和其他交互方块)的区域。
? 全地图分析
LagTrace 不仅限于玩家周围区域。它分析服务器世界中已经加载的区块,允许在玩家当前位置之外检测热点。
LagTrace 故意避免在分析过程中强制加载或生成未加载的区块。这样可以防止诊断过程本身不必要地生成地形或引入额外的服务器负载。
? 详细诊断
LagTrace 的目标是提供有用的诊断信息,而不是用无意义的数字淹没管理员。检测到的活动被分组并以可读的报告形式呈现,以便服务器管理员可以快速确定需要进一步调查的位置。
? 开发路线图
LagTrace 正在积极开发中。计划在未来的版本中通过更深入的性能采样、MSPT 和刻分析、历史热点追踪、更多活动源、改进的诊断、热力图可视化以及额外的服务器性能工具来扩展诊断系统。
LagTrace 由 Redstone Circuits 开发,旨在为需要超越简单 TPS 监控工具的 Minecraft 服务器管理员创建一个专业工具箱。
别再猜测你的服务器在哪里卡顿。追踪它。
LagTrace is an advanced Minecraft server performance diagnostics and lag hotspot detection plugin designed to help server administrators identify where problematic activity is occurring across their worlds.
Instead of simply reporting that a server is experiencing low TPS or high MSPT, LagTrace analyzes loaded world activity and identifies the most significant hotspots, providing precise world coordinates that administrators can investigate directly.
? Hotspot Detection
LagTrace analyzes currently loaded chunks across the server's worlds and ranks the most significant activity hotspots. The plugin divides activity into small spatial areas so that problematic locations can be identified much more precisely than simply reporting an entire chunk.
The /lagtrace command currently reports the top 3 detected hotspots, including their world, exact X/Y/Z coordinates, activity score, entity activity, and block entity activity.
? Precise Coordinates
Every detected hotspot includes its exact location. Coordinates are clickable in chat, allowing administrators to quickly prepare a teleport command and inspect the location directly in-game.
? Dropped Item Analysis
LagTrace doesn't simply count dropped-item entities. Minecraft can combine large quantities of items into individual item entities, so LagTrace reads the actual stack amount and reports the real number of dropped items.
For example, 72 item entities containing a combined 4,608 items are reported as:
Dropped Items: 4608
rather than simply reporting 72.
LagTrace can also break down dropped items by type, making it easier to identify unusually large item piles.
⚙️ Entity Analysis
Entity activity is analyzed by type, allowing administrators to see which entities are present at a hotspot. The report can identify concentrations of mobs, dropped items, vehicles, and other entities that may require investigation.
? Block Entity Analysis
LagTrace also analyzes block entities in hotspot areas and reports the detected types. This helps identify areas containing large concentrations of block entities such as hoppers, furnaces, chests, and other interactive blocks.
? World-Wide Analysis
LagTrace is not restricted to the player's immediate surroundings. It analyzes chunks that are already loaded across the server's worlds, allowing hotspots to be detected outside the player's current location.
LagTrace deliberately avoids force-loading or generating unloaded chunks during analysis. This prevents the diagnostic process itself from unnecessarily generating terrain or introducing additional server load.
? Detailed Diagnostics
The goal of LagTrace is to provide useful diagnostic information rather than overwhelming administrators with meaningless numbers. Detected activity is grouped and presented in a readable report so that server administrators can quickly determine where further investigation should take place.
? Development Roadmap
LagTrace is actively being developed. Future versions are planned to expand the diagnostic system with deeper performance sampling, MSPT and tick analysis, historical hotspot tracking, more activity sources, improved diagnosis, heatmap visualization, and additional server performance tools.
LagTrace is being developed by Redstone Circuits, with the goal of creating a professional toolkit for Minecraft server administrators who need more than a simple TPS monitor.
Stop guessing where your server is lagging. Trace it.
评论 0
登录后参与评分
还没有评论,来抢沙发吧