• 【问卷调查奖励发放公告】

    感谢大家积极参与本次 MineBBS 社区问卷调查。200 金粒的参与奖励已完成发放。部分用户发放失败,请【点击此处】 查看详情。

资源图标

二次开发 为解决BC跨服时出现"Too many registers channels"的问题 2025-05-14

请登录后获取
版权类型
二次开发
原帖地址
#
适配版本(Java)
  1. 1.21
  2. 1.20
  3. 1.19
  4. 1.18
  5. 1.17
  6. 1.16
  7. 1.15
  8. 1.14
  9. 1.13
  10. 1.12
  11. 1.11
  12. 1.10
  13. 1.9
  14. 1.8
  15. 1.7
  16. 1.6
如何发现的?

在某天的测试中,我发现当具有大量 Mod 的客户端在服务器之间传输时,会出现“注册频道过多”错误

如何修复?

在config.yml中修改max_channels项(原版Bungeecord核心中不存在此项)
代码:
groups:
  md_5:
  - admin
disabled_commands:
- disabledcommandhere
timeout: 30000
online_mode: true
reject_transfers: false
servers:
  lobby:
    motd: '&1Just another BungeeCord - Forced Host'
    address: localhost:25565
    restricted: false
server_connect_timeout: 5000
# 修改此项以解决此问题
max_channels: 128
listeners:
- query_port: 25577
  motd: '&1Another Bungee server'
  tab_list: GLOBAL_PING
  query_enabled: false
  proxy_protocol: false
  forced_hosts:
    pvp.md-5.net: pvp
  ping_passthrough: false
  priorities:
  - lobby
  bind_local_address: true
  host: 0.0.0.0:25577
  max_players: 1
  tab_size: 60
  force_default_server: false
stats: d012ad51-d138-4ea9-8779-5f0a2fb40494
network_compression_threshold: 256
log_pings: true
permissions:
  default:
  - bungeecord.command.server
  - bungeecord.command.list
  admin:
  - bungeecord.command.alert
  - bungeecord.command.end
  - bungeecord.command.ip
  - bungeecord.command.reload
  - bungeecord.command.kick
  - bungeecord.command.send
  - bungeecord.command.find
ip_forward: false
player_limit: -1
log_commands: false
connection_throttle_limit: 3
connection_throttle: 4000
enforce_secure_profile: false
prevent_proxy_connections: false
remote_ping_timeout: 5000
forge_support: false
remote_ping_cache: -1
max_packets_per_second: 4096
max_packets_data_per_second: 33554432


注意这是魔改的Bungeecord核心,可能存在未知风险
作者
LengFish
价格
100金粒
下载
3
查看
83
首次发布
最后更新

评分

0.00 星 0 次评分
后退
顶部 底部