Ports
Ports
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!
Important notices
- This plugin requires WorldEdit, and will not work without it.
- All pre-existing port data from Ports v0.2 will be unusable with Ports v0.3 and above. If you have a large number of ports set up, you can use the sql2yaml Ruby script to convert the database to the new format. If you need help, please feel free to private message me on BukkitDev.
- The current version should still work on 1.6. If you have any issues, please post a comment.
Quick links
- Downloads
- Source code
- Documentation
- Please donate if you've found this plugin useful, to help support future development.
- Bitcoin address: 19X4KjZ3kuuNJspad7qkTAfcLXpUkgdSK
Features
- Define activation zones using WorldEdit
- Customize the names of your ports ("This train will depart in x minutes", "This boat does not go anywhere!", etc.)
- Set up instant teleporters or ports that act on a schedule (every 5 minutes, every day, every week, whatever you wish)
- Bukkit Permissions support
- Full Multiworld support
- Per-port permissions for fine-grained control
- Ticket system
- Various localisation/translation options
How do I use it?
- Video tutorial
- Another video tutorial (thanks jckmcgraw!)
- A French video tutorial (thanks ThePico20!)
- Documentation
Upcoming features
- Economy support
- Dynmap integration
- Warmup/cooldown timers
- Support for non-cuboid activation regions
- Suggest new features here
AAAAH! Please help me! Your Plugin is awesome, but what happened? Ports don't work anymore!
2012-03-09 17:40:38 [INFO] DataSourcePool [Ports] autoCommit[false] transIsolation[SERIALIZABLE] min[2] max[20] 2012-03-09 17:40:40 [SEVERE] FATAL: DataSourcePool [Ports] is down!!! 2012-03-09 17:40:40 [INFO] Reseting DataSourcePool [Ports] min:2 max:20 free:0 busy:0 waiting:0 highWaterMark:0 waitCount:0 hitCount:0 2012-03-09 17:40:40 [INFO] Busy Connections:
2012-03-09 17:40:40 [SEVERE] Could not load 'plugins\ports-0.1.2.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:278) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:138) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:285) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:200) at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:156) at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:132) at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:52) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:407) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465) 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(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) 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(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) 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(Unknown Source) at java.sql.DriverManager.getConnection(Unknown Source) 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: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(Unknown Source) at java.net.PlainSocketImpl.connectToAddress(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.<init>(Unknown Source) at java.net.Socket.<init>(Unknown Source) at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:254) at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:292) ... 36 more 2012-03-09 17:40:40 [INFO] [LogBlock] Version check: Your version is up to date 2012-03-09 17:40:40 [INFO] [LogBlock] Connecting to username@jdbc:mysql://localhost:3306/minecraft... 2012-03-09 17:40:42 [SEVERE] [LogBlock] Error while fetching connection: 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(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) 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(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) 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(Unknown Source) at java.sql.DriverManager.getConnection(Unknown Source) at de.diddiz.util.MySQLConnectionPool.getConnection(MySQLConnectionPool.java:72) at de.diddiz.LogBlock.LogBlock.getConnection(LogBlock.java:258) at de.diddiz.LogBlock.LogBlock.onLoad(LogBlock.java:77) at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:159) at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:132) at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:52) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:407) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465) Caused by: java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(Unknown Source) at java.net.PlainSocketImpl.connectToAddress(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.<init>(Unknown Source) at java.net.Socket.<init>(Unknown Source) at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:254) at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:292) ... 23 more
AAAAHHHHHHHHH!
@Bones6966
Yeah its probably porting between worlds you need a plugin that allows players to keep there inventories for world teleporting such as Multiverse and Multiverse Inventories. Developement builds are out for both of them. But there are a few combinations you can use that does this.
@Bones6966
I'll need some more information. What version of CraftBukkit are you using? What plugins do you have installed? Are the ports in different worlds?
Ports never directly touches your inventory, so I think it must be a conflict with another plugin.
Im having a bit of a big issue... when ppl go threw the port there inventory is cleared\
The build for CraftBukkit 1.1-R6 is now ready, pending approval.
@fisherman77
There's a dev build ready for R5-SNAPSHOT, but it still needs more testing :)
thanks for the re! btw, R5 is going to have a lot of code changed - front pg, bukkit.org
@robinjam good to see that you are learning its okay that you will update the plugin when you are finished with school or you have sometime you wanna spent on this awesome plugin =D
@fisherman77
Sorry for the lack of updates, I've been quite ill recently. I'll get back to adding features when I've caught up with my uni work.
@kahlilnc
That's a good idea, thanks for the suggestion. I'll also be adding the ability for admins to prevent themselves from being teleported so they can work within the activation region of a port.
Are we still continuing this plugin?
Could you also add support for teleporting to a ports name by command? Because I forget the names of each portal -_- Ik its sad
@robinjam
Alright nice thanks man. This plugin is great.
@kahlilnc
This is already available in the latest dev build, but I'd recommend waiting until I've ironed the bugs out and released v0.2 before you upgrade.
Hey man could you add support for "Per portal permissions support" Ex: ports.use[name] and ports.use.* ???
@bootscreen88
Not yet, but that feature is planned.
is it possible to get a full custom language support?
@wiinick
Yeah this is my first priority. Tickets will be defined based on both item ID and damage value, so for example you could require the user to be holding map #0, which could have a picture of a train ticket on it.
Unfortunately I'm in the middle of exams at the moment so I haven't had much time to work on Ports recently, but I'll be finished next week so hopefully I'll be able to check some things off my todo list then.
Only thing ur missing is tickets, my server uses an off redstone torch since u cant hold it fairly. OR webs with data values. Or paper. But the point is, we need tickets.
Having some problem with my Bukkit server with this plugin please look at my Video and see if you can help (Creator of "Ports" or anyone else) http://www.youtube.com/watch?v=6Hx_BaGeO-k&feature=youtu.be
Can you add to CraftBukkitUpToDate?
PS: I'm "Killer_Klownz" from Wafflecraft.