[SOLVED] Config for multiple IP listener on BungeeCord

Discussion in 'BungeeCord Discussion' started by Lucas, Jun 8, 2015.

  1. Hello,

    I would like to move my server to BungeeCord, but i have some doubts about bungee listeners. Can I configure Bungee to have multiple listeners ips and if anyone connect on certain IP, he gets connect direct on that server?

    Something like this:

    bungeecord -> ip1.com -> hub -> survival
    bungeecord -> ip2.com -> survival

    Is this possible? If so, how could I do this?
     
  2. It would be best if you just did this.
    Your Domain > Bungeecord > Hub > Survival
     
  3. I believe the forced hosts option lets you do this.
     
    • Agree Agree x 4
  4. I tried this config, but the server won't start

    Code (Text):

    groups:
      lucasdidur:
        - admin
    disabled_commands:
      - disabledcommandhere
    player_limit: -1
    stats: 9b2b70bb-b165-4960-95e6-db18d0e9a36d
    permissions:
      default:
        - bungeecord.command.server
        - bungeecord.command.list
      admin:
        - bungeecord.command.alert
        - bungeecord.command.end
        - bungeecord.command.ip
        - bungeecord.command.reload
    listeners:
      - max_players: 1000
        fallback_server: pvp
        host: 0.0.0.0:25565
        bind_local_address: true
        ping_passthrough: true
        tab_list: GLOBAL
        default_server: hub
        forced_hosts:
          mc.ehaqui.com: hub
        tab_size: 60
        force_default_server: true
        motd: '&1Hub'
        query_enabled: false
        query_port: 25561
    #Start listener 2
      - max_players: 1000
        fallback_server: hub
        host: 1.1.1.1:25565
        bind_local_address: true
        ping_passthrough: true
        tab_list: GLOBAL
        default_server: criativo
        forced_hosts:
          criativo.mc.ehaqui.com: criativo
        tab_size: 60
        force_default_server: true
        motd: '&1Criativo'
        query_enabled: false
        query_port: 25561
    timeout: 30000
    connection_throttle: 4000
    servers:
      lobby:
        motd: '&1Hub - Forced Host'
        address: '0.0.0.0:25600'
        restricted: false
      criativo:
        motd: '&1Criativo - Forced Host'
        address: '1.1.1.1:25600'
        restricted: false
    ip_forward: false
    online_mode: true

     
     
  5. I have figured out, my control panel was blocking multiple listeners on file config.
     
  6. How did you do this? i am stuck with the same issue? with multicraft