MC百科社群

标题: 今天配置群组服,失败了,这个问题应该如何解决 [打印本页]

作者: QQ酱156912    时间: 2023-7-1 15:16
标题: 今天配置群组服,失败了,这个问题应该如何解决

CMD返回了几条[严重],然后再无反应


GPT的分析
  1. 这是一个Java异常信息,指出在服务器配置中发生了一个严重错误:

  2. `java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Boolean`

  3. 这个错误是由于程序试图将一个字符串(String)类型强制转换为布尔值(Boolean)类型时引发的。具体报错的位置在`net.md_5.bungee.conf.YamlConfig.getBoolean(YamlConfig.java:204)`,表明出问题的代码位于YamlConfig.java文件的第204行。

  4. 该错误导致了在`net.md_5.bungee.conf.Configuration.load(Configuration.java:92)`处加载配置文件失败。随后,程序无法继续执行,最终导致BungeeCord服务器启动失败。

  5. 请检查服务器配置文件中的相关设置,尤其是涉及布尔类型的配置项,确保配置项的类型正确。可能需要检查配置文件中某些项是否被错误地设为字符串而应该是布尔值。

  6. 如果你是服务器管理员,验证并修正配置项的类型错误可能会解决此问题。如果你是用户,你可以向服务器管理员报告此错误以寻求帮助。
复制代码
[spoiler=我的配置文件]enforce_secure_profile: falselisteners:
- 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:
  - rural
  bind_local_address: true
  host: emc.2m.pub
  max_players: 1
  tab_size: 60
  force_default_server: false
remote_ping_cache: -1
network_compression_threshold: 256
permissions:
  default:
  - bungeecord.command.server
  - bungeecord.command.list
  admin:
  - bungeecord.command.alert
  - bungeecord.command.end
  - bungeecord.command.ip
  - bungeecord.command.reload
  - bungeecord.command.kick
log_pings: true
connection_throttle_limit: 3
server_connect_timeout: 5000
timeout: 30000
stats: 641f16b3-73a9-4af5-9dd1-6c4a124a6f21
player_limit: -1
ip_forward: true
groups:
  md_5:
  - admin
remote_ping_timeout: 5000
connection_throttle: 4000
log_commands: false
prevent_proxy_connections: false
online_mode: flase
forge_support: true
disabled_commands:
- disabledcommandhere
servers:
  rural:
    motd: '&1Just another BungeeCord - Forced Host'
    address: earth-minecraft-csf.85h.org:29407
    restricted: false
  moxinyu:
    motd: '&1Just another BungeeCord - Forced Host'
    address: mc13.starmc.cn:37908

    restricted: false
[/spoiler]

全程是由一位专业的朋友远程连接布置的,理论上不应该发生错误,不是操作失误

作者: MCshenji    时间: 2023-7-1 15:16
online_mode: flase           字母顺序错了     false




欢迎光临 MC百科社群 (https://bbs.mcmod.cn/) MC百科|最大的MineCraft中文模组百科