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 mosemister:
i havent i dont have access im just a helper trying to help fix issues. later ill make a video of it happening and show you. if you would like to join our server to see it for your self im sure the admin would give you creative to test some stuff. play-kineticmc.nitrous.it
In reply to Nymphophobia:
Just came onto your 1.15.2 server. You are running Ships 5.1.14 which is only compatibile with MC 1.12.2.
Please update to Ships 6.0.0.0 for minecraft 1.13+ support
This plugin is infuriatingly close to working on 1.15. THIS CLOSE.
In reply to t4sh1:
What's not working on 1.15?
In reply to mosemister:
Well, to be honest, most of the plugin doesn't work on my server. :/
Airship Move sign doesn't change speed. EOT works though.
Watership Move sign works, but EOT gets stuck and the ship just goes until it can't.
If the ship is made out of seemingly anything other than planks and wool it breaks and the ship starts sinking.
Changing stuff in the config doesn't seem to change in-game stuff. Like increasing Max speed for any of the ships types doesn't work. I set Speed to 15, 50, 99, 120, but I can still only go 10 blocks at a time.
And most of the commands don't work.
Half the time when I can get a ship made, and try to move forward even a few blocks, the server lags hard. We have 6 gb of ram. :/
In reply to mosemister:
Sorry if I'm not giving helpful feedback. :P I super appreciate you responding!
I'm using an autoupdated Spigot 1.15.2. Shockbyte is my host.
I'm certain on a server with compatible plugins and proper config this plugin rocks; and I understand that just by it's nature it's going to use resources. I only plan on using this myself, just for an OP Airship, but with the server freezing and crashing it's been frustrating getting it to work.
Let me know if there is any info you need. I super appreciate any help. (I'll try to grab some lines from my console for ya)
In reply to t4sh1:
Hi. So what version does ships say it is when using "ships info" command?
Did you right click or left click the move sign?
Are the blocks you used registered in the blocklist? Also what ship type did you register?
Setting the max speed will only affect the move sign which you can change the speed on the sign (the number at the bottom of the sign - if no number is there then its the default speed of 2)
What commands did you try?
Lagging hard is a common issue, there are fixes but ill tell you after the other issues your having as it is different for every server.
In reply to mosemister:
Hi! Sorry for the delay. Here is the info you needed. :)
The version is 6.0.0.0
Beta version 2.1
I right click the move sign to change speed, but speed doesn't change on an Airship(stays blank at the bottom).
The blocks I used are in the Blocklist file, but it looks totally different than in the tutorial video, I had barrels on one of my ships but it says DETECT_COLLIDE for barrels. Should that be changed to MATERIAL?
And yeah, I set the Max Speed in the ship type .yml but the Move sign only goes as high as 10. I've been using EOT to go faster than 10, but like I said it freezes on Ahead with Airships.
For commands,
Ships Autopilot returns ships <args>
Ships Developer returns the same no matter the argument.
Ships Fixes also returns ships <args> whether it's teleport or facing
Ships protected -> ships <args>
Ships reload Configs -> ships <args>
Ships sign track x -> ships <args>
Ships teleport -> ships <args>
In reply to t4sh1:
its ok. The documentation on this page is for Ships 5, Ships 6 changes a lot including the commands and file structure. You can find the documentation for Ships 6 here.
Ships 5 blacklist used number value which was scrapped in favor for English ids, as you have found out. The values are DETECT_COLLIDE, MATERIALS, and RAM. So yes if you want to use the Barrel as part of a ship's structure.
I will look into the speed on the sign, speed was done in an early alpha of Ships 6 so I may have edited something that disabled it and didn't realize it stopped working. The controls for the move sign should be that you left-click the move sign to move forward, right-click to increase speed, and sneak + right-click to decrease the speed.
I'll also see what I can do about the "usage" dialog you get for an incorrect command to give something more useful than the default "usage" message.
Edit:
When you change the speed for the ship are you changing it in the ShipType config or the ShipData config?
In reply to mosemister:
I've tried changing Max Speed in the VesselData(in the ships specific .yml file) as well as the ShipType template file. :)
Thanks for the help! I've gone through the blocklist file and set it up for my build materials, and I'm thinking I'm going to just copy it, remove the .jar and plugin folder, and reinstall(to cover any changes I may have made that cause problems. I'll keep you posted.
OH! And thank you thank you for that link to Ships6. If I'm feeling especially ambitious when I get this all working I might make an updated tutorial video. x)
In reply to mosemister:
In reply to t4sh1:
Interesting development.
Before reinstalling everything I thought I would try building a new MarsShip that was super simple, and test it out. IT works, mostly. I am only able to change the speed on the Move sign while the boat is facing West(sign on East side of block). But, License sign gives ship info on right-click, Wheel sign turns both ways just fine, Move sign left-click moves ship forward(no matter what direction) and Altitude sign moves ship up and down(how do you change the speed of that by the way?).
So, progress. It seems that something about the other craft is causing issues. Another important detail, when interacting with the signs on the larger MarsShip(after changes to the Blocklist file, after replacing the License sign, and after a full restart) it not only causes lag but disconnects everyone from the server. I'll slowly add blocks, and try different x/z dimensions to see what's causing the problem.
I'll be adding images to this folder if they help at all: https://drive.google.com/drive/folders/1WXm6iTEKgLHfFStTdQzssEGTsaD8Ucm-?usp=sharing
In reply to t4sh1:
Signs seems to be acting mosting correctly. Strange about speed thing on the move sign only working if the ship is in one direction. I recently found a direction only give different result on the sponge version of ships, so they maybe related.
As for the altitude sign, if you sneak and then left/right click the sign, the speed will change.
A new video tutorial would be awesome. But only if you want to.
As for lag, i know what the issue is, like i said before, there is a fix but its different for every server. It uses the advanced options which arnt as scary as they sound, especially if you use the "ships config" command. So personally I want to get the speed issue your having fixed before we moved onto that one.
In reply to t4sh1:
Hi, just tested the speed function within Ships 6.0.0.0 beta 4. I have found that some ship types ignore some values found inside there own config (as well as the custom variant of the same ship type). Resulting in any ships made from the template will actually be created from the default values.
As for the ships specific file, all values seem to be functioning correctly, no matter what rotation the shiptype is in. Therefore I can not duplicate the issue you have. If you private message me your server IP, I can take a look myself and see whats happening on your server to activate this issue.
In the meantime I will work on a fix for the ship types ignoring its own config. It may take a while as I have been wanting to change the config up a little to make it so they take up less data and can respect if the template changes. So there is plenty of time for me to see the issue and get a fix in this upcoming ships version.
In reply to mosemister:
I had a feeling you wouldn't be able to duplicate the issue; seems to be pointing toward a plugin conflict. Hmm. I messaged you with our server ip and turned off our whitelist for now. :)
I had a feeling it was sneak to change Altitude speed, but that doesn't seem to work either. Hmm.
Hello there, awhile back you had mentioned that you were working on a version of ships for spongeforge, or more precisely that you were working on a bukkit emulator for spongeforge to run ships on. I was curious to know if you had ever attempted making a client side version of ships for single player? I'm completely unaware of what challenges that would present, but I wanted to ask nevertheless. Thank you and good day
In reply to spynathan:
Hi.
Yes i have been working on a sponge version of Ships, you can find it by clicking the "Ore" image near the top of this page.
Yes I have been working on a Bukkit Emulator for sponge which can run some plugins (but not Ships yet) and i am yet to release that.
I have thought about a client mod and looked into the logistics. Building a client and server mod are similar if your using Forge as the minecraft code has been designed to be very similar on the server and client.
I ended up against doing a client mod of Ships as I instead started work on the Sponge version. As sponge can run on the client and the server with its plugins being able to work on both. I figured if users wanted a single player version of Ships, they can use the Sponge version.
That being said, I havent payed as much attention to the sponge edition just yet as I started it when my thesis started ... So my thesis got the attention.
I should be going back to development of the sponge edition very soon
In reply to mosemister:
Thank you for the in-depth insight, much appreciated. Keep up the good work.
I also had no idea that sponge works in single player, thanks for pointing that out.
In reply to spynathan:
Your welcome. Thanks for using Ships
the plugin is lagging very much, it is unrealistic to move, because of it, the server generally crashed,I would like a more functional plugin. Kernel version 1.15.2 spigot
In reply to black_cr_:
There are a lot of technical reasons that are formed from Minecraft on why that happens, more than happy to explain it but its a lot, so I won't unless you reply.
There are some experimental features that can mitigate the issue your having and in the next update a huge experimental feature within the config that essentially removes one of the technical issues.
There is one none experimental feature that mitigates the issue, however, it makes ships more inconvenient to update the structure.
I hope you can understand that sorting something like this isn't like adding a new feature or just turning something on or off. Ships 6.0.0.0 was built from the ground up to be designed to reduce the lag that occurs when moving, yet I do realize that it's still not perfect.