Types

The kinds of value expressions give and patterns take.

Attribute Type

  • types
  • Skript 2.5

Represents the type of an attribute. Note that this type does not contain any numerical values.See attribute types for more info.

NOTE: Minecraft namespaces are supported, ex: 'minecraft:generic.attack_damage'.

In patterns
attribute type, attribute types
In Skript since
2.5
ID
attributetype
View how it's written

air drag modifier, armor, armor toughness, armour, armour toughness, attack damage, attack knockback, attack speed, below name distance, block break speed, block interaction range, bounciness, burning time, camera distance, entity interaction range, explosion knockback resistance, fall damage multiplier, flying speed, follow range, friction modifier, generic armor, generic armor toughness, generic armour, generic armour toughness, generic attack damage, generic attack knockback, generic attack speed, generic burning time, generic explosion knockback resistance, generic fall damage multiplier, generic flying speed, generic follow range, generic gravity, generic jump strength, generic knockback resistance, generic luck, generic max absorption, generic max health, generic movement efficiency, generic movement speed, generic oxygen bonus, generic safe fall distance, generic scale, generic step height, generic tempt range, generic water movement efficiency, gravity, horse jump strength, jump strength, knockback resistance, luck, max absorption, max health, mining efficiency, movement efficiency, movement speed, name tag distance, name tag score visibility distance, name tag visibility distance, nameplate score visibility distance, nameplate visibility distance, oxygen bonus, player block break speed, player block interaction range, player entity interaction range, player mining efficiency, player sneaking speed, player submerged mining speed, player sweeping damage ratio, safe fall distance, scale, sneaking speed, spawn reinforcements, step height, submerged mining speed, sweeping damage ratio, tempt range, water movement efficiency, waypoint receive range, waypoint transmit range, zombie spawn reinforcements

Audience

  • types
  • Skript 2.15

An audience is a receiver of media, such as individual players, the console, or groups of players (such as those on a team or in a world).

In patterns
audience, audiences
In Skript since
2.15
ID
audience
View 2 examples
send "Hello world!" to the player
send action bar "ALERT! A horde of zombies has overrun the central village." to the world

Banner Pattern

  • types
  • Skript 2.10

Represents a banner pattern.

In patterns
banner pattern, banner patterns
In Skript since
2.10
ID
bannerpattern

Banner Pattern Type

  • types
  • Skript 2.10

Represents the various banner patterns that can be applied to a banner.

In patterns
banner pattern type, banner pattern types
In Skript since
2.10
ID
bannerpatterntype
View how it's written

base, base banner pattern, border, border banner pattern, bordure banner pattern, bordure indented banner pattern, bottom left square banner pattern, bottom right square banner pattern, bottom stripe banner pattern, bottom triangle banner pattern, bricks, bricks banner pattern, center stripe banner pattern, circle, circle banner pattern, creeper, creeper banner pattern, creeper charged banner pattern, cross, cross banner pattern, curly border, curly border banner pattern, diagonal left, diagonal right, diagonal up left, diagonal up left banner pattern, diagonal up right, diagonal up right banner pattern, down left stripe banner pattern, down right stripe banner pattern, field masoned banner pattern, flow, flow banner pattern, flower, flower banner pattern, globe, globe banner pattern, gradient, gradient banner pattern, gradient up, gradient up banner pattern, guster, guster banner pattern, half horizontal, half horizontal bottom, half vertical, half vertical right, horizontal bottom half banner pattern, horizontal half banner pattern, left diagonal banner pattern, left stripe banner pattern, middle stripe banner pattern, mojang, mojang banner pattern, piglin, piglin banner pattern, rhombus, rhombus banner pattern, right diagonal banner pattern, right stripe banner pattern, right vertical half banner pattern, skull, skull banner pattern, small stripes, small stripes banner pattern, snout banner pattern, square bottom left, square bottom right, square top left, square top right, straight cross, straight cross banner pattern, stripe bottom, stripe center, stripe downleft, stripe downright, stripe left, stripe middle, stripe right, stripe top, tbottom triangles banner pattern, thing banner pattern, top left square banner pattern, top right square banner pattern, top stripe banner pattern, top triangle banner pattern, top triangles banner pattern, triangle bottom, triangle top, triangles bottom, triangles top, vertical half banner pattern

Biome

  • types
  • Skript 1.4.4

All possible biomes Minecraft uses to generate a world.

NOTE: Minecraft namespaces are supported, ex: 'minecraft:basalt_deltas'.

In patterns
biome, biomes
In Skript since
1.4.4
ID
biome
View example
biome at the player is desert
View how it's written

badlands, badlands forest, bamboo jungle, basalt deltas, beach, birch forest, black forest, cherry grove, cold beach, cold ocean, cold taiga, crimson forest, dappled forest, dark forest, deep cold ocean, deep dark, deep frozen ocean, deep lukewarm ocean, deep ocean, desert, dripstone caves, end barrens, end highlands, end midlands, eroded badlands, eroded mesa, flower forest, forest, frozen ocean, frozen peaks, frozen river, giant spruce taiga, giant tree taiga, gravelly mountains, grove, hell, ice plains spikes, ice plains with spikes, ice spikes, jagged peaks, jungle, jungle edge, lukewarm ocean, lush caves, mangrove swamp, marsh, meadow, mesa, mesa forest, mountains, mushroom fields, mushroom island, nether, nether wastes, ocean, old growth birch forest, old growth pine taiga, old growth spruce taiga, pale garden, plains, river, roofed forest, savanna, savanna plateau, sea, shattered savanna, sky, small end islands, snowy beach, snowy plains, snowy slopes, snowy taiga, snowy tundra, soul sand valley, sparse jungle, spiked ice plains, stone shore, stony peaks, stony shore, sulfur caves, sunflower plains, swamp, swampland, taiga, tall birch forest, the end, the void, void, warm ocean, warped forest, windswept forest, windswept gravelly hills, windswept hills, windswept savanna, wooded badlands, wooded mesa, wooded mountains

Block

  • types
  • Skript 1.0

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.

In patterns
block, blocks
In Skript since
1.0
ID
block

Block Data

  • types
  • Skript 2.5

Block data is the detailed information about a block, referred to in Minecraft as BlockStates, allowing for the manipulation of different aspects of the block, including shape, waterlogging, direction the block is facing, and so much more. Information regarding each block's optional data can be found on Minecraft's Wiki. Find the block you're looking for and scroll down to 'Block States'. Different states must be separated by a semicolon (see examples). The 'minecraft:' namespace is optional, as well as are underscores.

In patterns
block data, block datas
In Skript since
2.5
ID
blockdata
View 6 examples
set block at player to campfire[lit=false]
set target block of player to oak stairs[facing=north;waterlogged=true]
set block at player to grass_block[snowy=true]
set loop-block to minecraft:chest[facing=north]
set block above player to oak_log[axis=y]
set target block of player to minecraft:oak_leaves[distance=2;persistent=false]

Boolean

  • types
  • Skript 1.0

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.

In patterns
boolean, booleans
Written as
true/yes/on or false/no/off
In Skript since
1.0
ID
boolean
View example
set {config.%player%.use mod} to false

Boss Bar Style

  • types
  • Skript 2.16

The style of a boss bar.

In patterns
boss bar style, boss bar styles
In Skript since
2.16
ID
bossbarstyle
View all 27 values
  • 10 notches
  • 10 segments
  • 12 notches
  • 12 segments
  • 20 notches
  • 20 segments
  • 6 notches
  • 6 segments
  • no notches
  • notched with 10 segments
  • notched with 12 segments
  • notched with 20 segments
  • notched with 6 segments
  • notched with six segments
  • notched with ten segments
  • notched with twelve segments
  • notched with twenty segments
  • progress
  • six notches
  • six segments
  • solid
  • ten notches
  • ten segments
  • twelve notches
  • twelve segments
  • twenty notches
  • twenty segments

BossBar

  • types
  • Skript 2.16

Represents a boss bar.

A boss bar is displayed at the top of a players screen and can have its title, progress, style, color, and viewers changed.

In patterns
boss bar, boss bars
In Skript since
2.16
ID
bossbar

Cat type

  • types

No matching entry in Skript's documentation.

In patterns
cat type, cat types
ID
cattype

Chunk

  • types
  • Skript 2.0

A chunk is a 16 by 16 segment of a world, stretching from the world's bottom to its top. Chunks are spread on a fixed rectangular grid in their world.

In patterns
chunk, chunks
In Skript since
2.0
ID
chunk

Click Type

  • types
  • Skript 2.2-dev16b, 2.2-dev35

Click type, mostly for inventory events. Tells exactly which keys/buttons player pressed, assuming that default keybindings are used in client side.

In patterns
click type, click types
In Skript since
2.2-dev16b, 2.2-dev35 (renamed to click type)
ID
clicktype
View all 42 values
  • 0-9
  • border using lmb
  • border using rmb
  • control drop
  • creative
  • creative action
  • ctrl+q
  • double click
  • double click using mouse
  • drop
  • drop item
  • drop key
  • drop key with control
  • drop stack
  • left mouse
  • left mouse button
  • left mouse button with shift
  • left mouse with shift
  • lmb
  • middle
  • middle mouse
  • middle mouse button
  • mmb
  • number key
  • q
  • right mouse
  • right mouse button
  • right mouse button with shift
  • right mouse with shift
  • rmb
  • shift left
  • shift right
  • shift+lmb
  • shift+rmb
  • swap offhand
  • swap shield
  • unsupported
  • window border left
  • window border right
  • window border using left mouse button
  • window border using right mouse
  • window border using right mouse button

Color

  • types

Wool, dye and chat colors.

In patterns
colour, colours
ID
color
View 3 examples
color of the sheep is red or black
set the color of the block to green
message "You're holding a <%color of tool%>%color of tool%<reset> wool block"
View all 36 values
  • aqua
  • black
  • blue
  • brown
  • cyan
  • dark aqua
  • dark blue
  • dark cyan
  • dark gray
  • dark green
  • dark grey
  • dark purple
  • dark red
  • dark yellow
  • gold
  • gray
  • green
  • grey
  • light aqua
  • light blue
  • light cyan
  • light gray
  • light green
  • light grey
  • light purple
  • light red
  • lime
  • lime green
  • magenta
  • orange
  • pink
  • purple
  • red
  • silver
  • white
  • yellow

Command Sender

  • types
  • Skript 1.0

A player or the console.

In patterns
command sender, command senders
Written as
use <a href='#LitConsole'>the console</a> for the console see <a href='#player'>player</a> for players.
In Skript since
1.0
ID
commandsender
View 11 examples
command /push [<player>]:
	trigger:
		if arg-1 is not set:
			if command sender is console:
				send "You can't push yourself as a console :\" to sender
				stop
			push sender upwards with force 2
			send "Yay!"
		else:
			push arg-1 upwards with force 2
			send "Yay!" to sender and arg-1

Converging Particle Effect

  • types
  • Skript 2.14

A particle effect where particles converge towards a point.

In patterns
converging particle effect, converging particle effects
Values
  • ENCHANT
  • NAUTILUS
  • OMINOUS_SPAWNING
  • PORTAL
  • VAULT_CONNECTION
In Skript since
2.14
ID
convergingparticle

Damage Cause

  • types
  • Skript 2.0

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.

In patterns
damage cause, damage causes
In Skript since
2.0
ID
damagecause
View all 68 values
  • a block explosion
  • a fall
  • a falling block
  • a fire
  • a lightning
  • a lightning strike
  • a plugin
  • a potion
  • a projectile
  • a wither
  • an attack
  • an entity attack
  • an entity explosion
  • attack
  • block explosion
  • burn
  • burning
  • campfire
  • contact
  • cramming
  • custom
  • dragon breath
  • dragon's breath
  • dragonfire
  • drown
  • drowning
  • dryout
  • entity attack
  • entity explosion
  • entity sweep attack
  • explosion
  • fall
  • falling block
  • fire
  • fire tick
  • fly into wall
  • flying into a wall
  • freeze
  • hitting wall while flying
  • hot floor
  • kill
  • killed
  • lava
  • lightning
  • lightning strike
  • magic
  • magma
  • melt
  • melting
  • plugin
  • poison
  • potion
  • projectile
  • sonic boom
  • starvation
  • suffocate
  • suffocation
  • suicide
  • sweep attack
  • sweeping
  • the void
  • thorns
  • unknown
  • void
  • wither
  • wither effect
  • wither potion effect
  • world border

Damage Source

  • types
  • Skript 2.12

Represents the source from which an entity was damaged.

Cannot change any attributes of the damage source from an 'on damage' or 'on death' event.

In patterns
damage source, damage sources
In Skript since
2.12
ID
damagesource

Damage Type

  • types
  • Skript 2.12

References a damage type of a damage source.

In patterns
damage type, damage types
In Skript since
2.12
ID
damagetype
View how it's written

arrow, bad respawn point, cactus, campfire, cramming, dragon breath, drown, drowning, dry out, ender pearl, entity cramming, explosion, fall, falling anvil, falling block, falling stalactite, fireball, fireworks, fly into wall, freeze, generic, generic kill, hot floor, hot sulfur cube, in fire, in wall, indirect magic, lava, lightning, lightning bolt, llama spit, mace smash, magic, magma sulfur cube, mob attack, mob attack no aggro, mob projectile, on fire, out of world, outside border, player attack, player explosion, sonic boom, spear, spit, stalagmite, starve, sting, suffocation, sulfur cube hot, sweet berry bush, thorns, thrown, trident, unattributed fireball, void, wind charge, wither, wither skull

Date

  • types
  • Skript 1.4

A date is a certain point in the real world's time which can be obtained with now expression, unix date expression and date function.

See time and timespan for the other time types of Skript.

In patterns
date, dates
In Skript since
1.4
ID
date
View 3 examples
set {_yesterday} to now
subtract a day from {_yesterday}
# now {_yesterday} represents the date 24 hours before now

Difficulty

  • types
  • Skript 2.3

The difficulty of a world.

In patterns
difficulty, difficulties
Values
  • easy
  • hard
  • medium
  • normal
  • peaceful
In Skript since
2.3
ID
difficulty

Direction

  • types
  • Skript 2.0

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.

In patterns
direction, directions
Written as
see <a href='#ExprDirection'>direction (expression)</a>
In Skript since
2.0
ID
direction
View 3 examples
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

Directional Particle Effect

  • types
  • Skript 2.14

A particle effect which can be given a directional velocity.

In patterns
directional particle effect, directional particle effects
In Skript since
2.14
ID
directionalparticle
View all 51 values
  • BLOCK
  • BUBBLE
  • BUBBLE_COLUMN_UP
  • BUBBLE_POP
  • CAMPFIRE_COSY_SMOKE
  • CAMPFIRE_SIGNAL_SMOKE
  • CLOUD
  • CRIT
  • DAMAGE_INDICATOR
  • DRAGON_BREATH
  • DUST
  • DUST_COLOR_TRANSITION
  • DUST_PLUME
  • EFFECT
  • ELECTRIC_SPARK
  • ENCHANTED_HIT
  • END_ROD
  • ENTITY_EFFECT
  • FIREWORK
  • FISHING
  • FLAME
  • FLASH
  • GLOW
  • GLOW_SQUID_INK
  • INFESTED
  • INSTANT_EFFECT
  • ITEM
  • LARGE_SMOKE
  • POOF
  • RAID_OMEN
  • REVERSE_PORTAL
  • SCRAPE
  • SCULK_CHARGE
  • SCULK_CHARGE_POP
  • SCULK_SOUL
  • SMALL_FLAME
  • SMOKE
  • SNEEZE
  • SNOWFLAKE
  • SOUL
  • SOUL_FIRE_FLAME
  • SPIT
  • SQUID_INK
  • TOTEM_OF_UNDYING
  • TRIAL_OMEN
  • TRIAL_SPAWNER_DETECTION
  • TRIAL_SPAWNER_DETECTION_OMINOUS
  • WAX_OFF
  • WAX_ON
  • WHITE_SMOKE
  • WITCH

Display Billboard

  • types
  • Skript 2.10

Represents the billboard setting of a display.

In patterns
billboard, billboards
Values
  • center
  • fixed
  • horizontal
  • vertical
In Skript since
2.10
ID
billboard

Display Entity

  • types
  • Skript 2.10

A text, block or item display entity.

In patterns
display, displays
In Skript since
2.10
ID
display

Display Text Alignment

  • types
  • Skript 2.10

Represents the text alignment setting of a text display.

In patterns
text alignment, text alignments
Values
  • centered
  • left aligned
  • middle aligned
  • right aligned
In Skript since
2.10
ID
textalignment

Enchantment

  • types
  • Skript 1.4.6

An enchantment, e.g. 'sharpness' or 'fortune'. Unlike enchantment type this type has no level, but you usually don't need to use this type anyway.

NOTE: Minecraft namespaces are supported, ex: 'minecraft:basalt_deltas'.

This also supports custom enchantments using namespaces, ex: 'myenchants:explosive'.

In patterns
enchantment, enchantments
In Skript since
1.4.6
ID
enchantment
View how it's written

aqua affinity, bane of arthropods, binding curse, blast protection, breach, channeling, channelling, curse of binding, curse of vanishing, density, depth strider, efficiency, feather falling, fire aspect, fire protection, flame, fortune, frost walker, impaling, infinity, knockback, looting, loyalty, luck of the sea, lunge, lure, mending, multi-shot, multishot, piercing, power, projectile protection, protection, punch, quick charge, respiration, riptide, sharpness, silk touch, smite, soul speed, sweeping edge, swift sneak, thorns, unbreaking, vanishing curse, wind burst

Enchantment Offer

  • types
  • Skript 2.5

The enchantmentoffer in an enchant prepare event.

In patterns
enchantment offer, enchantment offers
In Skript since
2.5
ID
enchantmentoffer
View example
on enchant prepare:
	set enchant offer 1 to sharpness 1
	set the cost of enchant offer 1 to 10 levels

Enchantment Type

  • types
  • Skript 1.4.6

An enchantment with an optional level, e.g. 'sharpness 2' or 'fortune'.

In patterns
enchantment type, enchantment types
Written as
<enchantment> [<level>]
In Skript since
1.4.6
ID
enchantmenttype
View 2 examples
enchant the player's tool with sharpness 5
helmet is enchanted with waterbreathing

Entity

  • types
  • Skript 1.0

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.

In patterns
entity, entities
Written as
player, op, wolf, tamed ocelot, powered creeper, zombie, unsaddled pig, fireball, arrow, dropped item, item frame, etc.
In Skript since
1.0
ID
entity
View 4 examples
entity is a zombie or creeper
player is an op
projectile is an arrow
shoot a fireball from the player

Entity Effect

  • types
  • Skript 2.14

Various entity effects that can be played for entities, like wolf howling, or villager happy.

In patterns
entity effect, entity effects
In Skript since
2.14
ID
entityeffect
View all 80 values
  • armadillo peek animation
  • armor stand hit effect
  • boat launch animation
  • boat launching animation
  • boat sink animation
  • boat sinking animation
  • break body armor effect
  • break body armour effect
  • break boots effect
  • break chestplate effect
  • break helmet effect
  • break leggings effect
  • break main hand effect
  • break off hand effect
  • break saddle effect
  • cat tame fail effect (non-functional)
  • cat tame success effect (non-functional)
  • creaking shake animation
  • damage animation (non-functional)
  • death animation
  • drown damage effect
  • drowning damage effect
  • egg break effect
  • ender teleport effect
  • entity attack animation
  • entity poof effect
  • evoker fang attack animation
  • explosion damage effect (non-functional)
  • fed dolphin effect
  • firework explode animation
  • fox chew effect
  • goat lowering head animation
  • goat raising head animation
  • guardian target sound effect (non-functional)
  • hoglin attack animation
  • honey block fall effect
  • honey block slide effect
  • hurt berry bush effect (non-functional)
  • ignite tnt minecart animation
  • iron golem attack animation
  • iron golem rose animation
  • iron golem sheath animation
  • kinetic weapon hit effect
  • love hearts effect
  • ocelot distrust effect
  • ocelot trust effect
  • player bad omen raid effect
  • projectile crack effect
  • protected from death effect
  • rabbit jump animation
  • ravager attack animation
  • ravager roared effect
  • reset spawner minecart delay effect
  • sheep eating grass animation
  • shield block sound effect
  • shield break sound effect
  • sniffer dig sound effect
  • snowball break effect
  • spawn in smoke effect
  • squid rotation reset
  • stop wolf shake animation
  • stunned ravager effect
  • swap hands effect
  • taming failed effect
  • taming succeeded effect
  • thorns hurt effect (non-functional)
  • tipped arrow particles effect
  • totem resurrect effect
  • totem resurrection effect
  • villager angry effect
  • villager happy effect
  • villager heart effect
  • villager sweat effect
  • warden attack animation
  • warden sonic attack animation
  • warden tendril shake animation
  • witch magic effect
  • wolf shake animation
  • zoglin attack animation
  • zombie transform sound effect

Entity Snapshot

  • types
  • Skript 2.10

Represents a snapshot of an entity's data.

This includes all of the data associated with an entity (its name, health, attributes, etc.), at the time this expression is used. Essentially, these are a way to create templates for entities.

Individual attributes of a snapshot cannot be modified or retrieved.

In patterns
entity snapshot, entity snapshots
In Skript since
2.10
ID
entitysnapshot

Entity type

  • types

No matching entry in Skript's documentation.

In patterns
entity type, entity types
ID
countedentitytype

Entity Type with Amount

  • types
  • Skript 1.3

An entity type with an amount, e.g. '2 zombies'.

In patterns
entity type, entity types
Written as
<number> <entity type>
In Skript since
1.3
ID
entitytype
View example
spawn 5 creepers behind the player

Equipment Slot

  • types
  • Skript 2.11

Represents an equipment slot of an entity.

In patterns
equipment slot, equipment slots
In Skript since
2.11
ID
equipmentslot
View all 50 values
  • body armor
  • body armor slot
  • body armor slots
  • body armors
  • body armour
  • body armour slot
  • body armour slots
  • body armours
  • body slot
  • body slots
  • boots
  • boots slot
  • boots slots
  • chest slot
  • chest slots
  • chestplate
  • chestplate slot
  • chestplate slots
  • chestplates
  • feet
  • feet slot
  • feet slots
  • hand slot
  • hand slots
  • head slot
  • head slots
  • helmet
  • helmet slot
  • helmet slots
  • helmets
  • leggings
  • leggings slot
  • leggings slots
  • legs
  • legs slot
  • legs slots
  • main hand
  • main hand slot
  • main hand slots
  • main hands
  • off haands
  • off hand
  • off hand slot
  • off hand slots
  • saddle slot
  • saddle slots
  • shoes
  • shoes slot
  • tool slot
  • tool slots

Equippable Components

  • types
  • Skript 2.13

Represents an equippable component used for items.

NOTE: Equippable component elements are experimental. Thus, they are subject to change and may not work as intended.

In patterns
equippable component, equippable components
In Skript since
2.13
ID
equippablecomponent

Experience

  • types
  • Skript 2.0

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.

In patterns
experience, experiences
Written as
[<number>] ([e]xp|experience [point[s]])
In Skript since
2.0
ID
experience
View example
give 10 xp to the player

Experience Cooldown Change Reason

  • types
  • Skript 2.10

Represents a change reason of an experience cooldown change event.

In patterns
experience cooldown change reason, experience cooldown change reasons
Values
  • orb pickup
  • pickup orb
In Skript since
2.10
ID
experiencecooldownchangereason

Firework Effect

  • types
  • Skript 2.4

A configuration of effects that defines the firework when exploded

which can be used in the launch firework effect.

See the firework effect expression for detailed patterns.

In patterns
firework effect, firework effects
Written as
See <a href='/#FireworkType'>Firework Types</a>
In Skript since
2.4
ID
fireworkeffect
View 3 examples
launch flickering trailing burst firework colored blue and green at player
launch trailing flickering star colored purple, yellow, blue, green and red fading to pink at target entity
launch ball large colored red, purple and white fading to light green and black at player's location with duration 1

Firework type

  • types

No matching entry in Skript's documentation.

In patterns
firework type, firework types
Values
  • ball
  • ball large
  • burst
  • creeper face
  • large
  • large ball
  • small
  • small ball
  • star
  • star shaped
ID
fireworktype

Fishing State

  • types
  • Skript 2.11

Represents the different states of a fishing event.

In patterns
fishing state, fishing states
In Skript since
2.11
ID
fishingstate
View all 18 values
  • bite
  • bobber in ground
  • caught entity
  • caught fish
  • entity caught
  • failed attempt
  • fish bite
  • fish caught
  • fish escape
  • fish escaped
  • fish lured
  • fishing
  • fishing line cast
  • fishing rod cast
  • in ground
  • lured
  • reel in
  • rod cast

Function

  • types
  • Skript 2.10

A function loaded by Skript.

This can be executed (with arguments) and may return a result.

In patterns
function, functions
In Skript since
2.10
ID
function
View 2 examples
run {_function} with arguments 1 and true
set {_result} to the result of {_function}

Game Effect

  • types
  • Skript 2.14

Various game effects that can be played for players, like record disc songs, splash potions breaking, or fake bone meal effects.

In patterns
game effect, game effects
In Skript since
2.14
ID
gameeffect
View all 89 values
  • anvil land sound effect
  • apply wax effect
  • bat take off sound effect
  • blaze shoot sound effect
  • break anvil sound effect
  • brewing sound effect
  • chorus flower death sound effect
  • chorus flower growing sound effect
  • close door sound effect
  • close fence gate sound effect
  • close iron door sound effect
  • close iron trapdoor sound effect
  • close trapdoor sound effect
  • complete end portal sound effect
  • crafter craft sound effect
  • crafter fail sound effect
  • create end portal sound effect
  • dispenser dispense effect
  • dispenser fail effect
  • dispenser fail to dispense effect
  • dispenser failure to dispense effect
  • dispenser projectile launch effect
  • dispenser shoot sound effect
  • dragon breaking block effect
  • dragon death sound effect
  • egg crack effect
  • end gateway spawn effect
  • ender dragon breaking block effect
  • ender dragon death sound effect
  • ender dragon growl effect
  • ender dragon growling effect
  • ender dragon shoot effect
  • ender dragon shoots fireball effect
  • ender eye break effect
  • ender eye launch sound effect
  • eye of ender break effect
  • eye of ender launch sound effect
  • fill end portal frame effect
  • ghast shoot sound effect
  • ghast shriek sound effect
  • gust dust effect
  • husk converting to zombie sound effect
  • instant potion splash sound effect
  • lava dripping into cauldron sound effect
  • lava dripping sound effect
  • lava interaction effect
  • mob spawner flames effect
  • music disc stop effect
  • nether portal travel sound effect
  • phantom bite sound effect
  • pointed dripstone land effect
  • record stop effect
  • redstone torch burnout effect
  • remove wax effect
  • scrape oxidised copper effect
  • sculk shriek effect
  • skeleton converting to stray sound effect
  • spawn cobweb effect
  • spawn wither sound effect
  • spawner flames effect
  • spell potion splash sound effect
  • sponge dry out effect
  • sulfur spike land effect
  • toggle door sound effect
  • toggle fence gate sound effect
  • toggle iron door sound effect
  • toggle iron trapdoor sound effect
  • toggle trapdoor sound effect
  • trial spawner eject item effect
  • turn page sound effect
  • use anvil sound effect
  • use grindstone sound effect
  • use smithing table sound effect
  • vault eject item effect
  • water dripping into cauldron sound effect
  • water dripping sound effect
  • wind charge shoot effect
  • wither breaking block sound effect
  • wither shoot sound effect
  • zombie attacking iron door sound effect
  • zombie attacking wooden door sound effect
  • zombie chewing on iron door sound effect
  • zombie chewing on wooden door sound effect
  • zombie converted to villager effect
  • zombie converting to drowned sound effect
  • zombie destroy door sound effect
  • zombie destroying door sound effect
  • zombie infection sound effect
  • zombie villager cured effect

Game Mode

  • types
  • Skript 1.0

The game modes survival, creative, adventure and spectator.

In patterns
game mode, game modes
Values
  • adventure
  • creative
  • spectator
  • survival
In Skript since
1.0
ID
gamemode
View 2 examples
player's gamemode is survival
set the player argument's game mode to creative

Gamerule

  • types
  • Skript 2.5

A gamerule

In patterns
gamerule, gamerules
In Skript since
2.5
ID
gamerule
View how it's written

minecraft:entity_drops, universal_anger, spawn_patrols, log_admin_commands, keep_inventory, raids, fire_damage, respawn_radius, advance_time, immediate_respawn, block_drops, projectiles_can_break_blocks, elytra_movement_check, block_explosion_drop_decay, command_blocks_work, spawn_phantoms, natural_health_regeneration, pvp, mob_explosion_drop_decay, player_movement_check, fire_spread_radius_around_player, max_command_sequence_length, random_tick_speed, spread_vines, lava_source_conversion, spawn_mobs, fall_damage, limited_crafting, max_command_forks, drowning_damage, spawn_wardens, send_command_feedback, forgive_dead_players, freeze_damage, ender_pearls_vanish_on_death, max_snow_accumulation_height, players_sleeping_percentage, mob_drops, mob_griefing, tnt_explosion_drop_decay, water_source_conversion, global_sound_events, spectators_generate_chunks, advance_weather, show_death_messages, allow_entering_nether_using_portals, spawn_monsters, spawner_blocks_work, max_block_modifications, show_advancement_messages, command_block_output, locator_bar, players_nether_portal_creative_delay, players_nether_portal_default_delay, max_entity_cramming, reduced_debug_info, spawn_wandering_traders, tnt_explodes, max_minecart_speed

Gamerule Value

  • types
  • Skript 2.5

A wrapper for the value of a gamerule for a world.

In patterns
gamerule value, gamerule values
In Skript since
2.5
ID
gamerulevalue

Gene

  • types
  • Skript 2.4

Represents a Panda's main or hidden gene. See genetics for more info.

In patterns
gene, genes
Values
  • aggressive
  • brown
  • lazy
  • normal
  • playful
  • weak
  • worried
In Skript since
2.4
ID
gene

Heal Reason

  • types
  • Skript 2.5

The health regain reason in a heal event.

In patterns
heal reason, heal reasons
In Skript since
2.5
ID
healreason
View all 35 values
  • a healing potion
  • a magic regen
  • a magic regeneration
  • a plugin
  • a regen potion
  • a regeneration potion
  • a wither effect
  • a wither spawn
  • a wither spawning
  • a wither summoning
  • an ender crystal
  • consuming
  • eating
  • ender crystal
  • fed
  • healing potion
  • ingesting
  • magic regen
  • magic regeneration
  • peaceful
  • peaceful regen
  • peaceful regeneration
  • regen
  • regen potion
  • regeneration potion
  • sated
  • satiated
  • satisfied
  • wither effect
  • wither potion
  • wither spawn
  • wither spawning
  • wither summoning
  • withered
  • withering

Hidden potion effect

  • types

No matching entry in Skript's documentation.

In patterns
hidden potion effect, hidden potion effects
ID
hiddenpotioneffect

Input Key

  • types
  • Skript 2.10

Represents a movement input key that is pressed by a player.

In patterns
input key, input keys
In Skript since
2.10
ID
inputkey
View all 14 values
  • backward key
  • backward movement key
  • forward key
  • forward movement key
  • jump key
  • jumping key
  • left key
  • left movement key
  • right key
  • right movement key
  • sneak key
  • sneaking key
  • sprint key
  • sprinting key

Integer

  • types

No matching entry in Skript's documentation.

In patterns
integer, integers
ID
integer

Inventory

  • types
  • Skript 1.0

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).

In patterns
inventory, inventories
In Skript since
1.0
ID
inventory

Inventory Action

  • types
  • Skript 2.2-dev16

What player just did in inventory event. Note that when in creative game mode, most actions do not work correctly.

In patterns
inventory action, inventory actions
In Skript since
2.2-dev16
ID
inventoryaction
View all 68 values
  • clone stack
  • collect items to cursor
  • collect to cursor
  • do nothing
  • drop all cursor
  • drop all from cursor
  • drop all from slot
  • drop all slot
  • drop cursor
  • drop cursor item
  • drop cursor stack
  • drop items from cursor
  • drop items from slot
  • drop one cursor
  • drop one from cursor
  • drop one from slot
  • drop one item from cursor
  • drop one item from slot
  • drop one slot
  • drop single item from cursor
  • drop single item from slot
  • drop slot
  • drop slot item
  • drop slot stack
  • drop stack from cursor
  • drop stack from slot
  • hotbar move and readd
  • hotbar swap
  • hotbar swap items
  • instant move
  • move to other inventory
  • nothing
  • pickup all
  • pickup all into bundle
  • pickup all items
  • pickup all items into bundle
  • pickup from bundle
  • pickup half
  • pickup half stack
  • pickup items from bundle
  • pickup one
  • pickup one item
  • pickup single
  • pickup single item
  • pickup some
  • pickup some into bundle
  • pickup some items
  • pickup some items into bundle
  • place all
  • place all into bundle
  • place all items
  • place all items into bundle
  • place from bundle
  • place items from bundle
  • place one
  • place one item
  • place some
  • place some into bundle
  • place some items
  • place some items into bundle
  • shift move
  • swap cursor
  • swap cursor stack
  • swap items with hotbar
  • swap stack with cursor
  • swap with cursor
  • swap with hotbar
  • unsupported

Inventory Close Reasons

  • types
  • Skript 2.8.0

The inventory close reason in an inventory close event.

In patterns
inventory close reason, inventory close reasons
Values
  • can not use
  • can't use
  • cannot use
  • cant use
  • disconnect
  • disconnected
  • new opened
  • open new
  • teleport
  • unloaded
In Skript since
2.8.0
ID
inventoryclosereason

Inventory holder

  • types

No matching entry in Skript's documentation.

In patterns
inventory holder, inventory holders
ID
inventoryholder

Inventory Type

  • types
  • Skript 2.2-dev32

Minecraft has several different inventory types with their own use cases.

In patterns
inventory type, inventory types
In Skript since
2.2-dev32
ID
inventorytype
View all 31 values
  • anvil inventory
  • barrel inventory
  • beacon inventory
  • blast furnace inventory
  • brewing inventory
  • cartography inventory
  • chest inventory
  • chiseled bookshelf inventory
  • composter inventory
  • crafter inventory
  • crafting inventory
  • crafting table inventory
  • creative inventory
  • decorated pot inventory
  • dispenser inventory
  • dropper inventory
  • enchanting inventory
  • ender chest inventory
  • furnace inventory
  • grindstone inventory
  • hopper inventory
  • jukebox inventory
  • lectern inventory
  • loom inventory
  • merchant inventory
  • player inventory
  • shulker box inventory
  • smithing inventory
  • smoker inventory
  • stonecutter inventory
  • workbench inventory

Item

  • types
  • Skript 1.0

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.

In patterns
item, items
Written as
<code>[<number> [of]] <alias> [of <enchantment> <level>]</code>, Where <alias> must be an alias that represents exactly one item (i.e cannot be a general alias like 'sword' or 'plant')
In Skript since
1.0
ID
itemstack
View 2 examples
set {_item} to type of the targeted block
{_item} is a torch

Item Component

  • types
  • Skript 2.13

Represents an item component for items. i.e. equippable components.

In patterns
item component, item components
In Skript since
2.13
ID
itemcomponent

Item Display Transforms

  • types
  • Skript 2.10

Represents the transform setting of an item display.

In patterns
item display transform, item display transforms
In Skript since
2.10
ID
itemdisplaytransform
View all 20 values
  • first person left hand
  • first person left handed
  • first person right hand
  • first person right handed
  • fixed
  • fixed position
  • ground
  • gui
  • head
  • left handed in first person
  • left handed in third person
  • menu
  • no transform
  • right handed in first person
  • right handed in third person
  • the ground
  • third person left hand
  • third person left handed
  • third person right hand
  • third person right handed

Item Flag

  • types
  • Skript 2.10

Represents flags that may be applied to hide certain attributes of an item.

In patterns
item flag, item flags
Values
  • hide additional tooltip
  • hide armor trim
  • hide attributes
  • hide destroys
  • hide dye
  • hide enchants
  • hide placed on
  • hide stored enchants
  • hide unbreakable
In Skript since
2.10
ID
itemflag

Item Rarity

  • types
  • Skript 2.17

Represents the item rarity of an item.

In patterns
item rarity, item rarities
Values
  • common
  • epic
  • rare
  • uncommon
In Skript since
2.17
ID
itemrarity

Item Type

  • types
  • Skript 1.0

An item type is an alias that 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.

In patterns
item type, item types
Written as
[<number> [of]] [all/every] <alias> [of <enchantment> [<level>] [,/and <more enchantments...>]]
In Skript since
1.0
ID
itemtype
View 4 examples
give 4 torches to the player
add oak slab to the inventory of the block
player's tool is a diamond sword of sharpness
block is dirt or farmland

Keyed boss bar

  • types

No matching entry in Skript's documentation.

In patterns
keyed boss bar, keyed boss bars
ID
keyedbossbar

Living Entity

  • types
  • Skript 1.0

A living entity, i.e. a mob or player, not inanimate entities like projectiles or dropped items.

In patterns
living entity, living entities
Written as
see <a href='#entity'>entity</a>, but ignore inanimate objects
In Skript since
1.0
ID
livingentity
View 2 examples
spawn 5 powered creepers
shoot a zombie from the creeper

Location

  • types
  • Skript 1.0

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 patterns
location, locations
In Skript since
1.0
ID
location
View 2 examples
teleport player to location at 0, 69, 0
set {home::%uuid of player%} to location of the player

Loot Context

  • types
  • Skript 2.10

Represents additional information a loot table can use to modify its generated loot.

Some loot tables will require some values (i.e. looter, location, looted entity) in a loot context when generating loot whereas others may not.

For example, the loot table of a simple dungeon chest will only require a location, whereas the loot table of a cow will require a looting player, looted entity, and location.

You can find more information about this in https://minecraft.wiki/w/Loot_context

In patterns
loot context, loot contexts
In Skript since
2.10
ID
lootcontext

Loot Table

  • types
  • Skript 2.10

Loot tables represent what items should be in naturally generated containers, what items should be dropped when killing a mob, or what items can be fished.

You can find more information about this in https://minecraft.wiki/w/Loot_table

In patterns
loot table, loot tables
In Skript since
2.10
ID
loottable

Metadata Holder

  • types
  • Skript 2.2-dev36

Something that can hold metadata (e.g. an entity or block)

In patterns
metadata holder, metadata holders
In Skript since
2.2-dev36
ID
metadataholder
View example
set metadata value "super cool" of player to true

Minecraft Tag

  • types
  • Skript 2.10

A tag that classifies a material, or entity.

In patterns
minecraft tag, minecraft tags
In Skript since
2.10
ID
minecrafttag

Moon Phase

  • types
  • Skript 2.7

Represents the phase of a moon.

In patterns
moon phase, moon phases
Values
  • first quarter
  • full moon
  • last quarter
  • new moon
  • waning crescent
  • waning gibbous
  • waxing crescent
  • waxing gibbous
In Skript since
2.7
ID
moonphase

Node

  • types
  • Skript 2.10

A node (entry) from a script config file.

This may have navigable children.

In patterns
node, nodes
In Skript since
2.10
ID
node
View example
the current script

Number

  • types
  • Skript 1.0

A number, e.g. 2.5, 3, -9812454, 30 degrees or 3.14 radians.

Please note that many expressions only need integers, i.e. will discard any fractional parts of any numbers without producing an error.

Radians will be converted to degrees.

In patterns
number, numbers
Written as
[-]###[.###] [e[+|-]###] [[in ](rad[ian][s]|deg[ree][s])]
In Skript since
1.0
ID
number
View 3 examples
set the player's health to 5.5
set {_temp} to 2*{_temp} - 2.5
set {_angle} to 3.14 in radians # will be converted to degrees

Object

  • types
  • Skript 1.0

The supertype of all types, meaning that if %object% is used in e.g. a condition it will accept all kinds of expressions.

In patterns
object, objects
In Skript since
1.0
ID
object

Offline Player

  • types
  • Skript 2.0 beta 8

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.

In patterns
offline player, offline players
In Skript since
2.0 beta 8
ID
offlineplayer
View example
set {_p} to "Notch" parsed as an offlineplayer # returns Notch even if they're offline
View how it's written

Parsing an offline player as a player (online) will return nothing (none), for that case you would need to parse as offlineplayer which only returns nothing (none) if player doesn't exist in Minecraft databases (name not taken) otherwise it will return the player regardless of their online status.

Particle

  • types
  • Skript 2.14

Various particles.

In patterns
particle effect, particle effects
In Skript since
2.14
ID
particle
View all 350 values
  • ANGRY_VILLAGER
  • ASH
  • BLOCK
  • BLOCK_CRUMBLE
  • BLOCK_MARKER
  • BUBBLE
  • BUBBLE_COLUMN_UP
  • BUBBLE_POP
  • CAMPFIRE_COSY_SMOKE
  • CAMPFIRE_SIGNAL_SMOKE
  • CHERRY_LEAVES
  • CLOUD
  • COMPOSTER
  • COPPER_FIRE_FLAME
  • CRIMSON_SPORE
  • CRIT
  • CURRENT_DOWN
  • DAMAGE_INDICATOR
  • DOLPHIN
  • DRAGON_BREATH
  • DRIPPING_DRIPSTONE_LAVA
  • DRIPPING_DRIPSTONE_WATER
  • DRIPPING_HONEY
  • DRIPPING_LAVA
  • DRIPPING_OBSIDIAN_TEAR
  • DRIPPING_WATER
  • DUST
  • DUST_COLOR_TRANSITION
  • DUST_PILLAR
  • DUST_PLUME
  • EFFECT
  • EGG_CRACK
  • ELDER_GUARDIAN
  • ELECTRIC_SPARK
  • ENCHANT
  • ENCHANTED_HIT
  • END_ROD
  • ENTITY_EFFECT
  • EXPLOSION
  • EXPLOSION_EMITTER
  • FALLING_DRIPSTONE_LAVA
  • FALLING_DRIPSTONE_WATER
  • FALLING_DUST
  • FALLING_HONEY
  • FALLING_LAVA
  • FALLING_NECTAR
  • FALLING_OBSIDIAN_TEAR
  • FALLING_SPORE_BLOSSOM
  • FALLING_WATER
  • FIREFLY
  • FIREWORK
  • FISHING
  • FLAME
  • FLASH
  • GEYSER
  • GEYSER_BASE
  • GEYSER_PLUME
  • GEYSER_POOF
  • GLOW
  • GLOW_SQUID_INK
  • GUST
  • GUST_EMITTER_LARGE
  • GUST_EMITTER_SMALL
  • HAPPY_VILLAGER
  • HEART
  • INFESTED
  • INSTANT_EFFECT
  • ITEM
  • ITEM_COBWEB
  • ITEM_SLIME
  • ITEM_SNOWBALL
  • LANDING_HONEY
  • LANDING_LAVA
  • LANDING_OBSIDIAN_TEAR
  • LARGE_SMOKE
  • LAVA
  • MYCELIUM
  • NAUTILUS
  • NOTE
  • NOXIOUS_GAS
  • NOXIOUS_GAS_CLOUD
  • OMINOUS_SPAWNING
  • ORANGE_POPLAR_LEAVES
  • PALE_OAK_LEAVES
  • PAUSE_MOB_GROWTH
  • POOF
  • PORTAL
  • RAID_OMEN
  • RAIN
  • RED_POPLAR_LEAVES
  • RESET_MOB_GROWTH
  • REVERSE_PORTAL
  • SCRAPE
  • SCULK_CHARGE
  • SCULK_CHARGE_POP
  • SCULK_SOUL
  • SHRIEK
  • SMALL_FLAME
  • SMALL_GUST
  • SMOKE
  • SNEEZE
  • SNOWFLAKE
  • SONIC_BOOM
  • SOUL
  • SOUL_FIRE_FLAME
  • SPIT
  • SPLASH
  • SPORE_BLOSSOM_AIR
  • SQUID_INK
  • SULFUR_BUBBLES
  • SULFUR_CUBE_GOO
  • SWEEP_ATTACK
  • TINTED_LEAVES
  • TOTEM_OF_UNDYING
  • TRAIL
  • TRIAL_OMEN
  • TRIAL_SPAWNER_DETECTION
  • TRIAL_SPAWNER_DETECTION_OMINOUS
  • UNDERWATER
  • VAULT_CONNECTION
  • VIBRATION
  • WARPED_SPORE
  • WAX_OFF
  • WAX_ON
  • WHITE_ASH
  • WHITE_SMOKE
  • WITCH
  • YELLOW_POPLAR_LEAVES
  • angry villager particle
  • angry villager particles
  • ash particle
  • ash particles
  • bubble column particle
  • bubble column particles
  • bubble particle
  • bubble particles
  • bubble pop particle
  • bubble pop particles
  • campfire cosy smoke particle
  • campfire cosy smoke particles
  • campfire signal smoke particle
  • campfire signal smoke particles
  • cherry leaves particle
  • cherry leaves particles
  • cloud particle
  • cloud particles
  • cobweb item particle
  • cobweb item particles
  • composter particle
  • composter particles
  • copper flame particle
  • copper flame particles
  • crimson spore particle
  • crimson spore particles
  • crit particle
  • crit particles
  • damage indicator particle
  • damage indicator particles
  • dolphin particle
  • dolphin particles
  • downward current particle
  • downward current particles
  • dripping honey particle
  • dripping honey particles
  • dripping lava particle
  • dripping lava particles
  • dripping obsidian tear particle
  • dripping obsidian tear particles
  • dripping water particle
  • dripping water particles
  • dripstone dripping lava particle
  • dripstone dripping lava particles
  • dripstone dripping water particle
  • dripstone dripping water particles
  • dust plume particle
  • dust plume particles
  • egg crack particle
  • egg crack particles
  • elder guardian particle
  • elder guardian particles
  • electric spark particle
  • electric spark particles
  • enchanted hit particle
  • enchanted hit particles
  • enchanting particle
  • enchanting particles
  • end rod particle
  • end rod particles
  • explosion emitter particle
  • explosion emitter particles
  • explosion particle
  • explosion particles
  • falling dripstone lava particle
  • falling dripstone lava particles
  • falling dripstone water particle
  • falling dripstone water particles
  • falling honey particle
  • falling honey particles
  • falling lava particle
  • falling lava particles
  • falling nectar particle
  • falling nectar particles
  • falling obsidian tear particle
  • falling obsidian tear particles
  • falling spore blossom particle
  • falling spore blossom particles
  • falling water particle
  • falling water particles
  • firefly particle
  • firefly particles
  • firework particle
  • firework particles
  • fishing particle
  • fishing particles
  • flame particle
  • flame particles
  • glow particle
  • glow particles
  • glow squid ink particle
  • glow squid ink particles
  • gust particle
  • gust particles
  • happy villager particle
  • happy villager particles
  • heart particle
  • heart particles
  • infested particle
  • infested particles
  • landing honey particle
  • landing honey particles
  • landing lava particle
  • landing lava particles
  • landing obsidian tear particle
  • landing obsidian tear particles
  • large gust emitter particle
  • large gust emitter particles
  • large smoke particle
  • large smoke particles
  • lava particle
  • lava particles
  • mycelium particle
  • mycelium particles
  • nausea gas cloud particle
  • nausea gas cloud particles
  • nausea gas particle
  • nausea gas particles
  • nautilus particle
  • nautilus particles
  • note particle
  • note particles
  • noxious gas cloud
  • noxious gas clouds
  • noxious gas particle
  • noxious gas particles
  • ominous spawning particle
  • ominous spawning particles
  • ominous trial spawner detection particle
  • ominous trial spawner detection particles
  • orange poplar leaves particle
  • orange poplar leaves particles
  • pale oak leaves particle
  • pale oak leaves particles
  • pause mob growth particle
  • pause mob growth particles
  • poof particle
  • poof particles
  • portal particle
  • portal particles
  • raid omen particle
  • raid omen particles
  • rain particle
  • rain particles
  • red poplar leaves particle
  • red poplar leaves particles
  • reset mob growth particle
  • reset mob growth particles
  • reverse portal particle
  • reverse portal particles
  • scrape particle
  • scrape particles
  • sculk charge pop particle
  • sculk charge pop particles
  • sculk soul particle
  • sculk soul particles
  • slime item particle
  • slime item particles
  • small flame particle
  • small flame particles
  • small gust emitter particle
  • small gust emitter particles
  • small gust particle
  • small gust particles
  • smoke particle
  • smoke particles
  • sneeze particle
  • sneeze particles
  • snowball item particle
  • snowball item particles
  • snowflake particle
  • snowflake particles
  • sonic boom particle
  • sonic boom particles
  • soul fire flame particle
  • soul fire flame particles
  • soul particle
  • soul particles
  • spit particle
  • spit particles
  • splash particle
  • splash particles
  • spore blossom air particle
  • spore blossom air particles
  • squid ink particle
  • squid ink particles
  • sulfur bubble column particle
  • sulfur bubble column particles
  • sulfur bubbles particle
  • sulfur bubbles particles
  • sulfur cube goo particle
  • sulfur cube goo particles
  • sulfur cube jump particle
  • sulfur cube jump particles
  • sulfur cube jumping particle
  • sulfur cube jumping particles
  • sweep attack particle
  • sweep attack particles
  • totem of undying particle
  • totem of undying particles
  • trial omen particle
  • trial omen particles
  • trial spawner detection particle
  • trial spawner detection particles
  • underwater particle
  • underwater particles
  • vault connection particle
  • vault connection particles
  • warped spore particle
  • warped spore particles
  • wax off particle
  • wax off particles
  • wax on particle
  • wax on particles
  • white ash particle
  • white ash particles
  • white smoke particle
  • white smoke particles
  • witch particle
  • witch particles
  • yellow poplar leaves particle
  • yellow poplar leaves particles

Player

  • types
  • Skript 1.0

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 their 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.

In patterns
player, players
In Skript since
1.0
ID
player
View 2 examples
set {_p} to "Notch" parsed as a player # returns <none> unless Notch is actually online or starts with Notch like Notchan
set {_p} to "N" parsed as a player # returns Notch if Notch is online because their name starts with 'N' (case insensitive) however, it would return nothing if no player whose name starts with 'N' is online.
View how it's written

Parsing an offline player as a player (online) will return nothing (none), for that case you would need to parse as offlineplayer which only returns nothing (none) if player doesn't exist in Minecraft databases (name not taken) otherwise it will return the player regardless of their online status.

Plural entity type

  • types

No matching entry in Skript's documentation.

In patterns
plural entity type, plural entity types
ID
pluralentitytype

Potion effect

  • types

No matching entry in Skript's documentation.

In patterns
potion effect, potion effects
ID
skriptpotioneffect

Potion Effect Event Action

  • types
  • Skript 2.14

Represents the action being performed in an 'entity potion effect' event.

'added' indicates the entity does not already have a potion effect of the event potion effect type.

'changed' indicates the entity already has a potion effect of the event potion effect type, but some property about the potion effect is changing.

'cleared' indicates that the effect is being removed because all of the entity's effects are being removed.

'removed' indicates that the event potion effect type has been specifically removed from the entity.

In patterns
potion effect action, potion effect actions
Values
  • add
  • added
  • change
  • changed
  • clear
  • cleared
  • removal
  • remove
  • removed
In Skript since
2.14
ID
potionaction
View example
on entity potion effect:
	if the event-potion effect action is removal:
		message "One of your existing potion effects was removed!"

Potion Effect Event Cause

  • types
  • Skript 2.10

Represents the cause of an 'entity potion effect' event. For example, an arrow hitting an entity or a command being executed.

In patterns
potion effect cause, potion effect causes
In Skript since
2.10
ID
potioncause
View example
on entity potion effect:
	if the event-potion effect cause is arrow affliction:
		message "You were hit by a tipped arrow!"
View all 27 values
  • arrow infliction
  • attack
  • beacon effect
  • conduit effect
  • conversion
  • converted
  • dolphin boost
  • drinking milk
  • drinking potion
  • enter area effect cloud
  • expiration
  • expired
  • food
  • illusion
  • milk
  • patrol captain
  • pillager captain
  • potion drink
  • potion drunk
  • potion splash
  • removal by resurrection
  • spawned spider
  • spider spawn
  • totem
  • turtle helmet effect
  • villager trade
  • wither rose infliction

Potion Effect Type

  • types
  • Skript 2.0 beta 3

A potion effect type, e.g. 'strength' or 'swiftness'.

In patterns
potion effect type, potion effect types
In Skript since
2.0 beta 3
ID
potioneffecttype
View 3 examples
apply swiftness 5 to the player
apply potion of speed 2 to the player for 60 seconds
remove invisibility from the victim
View how it's written

absorption, bad luck, bad omen, blindness, breath of the nautilus, conduit power, confusion, damage, damage resistance, darkness, dolphin's grace, dolphins grace, fast digging, fast mining, fire immunity, fire resistance, floating, glowing, haste, health, health boost, hero of the village, hunger, increase damage, increased damage, infested, instant damage, instant health, invisibility, jump, jump boost, levitation, luck, max health boost, maximum health boost, mining fatigue, nausea, night vision, oozing, poison, raid omen, reduce damage, reduced damage, regeneration, resistance, saturation, slow, slow digging, slow fall, slow falling, slow mining, slowness, speed, strength, swiftness, trial omen, unluck, water breathing, weakness, weaving, wind charged, wither, wither effect, wither potion effect

Potion Effect Type Category

  • types
  • Skript 2.14

Represents the type of effect a potion effect type has on an entity.

In patterns
potion effect type category, potion effect type categories
Values
  • beneficial
  • harmful
  • neutral
In Skript since
2.14
ID
potioneffecttypecategory

Quaternion

  • types
  • Skript 2.10

Quaternions are four dimensional vectors, often used for representing rotations.

In patterns
quaternion, quaternions
In Skript since
2.10
ID
quaternion

Queue

  • types
  • Skript 2.10

A queued list of values. Entries are removed from a queue when they are queried.

In patterns
queue, queues
In Skript since
2.10
ID
queue
View 3 examples
set {queue} to a new queue
add "hello" to {queue}
broadcast the 1st element of {queue}

Quit Reason

  • types
  • Skript 2.8.0

Represents a quit reason from a player quit server event.

In patterns
quit reason, quit reasons
Values
  • disconnected
  • erroneous
  • erroneous state
  • kicked
  • quit
  • timed out
In Skript since
2.8.0
ID
quitreason

Resource Pack State

  • types
  • Skript 2.4

The state in a resource pack request response event.

In patterns
resource pack state, resource pack states
In Skript since
2.4
ID
resourcepackstate
View all 22 values
  • accept
  • accepted
  • decline
  • declined
  • discarded
  • download fail
  • downloaded
  • fail
  • failed
  • failed reload
  • failed to download
  • failed to reload
  • invalid url
  • refuse
  • refused
  • reject
  • rejected
  • success
  • successfully install
  • successfully installed
  • successfully load
  • successfully loaded

Respawn Reason

  • types
  • Skript 2.14

The respawn reason in a respawn event.

In patterns
respawn reason, respawn reasons
Written as
death, plugin, end portal
In Skript since
2.14
ID
respawnreason

Scalable Particle Effect

  • types
  • Skript 2.14

A particle effect which can be scaled up or down.

In patterns
scalable particle effect, scalable particle effects
Values
  • EXPLOSION
  • SWEEP_ATTACK
In Skript since
2.14
ID
scalableparticle

Script

  • types
  • Skript 2.10

A script loaded by Skript.

Disabled scripts will report as being empty since their content has not been loaded.

In patterns
script, scripts
In Skript since
2.10
ID
script
View example
the current script

Server Icon

  • types
  • Skript 2.3

A server icon that was loaded using the load server icon effect.

In patterns
server icon, server icons
In Skript since
2.3
ID
cachedservericon

Slot

  • types

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. For that matter: slots are never saved to variables, only the items they represent at the time when the variable is set).

Please note that tool can be regarded a slot, but it can actually change it's position, i.e. doesn't represent always the same slot.

In patterns
slot, slots
ID
slot
View 4 examples
set tool of player to dirt
delete helmet of the victim
set the color of the player's tool to green
enchant the player's chestplate with projectile protection 5

Sound Category

  • types
  • Skript 2.4

The category of a sound, they are used for sound options of Minecraft. See the play sound and stop sound effects.

In patterns
sound category, sound categories
In Skript since
2.4
ID
soundcategory
View all 30 values
  • ambient category
  • block category
  • blocks category
  • environment category
  • friendly creature category
  • friendly creatures category
  • friendly mob category
  • friendly mobs category
  • hostile category
  • hostile creature category
  • hostile creatures category
  • hostile mob category
  • hostile mobs category
  • jukebox category
  • jukeboxes category
  • master category
  • master volume category
  • music category
  • neutral category
  • note block category
  • note blocks category
  • noteblock category
  • noteblocks category
  • player category
  • players category
  • record category
  • records category
  • speech category
  • voice category
  • weather category

Spawn Reason

  • types
  • Skript 2.3

The spawn reason in a spawn event.

In patterns
spawn reason, spawn reasons
In Skript since
2.3
ID
spawnreason
View all 60 values
  • breed
  • breeding
  • build copper golem
  • build coppergolem
  • build iron golem
  • build irongolem
  • build snowman
  • build wither
  • built copper golem
  • built iron golem
  • built snowman
  • built wither
  • chunk gen
  • chunk generation
  • creature spawner
  • cured
  • customised
  • customized
  • dispense egg
  • dispensing egg
  • duplication
  • enchantment
  • frozen
  • golem defense
  • infected
  • infection
  • iron golem defense
  • jockey
  • metamorphosis
  • mob spawner
  • mount
  • natural
  • ocelot baby
  • patrol
  • perching
  • piglin zombification
  • piglin zombified
  • potion effect
  • raid
  • reanimate
  • rehydrated
  • rehydration
  • reinforcements
  • release from bucket
  • shear
  • sheared
  • shoulder
  • shoulder entity
  • silverfish block
  • silverfish reveal
  • silverfish trap
  • slime split
  • spawn egg
  • spawner egg
  • spell
  • trial creature spawner
  • trial mob spawner
  • village defense
  • village invading
  • village invasion

Teleport Cause

  • types
  • Skript 2.2-dev35

The teleport cause in a teleport event.

In patterns
teleport cause, teleport causes
Values
  • bed exit
  • consumable effect
  • dismount
  • dismounted
  • ender gateway
  • ender portal
  • exit bed
  • exiting bed
  • gateway
  • spectate
  • spectator
In Skript since
2.2-dev35
ID
teleportcause

Teleport Flag

  • types
  • Skript 2.10

Teleport Flags are settings to retain during a teleport.

In patterns
teleport flag, teleport flags
In Skript since
2.10
ID
teleportflag
View all 15 values
  • directional velocity
  • inventory
  • open inventory
  • opened inventory
  • passenger
  • passengers
  • pitch and yaw velocity
  • pitch velocity
  • vehicle
  • x velocity
  • xyz velocity
  • y velocity
  • yaw and pitch velocity
  • yaw velocity
  • z velocity

Text

  • types
  • Skript 1.0

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.

In patterns
text, texts
Written as
simple: "..." quotes: "...""..." expressions: "...%expression%..." percent "...%%..."
In Skript since
1.0
ID
string
View 3 examples
broadcast "Hello World!"
message "Hello %player%"
message "The id of ""%type of tool%"" is %id of tool%."

Text Component

  • types
  • Skript 2.15

Text components are used to represent how text is displayed in Minecraft.

This includes colors, decorations, and more.

In patterns
text component, text components
In Skript since
2.15
ID
textcomponent
View example
"<red><bold>This text is red and bold!"

Time

  • types
  • Skript 1.0

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.

In patterns
time, times
Written as
##:## ##[##][ ]am/pm
In Skript since
1.0
ID
time
View 3 examples
at 20:00:
	time is 8 pm
	broadcast "It's %time%"

Timespan

  • types
  • Skript 1.0, 2.6.1

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'.

NOTE: Months always have the value of 30 days, and years of 365 days.

See date and time for the other time types of Skript.

In patterns
time span, time spans
Written as
<number> [minecraft/mc/real/rl/irl] ticks/seconds/minutes/hours/days/weeks/months/years [[,/and] <more...>] []##:##[.####] ([]minutes:seconds[.milliseconds])
In Skript since
1.0, 2.6.1 (weeks, months, years)
ID
timespan
View 4 examples
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

Transform Reason

  • types
  • Skript 2.8.0

Represents a transform reason of an entity transform event.

In patterns
transform reason, transform reasons
In Skript since
2.8.0
ID
transformreason
View all 31 values
  • creeper super charge
  • cured
  • curing
  • drowning
  • entity drowning
  • entity freeze
  • entity freezing
  • frozen
  • infection
  • magma slime split
  • magma slime splitting
  • metamorphosis
  • mooshroom shear
  • mooshroom shearing
  • piglin zombification
  • piglin zombified
  • sheared
  • skeleton converting to stray
  • skeleton freeze
  • skeleton freezing
  • slime split
  • slime splitting
  • split
  • tadpole converting
  • tadpole converting to frog
  • tadpole metamorphosis
  • villager infection
  • zombie converting to drowned
  • zombie cure
  • zombie curing
  • zombie drowning

Tree Type

  • types
  • Skript 1.0

A tree type represents a tree species or a huge mushroom species. These can be generated in a world with the generate tree effect.

In patterns
tree type, tree types
In Skript since
1.0
ID
treetype
View 2 examples
grow any regular tree at the block
grow a huge red mushroom above the block
View all 62 values
  • acacia tree
  • any birch tree
  • any huge mushroom
  • any jungle tree
  • any mangrove tree
  • any normal tree
  • any oak tree
  • any pale oak tree
  • any poplar tree
  • any regular tree
  • any spruce tree
  • any tree
  • azalea tree
  • big jungle tree
  • big mangrove tree
  • big normal tree
  • big oak tree
  • big regular tree
  • big spruce tree
  • birch tree
  • cherry tree
  • chorus plant
  • cocoa jungle tree
  • cocoa tree
  • creaking pale oak tree
  • crimson fungus
  • crimson fungus tree
  • crimson tree
  • dark oak tree
  • giant jungle tree
  • giant spruce tree
  • huge brown mushroom
  • huge mushroom
  • huge red mushroom
  • jungle bush
  • jungle bush tree
  • jungle cocoa tree
  • jungle tree
  • mangrove tree
  • mega spruce tree
  • normal pale oak tree
  • oak tree
  • pale oak tree
  • poplar tree
  • small birch tree
  • small jungle tree
  • small mangrove tree
  • small normal tree
  • small oak tree
  • small regular tree
  • small spruce tree
  • spruce tree
  • swamp oak
  • swamp oak tree
  • swamp tree
  • tall birch tree
  • tall jungle tree
  • tall spruce tree
  • tree
  • warped fungus
  • warped fungus tree
  • warped tree

Unleash Reason

  • types
  • Skript 2.10

Represents an unleash reason of an unleash event.

In patterns
unleash reason, unleash reasons
Values
  • distance
  • holder disappeared
  • holder gone
  • leashed disappeared
  • leashed gone
  • player unleash
  • player unleashed
  • unleashed by player
In Skript since
2.10
ID
unleashreason

UUID

  • types
  • Skript 2.11

UUIDs are unique identifiers that ensure things can be reliably distinguished from each other. They are generated in a way that makes it practically impossible for duplicates to occur.

Read more about UUIDs and how they are used in Minecraft in the wiki entry about UUIDs.

In patterns
uuid, uuids
In Skript since
2.11
ID
uuid

Vector

  • types
  • Skript 2.2-dev23

Vector is a collection of numbers. In Minecraft, 3D vectors are used to express velocities of entities.

In patterns
vector, vectors
Written as
vector(x, y, z)
In Skript since
2.2-dev23
ID
vector

Vehicle

  • types
  • Skript 2.10.2

Represents a vehicle.

In patterns
vehicle, vehicles
In Skript since
2.10.2
ID
vehicle

Villager Career Change Reason

  • types
  • Skript 2.12

Represents a reason why a villager changed its career.

In patterns
villager career change reason, villager career change reasons
Values
  • employed
  • employment
  • losing job
In Skript since
2.12
ID
villagercareerchangereason

Villager Profession

  • types
  • Skript 2.10

Represents the different professions of villagers.

In patterns
villager profession, villager professions
In Skript since
2.10
ID
villagerprofession
View all 15 values
  • armorer profession
  • butcher profession
  • cartographer profession
  • cleric profession
  • farmer profession
  • fisherman profession
  • fletcher profession
  • leatherworker profession
  • librarian profession
  • mason profession
  • nitwit profession
  • no profession
  • shepherd profession
  • toolsmith profession
  • weaponsmith profession

Villager Type

  • types
  • Skript 2.10

Represents the different types of villagers. These are usually the biomes a villager can be from.

In patterns
villager type, villager types
Values
  • desert
  • jungle
  • plains
  • savanna
  • snow
  • swamp
  • taiga
In Skript since
2.10
ID
villagertype

Weather Type

  • types
  • Skript 1.0

The weather types sunny, rainy, and thundering.

In patterns
weather type, weather types
Values
  • clear
  • rain
  • raining
  • rainy
  • sun
  • sunny
  • thunder
  • thundering
  • thunderstorm
In Skript since
1.0
ID
weathertype
View 3 examples
is raining
is sunny in the player's world
message "It is %weather in the argument's world% in %world of the argument%"

Wolf variant

  • types

No matching entry in Skript's documentation.

In patterns
wolf variant, wolf variants
ID
wolfvariant

World

  • types
  • Skript 1.0, 2.2

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.

In patterns
world, worlds
Written as
<code>"world_name"</code>, e.g. "world"
In Skript since
1.0, 2.2 (alternate syntax)
ID
world
View example
broadcast "Hello!" to the world "world_nether"

World Border

  • types
  • Skript 2.11

Represents the border of a world or player.

In patterns
world border, world borders
In Skript since
2.11
ID
worldborder

World Environment

  • types
  • Skript 2.7

Represents the environment of a world.

In patterns
environment, environments
Values
  • custom
  • end
  • nether
  • normal
  • overworld
  • the end
  • the nether
  • the overworld
In Skript since
2.7
ID
environment

Generated from NeoSkript 0.1.0-SNAPSHOT's registry on Paper 26.3. Descriptions and examples from Skript's documentation (Skript 2.17.0), GPL-3.0. 1172 of 1205 entries matched one of its entries by id, event name or pattern; the rest show only their patterns.