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
Nice Plugin :)
In reply to M_Pug:
Thanks
Hi, so me and a Friend were messing around on his server and we remove all Glazed Terracotta from the ship blocks list and it broke the ships to where they only detect the Ship sign now.
In reply to star_chaser1:
Hi. So the YML file type needs to follow some rules. By not following these rules it results in the file being unreadable. The errors your getting are from Bukkit where its attempting to read your file and can't.
Looks like you have two. The first one looks like you have added a tab in before the "CollideType" on line 2000. YML doesn't know how to deal with tabs. So what I would do is open the BlockList file in your favourite editor, open the replace option and replace tab (the key with two arrows pointing left and right, typically just above capslock) with 4 spaces.
As for the second error. The BlockLimit need to be classed as whole numbers. While -1 is a while number, by putting single quotes around it, it turns it into a word (or multiple words. In programming its called a String) so removing those single quotes should fix that issue.
I've have an odd problem. when i try to move my airship it slowly breaks apart the ships block by block then replaces them block by block & i get stuck floating in air. I dont get any error in the console. Using the latest version of paper. I thought maybe is has something to do with the fact that the airship is below sea level?
In reply to Decabyte0110:
That is a odd problem. I know what is going wrong though. When a ship moves it removes all entities that can be removed, for those that cannot be removed it disables the gravity and then once the ship is in its new position it recreates the entities that were removed in the new position and teleports and reenables gravity.
It sounds like those two last steps didnt happen for some reason (got no idea how). if you put yourself on a ship and move it, hopefully it will correct itself.
Sadly the gravity of a entity is persistant as its part of minecraft itself so disconnecting and reconnecting or restarting the server will not help. If the ship moving doesn't help. Could I see the server myself to see whats going wrong?
New update inbound:
This next update won't have many new features unless your a developer.
So a little context. Ships is designed for ShipsCore which is the translation layer. ShipsCore translates "Core" to either Bukkit or Sponge. For the most part, Ships has done the Bukkit version very well however did a lot of hacks to get it working with Sponge as Sponge's latest is for MC 1.12.2. A few weeks ago Sponge announced that the 1.15.2 plugin code was roughly ready, so "Core" has started development with the new version (which is nothing like the 1.12.2 version as it should be)
As Sponge 1.15.2 doesn't ever try to keep things the same as its legacy version (as it doesn't make sense), Sponge can take advantage of a lot of modern day things that even with 1.16.4 Bukkit you cannot do without hacky methods.
This has lead to a lot of changes to get "Core" working with both the modern day stuff Sponge allows and the Legacy stuff Bukkit still uses.
This may lead to breakages with supported plugins (all first party Ships 6 addons will get a update) and may even lead to bugs within Ships itself. Sponge is one of the reasons why Ships hasn't come out of beta yet, so its getting one step closer.
The following has changed/been added
Text - the old text system is still in place, but there is a new one more designed with the new Sponge text system
Command - yep, finally the new command system is being added, legacy commands will still be default until all commands are added
BlockSnapshots - Sponge didnt change this, it now requires a BlockPosition as its generics instead of any position type which then acts as a BlockPosition.
Plugin Launch - Sponges new command system cannot register commands on the go, so the plugin launch now requires the commands to be registered in its own method.
Maybe more, the update isnt finished yet
I also probably have a surprise soon about documentation with Ships 6.
In reply to mosemister:
Very cool!
Thanks for keeping this alive and being active with the community!
In reply to Forge_User_25007278:
Your very welcome and will do
In reply to mosemister:
Here is one of the benifits of the new command system.
This is showing that the BlockList set command can now accept both BlockGroups and BlockTypes instead of what legacy can do which is just BlockTypes. This means if you wanted to change all colours of wool, before you would need to type the ID of each wool blocks. Now you can just type the block group which adds all blocks.
In reply to mosemister:
I've actually thought about that, cool that you made an easier way to configure that!
Hey man, I'm having an issue with my ship where its telling me that my wool is in the way, I'd be inclined to remove it if it that wool didn't make up the sails of my ship. Its kind of an old-school wooden warship with sails, I'm sure you understand. I have no idea how to fix this short of removing the sails entirely which I don't really want to do because it'll obviously ruin the build. Any tips/ideas/fixes for this? Running it on a server. Thanks.
In reply to ReaperOneActual:
So the mostly likely situation is that Ships isnt detecting the wool as part of your ship.
The first thing i would do is run the track command "/ships ship <ship id> track" which will turn your ship into bedrock for 10 seconds for just yourself (so dont worry, its not actually changed). This will essentially show you at what point Ships stopped tracking your ship.
After that I would take a look at the blocks that didnt get tracked and make sure they are blocks within the block list and make sure they are connected by a block face (as in not diagonally).
Another reason why they arnt being tracked is your ship is larger then the max track size set in the config. If you right click the [ships] sign it will tell you the size of the ship. You can then compare that to the track size within the config, if it is at or close to one and another it means that the ship exceeds the track limit, you can increase the track limit size if you want however it could be that part of the ship is detecting your land as the ship, in which you would just disconnect that land.
Hope that helps. If your struggling then just send me the ip of your server and ill take a look myself
Where is the file where I can edit what blocks can be use to make a ship because it is not there, My Ship cannot move because it has Chain, Lantern, Spruce_Planks, Brewong_Stand, Barrel, Dark Oak Trapdoor, Oak Trapdoor, Spruce Log, Spruce Fence, Red Wool, Spruce Stairs, Dark Oak Slab, Bell, White Wool. This makes no sense at all and it is frustrating. When is an Updated Version coming that actually works with stuff in game that makes sense as well as a File where I could Edit that type of Information.
Currently just in the Config File Folder there is (Blocklist, Config, Messages) those are the only YML Files in there, I thought maybe the blocklist file is where I could edit which blocks can be used but no it is not, help would be appreciated.
In reply to spor7y01:
Hello. So the file to edit block information is the BlockList.yml file. From the sounds of it the BlockList file of yours is corrupt, if you delete the file then it will regenerate a new block list file which won't be corrupt.
As for the update that adds blocks that came out after 1.13. That will come when Ships 6 is fully released.
In reply to mosemister:
Hi, Thanks for the fast reply. When I go into the Blocklist.yml and change them from Collide Objects to Material Things it does not work. also is there a release date on ships 6?!? Thanks
: )
In reply to spor7y01:
When you change the values, is the server shut off? Your saving the file and then turning the server back on?
There is also a command to change the BlockList. There is currently a bug where some blocks would register to be others, so if your trying to register smooth stone it may treat that as smooth stone stairs so just be warned about that. Im trying to get that bug fixed before the next update.
As for full release, no schedule as it depends on the Sponge edition. Sponge itself needs to update to 1.13+ (they have been working on 1.15.2 version). Once Sponge 1.13+ releases I can work on Ships for it. There maybe some major changes that need to occur to get Ships working on Sponge as it is completely different to Bukkit (In a good way).
After that there is a few changes to Ships itself that I want to do. Sort out the command system, add the new ship types, get auto pilot up to the standard I expect, etc.
After release 1.13 support will probably be dropped as Ships is currently doing a hacky thing to get 1.13 supported currently which has prooven to be a nightmare to implementations of Bukkit that add something to the API (such as Paper). So 1.14.4 would be the minimum supported version so all the blocks in the list will definitely have 1.14.4 in mind and will probably have 1.15, 1.16 and 1.17 blocks too.
Hello! Amazing plugin! I've been using it for some time but now I'm using it on my own self-hosted paper server, the submarine sign doesn't work and the plane sign keeps telling me it's checking the requirements but doesn't go on. Do you know why this is? On a server i had which was a free server on minehut the plane did work. Love the plugin!
ps: when i have something with an inventory onboard like a chest or furnace i keep getting fault-codes in my cmd, not that it's a big issue just want to report it here :).
In reply to Forge_User_55116299:
How do you mean "faulr-codes"? Do you mean errors? If so what errors?
As for your main issue, there are no known issues that fit that description.
Whats your MC version and Ships version?
In reply to mosemister:
codes that say there was an error with the moving of chests but on the ship itself the chest just moves with it so that does work, i play on 1.16.3 on ships 6.