BandwidthSaver-PE is a high-performance bandwidth throttling plugin built on the PacketEvents framework. Developed by the Mangocraft Code Team, it is a modernized fork of the legacy RIABandwidthSaver by Ghost-chu.
BandwidthSaver-PE 是一个基于 PacketEvents 的高性能节流插件。由 芒果方块的服务器开发制作组 基于 Ghost-chu 的旧版插件RIABandwidthSaver进行修改优化,旨在玩家处于 AFK 状态期间抑制不必要的数据包和区块发送,缓解服务器带宽压力。
(All text within images can be modified in config.yml. Feel free to translate or customize the content.图片内文字均可在config.yml中修改,可自行翻译或自定义内容)
/afk command for manual AFK mode that persists regardless of player movement. (新增/afk命令,提供手动AFK模式,不受玩家移动影响)[!IMPORTANT]
- Dependency: You must install PacketEvents for this plugin to function. (必须安装 PacketEvents 插件)
- Note on Stats: Traffic statistics represent uncompressed data. Actual billed bandwidth may differ due to server-side compression. (统计信息为未压缩流量,实际流量因服务器压缩配置会有所出入)
/tp, /spawn, /home, etc.). 受到攻击或使用传送命令时自动退出 AFK 模式。/afk command to enter manual AFK mode that persists regardless of player movement. Use /afk again or rejoin the game to exit. 手动AFK模式:玩家可使用/afk命令进入手动AFK模式,不受玩家移动影响。再次使用/afk或重新加入游戏可退出。| Command | Description |
|---|---|
/bandwidthsaver |
View bandwidth saving stats (查看流量节省统计) |
/bandwidthsaver unfiltered |
View raw consumption (查看实际消耗统计) |
/bandwidthsaver reload |
Reload configuration (重载配置) |
/afk |
Toggle manual AFK mode (切换手动AFK模式) |
| Permission | Description |
|---|---|
bandwidthsaver.bypass |
Bypass AFK detection (绕过 AFK 检测) |
bandwidthsaver.admin |
Access admin commands (管理员权限) |
# Calculate all packets (required for /bandwidthsaver unfiltered)
calcAllPackets: true
# Dynamically modify player view distance when AFK
modifyPlayerViewDistance: false
# AFK threshold in seconds
afkPerspectiveThresholdSeconds: 300
# Enable console logging for filtering details
debug: false
message:
playerEcoEnable: '§a🍃 ECO 节能模式已启用,限制数据传输,可能会看着卡顿,实际正常,不会影响机器运行'
playerEcoDisable: '§8🍃 ECO 节能模式已停用,数据传输将恢复正常'
bossbar:
eco-enabled-title: "<green><bold>🍃 ECO 节能模式</bold> <gray>|</gray> <yellow>⬇ 已暂停高频数据传输</yellow> <gray>|</gray> <white>↔ 轻晃视角以恢复</white>"
eco-enabled-health: 1.0
eco-enabled-color: "YELLOW" # YELLOW, BLUE, RED, GREEN, PINK, WHITE, PURPLE, or ORANGE
eco-enabled-overlay: "PROGRESS" # PROGRESS, NOTCHED_6, NOTCHED_10, NOTCHED_12, or NOTCHED_20