Inactive [TP/FUN] Ports v0.3 - Travel at the speed of awesome! [1.4.5-R1.0 - 1.4.6-R0.1]

Discussion in 'Inactive/Unsupported Plugins' started by robinjam, Oct 12, 2011.

  1. Offline

    robinjam

    [​IMG]
    Ports allows you to define regions which transport players around the world instantly, or on a schedule of your choosing.

    Your ports can be trains, planes, ships, portals, whatever you like. You are limited only by your imagination!

    For more information, see the BukkitDev project page at http://dev.bukkit.org/server-mods/ports/.
     
    kahlilnc and Antac55 like this.
  2. Offline

    robinjam

    Could you double-check what version of Ports and WorldEdit you have installed? (The latest versions are 0.1.2 and 4.7 respectively)
    Also, could you check your server log for errors and post them here?
    Thanks.
     
  3. Offline

    Kasumi

    Ports v0.2-SNAPSHOT (Just updated it an hour ago)
    WorldEdit 4.6 enabled (Had it for a day or two)
    And here is the error. When did world edit get to 4.7?


    Code:
    2011-11-10 17:41:25 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'port' in plugin Ports v0.2-SNAPSHOT
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:355)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:757)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:722)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.NoSuchMethodError: com.sk89q.worldedit.WorldEdit.getSession(Ljava/lang/String;)Lcom/sk89q/worldedit/LocalSession;
        at net.robinjam.bukkit.ports.commands.CreateCommand.onCommand(CreateCommand.java:38)
        at net.robinjam.bukkit.util.CommandManager.runCommand(CommandManager.java:66)
        at net.robinjam.bukkit.util.CommandManager.onCommand(CommandManager.java:29)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
        ... 12 more
     
  4. Offline

    robinjam

    WorldEdit 4.7 came out on the 2nd of October - you can download it here: http://dev.bukkit.org/server-mods/worldedit/files/3-world-edit-4-7/
    The error you encountered is because my plugin relies on the new version of WorldEdit - could you upgrade it and try again? :)
     
  5. Offline

    Kasumi

    I'm on it. Thanks for the speedy reply. I'll edit this post once I sorted some funkyness with my server.

    EDIT: It works! Although i can't use my minecart to make it work. I'd like to create a "mass relay" for my map lols. Got any suggestions?
     
  6. Offline

    robinjam

    I had to specifically stop it from teleporting players who are in vehicles because it causes all sorts of weird glitches :/
    Maybe in the future I'll try and get it working again.
     
  7. Offline

    Waffletastic

    Pshhh, Robin, go to bed or get back on ts3! ;D
     
  8. Offline

    robinjam

    I'm going I'm going >_>
     
  9. Offline

    Waffletastic

    hehe
     
  10. Offline

    rudedoggx

    Is there a way to make one-way teleports this way?
     
  11. What makes this plugin different and/or better than VoxelPort? :]
     
  12. Offline

    robinjam

    At the moment the only distinguishing features are permissions support and the ability to customise the names of ports (I got sick of everything being called a 'VoxelPort'). It also uses WorldEdit for defining and editing activation regions, which I personally find easier to work with than the VoxelPort system.

    Also, it doesn't throw a gazillion ConcurrentModificationExceptions like VP did back when I used it.
     
  13. Ah, that's enough for a different plugin. :) I might have a nice idea, the thing that bothers me a bit about VoxelPort is, that when you enter a port it spams the player's chat. Perhaps you could figure out a way to prevent that?
     
  14. Offline

    robinjam

    I'm planning to add a config option that lets you specify how frequently it notifies the player, but I've been kinda busy irl recently (and will be for the next 2 weeks or so). I'll get it done as soon as possible though!
     
  15. Offline

    Kannibale

    @robinjam I cannot seem to get multi-world support working, perhaps you can tell me where I am going wrong.

    -WorldEdit 4.7 (RB)
    -Ports-0.1.2(RB)
    -Bukkit v1566 (DEV B)


    PS. I have also tried the latest WorldEdit and Port dev build aswell, same issue.

    This is out of my server.log
    Code:
    2011-12-08 10:32:49 [INFO] Ports version 0.1.2 is enabled!
    Walking in to a port whos destination is in another world file:
    Code:
    2011-12-08 10:33:00 [SEVERE] Could not pass event PLAYER_MOVE to Ports
    java.lang.NullPointerException
        at org.bukkit.craftbukkit.entity.CraftPlayer.teleport(CraftPlayer.java:299)
        at org.bukkit.craftbukkit.entity.CraftEntity.teleport(CraftEntity.java:156)
        at net.robinjam.bukkit.ports.Ports.teleportPlayer(Ports.java:176)
        at net.robinjam.bukkit.ports.PlayerListener.onPlayerEnterPort(PlayerListener.java:65)
        at net.robinjam.bukkit.ports.PlayerListener.onPlayerMove(PlayerListener.java:40)
        at org.bukkit.plugin.java.JavaPluginLoader$7.execute(JavaPluginLoader.java:302)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:181)
        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:92)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:521)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:419)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    
    I hope this helps, keep up the good work!

    Kannibale
     
  16. Offline

    robinjam

    It looks like CraftBukkit itself is throwing that error, either due to a corrupt world or due to a bug. Have you been having any issues with any of your other plugins/other random error messages in the logs?
     
  17. Offline

    Kannibale

    @robinjam

    Neither world is corrupt, to my knowledge, I have loaded each world separately and they are both playable in the nether and terra with no problems. Also for conformation the transportation works separately in each world.

    There are no other plugin errors.

    I will try the latest RB for bukkit and get back to you.

    @robinjam I tried this with build 1575 lastnight and 1578 today, still nothing. I will attach the error log from the latest, 1578 try because it is slightly different.


    Code:
    2011-12-11 15:53:04 [SEVERE] Could not pass event PLAYER_MOVE to Ports
    java.lang.NullPointerException
        at org.bukkit.craftbukkit.entity.CraftPlayer.teleport(CraftPlayer.java:299)
        at org.bukkit.craftbukkit.entity.CraftEntity.teleport(CraftEntity.java:156)
        at net.robinjam.bukkit.ports.Ports.teleportPlayer(Ports.java:176)
        at net.robinjam.bukkit.ports.PlayerListener.onPlayerEnterPort(PlayerListener.java:65)
        at net.robinjam.bukkit.ports.PlayerListener.onPlayerMove(PlayerListener.java:40)
        at org.bukkit.plugin.java.JavaPluginLoader$7.execute(JavaPluginLoader.java:307)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:181)
        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:92)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    
    Thanks again for your plugin. I hope this may help you, but as you said I think this is a bukkit problem.

    Cheers,

    Kannibale

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

    robinjam

    I'll take a closer look at the end of the week when I'm less busy. If it is a Bukkit issue I'd still like to try and get it fixed before the RB. If it's not, then I'd like to get it fixed before the next release of Ports :p
     
  19. Offline

    Kannibale

    Thanks alot for your time man, and I will let you know if a new DEV build for bukkit fixes it.

    Kannibale
     
  20. Offline

    Shupy

    Could you get this to work with IConomy? I like the role-play to this. Keeps the fun while allowing a better way to travel. If I could add transport fees then it would fill my need perfectly. Regardless, this is probably one of my most favorite plug-ins.
     
  21. Offline

    robinjam

    Aw, thanks!

    Yes, economy support is planned and I should be able to get some work done on this over the next 2 weeks or so - stay tuned :p
     
  22. Offline

    Kannibale

    @robinjam Any word on that null pointer?
     
  23. Offline

    Felixb97

  24. Offline

    robinjam

    Sorry, I can't reproduce that issue. Are you sure the ports are linked together?

    Could you pastebin the errors from your log so I can take a look at them? It's difficult to see from the video.
     
  25. Offline

    Kannibale

    @robinjam Yes both portals are linked, and each portal is on a seperate world.

    Portals work 100% on the same world, but they dont work cross worlds.

    Hope this helps,
    Kannibale.
     
  26. Offline

    Felixb97

    Here you go! :)
    Show Spoiler
    2011-12-30 13:49:35 [INFO] Starting minecraft server version 1.0.1
    2011-12-30 13:49:35 [INFO] Loading properties
    2011-12-30 13:49:35 [INFO] Starting Minecraft server on *:25565
    2011-12-30 13:49:36 [INFO] This server is running Craftbukkit version git-Bukkit-1.0.1-R1-b1597jnks (MC: 1.0.1) (Implementing API version 1.0.1-R1)
    2011-12-30 13:49:36 [SEVERE] Could not load 'plugins\ports-0.1.2.jar' in folder 'plugins': WorldEdit
    org.bukkit.plugin.UnknownDependencyException: WorldEdit
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:135)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:215)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:136)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:151)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:127)
    at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:52)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:399)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    2011-12-30 13:49:36 [INFO] Preparing level "world"
    2011-12-30 13:49:36 [INFO] Default game type: 0
    2011-12-30 13:49:36 [INFO] Preparing start region for level 0 (Seed: -7659402456735851243)
    2011-12-30 13:49:36 [INFO] Preparing start region for level 1 (Seed: -7659402456735851243)
    2011-12-30 13:49:37 [INFO] Preparing spawn area: 36%
    2011-12-30 13:49:38 [INFO] Preparing spawn area: 53%
    2011-12-30 13:49:39 [INFO] Preparing spawn area: 85%
    2011-12-30 13:49:40 [INFO] Preparing start region for level 2 (Seed: -7659402456735851243)
    2011-12-30 13:49:40 [INFO] Preparing spawn area: 0%
    2011-12-30 13:49:40 [INFO] Server permissions file permissions.yml is empty, ignoring it
    2011-12-30 13:49:40 [INFO] Done (0,456s)! For help, type "help" or "?"
     
  27. Offline

    robinjam

    "UnknownDependencyException: WorldEdit" - Looks like WorldEdit isn't getting loaded properly. Which version do you have? Ports requires v4.7 or higher.
     
    jbrocks28 likes this.
  28. Offline

    Felixb97

    I have version 5.0
    (and as you see in the video I Downloaded a new copy of world edit but still doesnt work)
     
  29. Offline

    robinjam

    I'm afraid this looks like either an issue with your installation, WorldEdit, or CraftBukkit itself - WorldEdit didn't load properly and therefore Ports was unable to load since it depends on WE. :(
     
  30. Offline

    Felixb97

    But I loaded everything new, or you mean theres an bug in Craftbukkit or WorldEdit?
    But no one else has this problem? :(
     
  31. Offline

    Shupy

    I did get one to work between my server world and the nether. I haven't set one up to go to the end yet but I will be. I don't know if it is a server specific issue, but the mod actually works between worlds for me. That is if you are meaning to and from the nether/end. Server to server, I don't think it was designed for.
     

Share This Page