马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?立即注册
x
本帖最后由 LengFish 于 2025-5-15 22:49 编辑
如何发现的?
在某天的测试中,我发现当具有大量 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核心,可能存在未知风险
核心本体请前往QQ群:516656715
|