MCBenchmark
MCBenchmark 是一款先进的 Minecraft 服务器基准测试插件,旨在帮助服务器管理员分析和优化性能。它提供了一套可配置的自适应基准测试工具,用于对关键服务器系统进行实时诊断——包括区块加载、实体、方块、方块实体、延迟(Ping)和 TPS。
无论你是正在调试卡顿、在负载下测试服务器性能,还是为优化目的分析系统行为,MCBenchmark 都能为你提供所需的工具,通过详细的指标和智能节流机制来帮助你。
功能特性
- 自适应区块基准测试: 测量在不压垮服务器的情况下加载区块的速度,并根据当前 TPS 动态调整。
- 实体基准测试: 在受控环境中生成和处理实体,以识别性能极限和瓶颈。
- 方块基准测试: 在区域内随机采样方块,按材质、半径和样本大小测试方块交互性能。
- 方块实体基准测试: 评估服务器在处理方块实体(如箱子、漏斗)时的性能表现。
- 延迟基准测试: 反复 ping 服务器以生成延迟指标,包括平均值和波动情况。
- TPS 监控: 持续跟踪服务器 TPS,采用自适应采样以确保基准测试的准确性。
- 基准测试控制: 使用单个命令立即停止所有正在运行的基准测试,确保安全与控制。
命令
/chunkbenchmark [radius] [max_cps]
- 基于 TPS 的自适应区块加载基准测试
- 别名:
cbench, chunkbench
- 权限:
mcbenchmark.chunk
/entitybenchmark [iterations]
- 通过高迭代次数的实体生成对服务器进行压力测试
- 别名:
ebench, entitybench
- 权限:
mcbenchmark.entity
/blockbenchmark [material] [radius] [samples]
- 具有自定义参数的随机方块采样基准测试
- 别名:
bbench, blockbench
- 权限:
mcbenchmark.block
/tilebenchmark [iterations]
- 针对方块实体(如箱子、漏斗)的高强度基准测试
- 别名:
tbench, tilebench
- 权限:
mcbenchmark.tile
/pingbenchmark [iterations]
- 向服务器发送多次 Ping 请求并生成详细统计信息
- 别名:
pbench, pingbench
- 权限:
mcbenchmark.ping
/tpsbenchmark [iterations]
- 带有可调采样的持续 TPS 跟踪
- 别名:
tpsbench, tps
- 权限:
mcbenchmark.tps
/stopbenchmark
- 立即停止所有当前正在运行的基准测试
- 别名:
stopbench, sbench, stop
- 权限:
mcbenchmark.stop
权限
mcbenchmark.* — 访问所有命令(默认:OP)
- 单独的命令权限:
mcbenchmark.chunk
mcbenchmark.entity
mcbenchmark.block
mcbenchmark.tile
mcbenchmark.ping
mcbenchmark.tps
mcbenchmark.stop
每个权限默认仅 OP 拥有,可通过权限插件(如 LuckPerms)进行自定义配置。
MCBenchmark
MCBenchmark is an advanced Minecraft server benchmarking plugin designed to help server administrators analyze and optimize performance. It provides a suite of configurable, adaptive benchmarking tools for real-time diagnostics of key server systems — including chunk loading, entities, blocks, tile entities, ping, and TPS.
Whether you're debugging lag, testing server performance under load, or profiling system behavior for optimization, MCBenchmark gives you the tools you need with detailed metrics and intelligent throttling.
What It Does
- Adaptive Chunk Benchmarking: Measures how fast chunks can be loaded without overwhelming the server, adjusting dynamically based on current TPS.
- Entity Benchmarking: Spawns and processes entities in a controlled environment to identify performance limits and bottlenecks.
- Block Benchmarking: Randomly samples blocks across an area to test block interaction peeformance by material, radius, and sample size.
- Tile Entity Benchmarking: Evaluates server handling of tile entities (e.g., chests, hoppers) under load.
- Ping Benchmarking: Repeatedly pings the server to generate latency metrics, including averages and variation.
- TPS Monitoring: Continuously tracks server TPS with adaptive sampling for accurate benchmarking.
- Benchmark Control: Instantly stop all running benchmarks with a single command for safety and control.
Commands
/chunkbenchmark [radius] [max_cps]
- Adaptive chunk loading benchmark based on TPS
- Aliases:
cbench, chunkbench
- Permission:
mcbenchmark.chunk
/entitybenchmark [iterations]
- Stress-test server with high-iteration entity spawning
- Aliases:
ebench, entitybench
- Permission:
mcbenchmark.entity
/blockbenchmark [material] [radius] [samples]
- Random block sampling benchmark with customizable parameters
- Aliases:
bbench, blockbench
- Permission:
mcbenchmark.block
/tilebenchmark [iterations]
- Intensive benchmarking for tile entities (e.g., chests, hoppers)
- Aliases:
tbench, tilebench
- Permission:
mcbenchmark.tile
/pingbenchmark [iterations]
- Multiple pings to the server with detailed statistics
- Aliases:
pbench, pingbench
- Permission:
mcbenchmark.ping
/tpsbenchmark [iterations]
- Continuous TPS tracking with adjustable sampling
- Aliases:
tpsbench, tps
- Permission:
mcbenchmark.tps
/stopbenchmark
- Stops all currently running benchmarks immediately
- Aliases:
stopbench, sbench, stop
- Permission:
mcbenchmark.stop
Permissions
mcbenchmark.* — Access to all commands (default: OP)
- Individual command permissions:
mcbenchmark.chunk
mcbenchmark.entity
mcbenchmark.block
mcbenchmark.tile
mcbenchmark.ping
mcbenchmark.tps
mcbenchmark.stop
Each permission defaults to OP and can be customized via permission plugins (e.g., LuckPerms).
评论 0
登录后参与评分
还没有评论,来抢沙发吧