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.

Usage How to setup JLilyPad with Multicraft

Discussion in 'Documentation' started by boboman13, Jul 7, 2013.

  1. boboman13

    boboman13 Member Contributor

    Quite a challenging setup, but necessary for many servers. LilyPad is a setup like no other, very different from BungeeCord, so keep a clear mind (as it is said in the other documentation) during the setup, especially on a Multicraft panel.

    LilyPad Setup - Necessary Items

    A few things are necessary before you start the LP installation.​
    • At least two Multicraft servers (one must have the ability to pick a .jar)
    • The AllInOneServer software, you can get this here
    • Some time to install LP
    LilyPad Setup - Setting up the Proxy
    This is the most important part of the setup and the hardest to get right. Follow closely to the instructions and you should be good.

    The first step is to upload the AllInOneServer and tell the server to run that.
    The upload can be done using the Files > FTP File Access. Name the file 'proxy.jar', or an easy name you can remember. After doing so, return to the main page of your Multicraft server and find the Server Jar option. It should look like this:
    [​IMG]
    If it doesn't look like that, you need to submit a ticket to your hosting provider asking them to unlock your .jar file. Assuming you named the file 'proxy.jar', put 'proxy.jar' into that box. It should look like this.
    [​IMG]
    After you get that, run the server using the [Start] button at the top. Then go to the console and type 'halt' once. This will stop your LilyPad server (hopefully), then you can click the [Stop] button at the top now. Your configuration file is now generated.

    LilyPad Setup - Configuration
    Assuming your .jar ran correctly, access the allinone.conf file. This can be found in the root directory of your server. A default allinone.conf should look like this:
    Code (javascript):
    {
      "proxy": {
        "bind": {
          "address": "0.0.0.0",    <-- CHANGE
          "port": 25565                <-- CHANGE
        },
        "outbound": {
          "address": "0.0.0.0"    <-- CHANGE
        },
        "servers": [
          {
            "domain": "*",
            "server": "example"
          }
        ],
        "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 restarting. Please try to reconnect"
      },
      "queryTcp": {
        "bind": {
          "address": "0.0.0.0",  <-- CHANGE
          "port": 5555                <-- CHANGE
        }
      },
      "queryUdp": {
        "bind": {
          "address": "0.0.0.0",    <-- CHANGE
          "port": 25565                <-- CHANGE
        }
      },
      "connect": {
        "bind": {
          "address": "0.0.0.0",    <-- CHANGE
          "port": 5091                  <-- CHANGE
        },
        "logins": [
          {
            "username": "example",
            "password": "example"
          }
        ]
      }
    }
    The items that you need to change are the...
    • All the "address" fields: you need to change ALL of these to your designated Multicraft address. If you don't do this, not only will your LilyPad setup not work but you risk getting kicked off your hosting service. You can find your designated Multicraft address by looking at the IP field.
    • All "port" fields that default to "25565". This can must be changed for the same reasons as above. You can find your designated Multicraft port by looking at the Port field.
    Then save the configuration. After doing so, run the server and look in the console. Assuming LilyPad is nice and doesn't give you errors about your config (or something else), you are on the right track! The next step is to connect your Minecraft servers to the LilyPad instance.
    Notice: Multicraft cannot determine that LilyPad is correctly running by default, so it will always show the loading symbol unless it is a modified installation.

    LilyPad Setup - Connecting Servers
    Notice: An alternate tutorial on this can be shown here.
    Now that you have your LilyPad proxy setup, you can now connect your Minecraft servers.

    The first step is to install the Bukkit-Connect plugin in all of your servers, which can be found here. Then restart your server, and it should generate a config.yml file. Open it up and you should see this:
    Code (yaml):
    settings:
      address
    : 127.0.0.1
      port
    : 5091
      credentials
    :
        username
    : example
        password
    : example
    This is one of the more important parts of the setup. First, you need to change the address and port to the defined values in the allinone.conf (found in your LilyPad installation) for the connect bind part. After doing so, you then need to create a server section in the allinone.conf for that specific server you are setting up. Here is an example:

    Code (javascript):
        "logins": [
          {
            "username": "hub",
            "password": "n29f2bt"
          },
          {
            "username": "another_server",
            "password": "bd93bf8"
        ]
    I use random letters and numbers for my password, just to ensure security, but you can use whatever you want. The username is the name of the server (hint: the first would be /server hub). After you do so, change the values you set here ^ to the username and password in the config.yml. Then restart your proxy and Minecraft server. In the Minecraft server console, you should see that it has connected to the proxy. You have succeeded in setting up your first server!

    Repeat to Connecting Servers if you want to add more servers. An example of an extra server in the allinone.conf is the "another_server" server I defined as an example.

    How to integrate Multicraft with LilyPad
    Note:
    This requires root access to the Multicraft installation and may require you to ask your host to add this.

    Download the attachment down below to get the online status back. (The green symbol)
    1. Download the attachment
    2. Unzip it.
    3. Go to /Your_Multicraft_folder/Multicraft/jar
    4. Drag/upload the unzipped file to jar folder ^
    5. Make sure that the .jar file has the same name as the .conf.jar file.
    Thanks, @Matt

    :) Thanks for reading! If you have any questions, comment!

    Attached Files:

    Last edited by a moderator: Dec 24, 2013
  2. Matt

    Matt Forum Moderator & Contributor Staff Member Moderator Contributor

    You should move this to the forum Documentation
  3. boboman13

    boboman13 Member Contributor

    Matt I would have put it there but I can't post there - maybe Coelho can move it after its done.
  4. Matt

    Matt Forum Moderator & Contributor Staff Member Moderator Contributor

    boboman13 Would be cool. When will the manual be done?
  5. Coelho

    Coelho Software Engineer Staff Member Administrator Maintainer

    Tell me when you would like it to be moved :)
  6. boboman13

    boboman13 Member Contributor

    Matt I'm not completely sure - I'm trying to set it up on Multicraft, but it says that it cannot bind to the address, even though a regular MC server will bind to it. Coelho any ideas on how that could be fixed?
  7. Coelho

    Coelho Software Engineer Staff Member Administrator Maintainer

    It does not use server.properties. It uses allinone.conf.
  8. boboman13

    boboman13 Member Contributor

    Yes I am aware, I have set up LilyPad successfully on a dedicated server - I'm doing the same setup but it claims that the port is already binded to. Any ideas?
  9. Matt

    Matt Forum Moderator & Contributor Staff Member Moderator Contributor

    Try a other port?
  10. breezeyboy

    breezeyboy New Member

    If its shared hosting without dedicated ip then you will be sharing the ip with others that might already be using the port.
  11. boboman13

    boboman13 Member Contributor

    Matt I'll be sure to try that but all the ports haven't worked so far.
    breezeyboy I own the dedicated server and I only have one other server on there, which is on a separate IP - but thanks for thinking :)
  12. breezeyboy

    breezeyboy New Member

    boboman13 its "breezeyboy" not "breezeboy", You forgot the "y" lol
  13. Devin Curry

    Devin Curry New Member

    Can you post a picture of the config file and highlight the ips that we have to change? And the ips that we are changing, are we changing them to the ip of the server that is running the proxy.jar or the actual hub server.
  14. Felix

    Felix New Member

    It's not working for me. My consoles are just frozen at
    Enabling LilyPad-Connect v23

    The plugin won't enable the server doesn't start.
  15. boboman13

    boboman13 Member Contributor

    Sure, I'll post the config file and highlight the IPs. You need to change them to the IP of the server that is running the proxy.jar, yes.

    Felix I'm not sure whether that has to do with the Multicraft installation, so I can't really help you there - you'd have to continue on that thread you created in the support section, sorry.
  16. iiHeroo

    iiHeroo New Member

    When I try to connect I now get the server offline message. Help please.
  17. boboman13

    boboman13 Member Contributor

    Did you change the IP section of the config, then halt/start the proxy?
  18. boboman13

    boboman13 Member Contributor

    Now? :)
  19. Matt

    Matt Forum Moderator & Contributor Staff Member Moderator Contributor

    Nice! Its done :) Thanks boboman13 . But will the symbol in Multicraft turn in green? Instead of the loading symbol
  20. boboman13

    boboman13 Member Contributor

    Oh Matt I forgot to include that in the tutorial, thanks for reminding me. Multicraft cannot determine that LilyPad (or Bungeecord, for that matter) are running correctly, so it will always show the loading symbol unless modified.

Share This Page