LagMonitor
描述
允许你监控服务器的性能。该插件基于强大的 VisualVM 和 Java Mission Control 工具,两者均由 Oracle 提供。此插件让你能够在 Minecraft 本身中使用这些工具提供的功能。这对于无法使用这些工具的服务器所有者/管理员来说可能非常有用。
此外,它专门为 Minecraft 设计。因此,你还可以检查你的 TPS(每秒刻数)、玩家延迟、服务器计时等。
注意:此插件处于测试阶段。因此需要进行改进和错误修复。请报告错误并提出建议。
功能
- 玩家延迟
- 访问运行中线程的堆栈跟踪
- 显示每秒刻数
- 显示系统性能使用情况
- 游戏内可视化图表
- 游戏内计时查看器
- CPU 使用率采样
- 分析 RAM 使用情况
- 访问 Java 环境变量 (mbeans)
- 免费
- 开源
权限
- lagmonitor.command.ping
- lagmonitor.command.stacktrace
- lagmonitor.command.thread
- lagmonitor.command.tps
- lagmonitor.command.mbean
- lagmonitor.command.system
- lagmonitor.command.timing
- lagmonitor.command.monitor
- lagmonitor.command.graph
- lagmonitor.command.environment
命令
- /ping - 获取你的服务器延迟
- /ping <player> - 获取选定玩家的延迟
- /stacktrace - 获取当前线程的执行堆栈跟踪
- /stacktrace <threadName> - 获取选定线程的执行堆栈跟踪
- /thread - 输出所有正在运行的线程及其当前状态
- /tps - 输出当前的 tps
- /mbean - 列出所有可用的 mbeans(Java 环境信息,JMX)
- /mbean <beanName> - 列出此 mbean 的所有可用属性
- /mbean <beanName> <attribute> - 输出此属性的值
- /system - 提供有关你服务器的一些通用信息,如剩余内存、正在运行的线程数或 CPU 使用率
- /timing - 在游戏内输出你的服务器计时
- /monitor - 监控方法的 CPU 使用率
- /graph [cpu/heap/threads] - 为你提供服务器的可视化图表(目前仅支持堆使用情况)
图片
源代码
你不需要反编译该插件。你可以在那里找到带有注释和构建实用程序的源代码。
LagMonitor 是开源的,托管在免费的 GitHub 平台上;欢迎通过提交拉取请求和打开问题来 fork、star 或 贡献。
LagMonitor
Description
Gives you the possibility to monitor your server performance. This plugin is based on the powerful tools VisualVM and Java Mission Control, both provided by Oracle. This plugin gives you the possibility to use the features provided by these tools also in Minecraft itself. This might be useful for server owners/administrators who cannot use the tools.
Furthermore it especially made for Minecraft itself. So you can also check your TPS (Ticks per seconds), player ping, server timings and so on.
Notice: This plugin is in beta. So improvements and bug fixes have to be made. Please report bugs and make suggestions.
Features
- Player ping
- Access to Stacktraces of running threads
- Shows your ticks per second
- Shows system performance usage
- Visual graph ingame
- Ingame timings viewer
- Sample CPU usage
- Analyze RAM usage
- Access to Java environment variables (mbeans)
- Free
- Open Source
Permissions
- lagmonitor.command.ping
- lagmonitor.command.stacktrace
- lagmonitor.command.thread
- lagmonitor.command.tps
- lagmonitor.command.mbean
- lagmonitor.command.system
- lagmonitor.command.timing
- lagmonitor.command.monitor
- lagmonitor.command.graph
- lagmonitor.command.environment
Commands
- /ping - Gets your server ping
- /ping <player> - Gets the ping of the selected player
- /stacktrace - Gets the execution stacktrace of the current thread
- /stacktrace <threadName> - Gets the execution stacktrace of selected thread
- /thread - Outputs all running threads with their current state
- /tps - Outputs the current tps
- /mbean - List all available mbeans (java environment information, JMX)
- /mbean <beanName> - List all available attributes of this mbean
- /mbean <beanName> <attribute> - Outputs the value of this attribute
- /system - Gives you some general information about your server like free ram, number of running threads or cpu usage
- /timing - Outputs your server timings ingame
- /monitor - Monitors the CPU usage of methods
- /graph [cpu/heap/threads] - Gives you visual graph about your server (currently only the heap usage)
Images
Source code
You don't have to decompile the plugin. You can find there the source code with comments and building utilities.
LagMonitor is open source and hosted on the free platform GitHub; feel free to fork, star, or contribute by making pull requests and opening issues.
下载 LagMonitor
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 LagMonitor
下载 LagMonitor
下载 LagMonitor
下载 LagMonitor
下载 LagMonitor
下载 LagMonitor
下载 LagMonitor
下载 LagMonitor
下载 LagMonitor
1.17.2
新增
速率限制线程安全消息
要求 Java 10
修复
语法修正
更新了 JNA 版本
移除
移除了 Java 17 以上版本的 SecurityManager,因为 Java 已不再支持它
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
评论 0
登录后参与评分
还没有评论,来抢沙发吧