Inactive [TP] Server Port - v389 - Teleport between servers [1.2.3]

Discussion in 'Inactive/Unsupported Plugins' started by Raphfrk, Jan 16, 2011.

     
  1. Offline

    Raphfrk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    ServerPort - Plugin to Teleport between Servers
    Version: v389

    This plugin is no longer maintained

    This plugin allows teleporting between servers.

    Request

    Please "like" this Get Satisfaction ticket.

    It is a necessary feature so that the proxy can handle sky colour changes between worlds.

    Features:
    • Server to Server teleporting
    • Automatic reconnect to other server (requires client mod)
    • new proxy server to eliminate the need for the client mod
    • Local server fixed teleporting
    • Short range cart teleporting
    • Server to server chat link up
    • Bind stones that work between servers
    • Can prevent players from "manually" going back to their previous server
    • Automatic creation of exit portals
    • Nether expansion factors
    • Custom gate shapes (implementation of the system from the Stargate mod)
    • 3d gate shapes supported
    • Portal type create/destroy/use permissions
    • /drawgate command to instantly create a gate
    • Inventory transfer
    • Player health transfer
    • Banned items for inventory transfer
    • "Time to Live" for player forwarding, so that a player doesn't get locked in a loop
    • Server polling function for chat, so that it doesn't spam offline servers
    Latest Download


    Plugin
    Client Patcher

    Proxy Server-Liter (1.5)

    NOTE:
    you must turn OFF bridging to use the proxy with serverport
    This is turned on by default for the plugin

    Issues

    Github

    Source
    Previous Releases (from 166 onwards)

    Instructions

    Wiki (in progress)

    NOTE: you must add admin names to /serverport/admin_list.txt, otherwise the commands won't work.

    Permissions Nodes


    Admin Status (Ops get this automatically)
    'serverport.admins.*'

    ServerPort main command
    'serverport.serverport.*'

    Create Gates
    'serverport.create_gate_type.*'

    Create Gates with Flint
    - 'serverport.create_fire_gate_type.*'

    Use Gates
    'serverport.use_gate_type.*'

    Destroy Gates
    'serverport.destroy_gate.*'

    Draw gate command
    'serverport.draw_gate.*'

    Cancel redirect command
    'serverport.cancel_redirect.*'

    Release command
    'serverport.release.*'

    Regen gates command
    'serverport.regen_gates.*'

    Op Teleport command
    'serverport.opteleport.*'


    Internal Permission System


    - add one player (exact name required) per line
    - /plugins/serverport/use_list.txt -> players that can use gates
    - /plugins/serverport/create_list.txt -> players with create permission
    - /plugins/serverport/admin_list.txt -> players with full permissions
    - /plugins/serverport/destroy_list.txt -> players can destroy gates (break signs)
    - /plugins/serverport/redirect_list.txt -> players can use "/cancelredirect" command
    - /plugins/serverport/other_list.txt -> players can use all the other commands


    More info

    /serverport help <number>

    will give you page 1 of the settings list. There are a fair few.

    Commands

    Everyone can use
    /getinv - gets inventory from limbostore - used with logininv parameter

    other_list.txt
    /release - player will release to bind
    /drawgate - builds a gate where the player is standing
    /regengates <distance> - regenerates all gates within <distance>
    /circleload <distance> - loads all chunks within <distance>
    /stopcircle - stops circle load if one is in progress
    /serverport - this is the main command for the plugin

    redirect_list.txt
    /cancelredirect - cancels redirecting of the player when they move

    Note: the info in the link is from the hey0 version.

    You tube videos and more info can be found here

    Change Log

    Version 367
    • Fixed bug where gates some gates were indestructible (was a permissions error)
    Version 368
    • Added support for Permissions
    Version 369
    • Corrupt file copy
    Version 370
    • Fixed admins for permissions
    Version 371
    • Made portals immune to explosions
    Version 373
    • Previous update didn't interact well with other plugins
    Version 376
    • Hardened move change detection
    Version 377
    • Chat should be properly coloured
    Version 379
    • CB 1060 compatibility
    Version 380
    • Reliability improvement
    Version 381
    • Patcher update
    Version 382
    • Chat decode infinite loop removal (for special unicode characters)
    Version 385
    • Updated the event system
    • Note: this is still just functional, it isn't being updated
    Version 386
    • Players now "appear" 0.5 blocks above exit location
    • This should reduce the change of players "falling" out of and then back into the portal when CraftProxy changes server (causing the portal to activate again immediately)
    Version 387
    • Made entering portal detection code less sensitive when logging in
    Version 388
    • Added a 10 second timeout after login before you can teleport again
    Version 389
    • Added "replacelocal" parameter. Setting this to false prevents local clients being forced to use localhost

    This post has been edited 12 times. It was last edited by Raphfrk Jan 27, 2013.
  2.  
  3. Offline

    The PC Tech Guy

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    So I'm assuming this is being dropped in favor of the proxy?
  4. Offline

    Raphfrk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Ahh, no, they both do different things.

    This handles all the actual teleporting. The proxy is just so you can teleport between servers. Otherwise, the player would need to manually reconnect on teleport.
  5. Offline

    The PC Tech Guy

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Okay, was wondering why it was marked as inactive then...
    On a side note, is it possible you can make a client patcher for Spout, since I don't want to use the launcher, and it makes it easier for my users who don't have WinRAR? (Nvm, found out how to do so using the JDK... but it's terribly inefficient and slow.)

    This post has been edited 3 times. It was last edited by The PC Tech Guy Aug 13, 2011.
  6. Offline

    Raphfrk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Well, I'm not adding more to it.

    Spout is already compatible.
  7. Offline

    The PC Tech Guy

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @Raphfrk Active simply means you are keeping it maintained...
    And I mean making a client patcher for Spout, not for this plugin. The reason for this is that I don't want to use the new launcher, and it makes it easier for my users to update when needed. (And I would prefer command line, so they don't have to interact with it.)

    This post has been edited 1 time. It was last edited by The PC Tech Guy Aug 13, 2011.
  8. Offline

    Raphfrk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I think the launcher is easier ...
  9. Offline

    woodzy

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    lets make this active again :) just do a minor update and rename it to CB1000 and were good
    and will this work with permissons 2.X ?
    EDIT: ITS WORKING WITH CB# 1000!!!!

    This post has been edited 2 times. It was last edited by woodzy Aug 14, 2011.
  10. Offline

    Shalobee

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Seems 1060 broke it again. I am willing to pay you $10 each time you fix it when it breaks :) my server relies on this pretty heavily and it would be worth it to me to do that. No new features just make it work :) anyway i would understand if you decide not to but I would really appreciate it if you could take a look at it. Thanks for everything even if you don't look at it this plugin has served me well and I will be sad to see it go.

    This post has been edited 1 time. It was last edited by Shalobee Aug 17, 2011.
  11. Offline

    Raphfrk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    What errors do you get and how is best to trigger them?
  12. Offline

    Shalobee

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    sorry i should have posted this the first time. heres the error and it just doesn't tp you.

    Code:
    09:16:55 [INFO] [ServerPort] Shalobee entered shalshop
    09:16:55 [SEVERE] Could not pass event PLAYER_MOVE to Server Port
    java.lang.NoSuchMethodError: org.bukkit.entity.Player.teleportTo(Lorg/bukkit/Location;)V
            at com.raphfrk.bukkit.serverport.MyPlayer.teleportTo(MyPlayer.java:112)
            at com.raphfrk.bukkit.serverport.PortalManager.enteredPortal(PortalManager.java:714)
            at com.raphfrk.bukkit.serverport.ServerPortListenerCommon.onPlayerMove(ServerPortListenerCommon.java:297)
            at com.raphfrk.bukkit.serverport.ServerPortPlayerListener.onPlayerMove(ServerPortPlayerListener.java:257)
            at org.bukkit.plugin.java.JavaPluginLoader$7.execute(JavaPluginLoader.java:286)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:174)
            at net.minecraft.server.Packet10Flying.a(SourceFile:126)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
  13. Offline

    Raphfrk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Ok, looks like they removed teleportTo, must have been depreciated.
  14. Offline

    Shalobee

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    awesome thanks works great. do you have a donate button or something I was serious about paying you :)
  15. Offline

    Raphfrk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Updated again.
  16. Offline

    woodzy

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    love this its sooo easy!!! CB#1060. chat is working invatoryes are moveing back and forth on manual reconnect
    EDIT: @ Raphfrk i have everything working BUT i cant TP thru a temple to the outhere server ill get teamviewer up if needed i get the message that says "Unable to open socket to minecraft server" what am i doing wrong any ideas?

    ADD: also the node 'serverport.serverport.*' node doesnt seem to be working at all permissions 2.7.x

    This post has been edited 4 times. It was last edited by woodzy Aug 19, 2011.
  17. Offline

    donald1440

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    hi it shold be posseble to transfer economy money from server to server
  18. Offline

    Raphfrk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Temples should work exactly like other gates.
  19. Offline

    woodzy

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    all the gate types work kind of....u can go in it but it wont TP you to the outher server i get an "Unable to open socket to minecraft server" error then i have to manualy reconnect to the outher server any ideas?
  20. Offline

    Raphfrk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Are you sure you used the plugin ports when doing the initial connection? If you remove servers.dat (in /plugins/serverport), you can start the connection process again.

    Remember, port 25565 is the default game port and 25465 is the default for the plugin's port.
  21. Offline

    h2owasser

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    At 1000# it works...but the Client Patcher isn´t working : (
    If I patch, I get an blackscreen if i want to connect to an Server

    Other mods: Zanhs minimap, TooMany items And HD Texture Pack Fix.
    Do you know why?
    But thanks for this great Plugin!

    (Sorry for my bad english)
    h2owasser
  22. Offline

    Raphfrk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hmm, I assume you deleted Meta-inf?

    The only file I changed was ev.class, so you could check if any of the other mods change that file.
  23. Offline

    woodzy

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    cd "${0%/*}"; java -Xmx1000M -jar CraftProxyLiter.jar 25565 25465 auth
    @Raphfrk this is the port start file ^^^^
    below is the server.propertys file what am i doing wrong?
    Code:
    #Minecraft server properties
    #Fri Jul 29 09:39:24 PDT 2011
    level-name=world
    allow-nether=false
    view-distance=8
    spawn-monsters=true
    online-mode=false
    spawn-animals=true
    max-players=20
    server-ip=
    pvp=false
    level-seed=glacier
    server-port=25465
    allow-flight=true
    white-list=false
    
  24. Offline

    Raphfrk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    When you connect to <hostname>:25565, what happens?
  25. Offline

    woodzy

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    we can connect just fine to the servers BUT when we go to use the GATE(any of them) it wont reconnect us we get the "Unable to open socket to minecraft server" error
    EDIT: had to changethe port number on proxy and server serverport didnt want to connect
    cd "${0%/*}"; java -Xmx1000M -jar CraftProxyLiter.jar 25565 12340 auth

    This post has been edited 1 time. It was last edited by woodzy Aug 21, 2011.
  26. Offline

    Raphfrk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I would suggest trying to directly connect to the server and trying to use a gate.

    Actually, have you your servers in offline mode? If you use auth on the proxy, then you can't also auth on the server. The reason is that the proxy doesn't know the client's password.

    However, make sure none of the direct ports are forwarded to the outside world.
  27. Offline

    woodzy

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    yes my servers are in offline mode but i will try the direct link later tonight and tell you how it went ill have to use port 25565 so i hope for the best :)

    This post has been edited 1 time. It was last edited by woodzy Aug 22, 2011.
  28. Offline

    woodzy

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @Raphfrk i did the direct link like you said and still no luck on the server port gates ii didnt start the proxy this time chat and player invatory's still transfer BUT you have to reconnect manualy
    also how do i turn off the you must turn OFF bridging to use the proxy with serverport
    This is turned on by default for the plugin
    EDIT: look at the proxy again i think its the proxy

    This post has been edited 2 times. It was last edited by woodzy Aug 22, 2011.
  29. Offline

    h2owasser

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Sorry for that question but could you Upload an Patched Client or send it to me per E-Mail /skype/ICQ/MSN?
    I and 3 Other people from my Server are to stupid to patch this client ... xD
    I tested it with 3 different clients from Clean to full moded but nothing is working : (
    I tried to copy the ev.class out of the patcher into the minecraft.jar, too but it is still not working.

    PS: Patcher say: Outdated Version or my Client is an higher version than that of the Client...
    Thanks for helping.

    h2owasser
  30. Offline

    Raphfrk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    It is probably out of date for 1.7.3
  31. Offline

    Majorux

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hello (i'm french, sorry for the mistakes ><)
    I have a problem. In first time, could you see theses screenshots ?

    So, there is a short presentation of the server (ant the members who have build it). Like you can see, there is some crashs of the server. Sometimes it is my server who crash... but the plugin is o.k. all is good, but not crashs.
    Could you help us ? If you want the IP, say me it.
    Thanks, Majorux

    Edit :
    When the server crash, clients are disconected with a "read timed out". If I write something in the console, the server doesn't react.

    This post has been edited 1 time. It was last edited by Majorux Aug 25, 2011.
  32. Offline

    Zenithas

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Client patcher unfortunately causes a corrupted game client, though the CB#1060 server plugin works fine so far.


    Code:
    2011-08-25 09:51:33 [INFO] Zenithas [/127.0.0.1:53272] logged in with entity id 148 at ([yonas] 420.90403854676487, 67.0, -344.43148898821875)
    2011-08-25 09:51:54 [SEVERE] java.net.SocketException: Connection reset by peer: socket write error
    2011-08-25 09:51:54 [INFO] Connection reset
    2011-08-25 09:51:54 [SEVERE]     at java.net.SocketOutputStream.socketWrite0(Native Method)
    2011-08-25 09:51:54 [SEVERE]     at java.net.SocketOutputStream.socketWrite(Unknown Source)
    2011-08-25 09:51:54 [SEVERE]     at java.net.SocketOutputStream.write(Unknown Source)
    2011-08-25 09:51:54 [SEVERE]     at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
    2011-08-25 09:51:54 [SEVERE]     at java.io.BufferedOutputStream.flush(Unknown Source)
    2011-08-25 09:51:54 [SEVERE]     at java.io.DataOutputStream.flush(Unknown Source)
    2011-08-25 09:51:54 [SEVERE]     at net.minecraft.server.NetworkWriterThread.run(SourceFile:116)
    2011-08-25 09:51:54 [SEVERE] java.net.SocketException: Connection reset by peer: socket write error
    2011-08-25 09:51:54 [SEVERE]     at java.net.SocketOutputStream.socketWrite0(Native Method)
    2011-08-25 09:51:54 [SEVERE]     at java.net.SocketOutputStream.socketWrite(Unknown Source)
    2011-08-25 09:51:54 [SEVERE]     at java.net.SocketOutputStream.write(Unknown Source)
    2011-08-25 09:51:54 [SEVERE]     at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
    2011-08-25 09:51:54 [SEVERE]     at java.io.BufferedOutputStream.flush(Unknown Source)
    2011-08-25 09:51:54 [SEVERE]     at java.io.DataOutputStream.flush(Unknown Source)
    2011-08-25 09:51:54 [SEVERE]     at net.minecraft.server.NetworkWriterThread.run(SourceFile:116)
    2011-08-25 09:51:54 [INFO] Zenithas lost connection: disconnect.endOfStream
    2011-08-25 09:52:06 [INFO] /127.0.0.1:53283 lost connection
    2011-08-25 09:52:22 [INFO] Siilah [/10.0.0.4:60294] logged in with entity id 253 at ([yonas] 415.9168234326261, 72.0, -353.70424199561944)
    2011-08-25 09:52:39 [INFO] Zenithas [/127.0.0.1:53294] logged in with entity id 352 at ([yonas] 420.875, 67.0, -344.4375)
    2011-08-25 09:53:03 [SEVERE] java.net.SocketException: Connection reset by peer: socket write error
    2011-08-25 09:53:03 [INFO] Connection reset
    2011-08-25 09:53:03 [SEVERE]     at java.net.SocketOutputStream.socketWrite0(Native Method)
    2011-08-25 09:53:03 [SEVERE]     at java.net.SocketOutputStream.socketWrite(Unknown Source)
    2011-08-25 09:53:03 [SEVERE]     at java.net.SocketOutputStream.write(Unknown Source)
    2011-08-25 09:53:03 [SEVERE]     at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
    2011-08-25 09:53:03 [SEVERE]     at java.io.BufferedOutputStream.flush(Unknown Source)
    2011-08-25 09:53:03 [SEVERE]     at java.io.DataOutputStream.flush(Unknown Source)
    2011-08-25 09:53:03 [SEVERE]     at net.minecraft.server.NetworkWriterThread.run(SourceFile:116)
    2011-08-25 09:53:03 [SEVERE] java.net.SocketException: Connection reset by peer: socket write error
    2011-08-25 09:53:03 [SEVERE]     at java.net.SocketOutputStream.socketWrite0(Native Method)
    2011-08-25 09:53:03 [SEVERE]     at java.net.SocketOutputStream.socketWrite(Unknown Source)
    2011-08-25 09:53:03 [SEVERE]     at java.net.SocketOutputStream.write(Unknown Source)
    2011-08-25 09:53:03 [SEVERE]     at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
    2011-08-25 09:53:03 [SEVERE]     at java.io.BufferedOutputStream.flush(Unknown Source)
    2011-08-25 09:53:03 [SEVERE]     at java.io.DataOutputStream.flush(Unknown Source)
    2011-08-25 09:53:03 [SEVERE]     at net.minecraft.server.NetworkWriterThread.run(SourceFile:116)
    2011-08-25 09:53:03 [INFO] Zenithas lost connection: disconnect.endOfStream
    ^ Copypasta from the logs, using the client patch on the server machine (127.0.0.1 login). Client doesn't show any errors, simply goes to blackscreen.

Share This Page