LagDetector
一款专业的服务器诊断插件,扫描你的世界以查找导致卡顿的源头,并通过美观、交互式的 GUI 展示结果,支持传送功能。
主要特性
- 区块扫描: 识别高实体数量、方块实体和红石元件的区块。

- 交互式 GUI: 现代柔和色调主题界面,用于浏览和导航至卡顿源头。

- 严重程度等级: 从低(绿色)到严重(红色)的颜色编码卡顿评分。

- 一键传送: 瞬间传送至有问题的区块进行调查。
- 异步扫描: 非阻塞扫描,不会影响服务器性能。
- 多语言支持: 完全翻译为英语和德语。
工作原理
- 管理员运行
/lagdetect scan 扫描所有已加载的区块
- 使用
/lagdetect gui 打开 GUI 查看结果
- 按类别浏览:实体、方块实体或红石
- 点击任意区块进行传送并调查
命令与权限
| 角色 |
命令 |
权限 |
| 管理员 |
/lagdetect scan |
lagdetector.scan |
| 管理员 |
/lagdetect gui |
lagdetector.gui |
| 管理员 |
/lagdetect tp <chunk> |
lagdetector.teleport |
| 管理员 |
/lagdetect report |
lagdetector.report |
| 管理员 |
/lagdetect reload |
lagdetector.reload |
| 管理员 |
接收通知 |
lagdetector.notify |
检测类别
| 类别 |
检测内容 |
默认警告阈值 |
| 实体 |
生物、物品、盔甲架等 |
每个区块 50+ |
| 方块实体 |
漏斗、熔炉、箱子等 |
每个区块 20+ |
| 红石 |
中继器、比较器、活塞 |
每个区块 30+ |
特定实体阈值
| 实体类型 |
警告 |
严重 |
| 掉落物 |
30 |
60 |
| TNT |
10 |
20 |
| 矿车 |
15 |
30 |
| 盔甲架 |
25 |
50 |
| 动物 |
30 |
60 |
| 怪物 |
25 |
50 |
配置亮点
# 扫描设置
scan:
auto-scan-interval: 0 # 秒,0 = 禁用
only-loaded-chunks: true
async: true
# 阈值
thresholds:
entities:
warning: 50
critical: 100
tile-entities:
warning: 20
critical: 40
# 性能
performance:
chunks-per-tick: 50
cache-duration: 300
为什么使用此插件?
? 识别卡顿: 精确找出导致 TPS 下降的具体区块
? 精准定位: 获取问题区域的确切坐标
? 性能优先: 异步扫描不影响游戏运行
? 精美 GUI: 具有严重程度颜色的现代直观界面
依赖项(可选)
我们建议安装 LuckPerms 以获得更好的权限管理体验!
兼容性
✅ Paper 1.21.x
✅ Folia 1.21.x
✅ Spigot 1.21.x
支持
如有错误或需要支持:
LagDetector
A professional server diagnostics plugin that scans your world for lag sources and displays them in a beautiful, interactive GUI with teleportation support.
Key Features
- Chunk Scanning: Identifies chunks with high entity counts, tile entities, and redstone components.

- Interactive GUI: Modern pastel-themed interface to browse and navigate to lag sources.

- Severity Levels: Color-coded lag scores from low (green) to critical (red).

- One-Click Teleport: Instantly teleport to problematic chunks to investigate.
- Async Scanning: Non-blocking scans that won't impact server performance.
- Multi-Language Support: Fully translated in English and German.
How It Works
- Admin runs
/lagdetect scan to scan all loaded chunks
- Open the GUI with
/lagdetect gui to view results
- Browse by category: Entities, Tile Entities, or Redstone
- Click on any chunk to teleport and investigate
Commands & Permissions
| Role |
Command |
Permission |
| Admin |
/lagdetect scan |
lagdetector.scan |
| Admin |
/lagdetect gui |
lagdetector.gui |
| Admin |
/lagdetect tp <chunk> |
lagdetector.teleport |
| Admin |
/lagdetect report |
lagdetector.report |
| Admin |
/lagdetect reload |
lagdetector.reload |
| Admin |
Receive notifications |
lagdetector.notify |
Detection Categories
| Category |
What It Detects |
Default Warning |
| Entities |
Mobs, items, armor stands, etc. |
50+ per chunk |
| Tile Entities |
Hoppers, furnaces, chests, etc. |
20+ per chunk |
| Redstone |
Repeaters, comparators, pistons |
30+ per chunk |
Specific Entity Thresholds
| Entity Type |
Warning |
Critical |
| Dropped Items |
30 |
60 |
| TNT |
10 |
20 |
| Minecarts |
15 |
30 |
| Armor Stands |
25 |
50 |
| Animals |
30 |
60 |
| Monsters |
25 |
50 |
Configuration Highlights
# Scan Settings
scan:
auto-scan-interval: 0 # seconds, 0 = disabled
only-loaded-chunks: true
async: true
# Thresholds
thresholds:
entities:
warning: 50
critical: 100
tile-entities:
warning: 20
critical: 40
# Performance
performance:
chunks-per-tick: 50
cache-duration: 300
Why Use This Plugin?
? Identify Lag: Find exactly which chunks are causing TPS drops
? Precise Location: Get exact coordinates of problem areas
? Performance First: Async scanning doesn't impact gameplay
? Beautiful GUI: Modern, intuitive interface with severity colors
Dependencies (optional)
We recommend installing LuckPerms for a better permission management experience!
Compatibility
✅ Paper 1.21.x
✅ Folia 1.21.x
✅ Spigot 1.21.x
Support
For bugs or support:
评论 0
登录后参与评分
还没有评论,来抢沙发吧