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

    Raphfrk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    The patcher should just give a version error. Though it would cause problems if you patched anyway.

    I would recommend Spout, since that has the client patch built in.

    You can't apply the client patch to the server.
  4. Offline

    Zenithas

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Not using Spout, and not planning on it for the immediate future, though I am for the longer-term.

    And I wasn't applying the client patch to the server. It was to the client I have on the machine hosting the server. That was the issue generated by the client after the patch.
  5. Offline

    Raphfrk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    You don't need to use the Spout plugin, just use the Spout client.

    The Spout launcher is much more convenient than the Server Port patcher.

    Anyway, I have updated the patcher to the latest version.
  6. Offline

    Linkolas

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hi !
    Sorry but I have some issues with v380.
    I have linked 3 servers with your plugin : portals works fine, and better with the Spout client, but the 3 servers crash sometimes when using them with NO ERROR in the console neither in the log. Server can also crash by using gates in the same server.
    When it crash, console stop working. I can type all that I want into, server will not react. A "stop" command don't work, typing a "works ?" in the console don't show an unknown command message ...
    The servers were working fine without the portals. We can use your plugin to talk with the others servers without crashing.

    Code:
    (...)
    2011-08-24 16:07:17 [INFO] Linkolas [/127.0.0.1:58482] logged in with entity id 65310 at ([Blason_Or] 121.4275774178985, 71.0, -92.69999998807907)
    2011-08-24 16:08:51 [INFO] Connection reset
    2011-08-24 16:08:51 [INFO] Majorux lost connection: disconnect.quitting
    2011-08-24 16:14:18 [INFO] redsword79 [/90.30.219.124:61777] logged in with entity id 65418 at ([Blason_Or] 120.73514949424184, 71.0, -92.4283872156786)
    2011-08-24 16:14:19 [INFO] [ServerPort] redsword79 entered vredmobil
    2011-08-24 16:14:19 [INFO] [ServerPort] Teleporting due to entering portal vredmobil
    2011-08-24 16:14:19 [INFO] [ServerPort] Attempting to teleport redsword79 to vblasondor on RedMobil
    2011-08-24 16:20:43 [INFO] Starting minecraft server version Beta 1.7.3
    2011-08-24 16:20:43 [INFO] Loading properties
    2011-08-24 16:20:43 [INFO] Starting Minecraft server on *:2556
    (...)
    (It don't show always a [ServerPort] message before a crash, it also can be a simple random thing said in the tchat.)
    As you can see, we used portals and ... server crashed, without any error (clients have only a "Read timed out" disconnecting message). The .log continue with the server booting normaly (3 last lines here).

    We tried with different gate : Nether -> crash. Watercurtain -> crash. A customized gate (a modified *.gat file) -> crash.

    But we have only tried with v380 for now. I'll try to convince other admins to test with 379 (we are using #1060 release of bukkit) for example, if you want.

    Thanks you !
    Linkolas.

    This post has been edited 2 times. It was last edited by Linkolas Aug 26, 2011.
  7. Offline

    Raphfrk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hmm, looks like a deadlock of some kind. Have you tried it with just 2 servers linked?

    If you teleport over and over does it eventually lock up. (If there was a 1% chance of a problem).

    It might also be a problem interaction with other plugins, you could try it with just Server Port (assuming you can trigger it reliably)

    This post has been edited 2 times. It was last edited by Raphfrk Aug 26, 2011.
  8. Offline

    Zenithas

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Ah, I misunderstood. No worries, I've passed it around. After talking to the server about the changes that Spout can bring, it's been decided to take the plunge much sooner than originally thought (was going to be ~December originally).

    Now I'm having a different, just as fun issue. For some reason, we can't get a Windows 7 host machine to update their servers.txt; this keeps causing a hash mismatch on the handshake.
  9. Offline

    Raphfrk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    You can just delete the file on all servers and /reload. You will need to re-do the connections. However, as long as you don't change the server names, portals should still work.

    That is intended as a security thing, once a hash is assigned to a particular server, it can't be changed. This is to prevent it being changed by someone pretending to be that server.
  10. Offline

    Linkolas

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    It was crashing also when only 2 servers were linked. I've just tried something : I launched 2 servers on my own PC with the same plugins I have on a crashing server. Running into portals didn't crashed.
    With a friend, we spammed the tchat and : one server CRASHED. The same thing, no any error in the console/log etc. So we tried a second time : it crashed again. So it's certainly a tchat communication problem or something like.

    I'll try later with no any other plugin, and also by deactivating the tchat communication between server.
    The last thing he sent in the tchat the second time was : "à", wich I did'nt received (because of the crash).

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

    Linkolas

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Re !
    We have test a bit more. All letter with accents seems to crash a server.

    For example :
    If I activate inter-server tchat and say on Server 1 "à" or "é" or something with this letters, Server 2 will crash (but not Server 1).
    If I deactivate the inter-server tchat, I can say this letters without any issue.

    I hope this will be helpfull !
    Linkolas

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

    Raphfrk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Yeah, that is very helpful. What is the best way to generate those letters in chat? Do you need to special keyboard setting or client?
  13. Offline

    Linkolas

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hum ... I'm french, so there are on my keyboard (that's why I have to deactivate the multi-server tchat, there are many words with that letters in french).

    Since the altcode (alt + number / "é" = ALT +130, "à" = ALT + 133) doesn't work in Minecraft, I think best thing you have to do is to copy/paste (CTRL + V to paste in the Minecraft default tchat).

    (You can also try by turning your keyboard in french configuration).

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

    Raphfrk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Spout supports ctrl+V for pasting, so I used that.

    The problem was an infinite loop in the code to decode the characters back into String format. It only occurred if the special characters was the last character on the line.

    The latest version should have this bug fixed.
  15. Offline

    Majorux

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hello,
    I'm the man who've help Linkolas to find the bug.
    We just tried the latest build and it works fine.

    Thanks you !!
    Majorux, a Stendel's Wizard
  16. Offline

    Raphfrk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Was just a 1 line fix.

    Your bug report gave an exact way to reproduce the bug, so makes it easy to fix.
  17. Offline

    Zenithas

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hmm, looks like it's a firewall issue. My firewall doesn't allow programs to create new files at will, it seems.

    All I had to do was copypasta the details into the servers.txt, change to match my friend's server details (IP, port number, server name) and it worked.
  18. Offline

    Raphfrk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Ahh, cool. It could be a java security thing too.
  19. Offline

    Zenithas

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I'm thinking so. Unrelated note, included a request on github; it's related to a bug. Newplayers toggle is booting people out right left and center, regardless of true or false.
  20. Offline

    Zenithas

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I'm gon'na spend some time writing up what we had to do to get the server port operating properly (as opposed to randomly shunting people to the nether/kicking people/etc)
  21. Offline

    Raphfrk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Can you give info on triggering this. It is probably not a very used feature.

    You could use Craft Proxy Liter, since that forces all new players to the default server automatically.
  22. Offline

    Tesseracto

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    What's the point with this (i realize there was a point before nether in SMP, but why are you still developing it)?
  23. Offline

    Raphfrk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    You can link 2 servers together. They don't even need to be on the same LAN.

    When nether came out, I assume the number of people who wanted to use it reduced. However, there are still mods like multiverse which do the same kind of thing (but without the ability to travel between servers).
  24. Offline

    Tesseracto

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Yeah, but i don't see the need of having to be teleported to another server.
    That was really my question.
  25. Offline

    Raphfrk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Well, some people might want to link their server hosted in one place with another server.

    Also, it allows 2 servers with different plugins to be connected and means that multiple worlds would be handled by different cores.

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

    Tesseracto

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
  27. Offline

    tinez

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)

    This post has been edited 3 times. It was last edited by tinez Sep 2, 2011.
  28. Offline

    tinez

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Since my player connect throw the proxy, i cant known their IP anymore... It's localhost:#### for each player.
    Is there a way to easily ban player by ip?

    This post has been edited 3 times. It was last edited by tinez Sep 4, 2011.
  29. Offline

    woodzy

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Still can get the fuc*ers to reconect the players
    can someone who is useing the proxie give me a hand?
    skype me at deththis

    This post has been edited 1 time. It was last edited by woodzy Sep 6, 2011.
  30. Offline

    winter4w

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    can u do a vid how to set up
  31. Offline

    Linkolas

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hi !
    Since you fixed the tchat issue, we use your plugin and it works really well. I have some ideas that can help users of this plugin, but I don't know if it is possible / I you can do it / have the time to do it.

    - By using your plugin, if someone use a portal to teleport from Server 1 to Server 2 and disconect on Server 2, if he reconnect later in Server 1 he will actually spawn into the portal and will have to use /cancelredirect. Is that possible to force player to spawn in the real spawn of the Server 1 by using a normal connection to avoid some problem of unwanted teleportation ??
    Example : I teleport from S1 to S2. I disconnect of S2. After 15 min, S1 will move my spawn point from portal to real S1 spawn. So if I reconnect manually on S1 5 minute after teleportation, I will connect in the portal. If I connect 20 min after teleportation, I will be in the default spawn location.

    - If it is not possible, is that possible to deactivate the forced-teleportation (disable /cancelredirect and add a timer taht will disable portal teleportation for 15 seconds).
    For example, if I use a portal, cancel the teleportation and reconnect on the server (so I spawn into a portal), I will not have to use /cancelredirect to play. If I want to use a portal, I'll have to wait 15s.

    - Another idea : is that possible to add a tchat command that will send a [EVENT] message on all linked servers ? If possible, usable even if multi-server tchat is disabled. It will for example usable by writting "/serverport multievent (your message here)". It could be unactivable by adding a "multievent = true/false" in the serverport properties.

    Thanks you !
    Linkolas.

    This post has been edited 1 time. It was last edited by Linkolas Sep 9, 2011.
  32. Offline

    Shalobee

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    not sure if this is a big issue or not but randomly i get this in my console even though everything seems to work just fine:

    Code:
    [SEVERE] Could not pass event PLAYER_PORTAL to PermissionsEx
    java.lang.NullPointerException
            at ru.tehkode.permissions.bukkit.BukkitPermissions$PlayerEvents.onPlayerPortal(BukkitPermissions.java:187)
            at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.java:307)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
            at net.minecraft.server.ServerConfigurationManager.f(ServerConfigurationManager.java:295)
            at net.minecraft.server.EntityPlayer.a(EntityPlayer.java:244)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:299)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:592)
            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 org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:478)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:453)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    I am using PEX as you can probably tell from the error. Is this a PEX thing or a ServerPort error? I can repost this on the PEX thread if its not your plugin.

    This post has been edited 1 time. It was last edited by Shalobee Sep 9, 2011.

Share This Page