Inactive [TP] Server Port Suite v12 - Server to Server teleporting [1000]

Discussion in 'Inactive/Unsupported Plugins' started by Raphfrk, May 25, 2011.

  1. Offline

    Raphfrk

    Server Port Suite
    Version: v12

    This is a new version of my ServerPort plugin.

    I have decided to split it up into pieces and eventually plan to have all the current features. For the time being the complete plugin is likely to have more features (but perhaps be more complex).

    There is an API for handling server to server teleporting, which will allow other plugins to teleport players between servers. The idea is to make no distinction between worlds. You just teleport to a world and the core plugin figures out if it should use an intra-server teleport or a server to server teleport.

    At the moment, it will teleport ops to the spawn point on any world on any server that is part of the cluster.

    Features:
    • Teleport between worlds no matter what server
    • API for plugin devs
    EventLink

    This allows plugins to send events to other servers. This is required for communications between servers.

    All connections use SSL so are secure. One connection is established and all communications between the 2 servers use that connection.

    The plugin can handle routing, so even if there isn't a direct link between two servers, events can be routed via other servers.

    (API planned)

    Download Latest
    (Previous Releases) (Source Code) (Wiki)

    CraftProxyLiter

    This allows automatic reconnecting between servers.

    Download Latest
    (Previous Releases) (Source Code) (Wiki)

    Server Port Core

    This plugin handles teleporting between servers. The player's inventory is passed and they are moved to the target location on the other server.

    Download Latest
    (Previous Releases ) (Source Code) (Wiki)

    Download API
    (Previous Releases ) (Source Code)

    Server Port Warps (optional)


    This plugin adds inter-server warps using Server Port Core as base. It requires Event Link and Server Port Core.

    Players can set warps on any server and warp to the with /spw <name>.

    Download Latest
    (Previous Releases ) (Source Code) (Wiki)


    Server Port Simple Portals (optional)

    This plugin allows simple portal support, similar (but with less functionality) to the principle behind ancient gates..

    Ops can set locations in the world that teleport to a given location. If a player enters that block, the player is teleported. No other function is provided.

    Admins can create portals, or other markers, and protect them with other plugins if needed.

    There is no permission support, any player which enters the portal will be teleported.

    Commands

    Show Spoiler

    Both commands as op only commands.

    This will create a connection from the block the player is standing on to the MainWorld on MainServer at location 1000.5, 71, 94.5. The last 2 zeros are the direction and the pitch.

    Note: there should be no spaces after the commas, or it won't work correctly

    /simpset MainServer,MainWorld,1000.5,71,94.5,0,0

    This will delete all source blocks within 10 blocks of the player

    /simpdel 10


    Download Latest
    (Previous Releases ) (Source Code)

    Server Port Simple Chat (optional)

    This plugin links the chat from all servers connected via EventLink. There are no settings, it just bridges all the chat channels.

    Download Latest
    (Previous Releases ) (Source Code)

    Setup

    The recommended order for setting up the plugins is
    • EventLink
    • ServerPortCore
    • CraftProxyLiter
    Instructions are available on the wiki for each portion.

    Change Log
    Version 10
    • Initial version
    Version 11
    • Adds Simple Portal
    Version 12
    • Adds Simple Chat plugin
     
    zaino60, kittenchunks, bt1996 and 5 others like this.
  2. Offline

    Raphfrk

    This is just an API mostly, I don't have time to extend it.

    The main Server Port plugin has custom gates that can be used to link servers. However, they would be separate from the Stargate plugin gates. Also, Server Port gates always have a fixed destination.
     
  3. Offline

    GameSlayerGS

    Where can I find the main Server Port thingy that has the portals? I had it before, but now I can't find it.
     
  4. Offline

    Raphfrk

    It's considered inactive., though I think it still is compatible with CB 1000. Another option would be the Transporter plugin which has similar functionality.
     
  5. Offline

    GameSlayerGS

    Does that work with portals between servers? What type of solution does that have for moving players between servers without the player having to reconnect or use a client mod?
     
  6. Offline

    Raphfrk

    You can use CraftProxyLiter if you don't want client mods. However, there would be issues with world seed updates, but that is true for Bukkit world to world teleports anyway.

    (Very) basic portals between servers can be implemented with simple portal.

    You stand on a block and enter a server target and anyone who stands on the block is sent to that location. It can be on other servers/worlds.
     
  7. Offline

    Raphfrk

    I updated this again. It now properly transfers health when teleporting.

    Also, there is an update to EventLink to remove some deadlock issues.

    @voltherthorn

    Updated again, now with even less deadlocks :).

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  8. Offline

    voltherthorn

    merci mr raphfrk :)
     
  9. Offline

    Raphfrk

    Add a chat-link plugin. This sends chat to all the other servers.
     
  10. Offline

    Hwo

    I have 2 servers on 1 pc.
    CB 1000 both.
    Own recompile CB with just edit protocol from 14 to 17 both
    Don't use CraftProxyLiter

    Main:
    Code:
    level-name=nw
    Code:
    deadlock_monitor=false
    server_name=nw
    server_keys=keysserver
    key_size=512
    admin_list=
    client_keys=keysclient
    initial_time_to_live=10
    cert_algorithm=SHA512WITHRSA
    portnum=25365
    password=key_password
    algorithm=RSA
    
    Second:
    Code:
    level-name=nwdz
    Code:
    deadlock_monitor=false
    server_name=nwdz
    server_keys=keysserver
    key_size=512
    admin_list=
    client_keys=keysclient
    initial_time_to_live=10
    cert_algorithm=SHA512WITHRSA
    portnum=25364
    password=key_password
    algorithm=RSA
    

    Try (logged in main):
    Code:
    /eventlink add localhost:25564


    Get:

    Main
    Code:
     03:41:21 [INFO] [EventLink] Connected to localhost:25564
     03:41:22 [SEVERE] javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
     03:41:22 [SEVERE]     at com.sun.net.ssl.internal.ssl.SSLSessionImpl.getPeerCertificates(Unknown Source)
     03:41:22 [SEVERE]     at com.raphfrk.bukkit.eventlink.EventLinkClient$ClientRunnable.run(EventLinkClient.java:115)
     03:41:22 [SEVERE]     at java.lang.Thread.run(Unknown Source)
     03:41:22 [INFO] [EventLink] Unable to extract certificate from target server
    Second
    Code:
     03:41:21 [SEVERE] java.io.IOException: Bad packet id 128
     03:41:21 [SEVERE]     at net.minecraft.server.Packet.a(Packet.java:73)
     03:41:21 [SEVERE]     at net.minecraft.server.NetworkManager.g(NetworkManager.java:149)
     03:41:21 [SEVERE]     at net.minecraft.server.NetworkManager.c(NetworkManager.java:259)
     03:41:21 [SEVERE]     at net.minecraft.server.NetworkReaderThread.run(SourceFile:84)
     03:41:22 [INFO] /127.0.0.1:53078 lost connection
     
  11. Offline

    Raphfrk

    You have to use the eventlink ports for connecting.

    /eventlink add localhost:25365
     
    Hwo likes this.
  12. Offline

    Hwo

    Thx man.
    Now try tp = return in main world.

    Main:
    Code:
     10:05:29 [INFO] Sending: Test com.raphfrk.bukkit.serverportcore.SPHealth@4b2db57f to nwdz
     10:05:30 [INFO] Test [/10.61.120.136:53186] logged in with entity id 101516 at ([nw] 9.59375, 70.0, 3.3125)
    Second:
    Code:
     10:05:28 [INFO] Deleting old version
     10:05:29 [INFO] Health event received: Test com.raphfrk.bukkit.serverportcore.SPHealth@702be379
     10:05:29 [INFO] Deleting old version

    Both, when loading
    Code:
     10:17:58 [INFO] DataSourcePool [Server Port Warps] autoCommit[false] transIsolation[SERIALIZABLE] min[2] max[20]
     10:17:58 [INFO] SubClassFactory parent ClassLoader [org.bukkit.plugin.java.PluginClassLoader]
     10:17:58 [WARNING] Bean [com.raphfrk.bukkit.serverportwarps.ServerPortLocationMirror] has no unique id set
    Both, auto create serverportcore.txt :
    Code:
    normal_worlds=
    nether_worlds=
    global_hostname=
    

    When try tp from second to main = tp to second's spawn
    Second:
    Code:
    Safe teleporting CraftPlayer{name=Test} to Location{world=CraftWorld{name=nw}x=-19.5y=64.0z=-63.5pitch=0.0yaw=0.0}
    Main: nothing
     
  13. Offline

    M1sT3rM4n

    Did you implement an option to disable inventories from being carried over from one server to another?
     
  14. Offline

    Raphfrk

    You need to set

    global_hostname=

    to the name of your server. It is whatever a player would type in to connect to the server.

    If you are using a proxy, it is whatever a player would use to connect if they were on the same computer as the proxy.
     
  15. Offline

    woodzy

    CB#1000 iunx all the addons did this
    Code:
    14:32:19 [SEVERE] Error occurred while enabling Simple Chat v2 (Is it up to date?): com/raphfrk/bukkit/eventlinkapi/EventLinkAPI
    java.lang.NoClassDefFoundError: com/raphfrk/bukkit/eventlinkapi/EventLinkAPI
            at com.raphfrk.bukkit.serverportsimplechat.DependencyManager.connectEventLink(DependencyManager.java:17)
            at com.raphfrk.bukkit.serverportsimplechat.SimpleChat.onEnable(SimpleChat.java:56)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:878)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:272)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:162)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:146)
            at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:380)
            at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:281)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:312)
            at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:480)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:465)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ClassNotFoundException: com.raphfrk.bukkit.eventlinkapi.EventLinkAPI
            at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
            ... 15 more
    14:32:19 [SEVERE] Error occurred while enabling Simple Portal v6 (Is it up to date?): com/raphfrk/bukkit/eventlinkapi/EventLinkAPI
    java.lang.NoClassDefFoundError: com/raphfrk/bukkit/eventlinkapi/EventLinkAPI
            at com.raphfrk.bukkit.serverportsimpleportal.DependencyManager.connectEventLink(DependencyManager.java:17)
            at com.raphfrk.bukkit.serverportsimpleportal.SimplePortal.onEnable(SimplePortal.java:54)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:878)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:272)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:162)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:146)
            at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:380)
            at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:281)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:312)
            at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:480)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:465)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ClassNotFoundException: com.raphfrk.bukkit.eventlinkapi.EventLinkAPI
            at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
            ... 15 more
    
     
  16. Offline

    Raphfrk

    You need EventLink and ServerPortCore to use Simple Portals.
     
  17. Offline

    woodzy

    i do have them installed, its the "is it uptodate" errors
    there was more errors like the ones i posted
     
  18. Offline

    Raphfrk

    Well, the errors you are getting are due to EventLink not being setup correctly. Did you set the server name for each instance of eventlink?

    Instructions for setting up EventLink are given in the OP (follow the wiki link).

    Are you getting something like:
    Code:
    13:09:35 [INFO] [EventLink] EventLink initialized
    13:09:35 [INFO] [EventLink-Default Log] [Serverport] Unable to open file: \<server-dir>\plugins\EventLink\eventlink.txt
    13:09:35 [INFO] [EventLink] Unable to start server, server name not set
    
     
  19. Offline

    woodzy

    CB#1000
    Code:
    2011-08-15 07:21:49 [SEVERE] Could not load 'plugins\ServerPortCore.jar' in folder 'plugins':
    java.lang.ExceptionInInitializerError
        at org.bukkit.plugin.java.JavaPlugin.initialize(JavaPlugin.java:176)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:175)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:207)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:130)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:128)
        at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:97)
        at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:51)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:132)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.RuntimeException: java.lang.IllegalArgumentException: Error constructing com.avaje.ebeaninternal.server.core.DefaultServerFactory
        at com.avaje.ebean.EbeanServerFactory.createServerFactory(EbeanServerFactory.java:114)
        at com.avaje.ebean.EbeanServerFactory.<clinit>(EbeanServerFactory.java:57)
        ... 10 more
    Caused by: java.lang.IllegalArgumentException: Error constructing com.avaje.ebeaninternal.server.core.DefaultServerFactory
        at com.avaje.ebeaninternal.api.ClassUtil.newInstance(ClassUtil.java:107)
        at com.avaje.ebeaninternal.api.ClassUtil.newInstance(ClassUtil.java:94)
        at com.avaje.ebean.EbeanServerFactory.createServerFactory(EbeanServerFactory.java:112)
        ... 11 more
     
  20. Offline

    Raphfrk

    Ahh right, you need to wipe the Server Port database if you change the .jars.

    The only thing it stores is items in transit and player heath.

    The file is in /plugins/Server Port Core

    It isn't the .txt file. Anyway, stop the server, delete that file and restart.
     
  21. Offline

    Zenithas

    Code:
    2011-08-16 22:12:34 [INFO] DataSourcePool [Server Port Core] autoCommit[false] transIsolation[SERIALIZABLE] min[2] max[20]
    2011-08-16 22:12:34 [INFO] SubClassFactory parent ClassLoader [org.bukkit.plugin.java.PluginClassLoader]
    2011-08-16 22:12:34 [INFO] Entities enhanced[0] subclassed[3]
    2011-08-16 22:12:34 [INFO] DataSourcePool [TriggerCmds] autoCommit[false] transIsolation[SERIALIZABLE] min[2] max[20]
    2011-08-16 22:12:34 [INFO] SubClassFactory parent ClassLoader [org.bukkit.plugin.java.PluginClassLoader]
    2011-08-16 22:12:34 [INFO] Entities enhanced[0] subclassed[1]
    2011-08-16 22:12:34 [SEVERE] Could not load 'plugins\ServerPortCoreAPI.jar' in folder 'plugins':
    java.lang.ClassCastException: interface com.raphfrk.bukkit.serverportcoreapi.ServerPortCoreAPI
        at java.lang.Class.asSubclass(Unknown Source)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:169)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:213)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:136)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:143)
        at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:110)
        at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:51)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:133)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-08-16 22:12:36 [INFO] [EventLink] EventLink initialized
    2011-08-16 22:12:36 [INFO] [EventLink-Default Log] [Serverport] Unable to open file: G:\Minecraft Server\plugins\EventLink\eventlink.txt
    2011-08-16 22:12:36 [INFO] [EventLink] Unable to start server, server name not set
    2011-08-16 22:12:36 [SEVERE] Error occurred while disabling EventLink v0.1 (Is it up to date?): null
    java.lang.NullPointerException
        at com.raphfrk.bukkit.eventlink.EventLink.delServer(EventLink.java:215)
        at com.raphfrk.bukkit.eventlink.EventLink.onDisable(EventLink.java:152)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:128)
        at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:906)
        at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:294)
        at com.raphfrk.bukkit.eventlink.EventLink.onEnable(EventLink.java:111)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:885)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:178)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:161)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:286)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:273)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:149)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-08-16 22:12:36 [SEVERE] Error occurred while enabling Server Port Core v11 (Is it up to date?): com/raphfrk/bukkit/eventlinkapi/EventLinkAPI
    java.lang.NoClassDefFoundError: com/raphfrk/bukkit/eventlinkapi/EventLinkAPI
        at com.raphfrk.bukkit.serverportcore.ServerPortCore.onEnable(ServerPortCore.java:68)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:885)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:178)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:161)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:286)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:273)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:149)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ClassNotFoundException: com.raphfrk.bukkit.eventlinkapi.EventLinkAPI
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 11 more
    2011-08-16 22:12:36 [SEVERE] Error occurred while enabling Simple Chat v2 (Is it up to date?): com/raphfrk/bukkit/eventlinkapi/EventLinkAPI
    java.lang.NoClassDefFoundError: com/raphfrk/bukkit/eventlinkapi/EventLinkAPI
        at com.raphfrk.bukkit.serverportsimplechat.DependencyManager.connectEventLink(DependencyManager.java:17)
        at com.raphfrk.bukkit.serverportsimplechat.SimpleChat.onEnable(SimpleChat.java:56)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:885)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:178)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:161)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:286)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:273)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:149)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ClassNotFoundException: com.raphfrk.bukkit.eventlinkapi.EventLinkAPI
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 12 more
    2011-08-16 22:12:41 [INFO] [ServerPortWarps] Server Port Warps initialized
    2011-08-16 22:12:41 [SEVERE] Error occurred while enabling Server Port Warps v7 (Is it up to date?): com/raphfrk/bukkit/eventlinkapi/EventLinkAPI
    java.lang.NoClassDefFoundError: com/raphfrk/bukkit/eventlinkapi/EventLinkAPI
        at com.raphfrk.bukkit.serverportwarps.DependencyManager.connectEventLink(DependencyManager.java:17)
        at com.raphfrk.bukkit.serverportwarps.ServerPortWarps.onEnable(ServerPortWarps.java:77)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:885)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:178)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:161)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:286)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:273)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:149)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ClassNotFoundException: com.raphfrk.bukkit.eventlinkapi.EventLinkAPI
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 12 more
    
    ^ Getting the following issues when trying to use this mod. SimpleChat, EventLink, CraftProxyLiter, ServerPortCoreAPI, ServerPortCore all loaded onboard. Just causes a crash like this.

    CB 1060, server 1.7.3, confirmed Java most up-to-date (26, I think)
     
  22. Offline

    woodzy

    @ Raphfrk only one user can connect at a time heres my craftproxy start file (liunx)
    Code:
    cd "${0%/*}"; java -Xmx50M -jar CraftProxyLiter.jar 25565 25545  auth
     
  23. Offline

    Lilrock

    what does it mean when the server says "Unable to extract certificate from target server"?
     
  24. Offline

    Raphfrk

    Something went wrong with the SSL link. The easiest thing is probably just to delete the key files on both servers and start again.

    /plugins/Eventlink/keysclient

    /plugins/Eventlink/keysserver

    Are they connecting to localhost:25564?

    Also, 50MB might be a little low for max memory. You could also try v107 or earlier. Some people had issues with 108.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  25. Offline

    woodzy

    @ Raphfrk thanks man ill look in to it me and my hot fox pic :)
     
  26. Offline

    Lilrock

    My friend and I are running a Modified Bukkit server using the specific ModloaderMp for Bukkitcraft.

    We are having troubles connecting our server to server connection.

    We get the error "Unable to extract the certificate from target server". We also get little other problems too while trying to connect to each other.

    In full it's
    Code:
    2011-08-17 17:32:24 [INFO] [EventLink] Connected to ***.***.***.***:25565
    2011-08-17 17:32:24 [SEVERE] javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
    2011-08-17 17:32:24 [SEVERE]     at com.sun.net.ssl.internal.ssl.SSLSessionImpl.getPeerCertificates(Unknown Source)
    2011-08-17 17:32:24 [SEVERE]     at com.raphfrk.bukkit.eventlink.EventLinkClient$ClientRunnable.run(EventLinkClient.java:115)
    2011-08-17 17:32:24 [SEVERE]     at java.lang.Thread.run(Unknown Source)
    2011-08-17 17:32:24 [INFO] [EventLink] Unable to extract certificate from target server
    2011-08-17 17:32:24 [INFO] Unable to extract certificate from target server
    
    and on the other side
    Code:
    2011-08-17 17:37:31 [SEVERE] java.io.IOException: Bad packet id 128
    2011-08-17 17:37:31 [SEVERE]     at net.minecraft.server.Packet.a(Packet.java:73)
    2011-08-17 17:37:31 [SEVERE]     at net.minecraft.server.NetworkManager.g(NetworkManager.java:149)
    2011-08-17 17:37:31 [SEVERE]     at net.minecraft.server.NetworkManager.c(NetworkManager.java:259)
    2011-08-17 17:37:31 [SEVERE]     at net.minecraft.server.NetworkReaderThread.run(SourceFile:84)
    2011-08-17 17:37:31 [INFO] /***.***.***.***:53552 lost connection
    
    please help we have the latest plugin,

    Thanks, Lilrock
     
  27. Offline

    Raphfrk

    I give setup instructions in the eventlink wiki.

    You are connecting to the wrong ports.

    Defaults:
    Game port = 25565 (set in server.properties)
    Eventlink = 25365 (set in plugins/eventlink/eventlink.txt)

    If you are running the 2 servers on 1 machine you need to give each one a different pair of ports.

    I would recommend reading the wiki instructions.

    If you have more problems. You can restart the connect processes by deleting the files in /plugins/Eventlink/clientkeys and serverkeys and then restart the server.
     
  28. Offline

    Lilrock

    when I was reading your wiki I thought to put the eventlink (portnum) to the server port so the eventlink (portnum) = server port...

    I'll try changing it and try again, thanks

    D:<

    I got another error. It has to do with the SqLite.

    Code:
    2011-08-17 19:01:53 [INFO] [ServerPortCore] Connected to Event Link API service
    2011-08-17 19:01:54 [INFO] Can not test connection as heartbeatsql is not set
    2011-08-17 19:01:54 [INFO] Closing Connection[Server Port Core.1] psReuse[0] psCreate[2] psSize[1]
    2011-08-17 19:01:54 [INFO] [ServerPortCore] Updating database
    2011-08-17 19:01:54 [INFO] runScript
    2011-08-17 19:01:54 [INFO] executing 1 of 3 create table sphealth ( id                        integer primary key, name...
    2011-08-17 19:01:54 [INFO] executing 2 of 3 create table spitem_stack ( id                        integer primary key, name...
    2011-08-17 19:01:54 [INFO] Can not test connection as heartbeatsql is not set
    2011-08-17 19:01:54 [INFO] Closing Connection[Server Port Core.0] psReuse[0] psCreate[3] psSize[2]
    2011-08-17 19:01:54 [INFO] DataSourcePool [Server Port Core] grow; id[Server Port Core.2] busy[3] max[20]
    2011-08-17 19:01:54 [SEVERE] Error occurred while enabling Server Port Core v11 (Is it up to date?): Error: Error executing stmt[create table spitem_stack ( id                        integer primary key, name                      varchar(255), type_id                   integer, amount                    integer, damage                    smallint, slot                      integer, armour                    integer(1)) ] error[[SQLITE_ERROR] SQL error or missing database (table spitem_stack already exists)]
    javax.persistence.PersistenceException: Error: Error executing stmt[create table spitem_stack ( id                        integer primary key, name                      varchar(255), type_id                   integer, amount                    integer, damage                    smallint, slot                      integer, armour                    integer(1)) ] error[[SQLITE_ERROR] SQL error or missing database (table spitem_stack already exists)]
        at com.avaje.ebeaninternal.server.ddl.DdlGenerator.runScript(DdlGenerator.java:233)
        at org.bukkit.plugin.java.JavaPlugin.installDDL(JavaPlugin.java:257)
        at com.raphfrk.bukkit.serverportcore.ServerPortCore.setupDatabase(ServerPortCore.java:158)
        at com.raphfrk.bukkit.serverportcore.ServerPortCore.onEnable(ServerPortCore.java:92)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:885)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:178)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:161)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:289)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:276)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:340)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.RuntimeException: Error executing stmt[create table spitem_stack ( id                        integer primary key, name                      varchar(255), type_id                   integer, amount                    integer, damage                    smallint, slot                      integer, armour                    integer(1)) ] error[[SQLITE_ERROR] SQL error or missing database (table spitem_stack already exists)]
        at com.avaje.ebeaninternal.server.ddl.DdlGenerator.runStatement(DdlGenerator.java:281)
        at com.avaje.ebeaninternal.server.ddl.DdlGenerator.runStatements(DdlGenerator.java:246)
        at com.avaje.ebeaninternal.server.ddl.DdlGenerator.runScript(DdlGenerator.java:224)
        ... 13 more
    Caused by: java.sql.SQLException: [SQLITE_ERROR] SQL error or missing database (table spitem_stack already exists)
        at org.sqlite.DB.newSQLException(DB.java:383)
        at org.sqlite.DB.newSQLException(DB.java:387)
        at org.sqlite.DB.throwex(DB.java:374)
        at org.sqlite.NativeDB.prepare(Native Method)
        at org.sqlite.DB.prepare(DB.java:123)
        at org.sqlite.PrepStmt.<init>(PrepStmt.java:42)
        at org.sqlite.Conn.prepareStatement(Conn.java:404)
        at org.sqlite.Conn.prepareStatement(Conn.java:399)
        at org.sqlite.Conn.prepareStatement(Conn.java:383)
        at com.avaje.ebeaninternal.server.lib.sql.PooledConnection.prepareStatement(PooledConnection.java:426)
        at com.avaje.ebeaninternal.server.lib.sql.PooledConnection.prepareStatement(PooledConnection.java:396)
        at com.avaje.ebeaninternal.server.ddl.DdlGenerator.runStatement(DdlGenerator.java:271)
        ... 15 more
    
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  29. Offline

    Raphfrk

    You can delete the database files. This normally happens when some kind of update occurs.

    Anyway, the file is in plugins/ServerPortCore. It isn't the .txt file.
     
  30. Offline

    pre-pentium

    question, does this plugin actually move a player from one server to another or does it just re-route the network traffic from one server to another?

    I'd like to set it up, but I'm on a med-low bandwidth connection and the extra bandwidth would probably knock out my server...
     
  31. Offline

    Raphfrk

    It depends on how you are reconnecting. If you are using Craft Proxy, then the proxy connects to the server for the client.

    If everything is on the same machine, then that doesn't add any more bandwidth. However, if the other server is somewhere else on the internet, then it doubles you bandwidth.

    If you don't use the proxy, then the player has to do it manually. There are a few client patches that will auto-reconnect when they see the special kick message.

    The Spout client and either of the 2 client patches (Server Port or Transporter) will auto-reconnect.

    A vanilla client will get a kick message telling the player to reconnect.
     

Share This Page