BungeeCord setup problem

Discussion in 'Spigot Discussion' started by BlueCreeperPlay, Aug 9, 2018.

  1. Hello, i recently managed to create a BungeeCord server, only problem is that when i try to execute server, it is not starting at all, there is some sort of problem in config.yml. and im using a mac!

    error in terminal:
    Code (Text):

    19:35:00 [INFO] Using standard Java JCE cipher.

    19:35:00 [INFO] Using standard Java compressor.

    19:35:00 [INFO] Enabled BungeeCord version git:BungeeCord-Bootstrap:1.13-SNAPSHOT:715ec07:1348

    19:35:00 [INFO] Not on Windows, attempting to use enhanced EpollEventLoop

    19:35:00 [WARNING] Epoll is not working, falling back to NIO: ExceptionInInitializerError : null @ io.netty.channel.epoll.Epoll:39

    19:35:00 [INFO] Discovered module: ModuleSpec(name=cmd_alert, file=modules/cmd_alert.jar, provider=JenkinsModuleSource())

    19:35:00 [INFO] Discovered module: ModuleSpec(name=cmd_find, file=modules/cmd_find.jar, provider=JenkinsModuleSource())

    19:35:00 [INFO] Discovered module: ModuleSpec(name=cmd_list, file=modules/cmd_list.jar, provider=JenkinsModuleSource())

    19:35:00 [INFO] Discovered module: ModuleSpec(name=cmd_send, file=modules/cmd_send.jar, provider=JenkinsModuleSource())

    19:35:00 [INFO] Discovered module: ModuleSpec(name=cmd_server, file=modules/cmd_server.jar, provider=JenkinsModuleSource())

    19:35:00 [INFO] Discovered module: ModuleSpec(name=reconnect_yaml, file=modules/reconnect_yaml.jar, provider=JenkinsModuleSource())

    19:35:00 [INFO] Loaded plugin reconnect_yaml version git:reconnect_yaml:1.13-SNAPSHOT:715ec07:1348 by SpigotMC

    19:35:00 [INFO] Loaded plugin cmd_find version git:cmd_find:1.13-SNAPSHOT:715ec07:1348 by SpigotMC

    19:35:00 [INFO] Loaded plugin cmd_server version git:cmd_server:1.13-SNAPSHOT:715ec07:1348 by SpigotMC

    19:35:00 [INFO] Loaded plugin cmd_alert version git:cmd_alert:1.13-SNAPSHOT:715ec07:1348 by SpigotMC

    19:35:00 [INFO] Loaded plugin cmd_send version git:cmd_send:1.13-SNAPSHOT:715ec07:1348 by SpigotMC

    19:35:00 [INFO] Loaded plugin cmd_list version git:cmd_list:1.13-SNAPSHOT:715ec07:1348 by SpigotMC

    19:35:00 [SEVERE] Exception in thread "main"

    19:35:00 [SEVERE] java.lang.RuntimeException: Invalid configuration encountered - this is a configuration error and NOT a bug! Please attempt to fix the error or see https://www.spigotmc.org/ for help.

    19:35:00 [SEVERE]     at net.md_5.bungee.conf.YamlConfig.load(YamlConfig.java:69)

    19:35:00 [SEVERE]     at net.md_5.bungee.conf.Configuration.load(Configuration.java:66)

    19:35:00 [SEVERE]     at net.md_5.bungee.BungeeCord.start(BungeeCord.java:268)

    19:35:00 [SEVERE]     at net.md_5.bungee.BungeeCordLauncher.main(BungeeCordLauncher.java:56)

    19:35:00 [SEVERE]     at net.md_5.bungee.Bootstrap.main(Bootstrap.java:15)

    19:35:00 [SEVERE] Caused by: while parsing a block mapping

     in 'reader', line 19, column 5:

            motd: '&1Creeper&2Craft &k2.0’

            ^

    expected <block end>, but found '<anchor>'

     in 'reader', line 24, column 10:

          motd: '&1Another Bungee server'

                ^


    19:35:00 [SEVERE]     at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:572)

    19:35:00 [SEVERE]     at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158)

    19:35:00 [SEVERE]     at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)

    19:35:00 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:214)

    19:35:00 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:144)

    19:35:00 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:236)

    19:35:00 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:227)

    19:35:00 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:215)

    19:35:00 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:144)

    19:35:00 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:236)

    19:35:00 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:227)

    19:35:00 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:215)

    19:35:00 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:144)

    19:35:00 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.getNode(Composer.java:85)

    19:35:00 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:108)

    19:35:00 [SEVERE]     at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:139)

    19:35:00 [SEVERE]     at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:524)

    19:35:00 [SEVERE]     at org.yaml.snakeyaml.Yaml.load(Yaml.java:452)

    19:35:00 [SEVERE]     at net.md_5.bungee.conf.YamlConfig.load(YamlConfig.java:66)

    19:35:00 [SEVERE]     ... 4 more


     
    and here is the config file

    config:
    Code (Text):

    forge_support: false
    player_limit: 20
    permissions:
      default:
      - bungeecord.command.server
      - bungeecord.command.list
      admin:
      - bungeecord.command.alert
      - bungeecord.command.end
      - bungeecord.command.ip
      - bungeecord.command.reload
    timeout: 30000
    log_commands: false
    online_mode: false
    disabled_commands:
    - disabledcommandhere
    servers:
      hub:
        motd: '&1Creeper&2Craft &k2.0’
        address: 0.0.0.0:25566
        restricted: false
    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:
      - hub
      bind_local_address: true
      host: 0.0.0.0:25577
      max_players: 20
      tab_size: 60
      force_default_server: true
    ip_forward: false
    network_compression_threshold: 256
    groups:
      BlueCreeperPlay:
      - admin
    connection_throttle: 4000
    stats: 2076c834-a93d-4e68-b6d9-b0482782df50
    prevent_proxy_connections: false

     
    could you please help? Thanks
     
    #1 BlueCreeperPlay, Aug 9, 2018
    Last edited: Aug 9, 2018
  2. You can't see indentations in the spoiler. Would you mind putting your config in [ code ] tags or linking to a hastebin instead?
     
  3. ok, one minute
    i will make
    Code (Text):
     thing
     
  4. i did the code, check if it works please
     
  5. Ah, I should have seen it even without the indents.
    Code (Text):
        motd: '&1Creeper&2Craft &k2.0’
        motd: '&1Creeper&2Craft &k2.0'
    The closing quote is not a normal quote but some fancy backtick or something. Make it a proper quote (') and you should be good.
     
  6. Code (Text):
    forge_support: false
    player_limit: 20
    permissions:
      default:
      - bungeecord.command.server
      - bungeecord.command.list
      admin:
      - bungeecord.command.alert
      - bungeecord.command.end
      - bungeecord.command.ip
      - bungeecord.command.reload
    timeout: 30000
    log_commands: false
    online_mode: false
    disabled_commands:
    - disabledcommandhere
    servers:
      hub:
        motd: '&1Creeper&2Craft &k2.0'
        address: 0.0.0.0:25566
        restricted: false
    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:
      - hub
      bind_local_address: true
      host: 0.0.0.0:25577
      max_players: 20
      tab_size: 60
      force_default_server: true
    ip_forward: false
    network_compression_threshold: 256
    groups:
      BlueCreeperPlay:
      - admin
    connection_throttle: 4000
    stats: 2076c834-a93d-4e68-b6d9-b0482782df50
    prevent_proxy_connections: false
    Fixed.

    Edit: Got sniped.
     
  7. Thanks that worked, because of this tiny mistake whole server could not run, thanks
     
    • Like Like x 1
  8. Related: There are plenty of YAML validators online to quickly check your configuration files for formal errors. For example, I used this: http://www.yamllint.com/