ShipsSkript by mosemister

Control the plugin Ships with Skripts

Events

1

Expressions

1

Effects

0

Conditions

0

Types

0

Sections

0

Structures

0

Total

2

1.0.0.2 1252 days, 22 hours and 33 minutes ago

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

View Update

ShipsSkript 1342 days, 17 hours and 57 minutes ago

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

View Update

© Copyright 2014-2024 skUnity

All rights reserved.