1. Welcome to LilyPad. Download the project, explore the forums, and create your own LilyPad network.


    If you use the software and enjoy it or have a question, or would like to contribute to the future of the software directly or through resources, please sign up and join our little community.

Solved [help] Connecting multiple server

Discussion in 'Support' started by JohnRib, May 9, 2013.

  1. JohnRib

    JohnRib New Member

    Hello, I am French and I have great difficulty in understanding your plugin.
    I use bungeeCord but it does not have the features I want.
    When I configure my server so good, but I can not seem to define more than 2 servers ... When I create portals everything goes well except when I pass it. The first works, but when I come back it says "server is offline" while the server is open. Could you help me? Thank you in advance.

    I work locally, here is my config.

    Code (text):
    {
      "proxy": {
        "bind": {
          "address": "0.0.0.0",
          "port": 25565
        },
        "outbound": {
          "address": "0.0.0.0"
        },
        "servers": [
          {
            "domain": "localhost",
            "server": "pvp"
          }
        ],
        "motd": "A Minecraft Server",
        "playerMaximum": 1,
        "authenticate": true,
        "throttle": 2500,
        "tabEnabled": true,
        "localeFull": "You seem to be already logged in",
        "localeOffline": "The requested server is currently offline. Try again later!",
        "localeLoggedIn": "You have logged in from another location",
        "localeLostConn": "Lost connection... Please try to reconnect",
        "localeShutdown": "The server is being restarted. Please try to reconnect"
      },
      "queryTcp": {
        "bind": {
          "address": "0.0.0.0",
          "port": 5555
        }
      },
      "queryUdp": {
        "bind": {
          "address": "0.0.0.0",
          "port": 25565
        }
      },
      "connect": {
        "bind": {
          "address": "0.0.0.0",
          "port": 5091
        },
        "logins": [
          {
            "username": "example",
            "password": "example"
          }
        ]
      }
    }
    When I took the portal hub server to server pvp portal works. In contrast to return the gate said "server is offline." : (

    I think I'll go for a moron and that is simple and yet I do not understand: (With bungeecord I have not had too much trouble it is rather simplistic but ..
  2. Coelho

    Coelho Software Engineer Staff Member Administrator Maintainer

    Under connect, each individual server needs to have it's own login. So pvp would have a login of the username "pvp" and the password "blah", etc.
    For the servers under proxy, you may want to direct the * domain to the server pvp.

    Keep in mind that "connect.username" = "proxy.server"

    And also, LilyPad's design has absolutely nothing to do with Bungeecord, so forget all you previously learned about Bungeecord and follow the guide as is.
  3. JohnRib

    JohnRib New Member

    But how do I make this in the config to put the servers?
    When I test some formulas that it creates an error in the console that I do not have time to see it because the console closes very quickly ..

    I tried this but without success :

    Code (text):
        "logins": [
          {
            "username": "pvp",
            "password": "pvpserveur"
          }
          {
            "username": "hub",
            "password": "hubserveur"
          }  
        ]
     
      }
    }
    I'm sorry to bother you even if I think it is easy to use I do not see how to put more servers in the same config :/

    Thank you to you in advance.
  4. Coelho

    Coelho Software Engineer Staff Member Administrator Maintainer

    You need a comma after your }, so it would be:
    Code (text):

        "logins": [
          {
            "username": "pvp",
            "password": "pvpserveur"
          },
          {
            "username": "hub",
            "password": "hubserveur"
          }
        ]
     
      }
    }
     
    Also, if you have too much trouble, I just made a documentation video that you can find here: http://lilypadmc.org/threads/setting-up-an-allinone-server.7/
    That should clear it up :)
    • Like Like x 1
  5. JohnRib

    JohnRib New Member

    I'll watch your video, thank you very much for your help :)
  6. JohnRib

    JohnRib New Member

    Perfect! I managed my servers connected them :p By cons I have two questions.

    1) What is it lilypad perform more than bungeecord? (if it did)
    2) Does it have a solution for avoiding the players appear in the portals when they take?

    Thank you.
  7. Coelho

    Coelho Software Engineer Staff Member Administrator Maintainer

    1) I'm not sure what you mean?
    2) In the LilyPad-Portal folder in your plugins, you can change spawnAtPortalEndpoint (or etc) to true (by default it is false)
    • Like Like x 1
  8. JohnRib

    JohnRib New Member

    Perfect! Thank you very much for your help :)

Share This Page