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

    Windwaker

    I'm just gonna say this before Plague gobbles you up... You need a brief description of the plugin in the title
     
  3. Offline

    Raphfrk

    Yeah, I don't tend to be "marketing" very well :).

    Also, it is pretty bare bones atm.
     
  4. Offline

    rockxz2135

    OMG this sounds amazing!!
    i could make an army of servers and together we could conquer mcserverlist beta hahhahahaha
     
  5. Offline

    squidicuz

    Rock on!!
    Now to get my cluster back online... Still using the originals, does this support 1.6?
     
  6. Offline

    Raphfrk

    It should, but I haven't tested it yet. The only thing it supports at the moment is teleport between servers for OPs.
     
  7. Offline

    angro

    Thank you! Good idea
     
  8. Hi first of thanks for redoing ServerPort ^^ (it was a real mess to setup).
    I am currently testing your new ServerPort Suite to connect two servers on the same machine.
    Running craftbukkit819 and java 64bit.
    The setup worked after I did the plugins one by one (only errors if I add them all at once and try to configure them).
    My two servers are now connected and I am connecting from my client to the proxy on port 20000.
    But when I try to teleport between the two servers I get thrown into nowhere and my client times out.

    Console output:
    Code:
    11:31:13 [INFO]/50602 (Silthus): Kicked with: [Serverport] You have teleported, please connect to : server.raid-craft.de
    11:31:13 [INFO]/50602 (Silthus): Redirect detected: server.raid-craft.de
    11:31:14 [INFO] /50602 (Silthus): Closed connection to server
    11:31:14 [SEVERE] Exception in thread "Passthrough connection - 1307093180920"
    11:31:14 [SEVERE] java.lang.NullPointerException
    11:31:14 [SEVERE]       at com.raphfrk.craftproxyliter.PassthroughConnection.run(PassthroughConnection.java:94)
    11:31:16 [INFO] [EventLink] Socket received from /127.0.0.1
    11:31:16 [INFO] [EventLink] Connection received from server claiming to be City.Server
    11:31:16 [INFO] [EventLink] City.Server already has a connection, closing old connection
    11:31:16 [INFO] [EventLink] Connection successfully established with City.Server
    11:31:17 [INFO] [EventLink] Closing expired connection to City.Server
    It says I was kicked but I wasnt.
    Also do I need to run the proxy on both servers or just one?
     
  9. Offline

    Raphfrk

    The idea is to configure them one by one. I am hoping that this will make it easier for people, since you get 1 thing working before moving to the next.

    If you are running the 2 servers on different LANs, then yes, you need 1 proxy per LAN (unless you want to run in offline mode, so without protection).

    I think the null pointer exception is because you have not given the port number for the connection. You should set the global_hostname parameter to "server.raid-craft.de:25565". However, I need to fix it so that it assumes 25565 when no port is given.
     
  10. Offline

    den

    I saw another plugin that makes nether portals behave when a person is riding a minecart through it, and it got me thinking about using a minecart with ServerPort.

    Do you think it would be feasible to make the new and improved ServerPort allow for cross-server minecarts when riding through a portal? It would make interesting possibilities like a cross-server subway system or a shipping lane (if storage carts were made to work of course).
     
  11. Offline

    Plague

    please update to latest recommended CB
    and title is missing plugin version
     
  12. Offline

    Raphfrk

    I added Server-Port-Warps, which allows setting warps on any server.
     
  13. Nice its working now =)
    Cool you added warps already. I almost started working on a own plugin which uses warps with the api :D
    Are the portals from the old ServerPort plugin still working?
     
  14. Offline

    MonsieurApple

    Approved.
     
  15. Offline

    Raphfrk

    Well, it doesn't support them. However, the 2 plugins shouldn't interfere with each other.
     
  16. Offline

    Jeff Miller

    Muhuhuhuhahaha! At last! My evil plan for multi-server domination is progressing... nicely. The only problem is that from this thread it sounds like I need to configure a file for serverportcore that the wiki does not mention in the setup and server. I get errors on my test servers and serverportwarps does not load. I get something like this:
    Show Spoiler
    14:26:32 [SEVERE] Could not load 'plugins\ServerPortWarps.jar' in folder 'plugin
    s':
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
    rce)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:172)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:194)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:117)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:103)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.IncompatibleClassChangeError: Implementing class
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(Unknown Source)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$000(Unknown Source)
    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)
    at com.raphfrk.bukkit.serverportwarps.ServerPortWarps.<init>(ServerPortW
    arps.java:46)
    ... 13 more

    I'm using CB818 and the latest version of EventLink, ServerPortCore, and ServerPortWarps. I can't load the ServerPortAPI either. Is there a bit of the setup instructions missing?
     
  17. Offline

    Yawnses

    Does this move inventories between servers? Because say you want one server to be creative, while the other to be more hardcore survival. Obviously, you can go to the creative server, get all the rare things, and go back to the survival and live like a king.
     
  18. Offline

    wassilij

    Bukkit 818

    Eventlink:
    Server Port Warps:
     
  19. Offline

    Raphfrk

    I have updated EventLink. I think the issue is that you haven't set a name for the server.

    You need to update the file at:
    plugins\EventLink\eventlink.txt

    This may also be the cause of the other plugins not starting.
     
  20. Offline

    wassilij

    I started Server Warps the first time, i get the error above and no config file :(
     
  21. Offline

    Raphfrk

    Does it still happen with the updated version?
     
  22. Offline

    wassilij

    I redownloaded now all .jar files ..
    :(

    I need this plugin so badly..

    Server-Info:
     
  23. Offline

    Raphfrk

    What version of Java are you using? I wonder if it is a version mismatch. I tried to keep things compatible with 1.5, but permission compatibility is 1.6 only.

    Anyway, I reuploaded the jars, maybe I had uploaded an older version of 1 of them.
     
  24. Offline

    Noah Wraith

    there aren't any .jar files included in those .zip files
     
  25. Offline

    Showhung

    Hiho the plugin ServerPortWarps.jar doesn't work. serverportcore and eventlink works.
    Code:
    2011-06-09 11:38:55 [SEVERE] Could not load 'plugins/ServerPortWarps.jar' in folder 'plugins':
    java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:172)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:194)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:117)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:103)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.IncompatibleClassChangeError: Implementing class
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClassCond(Unknown Source)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$000(Unknown Source)
        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)
        at com.raphfrk.bukkit.serverportwarps.ServerPortWarps.<init>(ServerPortWarps.java:46)
        ... 13 more
    can you help me ?
     
  26. Offline

    Senzuri

    Does your plugin allow full player teleportation between servers without having to enter an address?

    I've been having major problems with DDoS attacks and I'd like to hide my actual server name
    Something like:

    landing.server.com => actual.server.com

    So people would connect to landing.server.com, and get automatically reconnected to actual.server.com

    Would like to know, thanks!
     
  27. Offline

    Fujikatoma

    Some one can help me ?
    Found this on Server log if anothere server try to certificate my server :
     
  28. Offline

    Fewsome

    Hey Raphfrk,


    i love your plugin and I think it's very essential for the minecraft community. It was fairly easy to setup the new version of your ServerPort Plugin but im missing one feature.
    The NetherPortal like option to jump between worlds.

    Switching with commands is possible and i could make my community get used to it, but i find the nether portals just very handy when it comes to citydesign.


    am i missing the command or did u remove the function of generation a portal?



    greetings
    fewsome
     
  29. @Raphfrk
    The ServerWarp plugin/addon makes some trouble when creating MySQL Databases via Persistance:

    Code:
    09:20:17 [INFO] [ServerPortWarps] Executed: CREATE TABLE IF NOT EXISTS server_port_location_mirror (name varchar(255), world varchar(255), server varchar(255), x double, z double, y double, id integer, yaw float, pitch float)
    09:20:17 [SEVERE] Error occurred while enabling Server Port Warps v7 (Is it up to date?): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Duplicate column name 'name'
    java.lang.RuntimeException: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Duplicate column name 'name'
            at com.raphfrk.bukkit.serverportwarps.database.DatabaseManager.setupDatabaseManual(DatabaseManager.java:101)
            at com.raphfrk.bukkit.serverportwarps.ServerPortWarps.onEnable(ServerPortWarps.java:81)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:857)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:154)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:137)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Duplicate column name 'name'
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
            at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
            at com.mysql.jdbc.Util.getInstance(Util.java:382)
            at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)
            at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
            at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
            at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)
            at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
            at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2620)
            at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2570)
            at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:779)
            at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:622)
            at com.raphfrk.bukkit.serverportwarps.database.DatabaseManager.setupDatabaseManual(DatabaseManager.java:96)
            ... 11 more


    Already tried deleting it and only deleting some coloums but nothing seems to work.
    The database itself is beeing created correclty however. Just when I want to use the /spw warp functions it does not work, because it thinks the database does not exist (but it does -.-").


     
  30. Offline

    mooman219

    Someone, Anyone, Tell me how to use this. I find serverport to be easier and more straight forward.

    @Raphfrk

    I have 2 Servers. Both on the came computer. Both are bukkit 860. I installed the 3 Plugins onto both of the servers.

    When i start them up, i have no errors and it says they are working.

    I want to use craft CraftProxyLiter. How do i set this up?

    The Ip for Both servers is "Localhost" (I know that's the local one.)
    One server has the port 25566, the other has 25569

    How do i use it? I have team viewer aswell if you want to help me like that

    Edit, in the boxes i have..
    Remote:
    IP: Localhost - Port:25569
    Local:
    Ip: Localhost - Port: 25565


    EDIT2:
    I keep getting [CraftProxyListener] Protocol Stream Closed
    What i want is to be first have everything working on my local computer before i use to servers on different computers, that one will take longer to make changes to.

    @Raphfrk This is the error i am getting on the serverside

    14:33:28 [SEVERE] java.io.IOException: Bad packet id 80
    14:33:28 [SEVERE] at net.minecraft.server.Packet.a(Packet.java:78)
    14:33:28 [SEVERE] at net.minecraft.server.NetworkManager.g(NetworkManager.java:149)
    14:33:28 [SEVERE] at net.minecraft.server.NetworkManager.c(NetworkManager.java:259)
    14:33:28 [SEVERE] at net.minecraft.server.NetworkReaderThread.run(SourceFile:84)
    14:33:28 [INFO] mooman219 lost connection: disconnect.genericReason

    @Raphfrk Some more information on the error

    Connection from 127.0.0.1/4714
    [2:50:45 PM] 127.0.0.1/4714 (mooman219): Connecting to : localhost 25569
    [2:50:45 PM] 127.0.0.1/4714 (mooman219): Attempting to connect to: localhost:25569
    [2:50:45 PM] 127.0.0.1/4714 (mooman219): Connection successful
    [2:50:45 PM] 127.0.0.1/4714 (mooman219): Connecting using proxy to server connection format
    [2:50:46 PM] 127.0.0.1/4714 (mooman219): Server login successful
    [2:50:46 PM] 127.0.0.1/4714 (mooman219): EOF reached
    [2:50:47 PM] 127.0.0.1/4714 (mooman219): Unable to flush output stream
    [2:50:47 PM] 127.0.0.1/4714 (mooman219): Closed connection to server
    [2:50:47 PM] 127.0.0.1/4714 (mooman219): Closed connection to client

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

Share This Page