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
In reply to materiallize:
Ohhhh. It's something I want to add, but the resources on a server wouldn't be possible unless you go for a reimplementation such as Glowstone. So I doubt I will ever be able to add it.
Hey, is this plugin going to update to 1.19 soon? I'm making an RPG server and id really like to use this plugin. Please let me know when the update will come out
In reply to heatranhunter:
Hi there. I'm a bit confused by your message. The last 3 updates have been 1.19 supported with beta 14.2 also working on 1.19 however not officially supported.
Here are all the versions of ships
https://dev.bukkit.org/projects/ships/files
Here is the list of 1.19 compatible versions
https://dev.bukkit.org/projects/ships/files?filter-status=1&filter-game-version=2020709689:9190
is it possible to have water in tnt cannons not left behind the ship?
In reply to idkwutmahname:
Sadly no. The calculations for that would be too great in ships current state
I LOVE THIS CONCEPT, BUT I AM HAVING ISSUES IN 1.18.2!!! WHEN CREATING A SHIP THE PERCENTAGE FOR THE WOOL SAIL BARELY GOES UP! PLEASE HELP!!!! I REALLY WANT TO SAIL AND MAKE SPACESHIPS! PLEASE <3 - GREAT MAGE RUBIZE
In reply to rubize:
Mind explaining futher what you mean?
How are you checking the percentage? whats the exact message?
Are you adding blocks between each check? if so what block?
what ship type is it?
i checked the percentage by right clicking the sign that said [Ships], it should be a watership i think, because i just wrote Ship underneath [Ships], the exact message was pretty normal for what it would say if i right clicked it normally, except the ship size said it was around 4080 blocks, which is WAY off, i think the least amount we had made it out of was 24 wool blocks and nothing else, but no matter what we made it out of that number barely changed. i thought at first that it was because it was touching the water, so it just grabbed every block it could touching the ocean within distance, but we moved it a couple blocks above the water not touching anything and had the same problem.
In reply to rubize:
Ah I know the issue.
The issue is to do with the 4080 blocks it's detecting. In ships to prevent griefers from just building a massive ship and using it as a lag machine, there is something known as the "track limit" that prevents the block finder from finding more blocks
This limit can be changed in the config or by
/Ships set config set advanced.block.limit <value>
Hi, I apparently have a problem, I recently upgraded my server and all my plugins to spigot 1.18.2.
The plugin is not loading and is dropping a "Could not load 'plugins/ShipsBukkit.jar' in folder 'plugins', Caused by: java.lang.NoSuchMethodError: 'java.lang.String org.bukkit.NamespacedKey.value()'" error on server launch.
It gives this error for both the 14.3 and the 14.4 versions.
Do you know what might cause that?
Thank you in advance.
In reply to 0Davgi0:
Yep. This is a known issue whereby your Spigot is corrupt and missing the method NamespaceKey#value(). This is typically caused if you downloaded your Spigot from getBukkit instead of building it yourself.
There are two solutions for it. The first is building Spigot yourself using the official BuildTool (you just run it and it spits out a Spigot if all done correctly)
The other way is to use Paper as it downloads/builds it's own version of Spigot that isn't corrupt
Hope that helps
In reply to mosemister:
That's weird because I built it myself from the buildtool using java 18, I'll try converting to paper, thanks for the help!
In reply to 0Davgi0:
Sorry only just seen this. Didn't get the notification.
The latest ships should have fixed the issue
Do you have any idea why whenever I use this on Aternos it says "The Plugin ShipsBukkit could not be loaded."
In reply to kjriotapple:
Typically there is a crash with it. Take a look at the log files, not sure if your host hides crashs from the console?
Sadly you havent given me any more info then that (such as MC version, ships version, etc) so i cant be any more help without more info
In reply to mosemister:
I used the latest version of both MC and ships (1.18.2 and 14.4 for ships) and I am the host. Is there any plugins that dont work with it? We currently have clans, bannermaker, Essentials, brewery, world edit, life steal, and DiscordSRV.
In reply to kjriotapple:
There hasnt been any reports of incompatibilities (and shouldnt be as nothing but standard bukkit code is used)
The only known issue that will cause that message is if you attempt to run Ships on a corrupt Spigot (typically also giving a crash which contains "No method of Namespace.value()"
Would you mind PMing me with your console log (taken from /logs/latest.txt) so I can see if there is any funny business
Umm help.... The plugin works great on my server for smaller ships, however it never works for larger ones, often crashing the server for no reason. I built a massive airship and now I am sad that it cannot move. same for my medium size one at about 4000 blocks. I love this plugin and I know there is a way to fix this issue. Help would be much appreciated. Thx you!!
Also (forgot to add this lol) is there a way to make airships/submarines use more fuel? I think 1 piece of coal to move like 20k blocks worth of mass is a little bit on the overly efficient side lol. (if I can even get it to move) Thx again for all your hard work on the plugin.
In reply to baconcatmc:
When it comes to moving a ship, it should be 1 bit of coal for 1 movement which is a max of 5-10 blocks. You can change this by going into the ship types file and then changing the value in there.
As for the large ship movement, im going to need a copy of one of the crashes as by default it has the fixes in place, so i think something else maybe going on
In reply to mosemister:
Ok I'll see if I can get that today. Thx
Ok so I was trying to see if I could move my medium size ship again today, and I fond that if I click the sign nothing happens. Then, after a bit of waiting, If I click it again it just says ships sign is already moving ship. At least the server didn't crash lol
Edited again.lol. Now with my ship it says it found 57 blocks in the way and they are part of the ship
Can ur plugin even handle 30k+ block airships lol
Ima try my massive airship now and see if it crashes
if it does ill send u logs
No crash, but the same issue as before when trying to move (ships sign is already moving ship) and then when I try to press on the license sign it says could not find the file associated with this ship. Ive tried deleting the file and reloading the ship after restarting the server, changing the name of the ship on the sign, and I'm starting to think my ships are just too big.