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 lilypad-portal not working

Discussion in 'Support' started by nrxphos, Aug 24, 2013.

Thread Status:
Not open for further replies.
  1. nrxphos

    nrxphos Member

    when i jump in the portal it says that the server is offline.

    Here are the two reasons Coelho stated in his video:
    There is no entry login in config:
    The server is not connected to the cloud:
  2. nrxphos

    nrxphos Member

    Code (text):

    {
      "proxy": {
        "bind": {
          "address": "0.0.0.0",
          "port": 25565
        },
        "outbound": {
          "address": "0.0.0.0"
        },
        "servers": [
          {
            "domain": "*",
            "server": "hub"
          }
        ],
        "motd": "A Minecraft Server",
        "playerMaximum": 10,
        "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": "hub",
            "password": "censored"
          },
          {
            "username": "factions",  <--------
            "password": "censored"
          }
        ]
      }
    }
     
  3. nrxphos

    nrxphos Member

    Code (text):


    23:41:39 [INFO] [LilyPad-Portal] Enabling LilyPad-Portal v19
    23:41:39 [SEVERE] [LilyPad-Portal] Plugin LilyPad-Portal v19 has failed to regi
    ter events for class lilypad.bukkit.portal.user.UserListener because lilypad/cl
    ent/connect/api/event/MessageEvent does not exist.
    23:41:39 [SEVERE] Error occurred while enabling LilyPad-Portal v19 (Is it up to
    date?)
    java.lang.NoSuchMethodError: lilypad.client.connect.api.Connect.registerEvents(
    java/lang/Object;)V
            at lilypad.bukkit.portal.PortalPlugin.onEnable(PortalPlugin.java:61)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoade
    .java:457)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManag
    r.java:381)
            at org.bukkit.craftbukkit.v1_6_R2.CraftServer.loadPlugin(CraftServer.ja
    a:282)
            at org.bukkit.craftbukkit.v1_6_R2.CraftServer.enablePlugins(CraftServer
    java:264)
            at net.minecraft.server.v1_6_R2.MinecraftServer.l(MinecraftServer.java:
    13)
            at net.minecraft.server.v1_6_R2.MinecraftServer.f(MinecraftServer.java:
    90)
            at net.minecraft.server.v1_6_R2.MinecraftServer.a(MinecraftServer.java:
    50)
            at net.minecraft.server.v1_6_R2.DedicatedServer.init(DedicatedServer.ja
    a:151)
            at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.jav
    :391)
            at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:
    82)

     
  4. nrxphos

    nrxphos Member

    Code (text):

    Taken from the github for lilypad portal
     
    @EventListener
    public void onMessage(MessageEvent messageEvent) {
    if (!messageEvent.getChannel().equals("lpPortal"))
    return;
    try
    {
    String[] message = messageEvent.getMessageAsString().trim().split(" ");
    if (message.length != 2) {
    return;
    }
    if (message[0].equals("REQUEST")) {
    this.redirector.redirect(message[1], this.connector.getConnect().getSettings().getUsername());
    getUser(message[1]).setFromServer(messageEvent.getSender());
    } else if (message[0].equals("ANNOUNCE")) {
    getUser(message[1]).setServer(messageEvent.getSender());
    }
    } catch (Exception exception) {
    exception.printStackTrace();
    }
    }
  5. sgtcaze

    sgtcaze Member Resource Contributor

    Code (text):
    [SEVERE] Error occurred while enabling LilyPad-Portal v19 (Is it up to date?)
    Is it up to date? Which version? Spigot or Bukkit? Home or dedicated?
  6. nrxphos

    nrxphos Member

    i redownloaded it today before i made this thread. um the one made on august 19. bukkit. home
  7. sgtcaze

    sgtcaze Member Resource Contributor

    Solved: Make sure ALL of your LilyPad plugins are updated. Bukkit-Connect, Bukkit-Portal and Bukkit-PortalCommand.
  8. Matt

    Matt Forum Moderator & Contributor Staff Member Moderator Contributor

    Marked as solved and locked

    Please open a new topic for further questions
Thread Status:
Not open for further replies.

Share This Page