Latest build 1.2.3.6 not finding 1.12 server

Discussion in 'BungeeCord Plugin Help' started by smmmadden, Jun 4, 2017.

  1. smmmadden

    Benefactor

    Once I updated my BungeeCord server to 1.2.3.4 and above, my Test Sandbox server (also running on latest Spigot 1.12 pre6 build), I'm not able to use /server tester (where tester is the name of the world). I've tried /tester which is for SlashServer plugin for aliasing /server xxxx to /xxxx (thehub is my lobby world).
    I see CommandSync connecting to the tester world 127.0.0.1:53076 but when I connect via the game,
    Typing in /server (I see all worlds fine for the list)
    Typing in /server tester I see in the logs:
    [INFO] [smmmadden] <-> ServerConnector [tester] has connected
    [INFO] [smmmadden] <-> ServerConnector [creative] has connected
    [INFO] [smmmadden] <-> ServerConnector [tester] has disconnected
    [INFO] [smmmadden] <-> DownstreamBridge <-> [thehub] has disconnected

    If I use SlashServer option of /tester then I get
    "You are already connected to this server!" - which I'm not as I'm in the lobby (default forced world called thehub).
    Then every attempt to use /tester again, I get teleported to my Creative world which is 127.0.0.1:53103 not 127.0.0.1:53076

    Anyone have any ideas why I keep getting sent to the wrong world which is the second world listed under priorities. The tester world is the last (of 7) worlds.
    Thanks,
    Steve

    EDIT: I should state also, that I've removed all my world details (plugin folders) and started the server up and created a new "tester" world, in case there was something messed up originally with the previous 1.11.2 version of it.
     
  2. 1. "I'm not able to use /server tester (where tester is the name of the world)" - I suppose you mean server.
    2. Did you set bungeecord = true in spigot.yml?
    3. Can you please post your bungee config.yml?
     
  3. smmmadden

    Benefactor

    HI Germanode - thanks for the reply.
    1. Yes /server tester where "tester" is my world running the 1.12 instance
    2. Yes, bungecord is set to true in all 6 other worlds and can teleport to all of them except for the tester world.
    Here is what I have in the bungeecord server's config.yml
    Code (Text):
    ip_forward: true
    network_compression_threshold: 256
    stats: 2e322032-e874-4bc7-ba09-34f3c4e9cb3a
    permissions:
      default:
      - bungeecord.command.server
      - bungeecord.command.list
      - bungeecord.command.find
      - bungeecord.server.thehub
      - bungeecord.server.creative
      - bungeecord.server.survival
      - bungeecord.server.hogwarts
      - bungeecord.server.educator
      - -bungeecord.server.future
      - -bungeecord.server.tester
      - slashserver.thehub
      - slashserver.creative
      - slashserver.survival
      - slashserver.hogwarts
      - slashserver.educator
      - -slashserver.future
      - -slashserver.tester
      - cdispatch.thehub
      - cdispatch.creative
      - cdispatch.survival
      - cdispatch.hogwarts
      - cdispatch.educator
      - -cdispatch.future
      - -cdispatch.tester
      admin:
      - bungeecord.command.alert
      - bungeecord.command.end
      - bungeecord.command.ip
      - bungeecord.command.reload
      - bungeecord.server.thehub
      - bungeecord.server.creative
      - bungeecord.server.survival
      - bungeecord.server.hogwarts
      - bungeecord.server.educator
      - bungeecord.server.future
      - bungeecord.server.tester
      - slashserver.thehub
      - slashserver.creative
      - slashserver.survival
      - slashserver.hogwarts
      - slashserver.educator
      - slashserver.future
      - slashserver.tester
      - cdispatch.thehub
      - cdispatch.creative
      - cdispatch.survival
      - cdispatch.hogwarts
      - cdispatch.educator
      - cdispatch.future
      - cdispatch.tester
      - sync.use
      adults:
      - bungeecord.server.thehub
      - bungeecord.server.creative
      - bungeecord.server.survival
      - bungeecord.server.hogwarts
      - bungeecord.server.educator
      - bungeecord.server.future
      - -bungeecord.server.tester
      - slashserver.thehub
      - slashserver.creative
      - slashserver.survival
      - slashserver.hogwarts
      - slashserver.educator
      - slashserver.future
      - -slashserver.tester
      - cdispatch.thehub
      - cdispatch.creative
      - cdispatch.survival
      - cdispatch.hogwarts
      - cdispatch.educator
      - cdispatch.future
      - -cdispatch.tester
    groups:
      smmmadden:
      - admin
      annahit:
      - admin
      ezmi:
      - default
      rubylady:
      - adults
      sofa__:
      - adults
      coolguy619:
      - default
      uchihanoriku:
      - adults
    servers:
      thehub:
        address: 127.0.0.1:25260
        restricted: true
        motd: '&bTake Me To Minecraft - Hub (v1.11.2)'
      creative:
        address: 127.0.0.1:25200
        restricted: true
        motd: '&1Welcome to Artistic Endeavors 2.0'
      survival:
        address: 127.0.0.1:25220
        restricted: true
        motd: '&1Welcome to Survival Instincts 2.0'
      hogwarts:
        address: 127.0.0.1:25210
        restricted: true
        motd: '&1Welcome to Harry Potter 2.0'
      educator:
        address: 127.0.0.1:25230
        restricted: true
        motd: '&1Welcome to The Educator 2.0'
      future:
        address: 127.0.0.1:25250
        restricted: true
        motd: '&1Welcome to The Future 2.0'
      tester:
        address: 127.0.0.1:25240
        restricted: true
        motd: '&1Welcome to The Tester 2.0'
    timeout: 30000
    listeners:
    - max_players: 1000
      host: 192.168.0.151:25577
      bind_local_address: true
      ping_passthrough: false
      tab_list: GLOBAL_PING
      tab_size: 60
      force_default_server: true
      query_enabled: false
      query_port: 25577
      motd: '&bWelcome to the TmTmc Hub'
      priorities:
      - thehub
      - creative
      - survival
      - hogwarts
      - educator
      - future
      - tester
      forced_hosts:
        pvp.md-5.net: pvp
    prevent_proxy_connections: false
    player_limit: -1
    online_mode: true
    log_commands: true
    connection_throttle: 4000
    disabled_commands:
    - disabledcommandhere
     
    The server.properties file has server-ip=127.0.0.1, online-mode=false, server-port=25240 and level-name=tester
    The spigot.yml has bungeecord: true
    The tester world also has the CommandSync plugin set the name=tester, same port as the others with 9190 and has password the same.

    What I found during testing this yesterday is, when I first login and end up in TheHub (i.e. lobby), when I try /server tester the first time, I get the warning that I'm already in that world. The second time I use the same command it teleport's me to my creative world. Same thing from any other world trying to get to tester from them. There are two issues when the "tester" server does startup, one is that WorldEditv6.1.5.4651611 returns a WARN message: This WorldEdit version does not fully support your version of Bukkit. and EssentialsExtra returns a Version mismatch Error. So I'm not sure if these are preventing me from connecting to it or not. The BungeeCord instance shows that CommandSync connected to 127.0.0.1:63318 under name tester has been authorized leading me to believe I s/be able connect.

    Let me know if there is anything further you may need. Thanks - Steve
     
  4. Try this:
    Code (Text):
    ip_forward: true
    network_compression_threshold: 256
    stats: 2e322032-e874-4bc7-ba09-34f3c4e9cb3a
    permissions:
      default:
      - bungeecord.command.server
      - bungeecord.command.list
      - bungeecord.command.find
      - bungeecord.server.thehub
      - bungeecord.server.creative
      - bungeecord.server.survival
      - bungeecord.server.hogwarts
      - bungeecord.server.educator
      - -bungeecord.server.future
      - -bungeecord.server.tester
      - slashserver.thehub
      - slashserver.creative
      - slashserver.survival
      - slashserver.hogwarts
      - slashserver.educator
      - -slashserver.future
      - -slashserver.tester
      - cdispatch.thehub
      - cdispatch.creative
      - cdispatch.survival
      - cdispatch.hogwarts
      - cdispatch.educator
      - -cdispatch.future
      - -cdispatch.tester
      admin:
      - bungeecord.command.alert
      - bungeecord.command.end
      - bungeecord.command.ip
      - bungeecord.command.reload
      - bungeecord.server.thehub
      - bungeecord.server.creative
      - bungeecord.server.survival
      - bungeecord.server.hogwarts
      - bungeecord.server.educator
      - bungeecord.server.future
      - bungeecord.server.tester
      - slashserver.thehub
      - slashserver.creative
      - slashserver.survival
      - slashserver.hogwarts
      - slashserver.educator
      - slashserver.future
      - slashserver.tester
      - cdispatch.thehub
      - cdispatch.creative
      - cdispatch.survival
      - cdispatch.hogwarts
      - cdispatch.educator
      - cdispatch.future
      - cdispatch.tester
      - sync.use
      adults:
      - bungeecord.server.thehub
      - bungeecord.server.creative
      - bungeecord.server.survival
      - bungeecord.server.hogwarts
      - bungeecord.server.educator
      - bungeecord.server.future
      - -bungeecord.server.tester
      - slashserver.thehub
      - slashserver.creative
      - slashserver.survival
      - slashserver.hogwarts
      - slashserver.educator
      - slashserver.future
      - -slashserver.tester
      - cdispatch.thehub
      - cdispatch.creative
      - cdispatch.survival
      - cdispatch.hogwarts
      - cdispatch.educator
      - cdispatch.future
      - -cdispatch.tester
    groups:
      smmmadden:
      - admin
      annahit:
      - admin
      ezmi:
      - default
      rubylady:
      - adults
      sofa__:
      - adults
      coolguy619:
      - default
      uchihanoriku:
      - adults
    servers:
      thehub:
        address: 127.0.0.1:25260
        restricted: true
        motd: '&bTake Me To Minecraft - Hub (v1.11.2)'
      creative:
        address: 127.0.0.1:25200
        restricted: true
        motd: '&1Welcome to Artistic Endeavors 2.0'
      survival:
        address: 127.0.0.1:25220
        restricted: true
        motd: '&1Welcome to Survival Instincts 2.0'
      hogwarts:
        address: 127.0.0.1:25210
        restricted: true
        motd: '&1Welcome to Harry Potter 2.0'
      educator:
        address: 127.0.0.1:25230
        restricted: true
        motd: '&1Welcome to The Educator 2.0'
      future:
        address: 127.0.0.1:25250
        restricted: true
        motd: '&1Welcome to The Future 2.0'
      tester:
        address: 127.0.0.1:25240
        restricted: true
        motd: '&1Welcome to The Tester 2.0'
    timeout: 30000
    listeners:
    - max_players: 1000
      host: 192.168.0.151:25577
      bind_local_address: true
      ping_passthrough: false
      tab_list: GLOBAL_PING
      tab_size: 60
      force_default_server: true
      query_enabled: false
      query_port: 25577
      motd: '&bWelcome to the TmTmc Hub'
      priorities:
      - thehub
      forced_hosts:
        pvp.md-5.net: pvp
    prevent_proxy_connections: false
    player_limit: -1
    online_mode: true
    log_commands: true
    connection_throttle: 2000
    disabled_commands:
    - disabledcommandhere
     
    I changed a few things (Don't worry. permissions are the same). Try now.

    + Do not forget to set connection throttle on spigot servers to 0
     
  5. smmmadden

    Benefactor

    Thanks - so the priorities parameter only needs the one entry for the default server and not the others?
    As for all the spigot servers, the directions I used was on the bungeecord server page which stated to set the spigot worlds bukket.yml to -1 for the connection throttle or it won't work. Is that not correct?

    I restarted the bungeecord server and tried again - slightly different behavior now. :) Progress...
    First time /server tester - same message saying I'm already in that server
    Second time /server tester - Kicked whilst connecting to tester: Outdated client! Please use 1.12-pre6 (which I'm on the latest build of yesterday)
    Using:
    BungeeCord v1.2.3.6
    CommandSync v2.3
    BungeeCord Command Dispatcher v2.4.9
    SlashServer v3.0
    Socket4mc v2.1.3
    BungeeWhiteList v1.0
     
    #5 smmmadden, Jun 7, 2017
    Last edited: Jun 7, 2017
  6. 1. Yes.
    2. My mistake. connection-throttle: -1 is the right value, yes. However, should work for values like 1000 too but could kick people in case of more connections at the same time.
    3. Could you please re-run buildtools to maybe get the latest bugfixes in? Since it gets updated almost daily. Also, could you try using this as a bungeecord jar replacement for a second: WaterFall
     
  7. smmmadden

    Benefactor

    I'll try with the rebuilt BuildTools and see what it does. As for WaterFall, McAfee thinks its a virus. :) Take note of the Domain name. Not sure if this was hijacked by someone or not.
    upload_2017-6-7_15-16-58.png

    I downloaded it anyway and deployed it instead of bungeecord.jar file and server starts up fine, but get the same issue that the client is using an outdated version (even though I just rebuilt the spigot jar file for 1.12 pre6). It does show I'm using build 60 of BuildTools.jar and waterfall.
    When I logged in and entered TheHub (lobby world), the BungeeCord server through the exception attached but I was able to enter.

    Here is me running the command to /server tester
     

    Attached Files:

    #7 smmmadden, Jun 7, 2017
    Last edited: Jun 7, 2017
  8. It's a Jenkins link actually. https://ci.destroystokyo.com/job/Waterfall/
    Found here too https://aquifermc.org/
    So it's actually a legit link.

    Also, I can explain the "Already connected" - It tried to kick you back to the hub in which you already were. Since its a default server.
    About the version... Could you check the client on your computer and update it? Bungee + Spigot should be all fine now.
     
  9. smmmadden

    Benefactor

    yeah, I figured it was a good file when I checked the site out - seems like McAfee just gets paranoid over certain words/phrases and thinks it more serious than not. lol

    I can't believe I got bit by this again. :-( The whole Minecraft Client version must match the Server version. This has been one of my worst pet peeves since I started playing in 1.8. Why every single release comes out they don't maintain backward compatibility at all and rather break it so users are forced to upgrade. There is no technical reason why the client couldn't still connect to a new code based server and still run using the clients version. Want to take advantage of 1.12 features, upgrade the client - until then status quo. It's a no brainer, but yet Mojang continues to break all kinds of rules when it comes to software development. Anyway....enough ranting. Now I need to switch the default world to my Tester world since only that one has 1.12 running on it. All the others are 1.11.2. I'll give that a go and report back, but I think you're spot on that once the client + bungee + spigot are all 1.12, everything will play friendly.

    One thing that does appear to be new, is after upgrading the client and trying to find Bungee, I get this ugly screen showing many versions which I don't have. Not sure what that's all about yet. :)
    upload_2017-6-7_21-21-31.png

    Tried putting tester in the priorities instead of thehub but it still thought the server was outdated using waterfall.jar or bungeecord1.2.3.6.jar. I'm wondering if this is some validation being tripped because all my servers are 1.11.2, but bungee is flagging them as outdated (correctly) even though my default is 1.12 and not letting me connect regardless? What do you think, is this a KB that' in order to test a new release I have to pull it out of the bungee network to do so?
     
    #9 smmmadden, Jun 8, 2017
    Last edited: Jun 8, 2017