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
@InfinityAspire
Plugins dont have the ability to modify that part of the code .... They can launch that code with its own values but its unlikely. How do you get your spigot, do you build it yourself? Download it from a website or select it from a menu (last one only applies for 24 hour servers)?
As for ships 6, development on the bukkit version has started and you may see a very early pre release during this month but dont get your hopes up too high.
@MoseMister
It quite literally shows any time there's an explosion, ships just seems to error out after a few minutes of uptime. It's fine at the start. I have a feeling it's more of a conflict between plugins than anything. How goes progress on Ships 6?
@InfinityAspire
Then i dont understand why bukkit is throwing that error. Does it happen a lot?
@MoseMister
I'm using Spigot 1.10.2 connected using Bungeecord, no modifications
@InfinityAspire
Thats caused by Bukkit not knowing what Entity (Mob, animal, TNT, etc.) just exploded? are you using a custom bukkit or something?
Getting an error with ships, no ymls edited; http://pastebin.com/VJ3BvPkE
@EvanDawesome
How are you writing your licence sign?
Line1:
Line2:
Line3:
Line4:
Is anyone else getting the "name taken" message when there is only 1 name in use on the entire server?
@InfinityAspire
I was not aware of this issue. I will be fixing it in the next update
How ships 5-6 work with the player checking is Ships saves the Unique ID number linked to your player. After that when ships boots it create a Offline version of your player, from there it checks that you are that offline player. Due to how bukkit works, it thinks that you and that offline player are not the same
Creating and piloting ships works great for me, however when I logout and login it doesn't believe the ship I've created is mine. My IGN is Sequacious yet I receive the message 'Vessel is owned by Sequacious'
@MoseMister
think you ,i restart the srver . now its run very well。
@zyyapp
I prefer if the error messages come as a paste bin link so it doesnt fill up the whole page and keeps the formatting, but its fine.
The problem is the important bit of the error as been cut off at the end of your message. All I know is that Ships is failing on a event due to castException.
I will say, the most common cause of castException is where a ship has tried to move, but didnt and did not fail. What is happening there is Ships thinks the ship has moved and updated the location of the ship to somewhere else. So when you try and move the ship again, it will bring up castException. The temporary fix for this is to restart the server. However the permanent fix is something im still looking into.
the problem is I can not replicate the error and I have no idea what is causing the ship to think its moved, therefore i can not fix the bug
@zyyapp
sorry,i can not find where the error page,so ....i post here.
[15:45:52 ERROR]: Could not pass event PlayerInteractEvent to Ships v5.0.1.9 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) [spigot.jar:git-Spigot-c3e4052-6c1bb2d] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [spigot.jar:git-Spigot-c3e4052-6c1bb2d] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot.jar:git-Spigot-c3e4052-6c1bb2d] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot.jar:git-Spigot-c3e4052-6c1bb2d] at org.bukkit.craftbukkit.v1_10_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:231) [spigot.jar:git-Spigot-c3e4052-6c1bb2d] at net.minecraft.server.v1_10_R1.PlayerInteractManager.a(PlayerInteractManager.java:492) [spigot.jar:git-Spigot-c3e4052-6c1bb2d] at net.minecraft.server.v1_10_R1.PlayerConnection.a(PlayerConnection.java:890) [spigot.jar:git-Spigot-c3e4052-6c1bb2d] at net.minecraft.server.v1_10_R1.PacketPlayInUseItem.a(SourceFile:55) [spigot.jar:git-Spigot-c3e4052-6c1bb2d] at net.minecraft.server.v1_10_R1.PacketPlayInUseItem.a(SourceFile:11) [spigot.jar:git-Spigot-c3e4052-6c1bb2d] at net.minecraft.server.v1_10_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot.jar:git-Spigot-c3e4052-6c1bb2d] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_65] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_65] at net.minecraft.server.v1_10_R1.SystemUtils.a(SourceFile:45) [spigot.jar:git-Spigot-c3e4052-6c1bb2d] at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:733) [spigot.jar:git-Spigot-c3e4052-6c1bb2d] at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:399) [spigot.jar:git-Spigot-c3e4052-6c1bb2d] at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:672) [spigot.jar:git-Spigot-c3e4052-6c1bb2d] at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:571) [spigot.jar:git-Spigot-c3e4052-6c1bb2d] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_65] Caused by: java.lang.ClassCastException
@CrezzaC
Yes, When you modified that file, that will then set each and every newly created ship of the specified type. So if you are modifying the Airship file, it will change every newly created Airship to those modifications.
Sadly there is no way to modify all ships of the same kind even if they are newly created yet. However you can modify your own ships by going into the ships file (/plugins/Ships/VesselData/) and modifying it there.
@MoseMister: Is there a way to modify the maximum amount of blocks on a ship, I've seen a .yml file that has "Blocks" and "Max" and the number of max blocks the same as my ships. I tried modifying it to 5000 but it still has the same number 3750. Is there a way to modify this?
@zyyapp
thats strange, the detection of the ship doesnt touch the protection side of ships. If you would please track the ship that isnt moving and tell me if all the blocks are shown as bedrock?
@CrezzaC
yes, this is a common issue and its due to the fact of me mainly. It is really easy to fix though. If you go into the config file for ships (/plugins/Ships/Configuration/Config.yml) you will see a section called Messages. From there you can change all the messages to suit what you need, You will find the message of "tooSmall". Change higher to lower in that message
Hello, I've encountered a problem with making an airship, It keeps saying the following message which does not make any sense what so ever. " [Ships] The current size of your vessel is 4012, Your vessel needs to be 3750 or higher." Can this be fixed?
when i click move sign ,ships sign can not be found.when i chang blockBreak: true
@zyyapp
ah thats fair enough, I forgot to put the permission it uses on the change log.
ShipsLock only has a single permission to use the sub pilot part (and the whole plugin)
ships.command.subpilot