Resource icon

Addon ShipsSkript 1.0.0.2

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Supported Minecraft Versions
  1. 1.16
Control Ships version 6.0.0.0 or above using Skript.

  • The ability to get the structure of the ship
  • The ability to get the ID of the ship
  • The ability to listen to events fired from Ships
Please note this only works with Ships 6.0.0.0, eariler versions of Ships will not work.
This was tested using Skript: 2.4.1

Using ShipsSkript


Getting a ship
Since: 1.0.0.0
Usage
: "[get] [the] [Ships] ship at %block%"
Example: "get the ship at location of block below player"

Structure of a ship
Since: 1.0.0.0
Usage
: "[get] [the] [Ships] (blocks | positions | structure) of %vessel%"
Example: "get the structure of {vessel}"

Position of a ship
Since: 1.0.0.0
Usage:
"[get] [the] [Ships] (position | location) of %vessel%"
Example: "get the location of {vessel}"

Ship type of a ship
Since: 1.0.0.0
Usage
: "[get] [the] [Ships] (ship type | shiptype) of %vessel%"
Example: "get the shiptype of {vessel}"

Get blocks from structure
Since: 1.0.0.0
Usage:
"[get] [all] (of | from) %structure%"
Example: "get all from event-structure"

Get all entities from movement context
Since: 1.0.0.0
Usage
: "[get] [all] [the] entities (in | from) [Ships] %context%"
Example: "get all entities in event-context"

Get all new positions from movement context
Since: 1.0.0.0
Usage: "[get] [the] [new] (blocks | structure) (in | from) [Ships] %context%"
Example: "get new structure from event-context"

Event: Ship pre move
Since: 1.0.0.0
Usage
: "[Ships] ship pre move"
Example: "ship pre move"
Values:
event-vessel: The ship that is about to move
event-context: The context of the movement
Event: Ship pre create
Since: 1.0.0.0
Usage
: "[Ships] ship pre create"
Example: "ship pre create"
Values:
event-vessel: The ship that is about to be created
event-player: The player who created the ship​

Event: Ship post create
Since: 1.0.0.0
Usage: "[Ships] ship [post] creat(ion | e)"
Example: "ship creation"
Values:
event-vessel: The ship that was created
event-player: The player who created the ship

Event: Ship structure update
Since: 1.0.0.0
Usage
: "[Ships] [ship] structure update"
Example: "structure update"
Values:
event-vessel: The ship that was update
event-structure: The new structure to be​
  • Like
Reactions: Olyno
Author
mosemister
Downloads
2,938
Views
2,938
First release
Last update
Rating
5.00 star(s) 1 ratings

Latest updates

  1. 1.0.0.2

    Some events are now cancellable. Updated to Ships -b 6.0.0.0 Beta 9+

Latest reviews

Moses is an incredible developer and has helped me with my own server countless times. He produces quality content and keeps it updated. No complaints.