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 Jul 22, 2019In reply to danylwb:
It seems like your running Ships 5.0.1.14. which is not compatible with Minecraft 1.13 or better. Please make sure your running Ships 6.0.0.0, you can check what version your running with the following command.
/Ships info
-
View User Profile
-
Send Message
Posted Jul 22, 2019In reply to Mosemister:
it would seem you are correct I am running 5.0.1.14 I will swap to 6.0.0.0
Thanks! I will let you know if I have any more issues!
-
View User Profile
-
Send Message
Posted Jul 22, 2019In reply to danylwb:
Glad i could help
-
View User Profile
-
Send Message
Posted Jul 20, 2019Hi
The new version no longer causes the server to crash, but (Sticky Piston)
This material, after I click [Down] under the [Altitude] logo, the Sticky Piston will fall.
I will report this problem to you first, maybe wait for the next update, it can be fixed, and I will continue to use it. If I find the problem, I will report it to you again.
Your work and plug-ins make me awe. As you said, minecraft has 500. Multiple blocks, and each block has to be plugged in, so this work makes me feel very difficult, thanks to everything you do for the plugin.
-
View User Profile
-
Send Message
Posted Jul 20, 2019In reply to kevinhsneh:
I will take a look at the sticky piston error. Thanks for your patience.
The main issue im having is Bukkit does not have the ability to remove a double block (as in a block that takes two spaces). In regular minecraft a double block when broken will not drop anything, but instead it will remove the other block and that block would give the drop.
This means when I destroy one half of the block, the other is dropping the item. This meant I couldn't fix the issue with simply marking the block as Attachable. I had to get creative which is where the current fix comes from. By stopping any and all items from spawning on the location of a ship when that ship is in motion. The problem with getting creative is that others bugs normally arrise, or something goes wrong.
You can see parts of this plugin where I have needed to get creative such as activating no gravity when the ship is in motion to combat the long move times of large ships, which has caused the no gravity glitch I keep putting stops to, but somehow still continue to get reports of.
-
View User Profile
-
Send Message
Posted Jul 21, 2019In reply to Mosemister:
HI
After I repeatedly use the plugin, my personal thoughts are to be sugge understand programming, I think this plugin should work better.
Your approach. .
When the captain clicks the [MOVE] or [[Altitude]] sign, the captain becomes gravity-free first, then the position of the [MOVE] block is tracked, and the captain is teleported to that position, which allows the third eye to see the captain's body receding. The faster the speed, the farther the captain's body recedes.
my thoughts. .
If you can do it, click on the [MOVE] logo to make the captain's body invisible (such as stealth), and then appear in the position that should appear, maybe the effect can be better.
Second thought. .
Click [Wheel] whether it should be able to maintain the captain's gravity (because it does not seem to involve the movement of the block), so maintaining gravity allows the captain to turn in the direction of the turn.
As for. . The block falls due to a collision
>> Your original text
The main issue im having is Bukkit does not have the ability to remove a double block。。。
<<
I thought, does it mean that the block maintains the original properties of minecraft, and in fact, when the hull moves, if the block is first changed to a different property (for example, changed to an air block) and then moved, then the block is restored. Attributes, whether or not such a collision can be improved.
Maybe my thoughts are too naive, because I don't know how JAVA does this thing. This is my personal thought, I just hope that the plugin can be better.sted to you. Some of them may involve programming. Although I don't
-
View User Profile
-
Send Message
Posted Jul 21, 2019In reply to kevinhsneh:
Hi. So turning the player invisible will not do anything to help the issue that arrises from the no gravity issue. As mentioned before the issue is that longer movement times (caused by larger ships requiring more processing). Turning the player invisible will still make the player fall off the ship to there death (normally) and Ships will still need to disable the invisible which seems to be the problem.
As for the wheel sign, it sadly uses the same code. Not only that but sadly the no gravity is still needed for if the player is close to the edge of the ship and the block they are standing on no longer exists after the move.
As for keeping block properties. You are correct in the fact that Ships maintains the block properties of the old location even if that was destroyed, however turning the block to air will still cause a block to drop. (Ships actually turns the entire of the old location to air first before spawning the ship in its new location).
I have been thinking of other ways to get around the no gravity issue, one of which is to not turn the ship to air instead change the new location first and then remove the old location if the blocks have not been replaced. However there is a chance of the player ending up inside a wall with that one.
Another idea was to teleport the players with the block they are currently standing on. However due to how complex the movement is already, adding a check to all the blocks while moving will reduce the speed considerably.
There are more ideas, however they all came with dire issues, those two were the most logical though.
-
View User Profile
-
Send Message
Posted Jul 21, 2019In reply to Mosemister:
Yes, [Wheel] is my idea too naive, the code should be the same, the problem is less
As for gravity-free, it is necessary, or you have already worked on the whole code, and you have done a thorough consideration. Your approach has been perfect. Any change will not help solve the problem. You are right.
I am thinking of an idea for your reference.
Suppose this plugin limits the position of the player standing, is it OK?
For example. .
For example, let the player stand on a brick. . Or a piece of wood, click on the [MOVE] sign to move the boat forward. If you don't stand on this brick or board and click [MOVE], the boat will not have any movements. This allows the player to establish the position of the ship. However, does it mean that the code is more efficient, and it is not necessary to search for the position of the player to fall or not, etc.
After moving the block, the player still stands in this position.
This is also in line with the actual sailing situation (after all, the captain will not stand in the corner of the deck to sail), such restrictions, the player accepts a large degree, may be able to reduce the complexity of the plug-in code, and then use better code in the other Place, not to check the player,
I don't know if it helps. .
The above is just my thoughts
-
View User Profile
-
Send Message
Posted Jul 21, 2019In reply to kevinhsneh:
Sadly it doesnt help. Due to the fact Ships can move any distance (just change it in the config for the ship) the player (and all entities) must be tracked.
Limiting the block that the player can stand on will not help either, as this will only restrict freedom for the player.
Like you said, the code works currently with very few bugs, so I wont be changing it any time soon.
-
View User Profile
-
Send Message
Posted Jul 17, 2019Found a bug while trying to use this plugin, I installed it into my server and suddenly no items would drop anymore. Break a block and nothing drops, drop an item and no drop spawns in, etc, etc.
Found out that this plugin was doing it after I took it out and stuff began dropping again.
-
View User Profile
-
Send Message
Posted Jul 17, 2019In reply to Vipersden01:
Well thats strange. You can use the previous version (alpha 1.11) which will fix that. Ill take a look to see what's happening.
-
View User Profile
-
Send Message
Posted Jul 17, 2019In reply to Mosemister:
Thank you. Also using Spigot version 1.14.3 if that helps at all.
-
View User Profile
-
Send Message
Posted Jul 18, 2019In reply to Vipersden01:
Normally it does however this particular issue is (as you said) effecting all items, therefore it will be a issue that effects all mc versions.
-
View User Profile
-
Send Message
Posted Jul 19, 2019In reply to Vipersden01:
Just uploaded a new version that should fix the issue you are having. It is now waiting for approval
-
View User Profile
-
Send Message
Posted Jul 11, 2019Ships 6.0.0.0 Alpha 1.11
This is a small update, the main reason is some stuff came up and I just needed to relax afterward. However there are two changes, these two changes fix two of the issues found on the common issues for Ships 6 spreadsheet (mentioned above).
Anyway enjoy
-
View User Profile
-
Send Message
Posted Jul 10, 2019I really appreciate your positive and efficient updates to the plugin. I have found that your plugin is really great these days. Using your plugin can be combined with a lot of new creative games to make the (minecraft) game more interesting. Thank you. Everything you do for the plugin.
-
View User Profile
-
Send Message
Posted Jul 10, 2019In reply to kevinhsneh:
Im glad the plugin is working for you now. Thank you for using it too. If there are any features that you would like added, by all means make a post.
-
View User Profile
-
Send Message
Posted Jul 15, 2019In reply to Mosemister:
HI
I tried setting [Sticky Piston] to MATERIAL and then adding [Sticky Piston] when building.
The result is that Sticky Piston is OK when it is not advanced, but clicking [MOVE] after the advancement will drop. . (same as the previous torch and lantern)
Can you fix this part next time?
Is there a way to make this plugin support [Sticky Piston]?
Let me give a few examples.
For example, I can use the Redstone circuit with Sticky Piston. After pressing the button, let the ship become a spaceship (such as spreading wings), or put down the wheel when the plane landed at the airport, or let the ship dock on land, you can put down the bridge. .
Using [Sticky Piston] in the SHIPS plugin can make the ship's manufacturing very interesting. If necessary, I can provide an MP4 video, demonstrate how to use the piston to turn the ship into a car, or turn the car into an airplane, and let the plugin support the use of Sticky. Piston, can make this great plugin more interesting, thank you
-
View User Profile
-
Send Message
Posted Jul 15, 2019In reply to kevinhsneh:
Ill take a look into it for fixing pistons (sticky and normal). Ill update ships when I can.
Just note that that will probably be the only change on that update. Still haven't had much time to do things
-
View User Profile
-
Send Message
Posted Jul 16, 2019In reply to kevinhsneh:
Just uploaded the fix. Just waiting approval