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
-
View User Profile
-
Send Message
Posted Jun 27, 2013You can modify the config file to whatever size you want.
-
View User Profile
-
Send Message
Posted Jun 27, 2013Is there a max size for ships? Me and my friend made a considerably big sized boat, about 2500 blocks. Just wanted to know if it'll still move if I add the right amount of wool.
-
View User Profile
-
Send Message
Posted Jun 27, 2013@Mre30
What ships version are you you using, and what CB version are you using? These details may help to identity/resolve the problem.
-
View User Profile
-
Send Message
Posted Jun 26, 2013um, so when i press the engine sign or the wheel sign.... I am hammered with water 50 blocks from the sky and pouring down on top of my ship an anything else lol...
any ideas?
-
View User Profile
-
Send Message
Posted Jun 26, 2013woa woa woa woa woa... like.. holy shit is this awesome lol.
-
View User Profile
-
Send Message
Posted Jun 23, 2013Hey we're building a huge underground base on my private server, and we've cut and pasted all of the ships to a multilevel hangar. Trouble is that ships don't seem to work underground. In particular airships, which occasionally can move up or down or side to side, but find obstacles that don't exist or don't respond to any signs being used, no error message or anything is given. Is there anyway to make it so airships work underground without any issues?
-
View User Profile
-
Send Message
Posted Jun 22, 2013@Terraquis
I didn't know about that with windows Xp(I am using windows 8,) but glad to help with giving a work around for the error
-
View User Profile
-
Send Message
Posted Jun 22, 2013@Kihian11 I tried it with -Xss512M (because that is all the spare memory my server can handle) and it gives me an EXCEPTION_ACCESS_VIOLATION.
-EDIT- Apparently, the reason it threw the exception is because my server was using Windows XP. Apparenly, minidumps are not allowed on XP. It worked perfectly on my Windows 7 server, though.
-
View User Profile
-
Send Message
Posted Jun 21, 2013@B0ilerPlate
You can download the jar from this page.
-
View User Profile
-
Send Message
Posted Jun 20, 2013@Qx2:
Hey Qx2? Can you send my friend NullReff and I the code/jar (either one, although code would be nicer) That way we can modify it a little bit. Our version won't be released, and we'll make sure to credit you when we use it.
Thanks! B0ilerPlate
-
View User Profile
-
Send Message
Posted Jun 18, 2013Possibly an issue with his method of detection being recursive- with too large of a ship there can be too many method calls without any of them being finished and the stack gets overfilled. If he switched to a non-recursive method it would happen less or never. There is always a non-recursive way to do anything that you would use recursion for.
Or it could not be recursion at all, and I could be completely wrong.
-
View User Profile
-
Send Message
Posted Jun 17, 2013@Terraquis
to fix the Stackoverflow error, go to the batch file for your server, where it says Xms 1024 and Xmx 1024, add Xss 1024(this is how it should look like when u finished(numbers are spec for my server/comp atm): java -Xss3072M -Xms3072M -Xmx3072M
-
View User Profile
-
Send Message
Posted Jun 17, 2013@kiptacula
I think it started with version 3.1.6
-
View User Profile
-
Send Message
Posted Jun 17, 2013@l337x
There's a StackOverflowError happening there. I have got that same error too. I don't understand Java very well yet, but I am going to see if I can fix it and, with Qx2's permission, post the fixed file.
-
View User Profile
-
Send Message
Posted Jun 17, 2013Hey, I'm using your plugin on my server, i created a ship that i am trying to drive, but i'm getting the following error when i try to execute a movement:
at Ships.ShipsMaping.MapingBlock(ShipsMaping.java:225) at Ships.ShipsMaping.MapingBlock(ShipsMaping.java:225) at Ships.ShipsMaping.MapingBlock(ShipsMaping.java:225) at Ships.ShipsMaping.MapingBlock(ShipsMaping.java:225) at Ships.ShipsMaping.MapingBlock(ShipsMaping.java:225) at Ships.ShipsMaping.MapingBlock(ShipsMaping.java:225) at Ships.ShipsMaping.MapingBlock(ShipsMaping.java:225) at Ships.ShipsMaping.MapingBlock(ShipsMaping.java:225) at Ships.ShipsMaping.MapingBlock(ShipsMaping.java:225) at Ships.ShipsMaping.MapingBlock(ShipsMaping.java:225) at Ships.ShipsMaping.MapingBlock(ShipsMaping.java:225) at Ships.ShipsMaping.MapingBlock(ShipsMaping.java:225) at Ships.ShipsMaping.<init>(ShipsMaping.java:26) at Ships.ShipsListener.Burner(ShipsListener.java:422) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:425) ... 16 more
What's happening?
-
View User Profile
-
Send Message
Posted Jun 16, 2013@Terraquis
Since what version? On 2.1 I didn't have this issue. Thanks.
-
View User Profile
-
Send Message
Posted Jun 15, 2013Can you think of Airports?Our Server is using your plugin but we have airports built.But we aren't pilots!we cant arrive in the airport. Can you make a version that can add airports,ports for ship?Thanks!
-
View User Profile
-
Send Message
Posted Jun 15, 2013@kiptacula
That is a known bug.
-
View User Profile
-
Send Message
Posted Jun 14, 2013Anyone having problems with redstone popping off the ship? It stays in place but in movement redstone dust appears.
-
View User Profile
-
Send Message
Posted Jun 13, 2013@danielmeicker
Probably not the main sign that defines the ship.
@Ajaxan
Yes. For the future, check yourself instead of asking questions.
@jorn818
I think that it is technically feasible, even I had to do the test, but I do not want to.