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

    MonsieurApple

    Please upgrade to latest RB
     
  3. Offline

    robinjam

    Done
     
  4. Offline

    Waffletastic

    Exactly what I've been looking for! Keep this updated please! :)
     
  5. Offline

    MonsieurApple

  6. Offline

    Waffletastic

    WOW! These teleportations are so quick!

    Is this possible to support tickets?

    It doesn't work with schedule when you have multiple people in the teleporter.

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

    robinjam

    Dangit, looks like I have some bug-squashing to do.

    OK, it's fixed. I uploaded the new version but it might take a while for the Bukkit team to approve it.

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

    Waffletastic

    Lol I thought you were going to bed!
     
  9. Offline

    robinjam

    I couldn't sleep, so I thought maybe I should do something productive.

    Then I started coding instead :p

    Anyway, the new version's been approved now, please try it out and lemme know if you find any more bugs.
     
  10. Offline

    Waffletastic

    Well we've made some quests that require voxelport now, but you're still welcome to develop with our team if you want! :) And don't forget about that mic haha
     
  11. Offline

    Manaria

    If I define a zone with WE and do the command "/port create xy" it writes the error: "An internal error occurred while attempting to perform this command"
    All other plugins work without any like that.
     
  12. Offline

    robinjam

    I can't reproduce this issue. Do you get any errors in the console? If so, could you post them please?
     
  13. Offline

    Manaria

    If I do the command ingame, in the console is that error:

    16:51:54 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'port
    ' in plugin Ports v0.1.1
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:41)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:16
    3)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:3
    53)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    java:756)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721)

    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714)
    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:464)
    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(CreateComm
    and.java:46)
    at net.robinjam.bukkit.util.CommandManager.onCommand(CommandManager.java
    :26)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39)
    ... 12 more

    the smiley is fail :D

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

    robinjam

    I think your copy of WorldEdit is out of date. Could you try updating it to version 4.7? :)
     
  15. Offline

    Manaria

    Yes, you`re right. Now it works!
     
  16. Offline

    robinjam

    :D!
    If you find any bugs, please let me know. Feature requests are welcome too.
     
  17. Offline

    bikboii

    Any time I try to link a port, it tells me there was an internal problem doing that action, same goes for deleting, or setting a destination, the actual creation works fine, and it confirms I have created a port by letting me know it has no destination when I step in, yet creating that destination seems not to work. Anything would help, thanks in advanced.
     
  18. Offline

    robinjam

    Could you check your server log for errors and post them here please? :)
     
  19. Offline

    rudedoggx

    I'd like to know if it's possible to configure some of the messages. For instance, 'woosh', 'please come again!' and 'port will depart in x'
     
  20. Offline

    robinjam

    For now you can only customise the "This port will depart in ..." messages, by using the /port describe command to set a new description for the port. (e.g. This balloon will depart in ...)

    I'm planning to add a separate config file in which you can customise all the messages yourself, in a future update.
     
  21. Offline

    rudedoggx

    Looking forward to it!
     
  22. Offline

    SilencShadoW

    Hey Guy,
    if i want to start ur plugin i get following error:

    Code:
    2011-11-06 15:38:25 [INFO] DataSourcePool [Ports] autoCommit[false] transIsolation[SERIALIZABLE] min[2] max[20]
    2011-11-06 15:38:25 [SEVERE] FATAL: DataSourcePool [Ports] is down!!!
    2011-11-06 15:38:25 [INFO] Reseting DataSourcePool [Ports] min:2 max:20 free:0 busy:0 waiting:0 highWaterMark:0 waitCount:0 hitCount:0
    2011-11-06 15:38:25 [INFO] Busy Connections:
    
    2011-11-06 15:38:25 [SEVERE] Could not load 'plugins/ports-0.1.1.jar' in folder 'plugins':
    com.avaje.ebeaninternal.server.lib.sql.DataSourceException: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
        at com.avaje.ebeaninternal.server.lib.sql.DataSourcePool.<init>(DataSourcePool.java:210)
        at com.avaje.ebeaninternal.server.lib.sql.DataSourceManager.getDataSource(DataSourceManager.java:210)
        at com.avaje.ebeaninternal.server.lib.sql.DataSourceGlobalManager.getDataSource(DataSourceGlobalManager.java:63)
        at com.avaje.ebeaninternal.server.core.DefaultServerFactory.getDataSourceFromConfig(DefaultServerFactory.java:427)
        at com.avaje.ebeaninternal.server.core.DefaultServerFactory.setDataSource(DefaultServerFactory.java:388)
        at com.avaje.ebeaninternal.server.core.DefaultServerFactory.createServer(DefaultServerFactory.java:168)
        at com.avaje.ebeaninternal.server.core.DefaultServerFactory.createServer(DefaultServerFactory.java:64)
        at com.avaje.ebean.EbeanServerFactory.create(EbeanServerFactory.java:78)
        at org.bukkit.plugin.java.JavaPlugin.initialize(JavaPlugin.java:223)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:177)
        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:136)
        at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:112)
        at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:52)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:136)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
        at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1116)
        at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:343)
        at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2334)
        at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2371)
        at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2163)
        at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:794)
        at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
        at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:378)
        at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305)
        at java.sql.DriverManager.getConnection(DriverManager.java:620)
        at java.sql.DriverManager.getConnection(DriverManager.java:169)
        at com.avaje.ebeaninternal.server.lib.sql.DataSourcePool.createUnpooledConnection(DataSourcePool.java:401)
        at com.avaje.ebeaninternal.server.lib.sql.DataSourcePool.createConnectionForQueue(DataSourcePool.java:607)
        at com.avaje.ebeaninternal.server.lib.sql.PooledConnectionQueue.ensureMinimumConnections(PooledConnectionQueue.java:205)
        at com.avaje.ebeaninternal.server.lib.sql.DataSourcePool.initialise(DataSourcePool.java:248)
        at com.avaje.ebeaninternal.server.lib.sql.DataSourcePool.<init>(DataSourcePool.java:208)
        ... 17 more
    Caused by: java.net.ConnectException: Connection refused
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:327)
        at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:193)
        at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:180)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384)
        at java.net.Socket.connect(Socket.java:546)
        at java.net.Socket.connect(Socket.java:495)
        at java.net.Socket.<init>(Socket.java:392)
        at java.net.Socket.<init>(Socket.java:235)
        at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:254)
        at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:292)
        ... 36 more
     
  23. Offline

    robinjam

    Connection to your MySQL server failed. Make sure the settings in your bukkit.yml file are correct and try again ;)
     
  24. Offline

    SilencShadoW

    ah now it works but if i want to link or arrive i get following error:

    Code:
    16:28:11 [INFO] Found protection
    ... 13 more
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
    at net.robinjam.bukkit.util.CommandManager.onCommand(CommandManager.java:26)
    at net.robinjam.bukkit.ports.commands.LinkCommand.onCommand(LinkCommand.java:40)
    at com.avaje.ebeaninternal.server.core.DefaultServer.update(DefaultServer.java:1584)
    at com.avaje.ebeaninternal.server.core.DefaultServer.update(DefaultServer.java:1605)
    at com.avaje.ebeaninternal.server.core.DefaultServer.update(DefaultServer.java:1615)
    at com.avaje.ebeaninternal.server.persist.DefaultPersister.forceUpdate(DefaultPersister.java:203)
    at com.avaje.ebeaninternal.server.persist.DefaultPersister.update(DefaultPersister.java:430)
    at com.avaje.ebeaninternal.server.core.PersistRequestBean.executeOrQueue(PersistRequestBean.java:557)
    at com.avaje.ebeaninternal.server.core.PersistRequestBean.executeNow(PersistRequestBean.java:531)
    at com.avaje.ebeaninternal.server.persist.DefaultPersistExecute.executeUpdateBean(DefaultPersistExecute.java:110)
    at com.avaje.ebeaninternal.server.persist.dml.DmlBeanPersister.update(DmlBeanPersister.java:85)
    at com.avaje.ebeaninternal.server.persist.dml.DmlBeanPersister.execute(DmlBeanPersister.java:105)
    at com.avaje.ebeaninternal.server.persist.dml.UpdateHandler.execute(UpdateHandler.java:106)
    at com.avaje.ebeaninternal.server.persist.dml.DmlHandler.checkRowCount(DmlHandler.java:123)
    Caused by: javax.persistence.OptimisticLockException: Data has changed. updated [0] rows sql[update port set destination_id=? where id=? and name=? and description=? and x1=? and y1=? and z1=? and x2=? and y2=? and z2=? and world=? and x=? and y=? and z=? and yaw=? and pitch=? and destination_id=? and departure_schedule=?] bind[null]
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:501)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:722)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:757)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:355)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
    org.bukkit.command.CommandException: Unhandled exception executing command 'port' in plugin Ports v0.1.1
    >
    16:28:10 [SCHWERWIEGEND] null
    ... 13 more
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
    at net.robinjam.bukkit.util.CommandManager.onCommand(CommandManager.java:26)
    at net.robinjam.bukkit.ports.commands.ArriveCommand.onCommand(ArriveCommand.java:41)
    at com.avaje.ebeaninternal.server.core.DefaultServer.update(DefaultServer.java:1584)
    at com.avaje.ebeaninternal.server.core.DefaultServer.update(DefaultServer.java:1605)
    at com.avaje.ebeaninternal.server.core.DefaultServer.update(DefaultServer.java:1615)
    at com.avaje.ebeaninternal.server.persist.DefaultPersister.forceUpdate(DefaultPersister.java:203)
    at com.avaje.ebeaninternal.server.persist.DefaultPersister.update(DefaultPersister.java:430)
    at com.avaje.ebeaninternal.server.core.PersistRequestBean.executeOrQueue(PersistRequestBean.java:557)
    at com.avaje.ebeaninternal.server.core.PersistRequestBean.executeNow(PersistRequestBean.java:531)
    at com.avaje.ebeaninternal.server.persist.DefaultPersistExecute.executeUpdateBean(DefaultPersistExecute.java:110)
    at com.avaje.ebeaninternal.server.persist.dml.DmlBeanPersister.update(DmlBeanPersister.java:85)
    at com.avaje.ebeaninternal.server.persist.dml.DmlBeanPersister.execute(DmlBeanPersister.java:105)
    at com.avaje.ebeaninternal.server.persist.dml.UpdateHandler.execute(UpdateHandler.java:106)
    at com.avaje.ebeaninternal.server.persist.dml.DmlHandler.checkRowCount(DmlHandler.java:123)
    Caused by: javax.persistence.OptimisticLockException: Data has changed. updated [0] rows sql[update port set x=?, z=?, yaw=?, pitch=? where id=? and name=? and description=? and x1=? and y1=? and z1=? and x2=? and y2=? and z2=? and world=? and x=? and y=? and z=? and yaw=? and pitch=? and destination_id=? and departure_schedule=?] bind[null]
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:501)
     
  25. Offline

    robinjam

    That's strange... Looks like I have some more debugging to do.

    It works fine with sqlite, honest :(
     
  26. Offline

    SilencShadoW

    how i change it to sqlite? or how i can make that work? :( the ports are up in my mysql database! i see them with phpmyadmin ... but i cant use the commands for link arrive ... destination ... if i want to link with a not created port there stand "no such port blabla" if i use a port what exist ... its error occured
     
  27. Offline

    robinjam

    It seems to be all kinds of broken on MySQL - I didn't notice since I use sqlite. I'm working on fixing it right now.

    The default bukkit.yml file that gets created for you is set up to use sqlite.
     
  28. Offline

    gait

    Nice Job now we can make Travel Boats and a sort of cruise ships :)
     
  29. Offline

    robinjam

  30. Offline

    Kasumi

    Hey I'm getting an internal error when I'm trying to create portals. Can anyone help me?
     

Share This Page