Tracer - 区块卡顿可视化插件
Tracer 通过粒子效果、动作栏消息和详细的分析报告来可视化区块卡顿,帮助服务器管理员识别性能瓶颈。
功能介绍
该插件会扫描你服务器上的区块以找出导致卡顿的区域。当检测到问题时,它会使用彩色粒子和有用的消息向你展示具体位置。随后你可以直接传送至这些有问题的区域进行修复。
主要特性
视觉反馈
-
粒子效果通过不同颜色高亮显示卡顿的区块
-
动作栏实时显示性能数据
-
问题区域周围可见区块边界
-
浮动文本显示详细的卡顿信息
智能分析
-
统计实体、方块实体和红石组件的数量
-
将卡顿分类为低、中、高和严重四个等级
-
缓存结果以避免重复扫描
-
异步运行以防止服务器冻结
灵活扫描
-
扫描你周围特定半径内的区块(1-20 个)
-
运行全服扫描以检查所有内容
-
设置自动后台扫描
-
在需要时手动扫描
便捷导航
-
点击即可传送到任何卡顿的区块
-
分页浏览结果
-
如果知道坐标,可直接跳转
命令基础命令:
- /tracer scan - 扫描你周围的区块
- /tracer scan 10 - 向每个方向扫描 10 个区块
- /tracer scan server - 扫描整个服务器
- /tracer toggle - 开启/关闭可视化效果
- /tracer teleport - 浏览并传送到卡顿的区块
- /tracer info - 显示插件状态
- /tracer stats - 显示扫描统计数据
自动扫描:
- /tracer autoscan enable - 开始自动扫描
- /tracer autoscan disable - 停止自动扫描
- /tracer autoscan interval 60 - 设置扫描间隔(30、60、120、300 或 600 秒)
- /tracer autoscan server enable - 启用全服自动扫描
- /tracer autoscan server interval 30 - 设置全服扫描间隔(5-120 分钟)
实用命令:
- /tracer clear cache - 清除分析缓存
- /tracer clear stats - 清除统计数据
- /tracer clear all - 清除所有内容
- /tracer reload - 重新加载配置
- /tracer debug on - 启用调试模式
- /tracer help - 显示命令帮助
要求
- PaperMC 1.21 或更高版本
- Java 21
入门指南
- 将插件放入你的 plugins 文件夹中
- 重启服务器
- 授予自己权限:tracer.scan 、 tracer.toggle 、 tracer.teleport (或者直接成为操作者/operator)
- 运行 /tracer scan 5 进行测试
- 使用 /tracer toggle 查看视觉效果
- 使用 /tracer teleport 导航到问题区域
该插件包含智能默认设置,不会影响服务器的性能。所有扫描都在后台进行,你可以根据需要调整其运行频率。
全服自动扫描默认处于禁用状态,可通过 /tracer autoscan server enable 启用。
Tracer - Chunk Lag Visualization Plugin
Tracer helps server administrators identify performance bottlenecks by visualizing chunk lag through particle effects, action bar messages, and detailed analysis reports.
What it does
This plugin scans your server's chunks to find areas causing lag. When it detects problems, it shows you exactly where they are using colorful particles and helpful messages. You can then teleport directly to these problem areas to fix them.
Main Features
Visual Feedback
-
Particle effects highlight laggy chunks with different colors
-
Action bar shows real-time performance data
-
Chunk borders become visible around problem areas
-
Floating text displays detailed lag information
Smart Analysis
-
Counts entities, tile entities, and redstone components
-
Categorizes lag into Low, Medium, High, and Critical levels
-
Caches results to avoid repeated scanning
-
Works asynchronously to prevent server freezing
Flexible Scanning
-
Scan specific radius around you (1-20 chunks)
-
Run server-wide scans to check everything
-
Set up automatic background scanning
-
Manual scanning when you need it
Easy Navigation
-
Click to teleport to any laggy chunk
-
Browse through results page by page
-
Jump directly to coordinates if you know them
Commands Basic Commands:
- /tracer scan - Scan chunks around you
- /tracer scan 10 - Scan 10 chunks in each direction
- /tracer scan server - Scan the entire server
- /tracer toggle - Turn visualization on/off
- /tracer teleport - Browse and teleport to laggy chunks
- /tracer info - Show plugin status
- /tracer stats - Display scanning statistics
Auto-Scanning:
- /tracer autoscan enable - Start automatic scanning
- /tracer autoscan disable - Stop automatic scanning
- /tracer autoscan interval 60 - Set scan interval (30, 60, 120, 300, or 600 seconds)
- /tracer autoscan server enable - Enable server-wide auto-scanning
- /tracer autoscan server interval 30 - Set server scan interval (5-120 minutes)
Utility Commands:
- /tracer clear cache - Clear analysis cache
- /tracer clear stats - Clear statistics
- /tracer clear all - Clear everything
- /tracer reload - Reload configuration
- /tracer debug on - Enable debug mode
- /tracer help - Show command help
Requirements
- PaperMC 1.21 or newer
- Java 21
Getting Started
- Drop the plugin into your plugins folder
- Restart your server
- Give yourself permission: tracer.scan , tracer.toggle , tracer.teleport (or simply operator)
- Run /tracer scan 5 to test it out
- Use /tracer toggle to see the visual effects
- Navigate to problematic areas with /tracer teleport
The plugin includes smart defaults and won't impact your server's performance. All scanning happens in the background, and you can adjust how often it runs based on your needs.
Serverwide autoscans are disabled by default and can be enabled via /tracer autoscan server enable.
评论 0
登录后参与评分
还没有评论,来抢沙发吧