Ships
Ships
Source Code - Github |
JavaDocs |
Sponge version |
Discord channel |
Translate Core |
---|
Looking for Dev builds?
Dev builds give off new features and bug fixes before they are officially released, however these features and bug fixes may not have been tested as much as a release on here
Old page:
I am testing this new page out. I am aware of some parts that are missing such as ship types, but please say if there is anything that you wish to see. I plan on making a FAQ's that includes common questions such as how to change ship requirements.
If you want to see the old page, it is here
Video tutorial
Ships 6 changes
Ships has gone through many changes, Ships 6 is the latest rewrite of the plugin. The latest rewrite fixes multiple bugs found in the root of previous versions of Ships.
Features
Moving ships
As the name of the plugin suggests, you can create your own ship and move it with just a single click.
Works with all blocks
There is a fully-fledged list where you can configure every block to react differently for the ships, including being able to add a block type to interact with Ships, detect it as a collide, and even not react at all.
Teleport to ships
There have been many requests to be able to teleport to ships for not only this plugin but others like it. This feature has been added to Ships, however, if it is something you do not wish, then you can disable to command by not adding the command.
Falling Ships
Ships will fall/sink if requirements are not met, this could be done through your own interaction such as running out of fuel, or by something else such as a TNT explosion.
Ship types
Airship | Link |
Ship | Link |
Marsship | Link |
Submarine | Link |
Plane | Link |
Hybridship | Coming soon |
Move the ship:
In Ships, movement is done by signs. You can see all signs here
Collide types:
Name | ID | Description |
---|---|---|
Detect collide | DETECT_COLLIDE | If Ships detects this block in the way of a ship moving then the ship will not move with the error of this block being in the way |
Material | MATERIAL | Material means that you can build a ship out of this block and the Ships block detection system will detect it as part of your ship |
Ignore | IGNORE | If Ships detects this block in the way of a ship moving then the block will break and the ship will take its place |
Permissions
Permission node | Description |
---|---|
ships.cmd.info |
Allows the player to use the command '/ships info' |
ships.cmd.blockinfo |
Allows the player to use the command '/ships blockinfo' |
ships.cmd.shiptype.create |
Allows the player to use the command '/ships shiptype create' |
ships.cmd.config.set |
Allows the player to use the command '/ships config set' |
ships.cmd.config.view |
Allows the player to use the command '/ships config view' |
ships.cmd.blocklist.set |
Allows the player to use the command '/ships blocklist set' |
ships.cmd.blocklist.view |
Allows the player to use the command '/ships blocklist view' |
ships.cmd.ship.track |
Allows the player to use the command '/ships ship track' |
ships.cmd.ship.eot |
Allows the player to use the command '/ships ship eot' |
ships.cmd.ship.crew |
Allows the player to use the command '/ships ship crew' |
ships.move.own.ships.airship | Allows a player to move own airship |
ships.move.own.ships.watership | Allows a player to move own ship |
ships.move.own.ships.marsship | Allows a player to move own marsship |
ships.move.other.ships.airship | Allows a player to move anyones airship |
ships.make.ships.airship | Allows a player to make a airship |
ships.remove.other |
Allows a player to destroy anyones ships sign |
Developers:
Looking for a development wiki? maven/gradle dependencies? or something else relating to ships or translate core? Take a look at the getting started wiki
@benolian
Okay so I go to make and airship. I use all of the signs including the [fuel] sign. When I go to move it says 'ship is out of fuel'. I have tried filling up the fuel cauldron but it still says out of fuel and on the sign it says [fuel] 0. Am I doing something wrong?
I love it! The only thing I have to suggest is that TNT be added to the materials used to build a ship, so that players can place TNT in holes in the bottom of their ship, ignite it and watch it fall down to explode whatever is beneath. That way, bombers could be made and flown. Also, it seems that whenever my airships gets near a mushroom biome (within 30 blocks or so), and I try to use the engine control, my screen goes white, sits there for twenty seconds or so, flashes some text too fast to read, and then goes black. I have to use the EOT control when near mushroom biomes to avoid this.
@kapitandead
Yes, I have it in the plans. Let me add how to write 1.6. 1.6 takes 5-6 times less than 1.5 server resources so now it is a priority. Oh permission will be in 1.6
You can make a video for the construction of airships and ships. Just some people on the server they want to know what and how to do it.
@OriginalMadman
How large are building ships?
Still goes to 100% CPU and takes the whole server down. I even tried doing a whole new airship, wool only. No error messages whatsoever. As soon as a move sign (any move sign) is clicked 100% CPU and I have to kill the server and restart. Using 1.5, tried on CB 1.2.5RB4 and a later dev version. Using Java 1.7u5.
@Tobias2289
install java 1.7
@HavenOfKairos
The fuel tank is only required for airships. The ship is not required. Water comes to an end and the ship will not sail on forever.
I just have one question, I want my ships to require a fuel tank. I can do this right? As I only want ships on my server, not airships. Thanks.
I will try to optimize code to run faster than today. Fuel is so that the ship did not fly forever. I will add a new type of ship, and cannons. aha permissions is also in the first place to go. 'll make it so that the construction, speed, etc. parameters depend on the construction of the ship.
@AJCStriker
I appreciate the ability to turn on the automatic drive and let it run, then walk around my ship as it moves. however, this plugin's movement is slow in general, so if I want to get somewhere fast I generally use movecraft. it'd be very convenient to be able to use both. Movecraft is also generally worse for transporting other people; movecraft passengers can't really move while the ship is in motion and the turning for this doesn't result in falling. I don't know if Movecraft's update fixed that. As a final thing, this has a realistic aspect that's both cool and annoying at times. the burner is realistic but also very hard to get to not catch the ship on fire. the fuel thing is cool, but requires lots and lots of coal. as a final point, I simply really like the idea of using signs to control the ship rather than a stick.
Both of these plugins have pros and cons, thus the thing about wanting to use both.
21:01:21 [SEVERE] Could not load 'plugins\Ships.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError : Ships/Ships : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j ava:151) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager. java:305) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager .java:230) at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:213) at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:189) at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigur ationManager.java:53) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:166) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:432) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.UnsupportedClassVersionError: Ships/Ships : Unsupported maj or.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$000(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader. java:41) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader. java:29) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j ava:140) ... 8 more
@Dibujaron
New move craft is being released today, but could you elaborate on why the movement of this plugin is better?
if you run this on the same server with Movecraft, will it still work? Ships is much better for slow movement and carrying passengers, while Movecraft is better for moving fast.
also, can we please have a config option for what blocks can be used on the ship? Thanks
EDIT: I just tested version 1.5, and it works even better than movecraft in a lot of ways. however, the EOT doesn't work. I turn it on and the ship doesn't move. I get this message in the console when I click the EOT sign: 09:47 AM [SEVERE] Could not pass event PlayerInteractEvent to Ships. there is a lot more, but it appears to be a conflict with NoLagg
Ships 1.5 release.
Fixed threads. This version should work best of all. If the server is shut and a ship will continue in motion [EOT] to see the errors. I do not know why this happens. The next version is better. Oh, and if something does not work you can that is the fault of Java. This plugin was written in java 1.7 The movement of the vessel after the change in the "ahead" is followed by 3 seconds, then skips every 10 seconds.
@kapitandead
In options you can change the type of fuel.
people that we should do to remove the fuel consumption? or reduce the amount of, well, or to change the fuel (coal changed on a stick)
ps.I'm from Russia, so you can easier
When I installed this on my server it said 'could not load plugin "ships". Is there any kind of fix to this?
@Qx2
1.2.5 RB4. I had another player doing it while I was standing by. I was two different move sign I'm fairly sure. As everything froze 100%CPU both times it's hard to say. I'd have to make a testserver copy and work from there (can do if time permits).