? CBGS Performance Suite
概览
你的 Folia 服务器始终承受着巨大的压力。实体不断堆积,区块消耗 CPU 资源,当服务器负载达到高峰时,性能可能会崩溃。
CBGS Performance Suite 是一个专为 Folia 1.21.x 构建的高级优化平台。它利用 Folia 的区域化架构,提供智能且线程安全的性能提升,无需执行不安全操作或产生控制台垃圾信息。
专为需要超越基础优化器的高性能服务器而设计。
? 优化
⚡ 动态视距
根据当前性能自动调整可视距离和模拟距离。
- 在高 MSPT 期间减少工作量
- 在性能稳定时恢复默认设置
- 智能迟滞机制防止频繁变动
? 智能物理引擎 (SmartPhysics)
在物理活动造成性能问题之前对其进行控制。
监控:
在保持游戏玩法正常运行的同时,自动防止极端的性能尖峰。
? 智能村民 AI (SmartVillagerAI)
在服务器负载较重时减少不必要的 AI 计算。
提供:
?️ 实体优化器 (EntityOptimizer)
高级实体管理系统。
特性:
? 区块优化器 (ChunkOptimizer)
持续监控区块活动并检测性能问题。
提供有关高负载区域的详细信息,帮助定位卡顿来源。
? 智能物品合并 (SmartItemMerger)
通过异步扫描和 Folia 安全验证来改进掉落物品的处理。
旨在与 Folia 的线程系统配合工作,避免不安全的跨区域访问。
? 监控
?️ 仪表盘
输入 /perf dashboard
实时查看:
每秒更新一次。
? BossBar 与 ActionBar
在游戏中直接显示实时性能统计信息。
命令:
/perf bossbar
以可视化方式显示 TPS 健康状况。
/perf actionbar
显示实时的 TPS、MSPT 和 CPU 信息。
? 区域分析器 (RegionProfiler)
异步运行以计算性能压力。
跟踪:
快速识别导致性能问题的区域。
? API
PlaceholderAPI
兼容:
- Scoreboards(计分板)
- Holograms(全息图)
- Chat plugins(聊天插件)
占位符:
%cbgsperf_tps%
%cbgsperf_mspt%
%cbgsperf_cpu%
%cbgsperf_ram%
%cbgsperf_worst_region%
%cbgsperf_is_lagging%
开发者 API
允许其他插件与 CBGS 进行交互。
示例:
PerformanceAPI.getTPS();
PerformanceAPI.getMSPT();
PerformanceAPI.isLagging();
PerformanceAPI.getWorstRegion();
?️ Folia 支持
CBGS Performance Suite 围绕 Folia 的线程模型进行设计。
特性:
✅ 区域安全的调度
✅ 异步处理
✅ 无跨区域不安全操作
✅ 无主线程阻塞
使用:
- AsyncScheduler
- GlobalRegionScheduler
- EntityScheduler
采用 Folia 的方式构建。
⚙️ 命令
/perf status
显示实时性能统计信息。
/perf dashboard
打开性能仪表盘。
/perf bossbar
切换 TPS BossBar。
/perf actionbar
切换 ActionBar 统计信息。
/perf regions
显示区域性能信息。
/perf chunks
/perf entities
显示活跃的服务器计数。
/perf export
导出调试信息。
/perf reload
无需重启即可重新加载配置。
? 性能
CBGS Performance Suite 为 Folia 服务器提供了强大的工具,使其保持稳定、优化状态,并准备好应对高负荷需求。
更好的监控。
更智能的优化。
专为 Folia 打造。
? CBGS Performance Suite
Overview
Your Folia server is under constant pressure. Entities build up, chunks consume CPU, and performance can collapse when your server reaches high activity.
CBGS Performance Suite is an advanced optimization platform built specifically for Folia 1.21.x. It uses Folia's regionized architecture to provide intelligent, thread-safe performance improvements without unsafe operations or console spam.
Designed for high-performance servers that need more than a basic optimizer.
? Optimization
⚡ Dynamic View Distance
Automatically controls view and simulation distance based on current performance.
- Reduces workload during high MSPT
- Restores performance when stable
- Smart hysteresis prevents constant changes
? SmartPhysics
Controls excessive physics activity before it creates performance issues.
Monitors:
- Block updates
- Redstone activity
- High-load mechanics
Automatically prevents extreme performance spikes while maintaining gameplay.
? SmartVillagerAI
Reduces unnecessary AI calculations during heavy server load.
Provides:
- Lower CPU usage
- Better stability
- Automatic performance recovery
?️ EntityOptimizer
Advanced entity management system.
Features:
- Region-safe cleanup
- Reduced entity pressure
- Intelligent optimization handling
? ChunkOptimizer
Continuously monitors chunk activity and detects performance problems.
Provides detailed information about heavy areas and helps locate sources of lag.
? SmartItemMerger
Improves dropped item handling with asynchronous scanning and Folia-safe validation.
Designed to work with Folia's threading system without unsafe cross-region access.
? Monitoring
?️ Dashboard
Open /perf dashboard
View live:
- TPS
- MSPT
- CPU usage
- RAM usage
Updated every second.
? BossBar & ActionBar
Display live performance statistics directly in-game.
Commands:
/perf bossbar
Shows TPS health visually.
/perf actionbar
Displays live TPS, MSPT, and CPU information.
? RegionProfiler
Runs asynchronously to calculate performance pressure.
Tracks:
- Entity activity
- Chunk activity
- Region performance
Quickly identifies areas causing performance issues.
? API
PlaceholderAPI
Works with:
- Scoreboards
- Holograms
- Chat plugins
Placeholders:
%cbgsperf_tps%
%cbgsperf_mspt%
%cbgsperf_cpu%
%cbgsperf_ram%
%cbgsperf_worst_region%
%cbgsperf_is_lagging%
Developer API
Allows other plugins to interact with CBGS.
Example:
PerformanceAPI.getTPS();
PerformanceAPI.getMSPT();
PerformanceAPI.isLagging();
PerformanceAPI.getWorstRegion();
?️ Folia Support
CBGS Performance Suite is designed around Folia's threading model.
Features:
✅ Region-safe scheduling
✅ Async processing
✅ No unsafe cross-region operations
✅ No main-thread blocking
Uses:
- AsyncScheduler
- GlobalRegionScheduler
- EntityScheduler
Built the Folia way.
⚙️ Commands
/perf status
Shows live performance statistics.
/perf dashboard
Opens the performance dashboard.
/perf bossbar
Toggles TPS BossBar.
/perf actionbar
Toggles ActionBar statistics.
/perf regions
Shows region performance information.
/perf chunks
/perf entities
Shows active server counts.
/perf export
Exports debugging information.
/perf reload
Reloads configuration without restarting.
? Performance
CBGS Performance Suite gives Folia servers powerful tools to stay stable, optimized, and ready for demanding workloads.
Better monitoring.
Smarter optimization.
Built for Folia.
评论 0
登录后参与评分
还没有评论,来抢沙发吧