1. We are planning scheduled maintenance on this website on Friday 5 March (tomorrow) at 4:00 am UTC. It is estimated that this maintenance will last 15 minutes. You can view this time in your local timezone here. Thanks.
    Dismiss Notice

Default server = last server joined.

Discussion in 'BungeeCord Discussion' started by Sway, May 23, 2013.

  1. Sway

    Artist Supporter

    I've been messing with bungee all week and I'm almost ready to open my hub server...
    I've been dicking around with configurations and i can't manage to set it up so players will automatically put them back into the last server they joined. All my servers are running on one machine and are bound to localhost.

    My config.yml
    listeners:
    - fallback_server: hub
    max_players: 500
    host: 0.0.0.0:25565
    tab_size: 60
    force_default_server: false
    texture_size: 16
    motd: '&fCrafted&2Miners &8[&a1.5.2&8]'
    default_server: hub
    forced_hosts:
    hub.craftedminers.com: hub
    servers:
    hub:
    address: 127.0.0.1:25585
    restricted: false
    creative:
    address: 127.0.0.1:25595
    restricted: false
    hungergames:
    address: 127.0.0.1:25535
    restricted: false
    survival:
    address: 127.0.0.1:25575
    restricted: false
    stats: 26fec955-15d7-4714-b068-8af2c6ec33cd
    permissions:
    default:
    - bungeecord.command.server
    - bungeecord.command.list
    admin:
    - bungeecord.command.alert
    - bungeecord.command.end
    - bungeecord.command.ip
    - bungeecord.command.send
    - bungeecord.command.reload
    tab_list: SERVER
    player_limit: -1
    online_mode: true
    timeout: 30000
    groups:
    zSwayz:
    - admin
    bill1993:
    - admin


    Anyone mind explaining this to me? ._.
     
  2. prplz

    Supporter

    Code (Text):
    force_default_server: true
    need that to force users to be put on default.

    That or use a forced host.
    Oh I see your forced host now, no idea why that isn't working.
     
    #2 prplz, May 23, 2013
    Last edited: May 23, 2013
  3. You have defined your config thusly that hub.craftedminers.com always takes you to the hub server because you used forced_hosts.

    If you change the host: 0.0.0.0:25565 option to host: your.ip.adress:25565 and then connect through your.ip.adress it will behave as you are expecting it to. You will need to remove the forced_host line for that to work.

    The forced option is if you want users to be able to use, for example, pvp.craftedminers.com and be taken to your pvp server and ignoring any last location settings in bungee.
     
    • Like Like x 1
  4. Sway

    Artist Supporter

    Well then.. That works :]
     
  5. Eh ? You just need to change the forced_host line, ip can stay to 0.0.0.0.