skUnity - Types

Filters

Skript
AuthMe SkAddon
BunchSk
ExertSK
ExtrasSK
GameBuSK
LargeSk
MineLuaSK
MundoSK
PirateSK
RandomSK
SharpSK
SkAction
SkDragon
sKeeland
Skellett
SkMorkaz
SkRambled
SkRayFall
SkriptEvolved
SkRPG
SkStuff
skUtilities
SpectateHook
TuSKe
Umbaska
Umbaska2
Vixio
WildSkript
SkQuery
HerSK
skqBunch
skqGeometry
skqMaths
SkriptPlus
Contents ( listed)
AbilityType
Achievement
BarColor
BarFlag
BarStyle
Biome
BiomeGrid
Block
Boolean
Bossbar Color
Bossbar Flag
Bossbar Style
Browser Type
Chunk
ChunkData
Clan
ClickedSlotType
ClickedType
CodeBlock
Color
Command Sender
Compound
Custom Enchantment
Damage Cause
Date
Difficulty
Direction
Display Slot
Edit Session
EffectLib Particle
Element
Enchantment
Enchantment Type
enchantmentoffer
Entity
Entity Type
Entity Type With Amount
Environment
Experience
ExpSource
Faction
Firework Type
Fishing State
Font Style
Full scoreboards - Objective type
Full scoreboards - Team option status type
Full scoreboards - Team option type
Full scoreboards - Team type
Gamemode
GWebDriver / Browser
Instrument
Inventory
Inventory Type
InventoryProperty
Item Stack
Item Type
Job
JsonObject
KeyType
KeyType
Kingdom
Lambda
Living Entity
Location
Markup
McMMO Skill
Money
NBT List
Note
Number
Object
Offline Player
Packet
PacketType
Particletypes
Party
Phase
Player
PlayerLoginResult
Potion Effect Type
Profession
Projectile
Random
Recipe
Regex
Region
Rel
Search Type
Skill
SkillType
SkinTexture
SkinTexture
Slot
Sound
Statistic
Text
Throwable
Time
Timeperiod
Timespan
Trade
Tree Type
Type
Unleash reason
Visual Effect
Weather Type
World
WorldCreator
WorldType

Types

This is a list of most types that Skript uses (types that are not listed are not needed by the user). A type is a kind of object, e.g. player, number, or text.
Many types can be used as command arguments ('<type>', e.g. <number>) and almost all types can be used as loop-values ('loop-type', e.g. loop-block). The patterns listed for each type below reference to this.
The usage listed above the patterns for each type describe how you can define an instance of the type in a script, e.g. how to include text properly or how to write a number. The usage does usually not include any expressions that represent an instance of the type, e.g. blocks cannot be defined in a script, but you can use one of the many block expressions to get a block.

AbilityType

Addon: SharpSK
Usage:
cannot be written in scripts
Patterns:
Berserk, Super breaker, Giga drill breaker, Green terra, Skull splitter, Tree feller, Serrated Strikes, Blast mining
Plugin requires: mcMMO
all the mcMMO abilities
Add example

Achievement

Addon: MundoSK
Usage:
ACQUIRE_IRON, BAKE_CAKE, BOOKCASE, BREED_COW, BREW_POTION, BUILD_BETTER_PICKAXE, BUILD_FURNACE, BUILD_HOE, BUILD_PICKAXE, BUILD_SWORD, BUILD_WORKBENCH, COOK_FISH, DIAMONDS_TO_YOU, ENCHANTMENTS, END_PORTAL, EXPLORE_ALL_BIOMES, FLY_PIG, FULL_BEACON, GET_BLAZE_ROD, GET_DIAMONDS, GHAST_RETURN, KILL_COW, KILL_ENEMY, KILL_WITHER, MAKE_BREAD, MINE_WOOD, NETHER_PORTAL, ON_A_RAIL, OPEN_INVENTORY, OVERKILL, OVERPOWERED, SNIPE_SKELETON, SPAWN_WITHER, THE_END
Patterns:
achievement
An achievement. You can write the achievement name in lowercase or uppercase, it will work the same.
Add example

BarColor

Addon: Skellett
Usage:
cannot be written in scripts
Patterns:
%barcolor%
Used for Bossbars

Colors:

BLUE
GREEN
PINK
PURPLE
RED
WHITE
YELLOW
Add example

BarFlag

Addon: Skellett
Usage:
cannot be written in scripts
Patterns:
%barflag%
Used in bossbars

Bar flags:

CREATE_FOG
Creates fog around the world.
DARKEN_SKY
Darkens the sky like during fighting a wither.
PLAY_BOSS_MUSIC
Tells the client to play the Ender Dragon boss music.
Add example

BarStyle

Addon: Skellett
Usage:
cannot be written in scripts
Patterns:
%barstyle%
Used for bossbars

Styles:

SEGMENTED_10
Splits the boss bar into 10 segments
SEGMENTED_12
Splits the boss bar into 12 segments
SEGMENTED_20
Splits the boss bar into 20 segments
SEGMENTED_6
Splits the boss bar into 6 segments
SOLID
Makes the boss bar solid (no segments)

Add example

Biome

Addon: Skript
Usage:
swampland, forest, taiga, desert, plains, hell, sky, ocean, river, extreme hills, frozen ocean, frozen river, ice plains, ice mountains, mushroom island, mushroom shore, beach, desert hills, forest hills, taiga hills, small mountains, jungle, jungle hills
Patterns:
biome[s]
All possible biomes Minecraft uses to generate a world.

Example:

biome at the player is desert

BiomeGrid

Addon: MundoSK
Usage:
Cannot be written in scripts.
Patterns:
biomegrid
Represents a 2 dimensional grid of biomes, to set the biome of each block in a chunk.
Add example

Block

Addon: Skript
Usage:
cannot be written in scripts
Patterns:
block[s]
A block in a world. It has a location and a type, and can also have a direction (mostly a facing), an inventory, or other special properties.
Add example

Boolean

Addon: Skript
Usage:
true/yes/on or false/no/off
Patterns:
boolean[s]
A boolean is a value that is either true or false. Other accepted names are 'on' and 'yes' for true, and 'off' and 'no' for false.

Example:

set {config.%player%.use mod} to false

Bossbar Color

Addon: SkRayFall
Usage:
blue, green, pink, purple, red, white or yellow
Patterns:
BossBarColor
A data type to call the colors for the new 1.9 bossbars.
Add example

Bossbar Flag

Addon: SkRayFall
Usage:
create fog, darken sky or play boss music
Patterns:
BossBarFlag
Bar Flags to support the new 1.9 bossbars.
Add example

Bossbar Style

Addon: SkRayFall
Usage:
segmented 10, segmented 12, segmented 20, segmented 6 and solid
Patterns:
BossBarStyle
Bossbar styles to support the new 1.9 BossBar.
Add example

Browser Type

Addon: GameBuSK
Usage:
Chrome, Ghost
Patterns:
(Chrome|Google Chrome|Google)
(Ghost|Phantom[[]|JS])
A type of browser.
Add example

Chunk

Addon: Skript
Usage:
cannot be written in scripts
Patterns:
chunk[s]
A chunk is a cuboid of 16×16×<world height> (x×z×y) blocks (the world height is usually 128 or 256). Chunks are spread on a fixed rectangular grid in their world, where the chunk (0,0) contains the blocks (0,0,0) to (15,15,<world height> - 1).
Add example

ChunkData

Addon: MundoSK
Usage:
Cannot be written in scripts.
Patterns:
chunkdata
Represents a 3-dimensional grid of itemstacks, to set the data of a chunk being generated.
Add example

Clan

Addon: TuSKe
Usage:
"name of clan"
Patterns:
clan
Plugin requires: SimpleClans or SimpleClansLegacy
It's used to take some information about a clan. Can only be get by expressions .

Example:

if "%clan of player%" is "Warrior of Night":
    send "Welcome to the clan!"

ClickedSlotType

Addon: Skellett
Usage:
cannot be written in scripts
Patterns:
%clickedslottype%
Clicked slot types:

ARMOR
An armour slot in the player's inventory.
CONTAINER
A regular slot in the container or the player's inventory; anything not covered by the other enum values.
CRAFTING
A slot in the crafting matrix, or the input slot in a furnace inventory, the potion slot in the brewing stand, or the enchanting slot.
FUEL
The fuel slot in a furnace inventory, or the ingredient slot in a brewing stand inventory.
OUTSIDE
A pseudo-slot representing the area outside the inventory window.
QUICKBAR
A slot in the bottom row or quickbar.
RESULT
A result slot in a furnace or crafting inventory.
Add example

ClickedType

Addon: Skellett
Usage:
cannot be written in scripts
Patterns:
%clickedtype%
Clicked types:

CONTROL_DROP
Holding Ctrl while pressing the "Drop" key (defaults to Q).
CREATIVE
Any action done with the Creative inventory open.
DOUBLE_CLICK
Pressing the left mouse button twice in quick succession.
DROP
The "Drop" key (defaults to Q).
LEFT
The left (or primary) mouse button.
MIDDLE
The middle mouse button, or a "scrollwheel click".
NUMBER_KEY
One of the number keys 1-9, correspond to slots on the hotbar.
RIGHT
The right mouse button.
SHIFT_LEFT
Holding shift while pressing the left mouse button.
SHIFT_RIGHT
Holding shift while pressing the right mouse button.
UNKNOWN
A type of inventory manipulation not yet recognized by Bukkit.
WINDOW_BORDER_LEFT
Clicking the left mouse button on the grey area around the inventory.
WINDOW_BORDER_RIGHT
Clicking the right mouse button on the grey area around the inventory.
Add example

CodeBlock

Addon: MundoSK
Usage:
Cannot be written in scripts.
Patterns:
codeblock
A codeblock, see codeblock expression and effect for more information.
Add example

Color

Addon: Skript
Usage:
black, dark grey/dark gray, grey/light grey/gray/light gray/silver, white, blue/dark blue, cyan/aqua/dark cyan/dark aqua, light blue/light cyan/light aqua, green/dark green, light green/lime/lime green, yellow/light yellow, orange/gold/dark yellow, red/dark red, pink/light red, purple/dark purple, magenta/light purple, brown/indigo
Patterns:
colo[u]r[s]
Wool, dye and chat colours.
Please note that the same colours are used for chat and wool so that you can use any colour expression to colour chat, e.g. message "<%colour of sheep%>this colour". Minecraft however uses slightly different colours for chat and sheep, with the main difference being that there exists no brown chat colour, but there exists another blue one instead, thus 'brown' and 'indigo' are the same colour.

Example:

color of the sheep is red or black
set the colour of the block to green
message "You're holding a <%color of tool%>%color of tool%<reset> wool block"

Command Sender

Addon: Skript
Usage:
use the console for the console
see player for players.
Patterns:
[command[s]][ ](sender|executor)[s]
A player or the console.

Example:

on command /pm:
    command sender is not the console
    chance of 10%
    give coal to the player
    message "You got a piece of coal for sending that PM!"

Compound

Addon: SkStuff
Usage:
Used like any Mojangson notation, for example on the /entitydata command.
Patterns:
[nbt[ ]tag] compound[s]
An NBT compound. The format used is the Mojangson notation, the same used on vanilla commands that manipulate NBT.
Add example

Custom Enchantment

Addon:
Usage:
"id of custom enchantment"
Patterns:
custom[ ]enchantment[s]
It represents a custom enchantment. The values depends of the id name of registered enchantment.

Example:

if "Soulbound" parsed as custom enchantment is set: #checks if the custom enchantment exists.

Damage Cause

Addon: Skript
Usage:
contact, attack, projectile, suffocation, fall, fire, burning, melting, lava, drowning, block explosion, entity explosion, void, lightning, suicide, starvation, poison, potion, wither, falling block, thorns, unknown
Patterns:
damage cause[s]
The cause/type of a damage event, e.g. lava, fall, fire, drowning, explosion, poison, etc.
Please note that support for this type is very rudimentary, e.g. lava, fire and burning, as well as projectile and attack are considered different types.

Example:

on damage:
	damage cause is drowning:
		chance of 10%:
			cancel event
			send "&bU took a big breath dude" to victim

Date

Addon: Skript
Usage:
cannot be written in scripts
Patterns:
date[s]
A date is a certain point in the real world's time which can currently only be obtained with now.
See time and timespan for the other time types of Skript.

Example:

set {_yesterday} to now
subtract a day from {_yesterday}
#Now {_yesterday} represents the date 24 hours before now

Difficulty

Addon: MundoSK
Usage:
peaceful, easy, normal, hard
Patterns:
difficulty
Difficulty, as in difficulty of a world.
Add example

Direction

Addon: Skript
Usage:
see direction (expression)
Patterns:
direction[s]
A direction, e.g. north, east, behind, 5 south east, 1.3 meters to the right, etc.
Locations and some blocks also have a direction, but without a length.
Please note that directions have changed extensively in the betas and might not work perfectly. They can also not be used as command arguments.

Example:

set the block below the victim to a chest
loop blocks from the block infront of the player to the block 10 below the player:
    set the block behind the loop-block to water

Display Slot

Addon: SkQuery
Usage:
below name, player list, sidebar
Patterns:
displayslot[s]
The display position for a scoreboard objective.
Add example

Edit Session

Addon: SkStuff
Usage:
Used by saving the value from the "New edit session" expression to a variable.
Patterns:
edit[ ]session[s]
Plugin requires: WorldEdit
An edit session, which is used to execute WorldEdit operations such as drawing a line from a point to another.

Example:

set {session.%player%} to new editsession in player's world with limit 4096

EffectLib Particle

Addon: SkRayFall
Usage:
Lava, Mob, Note, Portal, Redstone, Slime, etc.
Patterns:
EffectLibParticle[s]
Particles that are to be used in EffectLib based effects. Full list can be found here!
Add example

Element

Addon: GameBuSK
Usage:
cannot be written in scripts
Patterns:
An element from a web page.
Add example

Enchantment

Addon: Skript
Usage:
protection, respiration, punch, projectile protection, smite, fortune, infinity, feather falling, flame, knockback, sharpness, aqua affinity, looting, fire aspect, silk touch, blast protection, power, thorns, efficiency, fire protection, bane of arthropods, unbreaking
Patterns:
enchantment[s]
An enchantment, e.g. 'sharpness' or 'furtune'. Unlike enchantment type this type has no level, but you usually don't need to use this type anyways.
Add example

Enchantment Type

Addon: Skript
Usage:
<enchantment> [<level>]
Patterns:
enchant(ing|ment) type[s]
An enchantment with an optional level, e.g. 'sharpness 2' or 'fortune'.

Example:

enchant the player's tool with sharpness 5
helmet is enchanted with waterbreathing

enchantmentoffer

Addon: Skellett
Usage:
cannot be written in scripts
Patterns:
%enchantmentoffer%
Used in the on enchant prepare event to get all enchantment offers.
Add example

Entity

Addon: Skript
Usage:
player, op, wolf, tamed ocelot, powered creeper, zombie, unsaddled pig, fireball, arrow, dropped item, item frame, etc.
Patterns:
entit(y|ies)
An entity is something in a world that's not a block, e.g. a player, a skeleton, or a zombie, but also projectiles like arrows, fireballs or thrown potions, or special entities like dropped items, falling blocks or paintings.

Example:

entity is a zombie or creeper
player is an op
projectile is an arrow
shoot a fireball from the player

Entity Type

Addon: Skript
Usage:
cannot be written in scripts
Patterns:
entity[ ]type[s]
The type of an entity, e.g. player, wolf, powered creeper, etc.

Example:

victim is a cow
spawn a creeper
targeted entity is an enderman holding a rose
spawn 10 red, green or blue sheep
spawn a falling anvil 4 meters above the player
kill all skeleton horses in all worlds

Entity Type With Amount

Addon: Skript
Usage:
<number> <entity type>
Patterns:
An entity type with an amount, e.g. '2 zombies'. I might remove this type in the future and make a more general 'type' type, i.e. a type that has a number and a type.

Example:

spawn 5 creepers behind the player

Environment

Addon: MundoSK
Usage:
normal, nether, end, the_end
Patterns:
environment
The environment/dimension of a world. Used in WorldCreator effects and expressions.
*Clarification: end and the_end are the same thing.
Add example

Experience

Addon: Skript
Usage:
[<number>] ([e]xp|experience)
Patterns:
Experience points. Please note that Bukkit only allows to give XP, but not remove XP from players. You can however change a player's level and level progress freely.

Example:

give 10 xp to the player

ExpSource

Addon: SkRPG
Usage:
ExpSource
Patterns:
MOB, BLOCK_BREAK, BLOCK_PLACE, CRAFT, COMMAND, SPECIAL, EXP_BOTTLE, SMELT and  QUEST
Plugin requires: SkillAPI
Used in a couple events and effects in SkRPG to add extra functionality.

Example:

On SkillAPI experience gain:
    # Retrieves the ExpSource used in the event.

    send "You've gained %SkillAPI exp gained% experience from the source %SkillAPI ExpSource%" 
    # Gives a player experience based on a certain ExpSource

    SkillAPI add 5 Exp to player from exp source MOB
    

Faction

Addon: SkRambled
Usage:
faction
Patterns:
faction
Plugin requires: Factions
A faction

Example:

player's faction is SkRambled
#Will check if the faction of a player is SkRambled
#This will only work if the faction SkRambled exists
disband SkRambled
#Will disband the faction SkRambled
#This will only work if the faction SkRambled exists

Firework Type

Addon: SkQuery
Usage:
ball, ball large, burst, creeper, star
Patterns:
fireworktype[s]
A shape usable when creating firework effects
Add example

Fishing State

Addon: RandomSK
Usage:
caught fish, caught entity, fishing, in ground, failed attempt
Patterns:
All possible states that can occurs when fishing:

  • Fishing: When a player is fishing, ie casting the line out.
  • Caught Fish: When a player has successfully caught a fish and is reeling it in.
  • Caught Entity: When a player has successfully caught an entity.
  • In Ground: When a bobber is stuck in the ground.
  • Failed Attempt: When a player fails to catch anything while fishing usually due to poor aiming or timing.

Example:

if fishing state is "caught fish":
    send "Great job!"

Font Style

Addon: SkDragon
Usage:
cannot be written in scripts
Patterns:
%fontstyle%
Used in skDragons drawText effect

Example:

plain
bold
italic
bolditalic
italicbold

Full scoreboards - Objective type

Addon: Skellett
Usage:
cannot be written in scripts
Patterns:
%objective%
Add description
Add example

Full scoreboards - Team option status type

Addon: Skellett
Usage:
cannot be written in scripts
Patterns:
%optionstatus%
Add description
Add example

Full scoreboards - Team option type

Addon: Skellett
Usage:
cannot be written in scripts
Patterns:
%teamoption%
COLLISION_RULE
How players of this team collide with others.
DEATH_MESSAGE_VISIBILITY
How to display the death messages for players on this team.
NAME_TAG_VISIBILITY
How to display the name tags of players on this team.
Add example

Full scoreboards - Team type

Addon: Skellett
Usage:
cannot be written in scripts
Patterns:
%team%
Add description
Add example

Gamemode

Addon: Skript
Usage:
creative/survival/adventure
Patterns:
game[ ]mode[s]
The game modes survival, creative and adventure.

Example:

player's gamemode is survival
set the player argument's game mode to creative

GWebDriver / Browser

Addon: GameBuSK
Usage:
cannot be written in scripts
Patterns:
A browser.
Add example

Instrument

Addon:
Usage:
bass_drum, bass_guitar, piano, snare_drum, sticks
Patterns:
instrument
An instrument played by a noteblock.
Add example

Inventory

Addon: Skript
Usage:
cannot be written in scripts
Patterns:
inventor(y|ies)
An inventory of a player or block. Inventories have many effects and conditions regarding the items contained.
An inventory has a fixed amount of slots which represent a specific place in the inventory, e.g. the helmet slot for players (Please note that slot support is still very limited but will be improved eventually).
Add example

Inventory Type

Addon:
Usage:
inventory[ ]type
Patterns:
anvil, beacon, brewing, chest, crafting, creative, dispenser, dropper, enchanting, ender chest, furnace, hopper, merchant, player, workbench
Represents the type of an inventory. TuSKe and SkQuery uses in their expressions.

Example:

#SkQuery

open inventory of hopper to player

#TuSKe

open virtual brewing inventory named "Tittle" to player

InventoryProperty

Addon: Skellett
Usage:
cannot be written in scripts
Patterns:
%inventoryproperty%
Inventory properties:
NOTE: Some properties are version based, so if you get an error saying can't understand syntax. That may be why.

BREW_TIME
The progress of the down-pointing arrow in a brewing inventory.
BURN_TIME
The progress of the flame in a furnace inventory.
COOK_TIME
The progress of the right-pointing arrow in a furnace inventory.
ENCHANT_BUTTON1
In an enchanting inventory, the top button's experience level value.
ENCHANT_BUTTON2
In an enchanting inventory, the middle button's experience level value.
ENCHANT_BUTTON3
In an enchanting inventory, the bottom button's experience level value.
ENCHANT_ID1
In an enchanting inventory, the top button's enchantment's id
ENCHANT_ID2
In an enchanting inventory, the middle button's enchantment's id
ENCHANT_ID3
In an enchanting inventory, the bottom button's enchantment's id
ENCHANT_LEVEL1
In an enchanting inventory, the top button's level value.
ENCHANT_LEVEL2
In an enchanting inventory, the middle button's level value.
ENCHANT_LEVEL3
In an enchanting inventory, the bottom button's level value.
ENCHANT_XP_SEED
In an enchanting inventory, the first four bits of the player's xpSeed.
LEVELS
In an beacon inventory, the levels of the beacon
PRIMARY_EFFECT
In an beacon inventory, the primary potion effect
REPAIR_COST
The repair's cost in xp levels
SECONDARY_EFFECT
In an beacon inventory, the secondary potion effect
TICKS_FOR_CURRENT_FUEL
How many total ticks the current fuel should last.
TICKS_FOR_CURRENT_SMELTING
How many total ticks the current smelting should last.
Add example

Item Stack

Addon: Skript
Usage:
[<number> [of]] <alias> [of <enchantment> <level>], Where <alias> must be an alias that represents exactly one item (i.e cannot be a general alias like 'sword' or 'plant')
Patterns:
item
material
An item, e.g. a stack of torches, a furnace, or a wooden sword of sharpness 2. Unlike item type an item can only represent exactly one item (e.g. an upside-down cobblestone stair facing west), while an item type can represent a whole range of items (e.g. any cobble stone stairs regardless of direction).
You don't usually need this type except when you want to make a command that only accepts an exact item.
Please note that currently 'material' is exactly the same as 'item', i.e. can have an amount & enchantments.

Example:

set {_item} to type of the targeted block
{_item} is a torch

Item Type

Addon: Skript
Usage:
[<number> [of]] [all/every] <alias> [of <enchantment> [<level>] [,/and <more enchantments...>]]
Patterns:
item[ ]type[s]
items
materials
An item type is an alias, e.g. 'a pickaxe', 'all plants', etc., and can result in different items when added to an inventory, and unlike items they are well suited for checking whether an inventory contains a certain item or whether a certain item is of a certain type.
An item type can also have one or more enchantments with or without a specific level defined, and can optionally start with 'all' or 'every' to make this item type represent all types that the alias represents, including data ranges.

Example:

give 4 torches to the player
add all slabs to the inventory of the block
player's tool is a diamond sword of sharpness
remove a pickaxes of fortune 4 from {stored items::*}
set {_item} to 10 of every upside-down stair
block is dirt or farmland

Job

Addon: SharpSK
Usage:
cannot be written in scripts
Patterns:
Woodcutter, Miner, Builder, Digger, Farmer, Hunter, Explorer, Crafter, Fisherman, Weaponsmith, Brewer, Enchanter
Plugin requires: JobsReborn
All the Jobsreborn jobs
Add example

JsonObject

Addon: MundoSK
Usage:
cannot be written in scripts.
Patterns:
jsonobject
A JsonObject.
Add example

KeyType

Addon:
Usage:
cannot be written in scripts
Patterns:
ESCAPE, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, PAUSE, TAB, BACKSPACE, INSERT, HOME, PAGE_UP, DELETE, END, PAGE_DOWN, ENTER, LEFT_SHIFT, SHIFT, LEFT_CONTROL, CONTROL, LEFT_ALT, ALT, COMMAND, UP, DOWN, LEFT, RIGHT
Keytype, a list of valid keys.
Add example

KeyType

Addon: GameBuSK
Usage:
ESCAPE, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, PAUSE, TAB, BACKSPACE, INSERT, HOME, PAGE_UP, DELETE, END, PAGE_DOWN, ENTER, LEFT_SHIFT, SHIFT, LEFT_CONTROL, CONTROL, LEFT_ALT, ALT, COMMAND, UP, DOWN, LEFT, RIGHT
Patterns:
ESCAPE, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, PAUSE, TAB, BACKSPACE, INSERT, HOME, PAGE_UP, DELETE, END, PAGE_DOWN, ENTER, LEFT_SHIFT, SHIFT, LEFT_CONTROL, CONTROL, LEFT_ALT, ALT, COMMAND, UP, DOWN, LEFT, RIGHT
A list of valid keys

Example:

ESCAPE, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, PAUSE, TAB, BACKSPACE, INSERT, HOME, PAGE_UP, DELETE, END, PAGE_DOWN, ENTER, LEFT_SHIFT, SHIFT, LEFT_CONTROL, CONTROL, LEFT_ALT, ALT, COMMAND, UP, DOWN, LEFT, RIGHT

Kingdom

Addon: Skellett
Usage:
cannot be written in scripts
Patterns:
%kindgom%
Plugin requires: Feudal
This type is only registered when using the feudal plugin option.
Add example

Lambda

Addon: SkQuery
Usage:
[%effect%]
Patterns:
lambda
Inline more code with lambda expressions! Lambdas are 2 cool new types that allow you to embed code inside your code. There are two types of lambdas, lambdas, which contain effects, and predicates, which contain conditions. You can combine multiple lambdas or predicates, but not both of them together.

Example:

# lambda of the message effect
[message "lambdas are fun :)" to player]

# lambda of two effects
[message "lambdas are fun :)" to player]->[message "code is life" to player]

# predicate of the has item condition
[player has stone]

# predicate of two conditions
[player has stone]->[player is op]

Living Entity

Addon: Skript
Usage:
see entity, but ignore inanimate objects
Patterns:
living[ ]entit(y|ies)
A living entity, e.g. a mob or player, not inanimate entities like projectiles or dropped items.

Example:

spawn 5 powered creepers
shoot a zombie from the creeper

Location

Addon: Skript
Usage:
See location at (expression)
Patterns:
location[s]
A location in a world. Locations are world-specific and even store a direction, e.g. if you save a location and later teleport to it you will face the exact same direction you did when you saved the location.

In the case of the teleport effect you can set a location's yaw and pitch to 0 to prevent this behaviour.
Add example

Markup

Addon: SkQuery
Usage:
`...`
Patterns:
markup
Another form of text. Markup is not as intuitive as text and does not require you to add percent signs around expressions. This type is only used for more complex features of skQuery.
Add example

McMMO Skill

Addon: ExertSK
Usage:
ACROBATICS, ALCHEMY, ARCHERY, AXES, EXCAVATION, FISHING", HERBALISM, MINING, REPAIR, SALVAGE, SMELTING, SWORDS, TAMING, UNARMED, WOODCUTTING
Patterns:
mcmmoskill
Plugin requires: McMMO
Used in ExterSK McMMO features. The usage is incase-sensetive.

Example:

add 1 to axes level of player

Money

Addon: Skript
Usage:
<number> $ or $ <number>, where '$' is your server's currency, e.g. '10 rupees' or '£5.00'
Patterns:
A certain amount of money. Please note that this differs from numbers as it includes a currency symbol or name, but usually the two are interchangeable, e.g. you can both add 100$ to the player's balance and add 100 to the player's balance.

Like all economy elements, this type requires that Vault and a compatible economy plugin is installed.

Example:

add 10£ to the player's account
remove Fr. 9.95 from the player's money
set the victim's money to 0
increase the attacker's balance by the level of the victim * 100

NBT List

Addon: SkStuff
Usage:
Used like any list in a Mojangson notation: "[object1,object2,object3]"
Patterns:
nbt[ ]list[[ ]tag]
A NBT List tag. Note that a list tag can only contain values of the same type.

Example:

set {_integers} to "[1337,420,69,-41291,59156,14935]" parsed as nbtlist
set {_quotes} to "[woah,this is some text,oh my god,I hope this will be fine!]" parsed as nbt list
set {_nestedLists} to "[stringList:[This is,a string list,so cool!],floatList:[195.159F,50.1F,591.0F]]" parsed as nbtlist

Note

Addon: MundoSK
Usage:
See below.
Patterns:
note
A note played by a noteblock.

To write a note in a script: Notes are written with a letter A through G (can be lowercase), optionally a +, which means sharp, or a -, which means flat, and then at the end optionally a number 0, 1, or 2, which specifies the octave. If you don't specify an octave, it defaults to 0. 2 can only be used if the note is F sharp (F+2) which is the same thing as G flat (G-2). If you have RandomSK, you need to put an 'n' before the note, if you don't have RandomSK, you don't have to, but you can still put the 'n' for compatibility.

Example:

C+, nD, B-, A1, nG+1, E-1, nF+2

Number

Addon: Skript
Usage:
[-]###[.###] (any amount of digits; very large numbers will be truncated though)
Patterns:
num[ber][s]
A number, e.g. 2.5, 3, or -9812454.
Please note that many expressions only need integers, i.e. will discard any frational parts of any numbers without producing an error.

Example:

set the player's health to 5.5
set {_temp} to 2*{_temp} - 2.5

Object

Addon: Skript
Usage:
cannot be written in scripts
Patterns:
The supertype of all types, meaning that if %object% is used in e.g. a condition it will accept all kinds of expressions.
Add example

Offline Player

Addon: Skript
Usage:
cannot be written in scripts
Patterns:
offline[ ]player[s]
A player that is possibly offline. See player for more information. Please note that while all effects and conditions that require a player can be used with an offline player as well, they will not work if the player is not actually online.
Add example

Packet

Addon: MundoSK
Usage:
Cannot be written in scripts.
Patterns:
packet
Plugin requires: ProtocolLib
A packet.
Add example

PacketType

Addon: MundoSK
Usage:
Dependent on your Minecraft version.
Patterns:
packettype
Plugin requires: ProtocolLib
A type of packet. The ones that are available for you depend on your MC version. If you would like to see them, use the all packettypes expression, loop through it, and print them.
Add example

Particletypes

Addon: SkQuery
Usage:
Cannot be written in scripts
Patterns:
particletypes[s]
Represents an enum of static particle types. This type is added purely for anyone who needs to call enum values

Example:

huge explosion, large explode, fireworks spark, bubble, suspended, depth suspend, town aura, crit, magic crit, smoke, mob spell, mob spell ambient, spell, instant spell, witch magic, note, portal, enchantment table, explode, flame, lava, footstep, splash, large smoke, cloud, red dust, snowball poof, drip water, drip lava, snow shovel, slime, heart, angry villager and happy villager

Party

Addon: SkRambled
Usage:
party
Patterns:
party
Plugin requires: Factions
A party
Add example

Phase

Addon: SharpSK
Usage:
cannot be written in scripts
Patterns:
CIRCLING, STRAFING, FLY_TO_PORTAL, LAND_ON_PORTAL, LEAVE_PORTAL, BREATH_ATTACK, SEARCH_FOR_BREATH_ATTACK_TARGET, ROAR_BEFORE_ATTACK , CHARGE_PLAYER , DYING , HOVER
Actions that an Ender Dragon can perform. Used in some features of SharpSK
Add example

Player

Addon: Skript
Usage:
cannot be written in scripts
Patterns:
player[s]
A player. Depending on whether a player is online or offline several actions can be performed with them, though you won't get any errors when using effects that only work if the player is online (e.g. changing his inventory) on an offline player.
You have two possibilities to use players as command arguments: <player> and <offline player>. The first requires that the player is online and also accepts only part of the name, while the latter doesn't require that the player is online, but the player's name has to be entered exactly.
Add example

PlayerLoginResult

Addon: MundoSK
Usage:
allowed, kick_full, kick_banned, kick_whitelist, kick_other
Patterns:
playerloginresult
A player login result.
Add example

Potion Effect Type

Addon: Skript
Usage:
speed, slowness, haste, mining fatigue, strength, instant health, instant damage, jump boost, nausea, regeneration, resistance, fire resistance, water breathing, invisibility, blindness, night vision, hunger, weakness, poison, wither
Patterns:
potion[[ ]effect][[ ]type][s]
A potion effect, e.g. 'strength' or 'swiftness'.

Example:

apply swiftness 5 to the player
apply potion of speed 2 to the player for 60 seconds
remove invisibility from the victim

Profession

Addon: skUtilities
Usage:
cannot be written in scripts
Patterns:
NORMAL, FARMER, LIBRARIAN, PRIEST, BLACKSMITH, BUTCHER, HUSK
All Professions for Villagers/Zombie Villagers (Profession skUtilities)

Example:

spawn a %entity% with profession %profession% at %location%

Projectile

Addon: Skript
Usage:
arrow, fireball, snowball, thrown potion, etc.
Patterns:
projectile[s]
A projectile, e.g. an arrow, snowball or thrown potion.

Example:

projectile is a snowball
shoot an arrow at speed 5 from the player

Random

Addon: MundoSK
Usage:
Cannot be written in scripts.
Patterns:
random
Represents a random to get random values from.
Add example

Recipe

Addon: TuSKe
Usage:
"type of recipe"
Patterns:
recipe
A recipe contains the the ingredients list and the result item. Can only be get by Recipes

Example:

loop recipes of {_item}:
    if "%loop-recipe%" is "furnace recipe":
        send "You have to make this recipe in a furnace."

Regex

Addon: TuSKe
Usage:
reg[ular ]ex[pression]
Patterns:
cannot be written in scripts
Represents a regex object. For now, it won't have any usage but only for test the pattern. It will have more usage in version `t;1.7.1+`.

Example:

set {_regex} to "(\d+(\.\d+)*" parsed as regex
if regex error is set: #It will case there is a missing parentheses at the end.

    send "A error occurred with the regex pattern. Details:"
    send last regex parser error
    #It will send a formatted strings like showing the errors. For example:    

    #Unclosed group near index 12

    #(\d+(\.\d+)*

    #             ^

Region

Addon: Skript
Usage:
"region name"
Patterns:
A region of a regions plugin. Skript currently supports WorldGuard, Factions, GriefPrevention and PreciousStones.
Please note that some regions plugins do not have named regions, some use numerical ids to identify regions, and some may have regions with the same name in different worlds, thus using regions like "region name" in scripts may or may not work.

Example:

on break:
    if "%region at player%" contains "Spawn":
        cancel event

Rel

Addon: SkRambled
Usage:
leader, officer, member, recruit, ally, truce, neutral, enemy
Patterns:
rel
Plugin requires: Factions
Either the relation between a faction and another faction
or the role of a player
Add example

Search Type

Addon: GameBuSK
Usage:
ID, NAME, XPATH, LINK TEXT, PARTIAL LINK TEXT, TAG NAME, CLASS NAME, CSS SELECTOR
Patterns:
Different ways of retrieving a web element from a web page.
Add example

Skill

Addon: SkRambled
Usage:
acrobatics, alchemy, archery,  axes, excavation, fishing, herbalism, mining, repair, smelting,  swords, taming, unarmed, woodcutting
Patterns:
skill
Plugin requires: mcMMO
An mcmmo skill

Example:

mining level of player

SkillType

Addon: SharpSK
Usage:
cannot be written in scripts
Patterns:
acrobatics, alchemy, archery, axes, excavation, fishing, herbalism, mining, repair, salvage, smelting, swords, taming, unarmed, woodcutting
Plugin requires: mcMMO
Its basically the same as the ExertSK's mcmmoskill type
Add example

SkinTexture

Addon:
Usage:
Cannot be written in scripts.
Patterns:
skintexture
Represents a skin.
Add example

SkinTexture

Addon: MundoSK
Usage:
steve, alex
Patterns:
skintexture
Plugin requires: ProtocolLib (Optional, but currently you need ProtocolLib for it to be useful)
Represents a skin texture.

Example:

skin texture with name ""eyJ0aW1lc3RhbXAiOjE0NzQyMTc3NjkwMDAsInByb2ZpbGVJZCI6ImIwZDRiMjhiYzFkNzQ4ODlhZjBlODY2MWNlZTk2YWFiIiwicHJvZmlsZU5hbWUiOiJJbnZlbnRpdmVHYW1lcyIsInNpZ25hdHVyZVJlcXVpcmVkIjp0cnVlLCJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZWE5MmI0NTY2ZjlhMjg2OTNlNGMyNGFiMTQxNzJjZDM0MjdiNzJiZGE4ZjM0ZDRhNjEwODM3YTQ3ZGEwZGUifX19" signature "pRQbSEnKkNmi0uW7r8H4xzoWS3E4tkWNbiwwRYgmvITr0xHWSKii69TcaYDoDBXGBwZ525Ex5z5lYe5Xg6zb7pyBPiTJj8J0QdKenQefVnm6Vi1SAR1uN131sRddgK2Gpb2z0ffsR9USDjJAPQtQwCqz0M7sHeXUJhuRxnbznpuZwGq+B34f1TqyVH8rcOSQW9zd+RY/MEUuIHxmSRZlfFIwYVtMCEmv4SbhjLNIooGp3z0CWqDhA7GlJcDFb64FlsJyxrAGnAsUwL2ocoikyIQceyj+TVyGIEuMIpdEifO6+NkCnV7v+zTmcutOfA7kHlj4d1e5ylwi3/3k4VKZhINyFRE8M8gnLgbVxNZ4mNtI3ZMWmtmBnl9dVujyo+5g+vceIj5Admq6TOE0hy7XoDVifLWyNwO/kSlXl34ZDq1MCVN9f1ryj4aN7BB8/Tb2M4sJf3YoGi0co0Hz/A4y14M5JriG21lngw/vi5Pg90GFz64ASssWDN9gwuf5xPLUHvADGo0Bue8KPZPyI0iuIi/3sZCQrMcdyVcur+facIObTQhMut71h8xFeU05yFkQUOKIQswaz2fpPb/cEypWoSCeQV8T0w0e3YKLi4RaWWvKS1MFJDHn7xMYaTk0OhALJoV5BxRD8vJeRi5jYf3DjEgt9+xB742HrbVRDlJuTp4="
skin texture of player
alex

Slot

Addon: Skript
Usage:
cannot be written in scripts
Patterns:
[inventory ]slot[s]
Represents a single slot of an inventory. Notable slots are the armour slots and furnace slots.
The most important property that distinguishes a slot from an item is its ability to be changed, e.g. it can be set, deleted, enchanted, etc. (Some item expressions can be changed as well, e.g. items stored in variables. Speaking of which: slots are never saved to variables, only the items they represent at the time when the variable is set).
Please note that the tool is a slot, but it can actually change its position, i.e. doesn't always represent the same slot.

Example:

set tool of player to dirt
delete helmet of the victim
set the colour of the player's tool to green
enchant the player's chestplate with projectile protection 5

Sound

Addon: SkQuery
Usage:
ambience cave, ambience rain, ambience thunder, anvil break, anvil land, anvil use, arrow hit, bat death, bat hurt, bat idle, bat loop, bat takeoff, blaze breath, blaze death, blaze hit, burp, cat hiss, cat hit, cat meow, cat purr, cat purreow, chest close, chest open, chicken egg pop, chicken hurt, chicken idle, chicken walk, click, cow hurt, cow idle, cow walk, creeper death, creeper hiss, dig grass, dig gravel, dig sand, dig snow, dig stone, dig wood, dig wool, donkey angry, donkey death, donkey hit, donkey idle, door close, door open, drink, eat, enderdragon death, enderdragon growl, enderdragon hit, enderdragon wings, enderman death, enderman hit, enderman idle, enderman scream, enderman stare, enderman teleport, explode, fall big, fall small, fire, fire ignite, firework blast, firework blast2, firework large blast, firework large blast2, firework launch, firework twinkle, firework twinkle2, fizz, fuse, ghast charge, ghast death, ghast fireball, ghast moan, ghast scream, ghast scream2, glass, horse angry, horse armor, horse breathe, horse death, horse gallop, horse hit, horse idle, horse jump, horse land, horse saddle, horse skeleton death, horse skeleton hit, horse skeleton idle, horse soft, horse wood, horse zombie death, horse zombie hit, horse zombie idle, hurt flesh, irongolem death, irongolem hit, irongolem throw, irongolem walk, item break, item pickup, lava, lava pop, level up, magmacube jump, magmacube walk, magmacube walk2, minecart base, minecart inside, note bass, note bass drum, note bass guitar, note piano, note pling, note snare drum, note sticks, orb pickup, pig death, pig idle, pig walk, piston extend, piston retract, portal, portal travel, portal trigger, sheep idle, sheep shear, sheep walk, shoot arrow, silverfish hit, silverfish idle, silverfish kill, silverfish walk, skeleton death, skeleton hurt, skeleton idle, skeleton walk, slime attack, slime walk, slime walk2, spider death, spider idle, spider walk, splash, splash2, step grass, step gravel, step ladder, step sand, step snow, step stone, step wood, step wool, successful hit, swim, villager death, villager haggle, villager hit, villager idle, villager no, villager yes, water, wither death, wither hurt, wither idle, wither shoot, wither spawn, wolf bark, wolf death, wolf growl, wolf howl, wolf hurt, wolf pant, wolf shake, wolf walk, wolf whine, wood click, zombie death, zombie hurt, zombie idle, zombie infect, zombie metal, zombie pig angry, zombie pig death, zombie pig hurt, zombie pig idle, zombie remedy, zombie unfect, zombie walk, zombie wood, zombie woodbreak 
Patterns:
sound[s]
Represents a sound from Bukkit's sound enum

Example:

command /song:
	trigger:
		play level up at player with pitch 1

Statistic

Addon: RandomSK
Usage:
damage dealt/damage taken/deaths/mob kills/player kills/fish caught/animals bred/treasure fished/junk fished/leave game/jumping/drop/play one tick/walk one cm/swim one cm/fall one cm/climp one cm/fly one cm/dive one cm/minecart one cm/boat one cm/pig one cm/horse one cm/mine block/use item/break item/craft item/kill entity/entity killed by
Patterns:
value of <statistic> of player
Statistics are a game feature that allows players to track how many times they have completed certain tasks. The blocks/items/entities statistics need an object as seen in examples below.

Example:

message "You have mined dirt %value of mine block with material dirt of player% times"
message "%value of use item with material diamond pickaxe of player%"
message "%value of break item with material wooden axe of player%"
message "%value of craft item with material wooden axe of player%"
message "You have totally killed %value of kill entity with entity zombie of player% zombies."
message "You have died by a creeper %value of entity killed by with entity creeper% times."

Text

Addon: Skript
Usage:
simple: "..."
quotes: "...""..."
expressions: "...%expression%..."
percent signs: "...%%..."
Patterns:
(text|string)[s]
Text is simply text, i.e. a sequence of characters, which can optionally contain expressions which will be replaced with a meaningful representation (e.g. %player% will be replaced with the player's name).
Because scripts are also text, you have to put text into double quotes to tell Skript which part of the line is an effect/expression and which part is the text.
Please read the article on Texts and Variable Names to learn more.

Example:

broadcast "Hello World!"
message "Hello %player%"
message "The id of ""%type of tool%"" is %id of tool%."

Throwable

Addon: MundoSK
Usage:
Cannot be written in scripts.
Patterns:
throwable
An exception (or an error).
Add example

Time

Addon: Skript
Usage:
##:##
##[:##][ ]am/pm
Patterns:
time[s]
A time is a point in a minecraft day's time (i.e. ranges from 0:00 to 23:59), which can vary per world.
See date and timespan for the other time types of Skript.
Add example

Timeperiod

Addon: Skript
Usage:
##:## - ##:##
dusk/day/dawn/night
Patterns:
time[ ]period[s]
duration[s]
A period of time between two times. Mostly useful since you can use this to test for whether it's day, night, dusk or dawn in a specific world.
This type might be removed in the future as you can use 'time of world is between x and y' as a replacement.

Example:

time in world is night

Timespan

Addon: Skript
Usage:
<number> [minecraft/mc/real/rl/irl] ticks/seconds/minutes/hours/days [[,/and] <more...>]
[###:]##:##[.####] ([hours:]minutes:seconds[.milliseconds])
Patterns:
time[ ]span[s]
A timespan is a difference of two different dates or times, e.g 10 minutes. Timespans are always displayed as real life time, but can be defined as minecraft time, e.g. 5 minecraft days and 12 hours.
See date and time for the other time types of Skript.

Example:

every 5 minecraft days:
    wait a minecraft second and 5 ticks
every 10 mc days and 12 hours:
    halt for 12.7 irl minutes, 12 hours and 120.5 seconds

Trade

Addon: RandomSK
Usage:
cannot be written in scripts
Patterns:
%item stack% and %item stack% for %item stack% with %number% max uses
%item stack% for %item stack% with %number% max uses
This is used in many of the new Villager trade expressions or conditions.

Example:

5 diamonds for diamond axe named "Lol" with lore "Heh" with 99999 max uses

Tree Type

Addon: Skript
Usage:
[any] <general tree/mushroom type>
<specific tree/mushroom species>
Patterns:
tree[ ]type[s]
tree[s]
A tree type represents a tree species or a huge mushroom species. These can be generated in a world with the generate tree effect.

Example:

grow any regular tree at the block
grow a huge red mushroom above the block

Type

Addon: Skript
Usage:
See the type name patterns of all types - including this one
Patterns:
type[s]
Represents a type, e.g. number, object, item type, location, block, world, entity type, etc.
This is mostly used for expressions like 'event-<type>', '<type>-argument', 'loop-<type>', etc., e.g. event-world, number-argument and loop-player.

Example:

{variable} is a number    #Check whether the variable contains a number, e.g. -1 or 5.5

{variable} is a type #   Check whether the variable contains a type, e.g. number or player

{variable} is an object #   Will always succeed if the variable is set as everything is an object, even types.

disable PvP in the event-world
kill the loop-entity

Unleash reason

Addon: Skellett
Usage:
cannot be written in scripts
Patterns:
One of these reasons are called when an entity gets unleashed.

Use this in the unleash event:
unleash reason

Entity unleash reasons:

DISTANCE
When the entity's leashholder is more than 10 blocks away
HOLDER_GONE
When the entity's leashholder has died or logged out, and so is unleashed
PLAYER_UNLEASH
When the entity's leashholder attempts to unleash it
UNKNOWN
Add example

Visual Effect

Addon: Skript
Usage:
ender signal, mobspawner flames, potion break, smoke, hurt, sheep eating, wolf hearts, wolf shaking, wolf smoke
Patterns:
(visual|particle) effect[s]
A visible effect, e.g. particles.

Example:

show wolf hearts on the clicked wolf
play mob spawner flames at the targeted block to the player

Weather Type

Addon: Skript
Usage:
clear/sun/sunny, rain/rainy/raining, and thunder/thundering/thunderstorm
Patterns:
weather[ ]type[s]
weather condition[s]
weather[s]
The weather types sunny, rainy, and thundering.

Example:

is raining
is sunny in the player's world
message "It is %weather in the argument's world% in %world of the argument%"

World

Addon: Skript
Usage:
"world_name", e.g. "world"
Patterns:
world[s]
One of the server's worlds. Worlds can be put into scripts by surrounding their name with double quotes, e.g. "world_nether", but this might not work reliably as text uses the same syntax.

Example:

broadcast "Hello!" to "world_nether"

WorldCreator

Addon: MundoSK
Usage:
Cannot be written in scripts.
Patterns:
creator
A WorldCreator is used to create a world using MundoSK's create world effect. Read the WorldCreator expressions for more info.
Add example

WorldType

Addon: MundoSK
Usage:
normal, flat, superflat, large biomes, large_biomes, amplified, version 1.1, version_1_1, customized
Patterns:
worldtype
The worldtype of a world. Used in WorldCreator effects and expressions.
*Clarification: flat is the same thing as superflat, large biomes is the same as large_biomes, and version 1.1 is the same as version_1_1.

Example:

command /allpackettypes [<string>]:
    permission: admin
    usage: /allpackettypes [filter]
    trigger:
        if string-arg is set:
            message "&2Messaging all packettypes that contain &6%string-arg%&2!"
        else:
            message "&2Messaging all packettypes!"
        loop all packettypes:
            if string-arg is set:
                if "%loop-value%" contains string-arg:
                    message "&a%loop-value%"
            else:
                message "&a%loop-value%"