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
@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
Possibly 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.
@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
@kiptacula
I think it started with version 3.1.6
@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.
Hey, 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?
@Terraquis
Since what version? On 2.1 I didn't have this issue. Thanks.
Can 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!
@kiptacula
That is a known bug.
Anyone having problems with redstone popping off the ship? It stays in place but in movement redstone dust appears.
@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.
Does any color wool work?
so yea i have made a ship on my server that seems to be too big for this plugin, it's 21k blocks in total and i have changed the files so it should take it, but it does not give me a message ever, so can you please fix this until next update of this plugin? thank you
@Terraquis
no u see i just think their shuould be a a ships.use* and a ships.make* but i said this when their was a problem but its all good now the problem is fixed.
wouldn't it look smoother if the ship moved like pistons moves blocks.
@noobm
Ummm...it's not that hard to add six permissions to a single player/group.
so yea i have made a ship on my server that seems to be too big for this plugin, it's 21k blocks in total and i have changed the files so it should take it, but it does not give me a message ever, so can you please fix this until next update of this plugin? thank you
PLZ make a perm to be able to use everything plzzzzzzzzz :(
Cannons and Chests would be awesome. Must say this is my favorite plugin and i have used A LOT. But yes plz fix chests and mabie even beds. Fully working house boats would be awesome for my Island server i'm working on. Cannons would be cool too so cruse could sail and fight and work together. should make it so you have a sign for each cannon so you dont just fire them all. Makes war ships more team based and realistic. :D keep up the amazing work no mater what you add to this. This will always be a plugin i will use. (but chests would be cool first XD)
@Qx2
hi im the owner of vizionnetwork we are come out with a new plugins call sky pirate we love your ships plugins but we need a plugins to fit are server we will give a no lag server to test it on and we will make a admin on are server * plzz Skype me at vizion_swag are email me at [email protected] we need you help plzzz
come on