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 chrisknyfe:
I have started documentation on the configuration. Hope this helps.
https://dev.bukkit.org/projects/ships/pages/ships-6-page/ships-6-configuration
I'm having issues concerning the last release, when I try to make a ship's license sign, i put on everything that is asked and absolutely nothing happens, what can i be doing wrong?
In reply to patrocinio_ptr:
If you take a look at console are there any errors? If not, what version does ships say it is on the command?
/Ships info
In reply to mosemister:
[Server thread/ERROR]: Could not pass event InventoryClickEvent to Ships v5.0.1.14
org.bukkit.event.EventException: null
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:320) ~[server.jar:git-Spigot-800b93f-8160e29]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[server.jar:git-Spigot-800b93f-8160e29]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:529) ~[server.jar:git-Spigot-800b93f-8160e29]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:514) ~[server.jar:git-Spigot-800b93f-8160e29]
at net.minecraft.server.v1_15_R1.PlayerConnection.a(PlayerConnection.java:2147) ~[server.jar:git-Spigot-800b93f-8160e29]
at net.minecraft.server.v1_15_R1.PacketPlayInWindowClick.a(SourceFile:32) ~[server.jar:git-Spigot-800b93f-8160e29]
at net.minecraft.server.v1_15_R1.PacketPlayInWindowClick.a(SourceFile:10) ~[server.jar:git-Spigot-800b93f-8160e29]
at net.minecraft.server.v1_15_R1.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:19) ~[server.jar:git-Spigot-800b93f-8160e29]
at net.minecraft.server.v1_15_R1.TickTask.run(SourceFile:18) [server.jar:git-Spigot-800b93f-8160e29]
at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.executeTask(SourceFile:144) [server.jar:git-Spigot-800b93f-8160e29]
at net.minecraft.server.v1_15_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) [server.jar:git-Spigot-800b93f-8160e29]
at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.executeNext(SourceFile:118) [server.jar:git-Spigot-800b93f-8160e29]
at net.minecraft.server.v1_15_R1.MinecraftServer.ba(MinecraftServer.java:918) [server.jar:git-Spigot-800b93f-8160e29]
at net.minecraft.server.v1_15_R1.MinecraftServer.executeNext(MinecraftServer.java:911) [server.jar:git-Spigot-800b93f-8160e29]
at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.executeAll(SourceFile:103) [server.jar:git-Spigot-800b93f-8160e29]
at net.minecraft.server.v1_15_R1.MinecraftServer.sleepForTick(MinecraftServer.java:894) [server.jar:git-Spigot-800b93f-8160e29]
at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:828) [server.jar:git-Spigot-800b93f-8160e29]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_181]
Caused by: java.lang.NoSuchMethodError: org.bukkit.inventory.Inventory.getName()Ljava/lang/String;
at MoseShipsBukkit.Listeners.BukkitListeners.inventoryClick(BukkitListeners.java:512) ~[?:?]
at sun.reflect.GeneratedMethodAccessor95.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_181]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_181]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:316) ~[server.jar:git-Spigot-800b93f-8160e29]
... 17 more
In reply to patrocinio_ptr:
That is not the latest ships. Thats version 5.1.0.14. for Ships to run on Minecraft 1.13 or newer you require Ships 6. You can find the links to all version here.
https://dev.bukkit.org/projects/ships/files
hi I downloaded this to my server , I followed your steps but when I try to make a ship license the letters all stay black and no ship is registered. any suggestions would be great. server is spigot `15.2
thanks
nvm. I'm dumb.... didn't read other people.... I installed the beta and now it works .... thanks!!!!!
In reply to XIII_Aces:
Glad to see you got it working.
Sorry for the confusion.
In reply to mosemister:
lol actually it keeps crashing my server, but I think its because of the size of my ship... maybe... I've tried the top 3 alpha versions and the beta with the same effect. I am going to try a plugin addon for world edit that slows the blocks movement down and maybe it might help... I'll keep you posted
In reply to XIII_Aces:
Actually world edit doesnt slow down anything. Ships doesnt interact with world edit at all. So it wont change anything.
Have you got a crash report? If so post it on pastebin.com and share the link here for me to read it. Make sure the crash report is for the beta. It makes it easier on my behalf.
Hello! Great mod you guys have been making our server loves it!
I have a question regarding the [wheel] sign. Everytime me or a buddy uses it to turn the airship, half of the blocks are gone (furnace, fire, other sign commands, etc.) any way to know why this happens?
Thank you!
In reply to joescurfew:
I can tell you that isnt supposed to happen. Have you got a sever log? Ships is probably crashing for some reason and I log will tell me whats going on.
Hello! My server used to use an earlier version of Ships when you could configure things from ship speeds, to how far they can go in one click, and to control the percentages of the blocks you need for a ship.
Wanting to get back into the plugin, I re-installed the plugin for 1.15.1. There aren't many issues other than it lags my server (my server is to blame.) The "issue" I have is that there used to be lots of configuration for the plugin, but now in the 1.15.1 version, that configuration is a lot less? I can't change ship speed or the percentage needed for wool anymore. Could you possibly add this back or is there a version that I could use with more custom-ability?
In reply to Cataribean:
Hi, thanks for using Ships.
Ships 6 is still in beta so a lot of the configuration options have been left out, however come release of the plugin they will return.
With that being said configuration options such as "percentage" and the speed of the ship are included in the configs already on a per ship and per ship type bases.
They are located in the following folder for the per type
<Root>/plugins/Ships/Configuration/ShipType/<Ship type you wish to modify>
as for the nodes for each ability, speed is typically at the bottom of the file, you can change the altitude speed as well as max speed. For a node comparison here you go
Speed.Max: 10
Speed.Altitude: 2
As for percentage of wool (im assuming for the WaterShip and/or the Airship), the wording was changed due to the introduction of "Custom ShipTypes" that allow you to make a copy of the ship type with another name as well as new values in the config. Anyway, the percentage for the "Special Block" can be found typically near to the top of the file. For node comparison here you go
Block.Special.Percent: 60.0
If the values are not there then it may mean that the config file didnt get produced correctly, in which case you can either delete it or rename it for a new file to take its place.
Also just so you know, Ships 6.0.0.0 is a complete reprogram of Ships from the ground up so there will be features missing currently, however this gave the perfect opputunity to fix a lot of the underlying issues found in Ships 1-5 which includes the lag that Ships provide.
While still experimental there is a config option in advanced that allows you to move your ship much more slowly, however reduces the lag that is caused by Ships. This means that the server would be able to handle huge ships without a hint of lag if the option was turned on. Its a bit experimental but the option is there.
I hope that helps, if you have any questions or issues (including "issue") then please contact me, always love to help.
Hello everyone, maybe someone know why i have a problem with this plugin on my nukitx (pocket) server?
I have special plugin, he called 'Pokkit' to add Bukkit Plugins to Pocket Servers, but i have this problem with only ship plugin:
[URL=http://vfl.ru/fotos/6c48a63129704216.html][IMG]http://images.vfl.ru/ii/1582734561/6c48a631/29704216_m.jpg[/IMG][/URL]
[URL=http://vfl.ru/fotos/4e22e12f29704232.html][IMG]http://images.vfl.ru/ii/1582734615/4e22e12f/29704232_m.jpg[/IMG][/URL]
In reply to miragercm:
Hi there,
In your first image it says your running "Ships v5.0.1.14" and also says that you are running "Nukkit version v1.14.0 (implementing API version 1.13.2" meaning that you can only run 1.13.2 minecraft plugins or better.
Ships 5.0.1.14 does not work on 1.13.2 or better. You can use the Ships 6.0.0.0 beta that does work on 1.13.2 and better. You can find the links here.
https://dev.bukkit.org/projects/ships/files
Please note that I am more then happy to help you, however running Ships in an Emulated enviroment (essentially what your "pokkit" plugin is) is not supported.
Hope that helps ;)
Edit:
Just attempted to run the latest version of Pokkit, due to Pokkit not giving a "MC" when getting the Minecraft version, it will not work.
Ill have a go at getting Ships working on Nukkit with Pokkit, but im not promising full compatibility.Edit 2:
After fixing that issue, I found that Pokkit does not support the class of 'Tag'. This is something Ships relies on, without it Ships would not be able to detect that both "white_wool" and "black_wool" are both wool types (as well as other blocks).
The following link is the code that needs to be changed to get it working.
https://github.com/PetteriM1/Pokkit/blob/c50457d96264b2425d738c405ac8123a493fa01e/src/main/java/org/bukkit/craftbukkit/v1_99_R9/CraftServer.java#L607
In reply to mosemister:
Thank you for your answer.
Unfortunately, im understand in programming not so much. I can't do this myself. Maybe i should wait before author of Pokkit make a new version of this plugin, or?
In reply to miragercm:
Sadly you do need to wait for a new updated version of Pokkit with the "Tag" system in place.
If you go to the code link i sent before and hit the "issues" tab at the top. You can state your interest in the tag system being done and hopefully the developers of pokkit will see it and introduce it.
In reply to mosemister:
Ok. Thank you for this good information!
In reply to miragercm:
I should also note that even after they add the Tag system, Ships still may not work, there maybe another part of Pokkit that makes it incompatible with Ships.
Hey in Minecraft 1.15.2 I get the error failed to find licence sign when clicking the move sign, but the wheel sign works as expected.
Any advice on how to troubleshoot this