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
Do you know a way to change the ship-level from the normal minecraft water-height 64 to 37? Or would you need to reprogramm your plug-in?
@anisredbull
to be in the water, your sign needs to be [ships] ship
rather than [ships] airship
[Problem]I made an airships 3 blocks deep in water and when i try to move it , it says obstacle on course! What can I do?
@lashedspace677
I had the same problem, the way i fixed it was i moved it a bit closer to the burners [netherrack].
@lashedspace677
put it closer to the [ships] sign.
ok here is my problem every time i make a good ship it says Ship doesn't have a burner! how do i fix this even though it has a burner?
The plugin are functions well upto .14.7.
All your problems i also have sometimes ago.
- the allow list is incorparate and not configural. (see above to the list)
- 'Obstacle on course,' Some block are not allowed. Hint: slabs are not allowed !!
- the maxsize is the sum of all allowed blocks, put together in the above rules hint: set it up to 2000 or 3000 , but start with a small ship :)
- you don't have permission : means what it says. Give your player or group the permissions
- give permission : •ships.ship.make -buildup of ship
- give permission : •ships.ship.use -use of ship
@cadika_orade
Are you thinking of another plugin, this one doesn't have an allow list, just 1 definition for the primary block (wool).
@Zephoradis
Easy. There's at least one block on your ship that isn't allowed. Remove it or add it to the allowed list in the config and it will work just fine.
The max size in the config is this a count of blocks or a range that it performs its search for blocks?
<<reply 1216911="">>
I would check the console to see if there is an error. If you can get the error and post it, it would probably make it easier to fix the bug.
(I'm no plugin developer, though)
Sorry, another problem i can't seem to figure out. Whenever i make a ship, it keeps saying 'Obstacle on course,' and yet it is a wide open Ocean. The ship is 1 block deep in the water. I made all the signs, and when i was done, i shifted the EOT to Ahead, and it said the thing, and i clicked on every sign and kept saying it.
Any ideas?
Me and my friend tried it last night and its awsome. But when we want to do [Ships]
ship
its say: you don't have permission do do that, But i'm an op and my friend is the owner! The airshi work perfectly...
Amazing plugin! A bit unreliable sometimes. Signs in airships seem to pop off sometimes, doors get broken, rotation is buggy, and ships sometimes fail to identify parts of themselves.
Other than the obvious bugs, this is a very enjoyable and perfectly usable plugin! I look forward to updates to fix the bugs!
I'm running on CB version 1.4.7-R0.1 and whenever anyone tried to move a ship, they get this error:
20:42:03 [SEVERE] Could not pass event PlayerInteractEvent to Ships v2.1
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
va:427)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
a:62)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j
ava:477)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
ava:462)
at org.bukkit.craftbukkit.v1_4_R1.event.CraftEventFactory.callPlayerInte
ractEvent(CraftEventFactory.java:178)
at net.minecraft.server.v1_4_R1.PlayerInteractManager.interact(PlayerInt
eractManager.java:376)
at net.minecraft.server.v1_4_R1.PlayerConnection.a(PlayerConnection.java
:656)
at net.minecraft.server.v1_4_R1.Packet15Place.handle(SourceFile:58)
at net.minecraft.server.v1_4_R1.NetworkManager.b(NetworkManager.java:290
)
at net.minecraft.server.v1_4_R1.PlayerConnection.d(PlayerConnection.java
:112)
at net.minecraft.server.v1_4_R1.ServerConnection.b(SourceFile:39)
at net.minecraft.server.v1_4_R1.DedicatedServerConnection.b(SourceFile:3
0)
at net.minecraft.server.v1_4_R1.MinecraftServer.r(MinecraftServer.java:5
98)
at net.minecraft.server.v1_4_R1.DedicatedServer.r(DedicatedServer.java:2
24)
at net.minecraft.server.v1_4_R1.MinecraftServer.q(MinecraftServer.java:4
94)
at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java
:427)
at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:8
49)
Caused by: java.lang.StackOverflowError
at java.util.TreeMap.fixAfterInsertion(Unknown Source)
at java.util.TreeMap.put(Unknown Source)
at Ships.ShipsMaping.MapingBlock(ShipsMaping.java:91)
at Ships.ShipsMaping.MapingBlock(ShipsMaping.java:137)
at Ships.ShipsMaping.MapingBlock(ShipsMaping.java:137)
at Ships.ShipsMaping.MapingBlock(ShipsMaping.java:137)
(about 200 more just like this)
at Ships.ShipsListener.engineManeuvering(ShipsListener.java:513)
at sun.reflect.GeneratedMethodAccessor508.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425
Make only the owner can drive the airship/ship
@Tenderkaj
The ship or the setting. also when pasting in you can find that it will detect air blocks if they were "set 0" with worldedit. When pasting it find it easier to -o the paste, and i regen the chunks on my "development landingpad" which i use to generate new ships, after that i can paste them in at will.
Do watch out for other blocks that are accepted by the pluigin being within range of the ship, eg: close enough to be counted and not enough airblocks between the signs and the target blocks. Also if you are using a very low level terrain, no terrain or something else, being below a certain level will do it.
When flying in space, i drop to an altitude of 16, the belly (undercarrage, bomb bay and docking pistons) stick out further down, the plugin hits the max negative cord (eg 0) and seems to be either expanding out the sides and counting blocks there or it just just gives the too big error also.
just some considerations to bare in mind, hope some of this helps, come and see MCLM if you want to see some of our ships.
@morlanius
Isn't really big, around 1000-3000 blocks...
Any updates ?
@Tenderkaj
FAR too big. I sometimes dip mine just over 10k and even then only for very short periods.