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
How to force Ships ignore or smash KELP_PLANT?
Its stops every ship or Submarine... How can i add ignore thing on those type of plants?
In reply to DariyaRainhart:
Hey. The easiest way is to add it to the ignore list by command
/Ships blocklist set ignore minecraft:kelp_plant
Im doing this from phone so please use the in game suggestions to help you
In reply to mosemister:
Thx!)
I just edited blacklist file)
Is it possible to add some "Stick" control.
Like in old versions?
In old versions if u hold wooden stick then u can move ship with WASD.
In reply to DariyaRainhart:
Ships has never added stick control (i think your thinking of movecraft).
To answer your question, no. I personally wouldn't add it to Ships as it goes against Ships original principals. But I wouldn't appose to someone making a addon
In reply to mosemister:
If i can get some knowledge base where i can find it? Like where will be some info how to "add ignore thing" or something else. I would be like to read some WiKi but can't find Wiki of Ships with full guides and config things.
Im trying to set EOT to ships.watership about 50 blocks and 10 seconds of waiting. How can i do that? Im using move ship from Ships Five, cuz its faster.
When i copy/paste from config file to Watership.yml its still not working.
I edited my ship file to try it out and still same 2 blocks EOT...
In reply to DariyaRainhart:
Sadly ships 6 was redesigned from the ground up, i havent had the time to do the user side wiki. The closest I have is
https://dev.bukkit.org/projects/ships/pages/ships-6-page
As for changing the eot. That will be in the ships main config. You can change all main config settings by a command
ships config set config <config key> <value>
The eot delay and speed is a config key option
Is it updated for 1.19.1?
In reply to maltster89:
Works with 1.17.2-1.19.2 so yes
Hello, is there any way to make the ship's move loading faster?
In reply to Gozzillas:
Short answer. Yes
Long answer. It depends.
When moving a ship there are essentially 3 parts to the move.
The first is working out what to move (the block getter/finder)
The second is checking the requirements
The third is the actual move
The first stage is actually asynced now, which means it wont affect your server no matter how fast it goes. It does pose some limits on my end though and im working on speeding that part up. So you cant speed that part up
The second stage is something you cant speed up (it also takes the least amount of time)
The last stage is where you can really speed it up. Essentially when a ship "moves" it removes all the blocks and then places the blocks back in the new position. It does this in batches that are completed every tick to make the server still run at the 20 ticks per second its supposed to.
By default it does 12 blocks a tick so thats fine for a tiny 100 block ship, but something you really notice with 3000 block ships. However its at 12 blocks a tick because a LOT of server hosts will put in Xeon processors (server processors) that work really well for normal server programs ..... However Minecraft server doesn't like this making the server act like a potato
You can in fact change this batch limit on the go with the following command
/Ships config set config advanced.block.movement.stack.limit <value>
Im on mobile currently, so please use the suggestions to fill it in for you
In reply to mosemister:
Ok thank you very much...
Another question: I've tried to use the EOT sign, because clicking every single time the
Move sign is not very confortable, But I noticed that when I use the EOT sign it does not move automatically every time... It moves just one time and then I have to click it again in order to move the ship... Any way to resolve this?
In reply to Gozzillas:
Sadly the automatic move tools (eot and auto move) are both in development and it is what I plan on addressing next.
Essentially it used to work, however you couldnt turn it off. After a lot of small tweaks it got to the point where I didn't like the code as it was too fragile. Meaning if you looked at the code the wrong way it wouldn't work properly.
It was something that i sadly missed in the design phase of the 1.13 conplete rewrite. But I have now designed a new EOT and autopilot codebase. Its just a case of writing it into Ships
In reply to mosemister:
Ok, thank you
In reply to Gozzillas:
Your welcome
In reply to mosemister:
Hey I made a submarine and a ship using only materials that were allowed by the mod (did some testing to find out) but they dont seem to work. I used a mini ship for testing and it worked but for the bigger ones it just doesnt work, sending the same error msg "cannot find ships:submarine.alpha".
Hello, I have an issue where my ship, which is mostly concrete and smooth quartz, says the ship isnt sailing in water when i have the controls at the wheelhouse, and just doesnt seem to load past "checking shiptype requirements" when i put them at the bow, nearer to the water. Do you know what could cause this?
In reply to thijzzyaboii:
There is a number of factors that can lead to that.
The most common one is that ships isn't detecting your whole ship.
You can do ``/ships ship <ship id> track`` to see what ships sees as your ship. It could be that concrete and/or smooth quartz arnt enabled as ships materials. It could also be that ships is picking up part of something else as your ship
When you say "it can't get past checking ships requirements" is that the progress bar stays after that point or it disappears? My guess is it disappears and then gives you the message saying it's not in water, but if it stays, it could be a crash, so I would check the console if it's staying
In reply to mosemister:
Thanks for the answer, i indeed figured out later that it wasnt detected the whole ship and ill fix that soon, The bar stays in the screen, so if it is a crash, what can i do to fix it?
In reply to thijzzyaboii:
Normally if it's a crash, it's something on my end, so a copy of the crash to myself so I can fix it sadly.
That being said, it could also just be a bug where the bar doesn't disappear, if that's the case, you can just turn off the bar in the config (or using the `/ships config set bossbar.visible false` command)
In reply to mosemister:
Luckily no need for a bugfix, apparently the problem was that the part of the ship it didnt recognise, was in the way of the part it did recognise, it just didn't mention this anywhere. Thanks for the help.