skUnity - Expressions

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)
AAC Violation Level of Player
Absolute Amount of Items
Absolute Path
Absolute value
Absorption hearts of player
Achievement Parent
Achievements
Active Potion Effects
Addon List
Age
All AbilityTypes
All Browsers
All Jobs
All particle effect id names
All potion effects
All Recipes
Alphabetical Order
Altitude
Amount
Amount of dropped items
Amount of Guilds
Amount of Items
Amount of Users
Anvil repair cost
Arabic Numeral
Area of schematic
Area of WorldEdit selection
Argument
Arithmetic
Armor Value
Armour points
Armour Slot
Armour stand rotation
Armour stands
Armour stands - Boots
Armour stands - Chestplate
Armour stands - Helmet
Armour stands - Leggings
Arrow Critical
Arrow Knockback
Arrow speed
Art
Ascii To String
Ascii To Unicode
Attacked
Attacker
Attribute of File
Author of Audio Playing
Auto Despawn
Avatar URL of User
Bed
Binary To Decimal
Binary To Hexadecimal
Binary To Octal
Binary To String
Biome
Biome in BiomeGrid
Blank Inventory
Blast Radius
Block
Block Chunk
Block Cube
Block in Chunk
Block Sphere
Blocks
Blocks in Region
Blocks that enderman can carry
Book Author
Book Author
Book ListUtil
Book Meta
Book of
Book Page
Book Page Count
Book Pages
Book Pages
Book Specific Page
Book Title
Book Title
Books
Books - All book pages
Books - Book generation
Books - Book title
Border Center of World
Border Damage Amount of World
Border Damage Buffer of World
Border Final Size Of World
Border Size of World
Border Time Remaining Until Stabilize
Border Warning Distance of World
Border Warning Time of World
Boss Bar Value
Bossbar Percent
Bossbar Text
Bossbars - All players
Bossbars - Bar progress
Bossbars - Bar style
Bossbars - Bar visibility
Bossbars - Colour
Bossbars - Create bossbar
Bossbars - Title
Bot is Streaming Track
Bottom corner
Bottom right building schematic
Breath of Entity
Bred entity
Breeder
Breeding experience
Breeding father
Breeding item
Breeding mother
Brewing - Fuel time
Brewing - Inventory fuel
Brewing - Inventory ingredients
Brewing - Inventory time
Browser
Calendar
Capitalize first char of each word
Cat Type
Catch
Channel Position
Channels in a Guild
Chat Recipients
Check
Chunk
Citizen ID
Citizen Owner
Citizens - Clone Npc
Citizens - Display name
Citizens - Entity type
Citizens - Fly state of npc
Citizens - Full name
Citizens - Get entity
Citizens - Get Location
Citizens - ID number
Citizens - Protection state
Citizens - UUID of npc
Claim at Location
Claim at Player
Clan
Clan Deaths
Clan from Tag
Clan KDR
Clan Kills
Clan Members
Clan Tag
Clan Total Deaths
Clan Total KDR
Clan Total Kills
Clicked action
Clicked Block/Entity
Clicked inventory
Clicked inventory
CodeBlock Expression
CodeBlock Of Function
Collar Color
Colour of
Coloured / Uncoloured
Command
Command Sender
Compass Target
Complete Capitalization (Case)
Complete UnCapitalization (Case)
Complicated Math
Compound Interest
Configuration Section
Connect Result
Console
Content
Contents from URL
Convert String to Lowercase
Convert String to Upper/Lower Case
Convert string to uppercase
Convert String to Uppercase
Convert text to all lowercase
Coordinate
Counting items
Counting strings in other strings
CPU Byte
CrackShot Weapon
Creature/Entity/Player/Projectile/Villager/Powered Creeper/etc.
Crop state
Current Game of User
Cursor Item
Damage
Damage Cause
Data Value
Date to Unix
Days Running
Decimal To Binary
Delay time
Description of faction
Difference
Difficulty
Direction
Direction of Location
Directory Size
discord id of user
Discriminator of User
Disguise of entity
Disk Space
Displayed Item
Displayed Skin of Player
Distance
Dropped Exp
Dropped xp break block
Drops
Drops of Block
Drops of Block
Duration of Audio Playing
Element
Element of
Enchanted Book Enchants
Enchanted Book Level of Enchantment
Enchanted Book Meta
Enchantment Level
Enchantment level
Enchantment XP Cost
EnchantmentOffers - Enchantment cost
EnchantmentOffers - Enchantment type
EnchantmentOffers - Level
Enchants of item
Encode or Decode Base64
Encode or Decode Morse
Encrypt or Decrypt String
End
Ender Chest
Ender crystal base
Ender crystal beam
Enderman Held Item
Entities
Entities in Chunk
Entities in radius around location
Entity far away state
Entity from Variable
Entity glide state toggle
Entity glowing state
Entity ID
Entity scoreboard tag
Entity Spawn Limits Per World
Entity type
Entity UUID
Enum Values
Event Channel
Event Guild
Event Guild
Event Message
Event Old Status
Event Status
Event String
Event User
Exhaustion of player
Exp
Experience
Experience
Exploded Blocks
Facing
Faction at location
Faction of player
Fake Max Players
Fall distance of entity
Feudal config message
Feudal fighters of kingdom
Feudal home
Feudal kingdom description
Feudal location kingdom
Feudal location kingdom name
Feudal player kingdom
Feudal player kingdom name
File Contents
File existance
File Extension
File Last Modified, Last Accessed, Creation Date
File Line Count
File Name
File Owner
File Size
File-based Java
File-based Lua
Files
Files in Directory
Files in Zip File
Final damage
Final damage
Fireproof state of entity
Firework Effect
First Capitalization (Case)
First Login
Fishing caught entity
Fishing hook
Fishing State
Fishing state
Fishing XP
Fixed Pitch
Fixed Yaw
Flight Mode
Flipped/Reversed Boolean
Font Names
Food Level
Former/Future State
Free Memory
Freeze State
Full scoreboards - Entry of score
Full scoreboards - Get team
Full scoreboards - Objective display name
Full scoreboards - Objective display slot
Full scoreboards - Objective name
Full scoreboards - Objective of score
Full scoreboards - Objective score
Full scoreboards - Objectives
Full scoreboards - Objectives by criteria
Full scoreboards - Score slot
Full scoreboards - Scoreboard entries
Full scoreboards - Scoreboard objective
Full scoreboards - Scoreboard objective criteria
Full scoreboards - Team display name
Full scoreboards - Team entries
Full scoreboards - Team friendly fire state
Full scoreboards - Team name
Full scoreboards - Team of entry
Full scoreboards - Team option
Full scoreboards - Team prefix
Full scoreboards - Team scores of entry
Full scoreboards - Team size
Full scoreboards - Team suffix
Full scoreboards - Teams
Function Return Type
FunctionSocket Handler
FunctionSocket Password
Furnace Slot
Gamemode
General Citizen
Geometric Mean
Get line
get Prefix
get Suffix
Get YAML/YML
getGroup
Glow Color Of
Glowing
Glowing Item
Gravity state
Ground state
Group Score Value
Groups Of
Guid
Guilds of Bot/User
Harmonic Mean
Hash
Hash String
Hastebin Paste
Head Location
Heal Amount
Health
Health Scale
Health Scale Mode
Height of schematic
Height of WorldEdit selection
HerSK version
Hex To RGB
Hexadecimal to Binary
Hexadecimal To Number
Hide enchants/Glow/Shine
Highest Solid Block
Holo Particle
Hologram Line
Home of faction
Hook
Horse Color
Horse Style
Horse Variant
Hotbar Slot
Hours Running
Id
Id of Guild/Channel/User
Identifier of Audio Playing
Ignored sleep state
Image Local
Image URL
Incendiary Explosion
Index of
Indexes of List Variable
Info of Enchantment
Insta break
Interest
Inventory
Inventory clicked cursor
Inventory clicked item
Inventory clicked raw slot
Inventory clicked slot
Inventory clicked slot type
Inventory clicked slot type number
Inventory clicked type
Inventory clicking
Inventory Name
Inventory Serials
Inventory type
Inventory Type Of
Inventory viewers
Invulnerability Time
invulnerable state
IP
IP Server Ping
Item
Item Frame Rotation
Item In Slot
Item Name
Item of Trade
Item Stack Size
Item with custom NBT
Item without any NBT
Items
Items In
Items in slot
Items Within
Items within entity
Itemstack unbreakable
Java version
Jobs Of
Join & Split
Json From List Variable
Json From String
Json Link
Json Message
Json Message
Json Message Append
Json Message Command
Json Message Style
Json Message Tooltip
JSON String
Json Value
Json Values
Json/Lore formatted rows/lines
Key
Key String
Land Boats
Language
Last Color
Last Created Citizen ID
Last Damage
Last Damage Cause
Last Login
Last Spawned/Shot Entity
Length
Length of schematic
Length of WorldEdit selection
Level
Level Progress
LibsDisguises self viewing
Light Level
Line from URL
Lines of file
List of all players
List of allies of a faction
List of enemies of a faction
List of factions
List of TimeZones
List of truces of a faction
List Util
Llama colour
Llama decor
Llama inventory
Loaded Chunks
Loaded Commands
Loaded Conditions
Loaded Effects
Loaded Events
Loaded Expressions
Loaded Functions
Loaded Scripts
Loaded Scripts
Loaded Statements
Loaded Triggers
Loaded Variables
Location
Location At
Location Of
Location to Vector
Location without a direction/facing
Login Result
Loop Value
Lore
Lored Item Stack
LuaScript
Make Player Glow
Map ID
Maps - Center coordinate
Maps - Map scale
Maps - Unlimited tracking state
Maps - World of map
Marry Gender
Marry Home
Marry Partner
Material in ChunkData
Max Durability
Max Health
Max Memory
Max Players
Max Speed
Max Uses of Trade
Maximum block change limit of edit session
Maximum Damage Delay
Maximum Stack Size
mcMMO All Parties
mcMMO All Party Members
mcMMO All Skilltypes
mcMMO Ally of Party
McMMO Experience Level
mcMMO level of Party
mcMMO Party
mcMMO Party Leader
mcMMO Power Level Of
McMMO Skill level of Player
mcMMO Skill level of Player
mcMMO XP of Party
Me
Mean
Median
Mention Tag of User/Role
Message
Message Format
Metadata
Minecraft Version
Minutes Running
Mirror String
Modulus
Money
Moon Phase
MOTD
MOTD of faction
MOTD/Player Count of Server
MySQL - database
MySQL - Get boolean
MySQL - Get integer
MySQL - Get number
MySQL - Get object
MySQL - Get string
MySQL - Host
MySQL - Password
MySQL - Port
MySQL - Result query
MySQL - Username
Name / Display Name
Name of Citizen
Name of faction
Name of User/Guild/Channel
Name tag of
Name Tag of Player
Name Visibility
Name/Title of Sidebar
Named Item
Nametags Prefix/Suffix of player
NBT from file
NBT List contents
NBT List index
NBT of an entity, block or item
Nether
Network Coins
New changed material
New Chunk
New Console
New edit session
New Line
New Random
New Vector
Next empty slot
Nickname of User
No Clip state of entity
No NBT
NoteBlock Note
Now
Nth Prime
Null
Number of changed blocks in an edit session
Number Of Chars
Number of Enchantments
Number Shortened/Shrunk/Condensed
Number Sorting
Number To Hexadecimal
Numbers
Numbers of string
Octal To Binary
Offline Players
Old Chunk
old status of user
Online Mode
Online Time
Opened Inventory
Operating System
Operators
OS Command Output
Owner of Guild
Owner of plot
Packet All PacketTypes
Packet Info
Packet New
Paged List
Parameter
Parse
Parse Error
Particle
Passenger
Phase Of
Pick Up Delay
Pickup State
Ping
Ping of Player by AAC
Pinned Messages in Channel
Placeholder parse
Player Data
Player names
Player Permissions
Player Statistics
Player's current cursor
Player's deaths
Player's k/d ratio
Player's kills
Players of town
Plot at location
Plot at player
Plot owner
Plot price
Plots of player
PlotSquared Plots
Plugin List
Plugin Version
Point 1 Of Region
Point 1 of WorldEdit selection
Point 2 Of Region
Point 2 of WorldEdit selection
Position of Audio Playing
Potion Duration
Potion Tier
Power level of player
Power of faction
Power of player
Powerboost of faction
Powerboost of player
Prefix of
Prefix of group
Prefix/Suffix
Primary group
Primed tnt fuse time
Primer
Processors
Product
Projectile bounce state
ProtocolSupport - Protocol version
Pull
Rabbit Type
Radix
Ram
Random
Random Char
Random Color
Random Index From List
Random Number
Random Value
Randomize String
Rank Of Group
RankLadder Of Group
Rating
Read Line in File
Recipe Ingredients
Recipe Result
Recipes
Record of Block
Redstone current
Redstone current from location
Regen Reason
Regex Match
Region
Region At
Region Members & Owners
Region of Guild
Region of Server
Regions At
Relationship status between two faction
Remaining Air
Remove NBT from item
Resident data (chat name)
Resident data (friends)
Resident data (last online date)
Resident data (last online)
Resident data (nation ranks)
Resident data (registered)
Resident data (surname)
Resident data (title)
RGB Color
RGB to Hex
Role of player
Roles in Guild
Roman Numeral
Rounding
Rounding Decimals
Rows Number
Saturation
Script Name
Seconds Running
Server Icon
Server IP
Server motd
Server Name
Server Port
Server Port and IP
Server TPS
Server TPS
Shiny Item
Shooter
Shot arrow
Shot bow
Sign Text
Silent state
Single ID Score Value
Single Value
Size of Guild
Size of inventory
Size of itemstack
Size of variables
SkellettProxy - Bungeecord connect/send player to server
SkellettProxy - Bungeecord current server
SkellettProxy - Bungeecord force execute command/chat
SkellettProxy - Bungeecord MOTD
SkellettProxy - Bungeecord name from UUID
SkellettProxy - Bungeecord online players
SkellettProxy - Bungeecord online players of server
SkellettProxy - Bungeecord player IP
SkellettProxy - Bungeecord player ping
SkellettProxy - Bungeecord server IP
SkellettProxy - Bungeecord servers
Skill level of player
SkillAPI attribute points
SkillAPI chat colour
SkillAPI class group
SkillAPI experience
SkillAPI health scale
SkillAPI level
SkillAPI main class
SkillAPI mana
SkillAPI mana regen
SkillAPI mana scale
SkillAPI max health
SkillAPI max level
SkillAPI max mana
SkillAPI required experience
SkillAPI total experience
Skin of player
SkinTexture Of Player
SkinTexture With Value
Skull
skWhitelist
Slime Size
Slime Size
Slime size
Slot
Sneak state
Spawn
Spawn Radius
Spawn reason
Spawn reason
Spectate Angle
Spectate Target
Spectate target
Spectral arrow glowing time
Speed
Split Characters
Spread source
Sprint state
SQL Query
SQL Query Objects
SSL Algorithm
SSL Expire Value
SSL Issue Value
SSL Serial Number
SSL Verifier
SSL Version
Status of User/Bot in Guild
String Count inside Another
String Matching
String To Ascii
String to Binary
String to Unicode
String-based Java
String-based Lua
Subtext
Suffix of
Suffix of group
Sum
System Time
System Time
Tab Complete Argument
Tab Completions
Tablist Array Amount of Columns/Rows
Tablist Array Initial Icon
Tablist Array Tab Display Name, Ping/Latency, Head/Icon/Skull
Tablist Players Are Hidden
Tablist Simple Tab Display Name, Ping/Latency, Head/Icon/Skull
Tablists - All tabitems
Tablists - Delete tabitem players
Tag of compound
Tame Owner
Target
Target reason
Targeted Block
Team of player
Teleport cause
TerrainControl Biome at Location
Text/String Multiplication
Threads
Throwable Catch
Throwable Cause
Throwable Details
Throwable Property of StackTraceElement
Throwable Stack Trace
Tile Entities
Time
Time Absolute
Time In TimeZone
Time Lived
Time Relative
Timespan converted into units
TimeSpan Shortener
TimeZone of server
Title of Audio Playing
Title of player
Title/Name of BossBar
Token of Bot
Tool
Topic of Channel
Total Memory
Total Time
Town at player
Town balance
Town of player
Town player count
Town taxes
Trade of Villager
Transient Object
Type of
Type of Browser
Unbreakable Itemstack
Unicode To Ascii
Unicode To String
Unix Time
Unix To Date
Unix To Date Formatted
Upper corner
Uptime of Bot/User
URL Last Modified
URL Line Count
URL Online State
URL Response Code
URL Size
URL Text
Users with Role
UUID
UUID To Player
Value List
Value/Progress of Bossbar
Values from the AAC Hack Event
VanishNoPacket vanish state of player
Vehicle
Version
Version
Version of Player
View Distance
Viewers of Inventory
Villager Job
Villager Trades
Visibility of entity
Visibility of Player (Dynmap)
Voice Channel of User
Volume of schematic
Volume of WorldEdit selection
Weather
Where Filter
Width of schematic
Width of WorldEdit selection
WildSkript Version
Windows Number
World
World Creator Modified
World Creator Named
World Creator of World
World From String
World Management Automatic Creator With Worldname
World Management Automatic Creators
World Setting of Creator
World Value of Gamerule
WorldEdit selection
Worlds
X of Item
YAML
Yaml (skUtilities)
YAML Value
Yaw / Pitch
zPermissions -
zPermissions - All groups
zPermissions - All players in group
zPermissions - All upgrade tracks of group
zPermissions - Assigned groups of player
zPermissions - Groups of player
zPermissions - Primary group of player
zPermissions - Upgrade tracks

Expressions

AAC Violation Level of Player

Addon: LargeSk
Patterns:
%player%['s] [aac] [hack[s]|violation[s]|cheat[s]] level of %hacktype%
[aac] %hacktype% [hack[s]|violation[s]|cheat[s]] level of %player%
%player%'s vl of %hacktype%
%hacktype% vl of %player%
Plugin requires: Advanced Anti Cheat
Returns violation level of given hack check according to AAC.

Example:

on hack:
    send "%player% >> %hack% >> %player's vl of hack% >> %aac ping of player% >> %aac tps%" to {admins::*}

Absolute Amount of Items

Addon: SkRayFall
Patterns:
(absolute|complex|abs) number of %itemstack% in %player%['s] (inventory|inv)
Get the number of items in a player’s inventory that are an absolute match to a sample item. To match they must have the same enchants, name and lore.
Add example

Absolute Path

Addon: skUtilities
Patterns:
(absolute|complete) path of %string%
%string%'s (absolute|complete) path
Returns the absolute path of a string for example

"plugins/test.txt" would return
c://ect../myserver/plugins/test.txt"

Example:

set {_var} to absolute path of "plugins/test.txt"

Absolute value

Addon: Skellett
Patterns:
absolute [value] of %number%
Makes a number absolute.

Example:

broadcast "%absolute value of 13.37%"

Absorption hearts of player

Addon: Skellett
Patterns:
[skellett] absorption hearts of %player%
[skellett] %player%'s absorption hearts
Returns the amount of absorption hearts a player has.

The changers are set, remove/subtract, reset and add

Example:

command /hp:
    trigger:
        broadcast "%absorption hearts of player%"
        set absorption hearts of player to 10
        broadcast "%absorption hearts of player%"

Achievement Parent

Addon: MundoSK
Patterns:
parent of achievement %achievement%
Gets the parent achievement of said achievement.
Add example

Achievements

Addon: MundoSK
Patterns:
[all] achieve[ment]s [of %-player%]
%player%'s achieve[ment]s
All the achievements a player has. If you leave out the player, it becomes all the achievements there are.
Add example

Active Potion Effects

Addon: ExtrasSK
Patterns:
[all [of]] [the] active potion effect[s] (of|on) %living entity%
[all [of]] %living entity%'s active potion effect[s]
Returns a list of currently active potion effects. Can be used to remove all potion effects.

Example:

command /removealleffects:
    trigger:
        set {_effects::*} to all of the active potion effects on player
        loop {_effects::*}:
            remove loop-value from player

Addon List

Addon: skUtilities
Patterns:
addons list
list of addons
Gets a list of the addons on the server, this can also be used to get the number (size)

Example:

message "%addons list%"

set {_var::*} to addons list
message "%size of {_var::*}%"

Age

Addon: RandomSK
Patterns:
age of %entity%
%entity%'s age
Age of an entity. Baby or Adult.

Entities supported: Chicken, Cow, Horse, MushroomCow, Ocelot, Pig, Sheep, Villager, Wolf, Zombie, PigZombie

Example:

on spawn of zombie:
    set age of event-entity to baby 

All AbilityTypes

Addon: SharpSK
Patterns:
[mcmmo] [(the|all)] [of] [the] ability[]type[s]
Plugin requires: mcMMO
Gets all the abilitytypes
Add example

All Browsers

Addon: GameBuSK
Patterns:
all browsers
Gets a list of all browser windows.

Example:

command /test:
    trigger:
        loop all browsers:
            close loop-value parsed as browser

All Jobs

Addon: SharpSK
Patterns:
all [of|the] jobs 
Plugin requires: JobsReborn
Gets all the Jobsreborn jobs
Add example

All particle effect id names

Addon: SkDragon
Patterns:
[all ][skDragon ][particle effect ]id names
Returns a list of all particle effect id names

Added in v0.13.0-BETA

Example:

set {_var::*} to id names
broadcast "%{_var::*}%"

All potion effects

Addon: Skellett
Patterns:
[(the|all)] [of] [the] [active] potion[s] [effects] (on|of) %entity%
Grab all potion effects on entity

Example:

command /potions:
    trigger:
        loop all active potions on player:
            broadcast "%loop-value%"

All Recipes

Addon: TuSKe
Patterns:
[all] [registred] recipes
Returns all server recipes. You can get the ingredients and the result item.

Example:

command /recipes <integer=1>:
    usage: /recipes <page>
    trigger:
        set {_list::*} to page arg of all recipes with 10 lines
        loop {_list::*}:
            send "Ingredients to create %result item of loop-value%: %ingredients of loop-value%"

Alphabetical Order

Addon: TuSKe
Patterns:
alphabetical order of %objects%
Will return a list of objects organized in alphabetic order.

Example:

loop alphabetical order of all players:
    send "%loop-object%"

Altitude

Addon: Skript
Patterns:
[the] altitude[s] of %locations%
%locations%'[s] altitude[s]
Effectively an alias of y-coordinate of ..., it represents the height of some object above bedrock.

Example:

on damage:
    altitude of the attacker is higher that the altitude of the victim
    set damage to damage * 1.25

Amount

Addon: Skript
Patterns:
(amount|number|size) of %objects%
The amount of something.
Please note that amount of <items> will not return the number of items, but the number of stacks, e.g. 1 for a stack of 64 torches.

Example:

message "There are %number of all players% players online!"

Amount of dropped items

Addon: Skellett
Patterns:
[skellett] [get] (size|number|amount) of dropped %entity%
Grab the number of items in a dropped item entity
Add example

Amount of Guilds

Addon: Vixio
Patterns:
(amount|size) of %string%['s] guilds
Add description
Add example

Amount of Items

Addon: Skript
Patterns:
[the] (amount|number) of %item type% (in|of) %inventories%
Counts how many of a particular item type are in a given inventory.

Example:

message "You have %number of ores in the player's inventory% ores in your inventory."

Amount of Users

Addon: Vixio
Patterns:
(amount|size) of %string%['s] users
Add description
Add example

Anvil repair cost

Addon: Skellett
Patterns:
[the] [skellett] [anvil[s]] repair cost (of|from|in) [anvil] [inventory] %anvilinventory%
[skellett] [anvil] [inventory] %anvilinventory%'s [anvil] repair cost
Returns the repair cost of an anvil item.

This can be set (ItemStack/ItemType) Keep in mind that all changes are cosmetic, meaning it's just for looks. If you want it to actually change the repair cost use on anvil combined and the on anvil prepare which is where this expression is, in order to perform custom repair costs.

Example:

on anvil prepare:
    #Event itemstack's string name

    broadcast "%event-string%"
    #the result slot item

    broadcast "%event-item%"
    #The repair cost (Use the expression if you want to set it)

    broadcast "%event-number%"
    #The anvil inventory to be used in the anvil cost expression below

    broadcast "%event-anvilinventory%"
    broadcast "%anvil repair cost of the anvil's inventory%"
    set anvil repair cost of the anvil's inventory to 10

Arabic Numeral

Addon: SkQuery
Patterns:
arabic num(ber|eral)
Converts a roman number to arabic number.
See also: Roman Numeral

Example:

set {arabic} to arabic number "D"

Area of schematic

Addon: SkStuff
Patterns:
area of schem[atic] [from] %text%
Plugin requires: WorldEdit
Returns the area of the specified schematic.

Example:

set {_area} to area of schematic "plugins/WorldEdit/floor.schematic"

Area of WorldEdit selection

Addon: SkStuff
Patterns:
area of [(world[ ]edit|we)] selection of %player%
%player%'s [(world[ ]edit|we)] selection area
Plugin requires: WorldEdit
Returns the area of the WorldEdit of a player.

Example:

set {_area} to area of selection of player

Argument

Addon: Skript
Patterns:
[the] last arg[ument][s]
[the] arg[ument][s](-| )<(d+)>
[the] <(d*1)st|(d*2)nd|(d*3)rd|(d*[4-90])th> arg[ument][s]
[the] arg[ument][s]
[the] %*type%( |-)arg[ument][( |-)]
[the] arg[ument]( |-)%*type%[( |-)]
Only available in command events. Holds the value of the nth argument given to the command, e.g. if the command /tell is used like /tell Njol Hello Njol!, argument 1 is the player named "Njol" and argument 2 is "Hello Njol!".
One can also use the type of the argument instead of its index to address the argument, e.g. in the above example 'player-argument' is the same as 'argument 1'.

Example:

give the item-argument to the player-argument
damage the player-argument by the number-argument
give a diamond pickaxe to the argument
add argument 1 to argument 2
heal the last argument

Arithmetic

Addon: Skript
Patterns:
%number%[ ]+[ ]%number%
%number%[ ]-[ ]%number%
%number%[ ]*[ ]%number%
%number%[ ]/[ ]%number%
%number%[ ]^[ ]%number%
Arithmetic expressions, e.g. 1+2, (2 - health of player)/3, etc.
Available operands are addition (+), subtraction (-), multiplication (*), division (/), and exponentiation (^). Negation is not available yet, use 0 - expr instead.

Example:

set the player's health to 10 - the player's health
loop (argument + 2)/5 times:
    message "Two useless numbers: %loop-num*2 - 5%, %2^loop-num - 1%"
message "You have %health of player * 2% half hearts of HP!"

Armor Value

Addon: SkRayFall
Patterns:
%player%['s] armo[u]r value
Get a players armor value.
Add example

Armour points

Addon: Umbaska
Patterns:
(armour|amor) points of %player%	
Req: Umbaska 1.5

Example:

set {_Armor} to armor points of player

Armour Slot

Addon: Skript
Patterns:
[the] (boot[s]|shoe[s]|leg[ging][s]|chestplate[s]|helm[et][s]) [slot] of %living entities%
%living entities%'[s] (boot[s]|shoe[s]|leg[ging][s]|chestplate[s]|helm[et][s]) [slot]
A part of a player's armour, i.e. the boots, leggings, chestplate or helmet.
As of Skript 2.1 this expression can be used for mobs as well, e.g. to equip zombies with armour.

Example:

set chestplate of the player to a diamond chestplate
helmet of player is neither a helmet nor air #Player is wearing a block, e.g. from another plugin

Armour stand rotation

Addon: Umbaska
Patterns:
(left|right) (arm|leg) (x angle|angle x)
head (x angle|angle x)
Req: Umbaska 1.5

Example:

set left arm x angle of target to 0.2
set head y angle of target to 0.2
set left leg z angle of target to 0.2

http://dev.bukkit.org/bukkit-plugins/skript/forum/scripts/79322/

Armour stands

Addon: Umbaska
Patterns:
[show] arms
[show] base plate
[has] gravity
[is] small
[is] visible
Req: Umbaska 1.5

Example:

set arms of target to true
set gravity of target to false

Armour stands - Boots

Addon: Skellett
Patterns:
armo[u]r stand boots of %entity%
armo[u]r stand %entity%'s boots
Gets the boots of an armour stand.

This can be set (ItemStack/ItemType)
Add example

Armour stands - Chestplate

Addon: Skellett
Patterns:
armo[u]r stand chest[ ][plate] of %entity%
armo[u]r stand %entity%'s chest[ ][plate]
Gets the chestplate of an armour stand.

This can be set (ItemStack/ItemType)
Add example

Armour stands - Helmet

Addon: Skellett
Patterns:
armo[u]r stand (helmet|hat) of %entity%
armo[u]r stand %entity%'s (helmet|hat)
Gets the helmet of an armour stand.

This can be set (ItemStack/ItemType)
Add example

Armour stands - Leggings

Addon: Skellett
Patterns:
armo[u]r stand leg[ging][s] of %entity%
armo[u]r stand %entity%'s leg[ging][s]
Gets the leggings of an armour stand.

This can be set (ItemStack/ItemType)
Add example

Arrow Critical

Addon: SkQuery
Patterns:
%entities%'s critical arrow (state|ability|mode)
[the] critical arrow (state|ability|mode) of %entities% 
Add description
Add example

Arrow Knockback

Addon: SkQuery
Patterns:
%entities%'s arrow knockback [amount]
[the] arrow knockback [amount] of %entities%
Add description
Add example

Arrow speed

Addon: Skellett
Patterns:
(arrow|shot|velocity) speed [of (shot|arrow)]
Grab the speed that an arrow was shot at.

The arrow speed is between 0 and 1 (In decimals)

This can only be used in Skelletts "on entity shoot:" event

Example:

on entity shoot:
    if event-entity is a player:
        broadcast "%arrow speed%"

Art

Addon: SkQuery
Patterns:
%entities%'s [displayed] art
[the] [displayed] art of %entities%
Add description
Add example

Ascii To String

Addon: skUtilities
Patterns:
convert ascii %number% to (text|string)
ascii %numbers% as (text|string)
Converts Ascii (Symbol number from the ascii table) to string

Example:

    set {_var} to convert ascii 100 to text
    broadcast "%{_var}%"

Ascii To Unicode

Addon: skUtilities
Patterns:
convert ascii %number% to unicode
ascii %numbers% as unicode
Converts a single Ascii value to a Unicode value

Example:

convert ascii "9608" to unicode

Attacked

Addon: Skript
Patterns:
[the] (attacked|damaged|victim) [<(.+)>]
The victim of a damage event, e.g. when a player attacks a zombie this expression represents the zombie.

Example:

on damage:
    victim is a creeper
    damage the attacked creeper by 1 heart

Attacker

Addon: Skript
Patterns:
[the] (attacker|damager)
The attacker of a damage event, e.g. when a player attacks a zombie this expression represents the player.
Please note that the attacker can also be a block, e.g. a cactus or lava, but this expression will not be set in these cases.

Example:

on damage:
    attacker is a player
    health of attacker is less than or equal to 2
    damage victim by 1 heart

Attribute of File

Addon: skUtilities
Patterns:
(readable|writable|hidden) attribute of file %string%
file %string%'s (readable|writable|hidden) attribute
Returns the value of the files attribute as a boolean

Sets a attribute of a file (read/write/hidden) to a boolean

Example:

send "%writable attribute of file "test.txt"%"
#checks in "plugins\test.txt"

set writable attribute of "test.txt" to false
#checks in "plugins\test.txt" and makes a uneditable

Author of Audio Playing

Addon: Vixio
Patterns:
author of track [audio] player %string% is playing
Add description
Add example

Auto Despawn

Addon: ExtrasSK
Patterns:
[the] auto[matic] despawn state of %living entity%
%living entity%'s auto[matic] despawn state
Also either true or false, if a creature will automatically despawn when players are not nearby.

Example:

set the automatic despawn state of creature to false    #Means will not auto despawn

broadcast "Auto despawn is: %auto despawn state of creature%"

Avatar URL of User

Addon: Vixio
Patterns:
(avatar|icon) url of %string%
Add description
Add example

Bed

Addon: Skript
Patterns:
[the] bed[s] [location[s]] of %players%
%players%'[s] bed[s] [location[s]]
The bed location of a player, i.e. the spawn point of a player if he ever slept in a bed and the bed still exists and is unobstructed.

Example:

if bed of player exists:
    teleport player the the player's bed
else:
    teleport the player to the world's spawn point

Binary To Decimal

Addon: skUtilities
Patterns:
convert bin[ary] %string% to decimal
bin[ary] %string% as decimal
Converts a Binary string in to a decimal

Example:

set {_var} to convert bin "1001" to decimal
broadcast "%{_var}%"

Binary To Hexadecimal

Addon: skUtilities
Patterns:
convert bin[ary] %string% to hexa[decimal]
bin[ary] %string% as hexa[decimal]
Converts Binary to a Hexadecimal

Example:

set {_var} to convert bin "1001" to Hexa
broadcast "%{_var}%"

Binary To Octal

Addon: skUtilities
Patterns:
convert bin[ary] %string% to octal
bin[ary] %string% as octal
Converts Binary to an Octal Int

Example:

    set {_var} to convert bin "100" to octal
    broadcast "%{_var}%"

Binary To String

Addon: skUtilities
Patterns:
convert bin[ary] %binary% to (text|string)
bin[ary] %string% as (text|string)
Converts Binary "01010010 01010010" ect.. in to a String (Must use spaces)

Example:

set {_var} to convert bin "10010110" to text
broadcast "%{_var}%"

Biome

Addon: Skript
Patterns:
[the] biome (of|%direction%) %location%
%location%'[s] biome
The biome at a certain location. Please note that biomes are only defined for x/z-columns, i.e. the altitude (y-coordinate) doesn't matter.

Example:

#Damage player in deserts constantly
every real second:
    loop all players:
        biome at loop-player is desert
        damage the loop-player by 1

Biome in BiomeGrid

Addon: MundoSK
Patterns:
biome at %number%, %number% in grid %biomegrid%
The biome at an x, z coordinate in a biomegrid.
Add example

Blank Inventory

Addon: SkQuery
Patterns:
inventory of %inventory type%
chest with %number% row[s]
chest with %number% row[s] named %text%
Add description
Add example

Blast Radius

Addon: SkQuery
Patterns:
%entities%'s (blast|explosion) (radius|size|yield)
[the] (blast|explosion) (radius|size|yield) of %entities%
The size of an explosion.

Example:

on explosion:
	if blast radius of event-entity is greater than or equal to 4:
		message "An explosion has occured nearby!" to players in radius 20 of event-entity

Block

Addon: Skript
Patterns:
[the] [event-]block
[the] block %{{types|Direction|direction|}}% [%location%]
The block involved in an event, e.g. the clicked block or the placed block.
Can optionally include a direction as well, e.g. block above or block in front of the player.

Example:

block is ore
set block below to air
spawn a creeper above the block
loop blocks in radius 4:
    loop-block is obsidian
    set loop-block to water
block is a chest:
    clear the inventory of the block

Block Chunk

Addon: SkQuery
Patterns:
blocks within %chunk%
Represents every single block within a chunk.
Add example

Block Cube

Addon: SkQuery
Patterns:
blocks within %location% to %location%
Represents the blocks within a cuboid area.

Example:

loop blocks within {pos1} to {pos2}:
	if loop-block is sand:
		set loop-block to stone

Block in Chunk

Addon: SkQuery
Patterns:
[the] block at %number%, %number%, %number% in [chunk] %chunk%
Add description
Add example

Block Sphere

Addon: Skript
Patterns:
[(all|the)] blocks in radius %number% [(of|around) %location%]
[(all|the)] blocks around %location% in radius %number%
All blocks in a sphere around a center, mostly useful for looping.

Example:

loop blocks in radius 5 around the player:
    set loop-block to air
set all blocks in radius 5 around the player to air

Blocks

Addon: Skript
Patterns:
[the] blocks %direction% [%locations%]
[the] blocks from %location% [on] %direction%
[the] blocks from %block% to %block%
[the] blocks between %block% and %block%
Blocks relative to other blocks or between other blocks. Can be used to get blocks relative to other blocks or for looping.

Example:

loop blocks above the player:
loop blocks between the block below the player and the targeted block:
set the blocks below (the player, the victim and the targeted block) to air

Blocks in Region

Addon: Skript
Patterns:
[the] blocks in [the] region %region%
All blocks in a region.
This expression requires a supported regions plugin to be installed.

Example:

loop all blocks in the region {arena.%{faction.%player%}%}:
    clear the loop-block

Blocks that enderman can carry

Addon: SkStuff
Patterns:
blocks that %entity% can (carry|hold|grab|steal)
List of blocks which an enderman can carry. Currently cannot be modified, but will be in a future update.

Example:

set {_blocks::*} to blocks that player's targeted entity can carry

Book Author

Addon: MundoSK
Patterns:
author of %itemstack%
Gets the author of the item.

Example:

set author of player's tool to "Tlatoani"

Book Author

Addon: ExertSK
Patterns:
[book] author of %itemstack%
%itemstack%'s [book] author
Retrieve or set the author of a written book.

Example:

set player's tool to a written book
set author of player's tool to "Server"

Book ListUtil

Addon: MundoSK
Patterns:
page
Used for the ListUtil expressions/effects with a book. Returns/modifies the pages of a book.
Add example

Book Meta

Addon: MundoSK
Patterns:
written book titled %string%, [written] by %string%, [with] pages %strings%
Gives a book with the specified title, author, and text within pages.

Example:

give player written book titled "Harry Potter" by "J.K. Rowling" with 2 pages "Page 1 of Harry Potter", "Page 2 of Harry Potter"

Book of

Addon: SkQuery
Patterns:
book from %text%
Add description
Add example

Book Page

Addon: MundoSK
Patterns:
page %number% of %itemstack%
last page of %itemstack%
Gets the specified page of the book.

Example:

set page 1 of player's tool to "Table of Contents: ...."

Book Page Count

Addon: MundoSK
Patterns:
page count of %itemstack%
Gets the amount of pages the book has.
Add example

Book Pages

Addon: ExertSK
Patterns:
[all] pages of %itemstack%
%itemstack%'s full pages
Will set the whole book's pages, splits at every 256 characters to make a new page.

Example:

set all pages of player's tool to "Once upon a time, there was a little girl who lived in a village near the forest.  Whenever she went out, the little girl wore a red riding cloak, so everyone in the village called her Little Red Riding Hood.

One morning, Little Red Riding Hood asked her mother if she could go to visit her grandmother as it had been awhile since they'd seen each other.

""That's a good idea," her mother said.  So they packed a nice basket for Little Red Riding Hood to take to her grandmother.

When the basket was ready, the little girl put on her red cloak and kissed her mother goodbye."
#Double quotes to escape quotes within a string

Book Pages

Addon: MundoSK
Patterns:
pages of %itemstack%
pages %number% to %number% of %itemstack%
pages %number% to last of %itemstack%
Gets the specified pages of the book. The first number defaults to 1, while the last number defaults to the last page's number.

Example:

loop pages of player's tool:
 broadcast "Page %loop-index%: %loop-value%"

clear pages 5 to 7 of player's tool
*Deletes pages 5, 6, and 7 of the book

reset pages 2 to 8 of player's tool
*Makes pages 2 to 8 of the book blank

set pages 14 to 18 of player's tool to "Pie", "Hi", "Sky"
*Replaces pages 14 to 18 of the book with three pages "Pie", "Hi", "Sky"

Book Specific Page

Addon: ExertSK
Patterns:
page %integer% of %itemstack%
Retrieve or set a written book's specific page number.

Example:

set page 1 of player's tool to "Page 1: "
set page 2 of player's tool to "Page 2: "

Book Title

Addon: MundoSK
Patterns:
title of %itemstack%
Gets the title of an item.

Example:

set title of player's tool to "Amazing Book"

Book Title

Addon: ExertSK
Patterns:
[book] title of %itemstack%
%itemstack%'s [book] title
Retrieve or set a written book's title.

Example:

set title of player's tool to "Little Red Riding Hood"

Books

Addon: Umbaska
Patterns:
[book] title of %itemstack%
book with title %string%
pages of [book] %itemstack% [to %-string%]
author of [book] %itemstack% [to %-string%]
book (with|from|by) author %string% [with] title %string% [and] pages %strings%
Req: Umbaska 1.5

Example:

set {_Title} to book title of player's tool
set {_Book} to book with title "Umbaska"
set {_Pages} to pages of player's tool
set {_Author} to author of player's tool
set {_EntireBook} to book by author "maeyrl" with title "Umbaska Is Bae" and pages "Hello there||I am a page"

Books - All book pages

Addon: Skellett
Patterns:
[(the|all)] [of] [the] [book] pages [(from|of)] [book] %itemstack%
Gets all the pages from a book

This expression is loopable.
Add example

Books - Book generation

Addon: Skellett
Patterns:
[the] [book['s]] generation %itemstack%
%itemstack%'s [book] generation
Gets the book generation of a book.

Return types:

COPY_OF_COPY
Book that was copied from a copy of an original.
COPY_OF_ORIGINAL
Book that was copied from an original.
ORIGINAL
Book written into a book-and-quill.
TATTERED
Unused; unobtainable by players.

This can also be set (BookMeta.Generation)
Add example

Books - Book title

Addon: Skellett
Patterns:
[the] [book['s]] title of %itemstack%
%itemstack%'s [book] title
Get or set the book's title.

Changers: set
Add example

Border Center of World

Addon: MundoSK
Patterns:
center of %world%
The center of a world's border (This isn't always the same as the world's spawn)
Add example

Border Damage Amount of World

Addon: MundoSK
Patterns:
damage amount of %world%
Gets the amount of damage a player will take per second if they are outside both the border and the damage buffer in a specific world.
Add example

Border Damage Buffer of World

Addon: MundoSK
Patterns:
damage buffer of %world%
Sets the damage buffer of a world, see border damage amount for more information.
Add example

Border Final Size Of World

Addon: MundoSK
Patterns:
final size of %world%
The size that the border of the world will eventually reach, or just the current size if the border isn't currently changing.
Add example

Border Size of World

Addon: MundoSK
Patterns:
size of %world% [over %-timespan%]
The size of that world's border. The optional part is just if you are changing the border by setting/adding to/subtracting from the expression, so that you can do it over time.
Add example

Border Time Remaining Until Stabilize

Addon: MundoSK
Patterns:
time remaining until border stabilize in %world%
The time remaining until the border stops moving (or just no time if the border already isn't moving) as a timespan.
Add example

Border Warning Distance of World

Addon: MundoSK
Patterns:
warning distance of %world%
Sets the amount of distance a player has to be within the border of a world to see the red warning effect.
Add example

Border Warning Time of World

Addon: MundoSK
Patterns:
warning time of %world%
Sets the amount of time the border of a world should be within of reaching a player to show that player the red warning effect.
Add example

Boss Bar Value

Addon: SkRayFall
Patterns:
bossbar of %player%
Plugin requires: BossBarAPI
Gets the value of a bossbar (0-100).
Add example

Bossbar Percent

Addon: WildSkript
Patterns:
percent of %player%'s bossbar
Returns the percent (1-100) of the player's bossbar
Add example

Bossbar Text

Addon: WildSkript
Patterns:
text of %player%'s bossbar
Returns the text of a player's bossbar.

Example:

Set text of player's bossbar to "Welcome to UTOPIA"

Bossbars - All players

Addon: Skellett
Patterns:
[skellett] [(the|all)] [of] [the] player[[']s] [(in|of)] [the] [boss[ ]]bar %bossbar%
[skellett] %bossbar%'s player[[']s]
Returns all the players in a bossbar
Add example

Bossbars - Bar progress

Addon: Skellett
Patterns:
[the] [skellett] progress of [boss[ ]]bar %bossbar%
[skellett] %bossbar%'s [[boss][ ]bar] progress
Returns the bossbar progress between (0-1)

This can be set (Number)

Example:

command /test:
    trigger:
        set {_bar} to new bossbar
        add player to bossbar {_bar}
        set the visibility of bossbar {_bar} to true
        set progress of bossbar {_bar} to 0.50

Bossbars - Bar style

Addon: Skellett
Patterns:
[the] [skellett] style of [boss[ ]]bar %bossbar%
[skellett] %bossbar%'s [[boss][ ]bar] style
Returns the bossbar style of a bossbar

Can be set (BarStyle)

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)

Example:

command /test:
    trigger:
        set {_bar} to new bossbar
        add player to bossbar {_bar}
        set the visibility of bossbar {_bar} to true
        set style of bossbar {_bar} to SEGMENTED_6

Bossbars - Bar visibility

Addon: Skellett
Patterns:
[the] [skellett] visib(le|ility) [(for|of)] [boss[ ]]bar %bossbar%
[skellett] %bossbar%'s [[boss][ ]bar] visib(le|ility)
Returns a boolean if the visibility of a bossbar is true or false.

Can be set (Boolean)

Recommened to use this if you have a server that runs 1.10+

Example:

command /test:
    trigger:
        set {_bar} to new bossbar
        add player to bossbar {_bar}
        set the visibility of bossbar {_bar} to true

Bossbars - Colour

Addon: Skellett
Patterns:
[the] [skellett] colo[u]r of [boss[ ]]bar %bossbar%
[skellett] %bossbar%'s [[boss][ ]bar] colo[u]r
Returns the bossbar color

Can be set (BarColor)

Colors:

BLUE
GREEN
PINK
PURPLE
RED
WHITE
YELLOW
Add example

Bossbars - Create bossbar

Addon: Skellett
Patterns:
[skellett] [create] [a] new [boss[ ]]bar [with flag %-barflag%]
Creates a bossbar

These bossbars are only for 1.9+

Make sure you attach it to a variable or else you won't be able to modify the bossbar

Example:

on command "/example": 
    set {_bar} to new bossbar
    add player to bossbar {_bar}
    set the visibility of bossbar {_bar} to true #This is 1.10+ Use show state if you have 1.9 below
    hide bossbar {_bar} #Example for 1.9
    show bossbar {_bar}

Bossbars - Title

Addon: Skellett
Patterns:
[the] [skellett] (title|name|header|string) of [boss[ ]]bar %bossbar%
[skellett] %bossbar%'s [[boss][ ]bar] (title|name|header|string)
Return the string title of a bossbar

Can be set (String)

Example:

command /test:
    trigger:
        set {_bar} to new bossbar
        add player to bossbar {_bar}
        set the visibility of bossbar {_bar} to true
        broadcast "&b%title of bossbar {_bar}%"
        set title of bossbar {_bar} to "&6Testing woot"

Bot is Streaming Track

Addon: Vixio
Patterns:
bot %string% is streaming track
Add description
Add example

Bottom corner

Addon: Umbaska
Patterns:
(bottom|lower) corner of %plot% in %world%
Plugin requires: PlotMe
Returns bottom corner of a plot
Add example

Bottom right building schematic

Addon: SkRayFall
Patterns:
for builder %number% get the location of the bottom right of schematic centered at %location%
Plugin requires: Citizens + Builder addon
Check schematic by:
  • Location
  • Citizen
  • Bottom right

This will return the bottom right of the last built schematic

Example:

command /build:
    trigger:
        create a citizen named "Builder" at location of player
        make citizen last created citizen build "s_house1" at block below location of player for player
        set {point1} to for builder last created citizen get the location of the bottom right of schematic centered at block below location of player
        set {point2} to for builder last created citizen get the location of the top left of schematic centered at block below location of player

Breath of Entity

Addon: MundoSK
Patterns:
breath of %livingentity%
%livingentity%'s breath

max breath of %livingentity%
%livingentity%'s max breath
This is for the underwater breath (The bubbles that appear on the hotbar when you go underwater)

These expressions can be set, added to, and subtracted from.

Example:

if player's breath is less than 3 seconds:
    message "Running low on air!"

Bred entity

Addon: Skellett
Patterns:
[final] bre[e]d[ed] entity
Grabs the baby entity made in the "on breeding" event
Add example

Breeder

Addon: Skellett
Patterns:
breeder
Grab the breeder in the event "on breeding"

This is the enity that caused the breeding event to happen.
Add example

Breeding experience

Addon: Skellett
Patterns:
bre[e]d[ing] (xp|experience)
Grabs the experience earned in the "on breeding" event

The breeding even is part of skellett.

This expression is has set, add, remove and reset. Changers
Add example

Breeding father

Addon: Skellett
Patterns:
bre[e]d[ing] father
Grab the father in the "on breeding" event

The on breeding event is Skellett
Add example

Breeding item

Addon: Skellett
Patterns:
bre[e]d[ing] (item|material) [used]
Grab the item used in a breeding event (Like wheat, carrot etc)

This expression is used in the "on breeding" event
Add example

Breeding mother

Addon: Skellett
Patterns:
bre[e]d[ing] mother
Grab the mother in the "on breeding" event

The on breeding event is Skellett
Add example

Brewing - Fuel time

Addon: Skellett
Patterns:
[brew[ing]] fuel time (of|in) [brew[ing] stand] [inventory] %brewerinventory%
[brew[ing] stand] %brewerinventory%'s [brew[ing]] fuel time
Returns the brewing fuel time in the brewing stands inventory. The best way to get the brewing stands inventory is from the on brew event.

This can also be set (Number)

Example:

on brewing:
    set fuel time of brewing stand inventory event-inventory to 15
    broadcast "&2Fuel time: %fuel time of brewing stand inventory event-inventory%"

Brewing - Inventory fuel

Addon: Skellett
Patterns:
(fuel|burning) [item] (of|in) [brew[ing] stand] [inventory] %brewerinventory%
[brew[ing] stand] %brewerinventory%'s (fuel|burning) [item]
Gets the fuel item of a brewing stands inventory. The best way to get the brewing stands inventory is from the on brew event.

This can be set (ItemStack/ItemType)

Example:

on brewing:
    broadcast "&aFuel: %fuel of brewing stand inventory event-inventory%"
    set fuel of brewing stand inventory event-inventory to a diamond

Brewing - Inventory ingredients

Addon: Skellett
Patterns:
ingredient [item] (of|in) [brew[ing] stand] [inventory] %brewerinventory%
[brew[ing] stand] %brewerinventory%'s ingredient [item]
Returns the ingredients of a brewing stand. The best way to get the brewing stands inventory is from the on brew event.

Example:

on brewing:
    broadcast "&bIngredient: %ingredient of brewing stand inventory event-inventory%"
    set ingredient of brewing stand inventory event-inventory to an emerald

Brewing - Inventory time

Addon: Skellett
Patterns:
[brew[ing]] time (of|in) [brew[ing] stand] [inventory] %brewerinventory%
[brew[ing] stand] %brewerinventory%'s [brew[ing]] time
Returns the time in a brewing stand's inventory. The best way to get the brewing stands inventory is from the on brew event.

This can be set (Integer)

Example:

on brewing:
    broadcast "&6Time: %brewing time of brewing stand inventory event-inventory%"
    set brewing time of brewing stand inventory event-inventory to 10

Browser

Addon: GameBuSK
Patterns:
browser named %string%
A browser.

Example:

command /test:
    open chrome browser named "Test"
    wait 5 seconds
    close browser named "Test"

Calendar

Addon: WildSkript SkriptPlus
Patterns:
year 
month 
day 
hour 
minute[s] 
second[s] 
millisecond[s] 
period
Returns the interesting part of the date. Remember - This is system time!

WildSkript does not have Period (AM/PM), and SkriptPlus does not have milliseconds!

Example:

set {_time} to "%hour%:%minutes%"

Capitalize first char of each word

Addon: SkStuff
Patterns:
(first|1st) (letter|char[acter]) (of|in) (each word|[all] words) (of|in) %text% [converted] to (cap[ital]s|upper[ ]case) [ignoring [other] upper[ ]case [(char[acter]s|letters)]]
convert (first|1st) (letter|char[acter]) (of|in) (each word|[all] words) (of|in) %text% to (cap[ital]s|upper[ ]case) [ignoring [other] upper[ ]case [(char[acter]s|letters)]]
capitalize (first|1st) (letter|char[acter]) (of|in) (each word|[all] words) (of|in) %text% [ignoring [other] upper[ ]case [(char[acter]s|letters)]]
Expression used to capitalize each word of a text.

Example:

set {_eachWordCaps} to 1st char in each word of "hello thERe i aM weIrD tExT" to caps
set {_eachWordCaps2} to 1st char in each word of "hello thERe i aM weIrD tExT" to caps ignoring other uppercase chars
#{_eachWordCaps} = "Hello ThERe I AM WeIrD TExT"

#{_eachWordCaps2} = "Hello There I Am Weird Text"

Cat Type

Addon: TuSKe
Patterns:
(cat|ocelot) type of %entity%
%entity%'[s] (cat|ocelot) type
Returns the type of the cat. e.g. black, red, siamese and wild ocelot.

Example:

on tame:
    if event-entity is a ocelot:
        send "You tamed a beautiful %cat type of event-entity% cat!"

Catch

Addon: RandomSK
Patterns:
(catch|caught entity)
The Caught entity in the Fishing Event or Fishing State Event.

Catch can be set to other items if the caught entity is a dropped item entity.

Setting the catch to air will make it default to something else. So cancel the event if you want to remove the drop.

Example:

on fishing state of caught fish:
    if caught entity is dropped item:
        message "%items within caught entity%"

Channel Position

Addon: Vixio
Patterns:
[discord] channel position of %string%
Add description
Add example

Channels in a Guild

Addon: Vixio
Patterns:
[discord] %string%('s|s) textchannel[s]
Add description
Add example

Chat Recipients

Addon: RandomSK
Patterns:
[chat] recipients
The recipients of a Chat message. Can only be used in the On Chat Event.
You can add/set/remove or delete the Chat recipients. Multiple players can be added or removed.

Example:

on chat:
    set chat recipients to {ChatRecipients::*}
    remove {Remove::*} from chat recipients
    add {Add::*} to chat recipients
    delete chat recipients    

Check

Addon: SkQuery
Patterns:
check[ed] %predicate%
Checks a predicate lambda.

Example:

check [player has stone]->[player is op]

#Is the same as:

if player has stone:
    if player is op:

Chunk

Addon: Skript
Patterns:
[the] chunk[s] (of|%directions%) %locations%
%locations%'[s] chunk[s]
The chunk a block, location or entity is in.

Example:

add the chunk at the player to {protected chunks::*}

Citizen ID

Addon: SkRayFall
Patterns:
citizen id of %entity%
Plugin requires: Citizens
Get the id number of a citizen from an entity.
Add example

Citizen Owner

Addon: SkRayFall
Patterns:
owner of npc %number%
Plugin requires: Citizens
Gets the owner of a citizen
Add example

Citizens - Clone Npc

Addon: Skellett
Patterns:
[the] (clone|duplicate|copy) (of|from) (npc|citizen) %npc%
(npc|citizen) %npc%'s (clone|duplicate|copy)
Plugin requires: Citizens
This expression is used to clone a Npc. Meaning you can set the Npc to a variable and Citizens will manage the data of the Npc to be the exact same as the original.

Example:

command /testing:
    trigger:
        set {_npc} to a npc with name "test" and entity type PLAYER
        set {_npcClone} to clone of npc {_npc}
#Now you have two variables with two Npc's

Citizens - Display name

Addon: Skellett
Patterns:
[the] name (of|from) (npc|citizen) %npc%
(npc|citizen) %npc%'s name
Plugin requires: Citizens
Gets the display name of the Npc.

This is settable (String)
Add example

Citizens - Entity type

Addon: Skellett
Patterns:
[the] entity [type] (of|from) (npc|citizen) %npc%
(npc|citizen) %npc%'s entity [type]
Plugin requires: Citizens
Returns the entity type of the Npc

This can be set (EntityType)
Add example

Citizens - Fly state of npc

Addon: Skellett
Patterns:
[the] fly[(ing|able)] [state] (of|from) (npc|citizen) %npc%
(npc|citizen) %npc%'s fly[(ing|able)] [state]
Plugin requires: Citizens
Gets the fly state of an Npc

This can be set (Boolean)
Add example

Citizens - Full name

Addon: Skellett
Patterns:
[the] full name (of|from) (npc|citizen) %npc%
(npc|citizen) %npc%'s full name
Plugin requires: Citizens
Returns the full name of an Npc. The full name is the name that was used to create the Npc with. The display name is what the name of the Npc that player's will be able to see.
Add example

Citizens - Get entity

Addon: Skellett
Patterns:
[get] entity (of|from) (npc|citizen) %npc%
Plugin requires: Citizens
Gets the entity of the Npc. So you can manage the Npc as a normal entity
Add example

Citizens - Get Location

Addon: Skellett
Patterns:
[the] location (of|from) (npc|citizen) %npc%
(npc|citizen) %npc%'s location
Plugin requires: Citizens
Gets the last known location of an Npc

Use the teleport effect if you want to change the location of the Npc
Add example

Citizens - ID number

Addon: Skellett
Patterns:
(id|number) (of|from) (npc|citizen) %npc%
(npc|citizen) %npc%'s (id|number)
Plugin requires: Citizens
Returns the ID number of an Npc
Add example

Citizens - Protection state

Addon: Skellett
Patterns:
[the] protect[(ed|ion)] [state] (of|from) (npc|citizen) %npc%
(npc|citizen) %npc%'s protect[(ed|ion)] [state]
Plugin requires: Citizens
Returns a boolean depending on the Npc's protection state. if the state is true, the Npc won't be able to be harmed.

This can be set (Boolean)
Add example

Citizens - UUID of npc

Addon: Skellett
Patterns:
[the] (uuid|unique [id]) (of|from) (npc|citizen) %npc%
(npc|citizen) %npc%'s (uuid|unique [id])
Plugin requires: Citizens
Returns the UUID of an Npc
Add example

Claim at Location

Addon: sKeeland
Patterns:
claim at %location%
Plugin requires: GriefPrevention
Gets the claim at a location

Example:

set {_loc} to location of player
set {_claim} to claim at {_loc}
broadcast "%{_claim%}"

Claim at Player

Addon: sKeeland
Patterns:
claim at player %player%
Plugin requires: GriefPrevention
Gets the claim a player is on
Add example

Clan

Addon: TuSKe
Patterns:
clan of %player%
%player%'[s] clan
Plugin requires: SimpleClans or SimpleClansLegacy
Returns the clan of player.

Example:

send "The name of your clan is %player's clan%"

Clan Deaths

Addon: TuSKe
Patterns:
clan deaths of %player%
%player%'[s] clan deaths
Plugin requires: SimpleClans or SimpleClansLegacy
Returns the amount of deaths of player. Can be edited

Example:

if money of player is more than 100000:
    clear clan deaths of player

Clan from Tag

Addon: TuSKe
Patterns:
clan from tag %string%
Plugin requires: SimpleClans or SimpleClansLegacy
Returns the clan from a especific tag.

Example:

if clan from tag "SK" isn't set:
    send "This clan doesn't exist!"

Clan KDR

Addon: TuSKe
Patterns:
clan K[ill ]D[eath ]R[atio] of %player%
%player%'[s] clan K[ill ]D[eath ]R[atio]
Plugin requires: SimpleClans or SimpleClansLegacy
Returns the KDR of player. Can be cleared, but to set to something, you should see Clan Kills or Clan Deaths.

Example:

if money of player is more or equal to 50000:
    clear clan kdr of player

Clan Kills

Addon: TuSKe
Patterns:
clan (rival|neutral|civilian) kills of %player%
%player%'[s] clan (rival|neutral|civilian) kills
Plugin requires: SimpleClans or SimpleClansLegacy
Returns the amount of specific kills of player. Can be edited.

Example:

send "You've killed %clan rival kills of player% rivals!"

Clan Members

Addon: TuSKe
Patterns:
clan members of %clan%
%clan%'[s] clan members
Plugin requires: SimpleClans or SimpleClansLegacy
Returns a list of offline players from clan.

Example:

loop clan members of clan of player:
    if loop-offlineplayer is online:
        send "%loop-offlineplayer% - Online"
    else:
        send "%loop-offlineplayer% - Offline"

Clan Tag

Addon: TuSKe
Patterns:
[clan] tag of %clan%
%clan%'[s] [clan] tag
Plugin requires: SimpleClans or SimpleClansLegacy
Returns the colored tag of clan. The tag can be set, but only the colour can be edited. e.g. a tag "SK" can't be set to "Umb", but yes "&2S&3K".

Example:

if uncolored tag of clan of player contains "Admin":
    send "You can't have the tag %tag of clan of player% to your clan!"

Clan Total Deaths

Addon: TuSKe
Patterns:
clan total deaths of %clan%
%clan%'[s] clan total deaths
Plugin requires: SimpleClans or SimpleClansLegacy
Returns the amount of deaths of all members from a clan. To edit it, you should see Clan Deaths of all Clan Members.

Example:

send "The total of deaths of your clan members is %clan total deaths of clan of player%"

Clan Total KDR

Addon: TuSKe
Patterns:
clan total kdr of %clan%
%clan%'[s] clan total kdr
Plugin requires: SimpleClans or SimpleClansLegacy
Returns the total kdr from clan. To edit it, see Clan KDR of all Clan Members.

Example:

if clan total kdr of clan of player is less than 2:
    send "The KDR of your clan is less than permitted."

Clan Total Kills

Addon: TuSKe
Patterns:
clan total (rival|neutral|civilian) kills of %clan%
%clan%'[s] clan total (rival|neutral|civilian) kills
Plugin requires: SimpleClans or SimpleClansLegacy
Returns the total type of kills of all members of clan. To edit it, you should see Clan Kills and Clan Deaths of all Clan Members.

Example:

send "The total of rival kills of your clan is %clan total rival kills of clan of player%

Clicked action

Addon: Skellett
Patterns:
(clicked|inventory) action
Grab the clicked action within an inventory click if possible.

Click actions as of writing this:

CLONE_STACK - A max-size stack of the clicked item is put on the cursor.
COLLECT_TO_CURSOR - The inventory is searched for the same material, and they are put on the cursor up to Material.getMaxStackSize().
DROP_ALL_CURSOR - The entire cursor item is dropped.
DROP_ALL_SLOT - The entire clicked slot is dropped.
DROP_ONE_CURSOR - One item is dropped from the cursor.
DROP_ONE_SLOT - One item is dropped from the clicked slot.
HOTBAR_MOVE_AND_READD - The clicked item is moved to the hotbar, and the item currently there is re-added to the player's inventory.
HOTBAR_SWAP - The clicked slot and the picked hotbar slot are swapped.
MOVE_TO_OTHER_INVENTORY - The item is moved to the opposite inventory if a space is found.
NOTHING - Nothing will happen from the click.
PICKUP_ALL - All of the items on the clicked slot are moved to the cursor.
PICKUP_HALF - Half of the items on the clicked slot are moved to the cursor.
PICKUP_ONE - One of the items on the clicked slot are moved to the cursor.
PICKUP_SOME - Some of the items on the clicked slot are moved to the cursor.
PLACE_ALL - All of the items on the cursor are moved to the clicked slot.
PLACE_ONE - A single item from the cursor is moved to the clicked slot.
PLACE_SOME - Some of the items from the cursor are moved to the clicked slot (usually up to the max stack size).
SWAP_WITH_CURSOR - The clicked item and the cursor are exchanged.
UNKNOWN - An unrecognized ClickType.

Example:

on inventory click:
    broadcast "%clicked action%"

on inventory click:
    if "%clicked action%" is "PLACE_ONE":
        message "You placed 1 item from a stack"
    else if "%click action%" contains "DROP"
        cancel event
        message "No dropping items from an inventory please."

Clicked Block/Entity

Addon: Skript
Patterns:
[the] clicked (block|%*item type/entity type%)
Only available in click events: Represents the clicked block or entity.

Example:

message "You clicked on a %type of clicked entity%!"
clicked block is a chest:
    show the inventory of the clicked block to the player

Clicked inventory

Addon: SkStuff
Patterns:
[skstuff] clicked inventory
Expression to be used in the "on inventory click" event (either from Umbaska or SkQuery). Gets the inventory which the player clicked.
Useful to determine whether a player clicked their inventory or a container inventory.

Example:

on inventory click: #Umbaska or SkQuery

    if clicked inventory is not player's inventory:
        cancel event
        send "You can't interact with containers!"

Clicked inventory

Addon: Skellett
Patterns:
click[ed] inventory
Grab the inventory type of the inventory click event.

This will actually return a type such as

CHEST
HOPPER
BEACON
etc

SkStuff has this, but it's broken as of writing this. It returns the litteral inventory data. So why not use a working clicked inventory type :D
Add example

CodeBlock Expression

Addon: MundoSK
Patterns:
codeblock %variable% [with (constant|constant %object%|constants %objects%)] [:: %strings%] [-> %string%]:
	#Codeblock code goes here
Puts a codeblock with the specified code in the specified variable.

Codeblocks have three special features:

Constants - constants are variables which are shared between different executions of the same codeblock.

Take a look at the constants example. When that code is run, it will broadcast
1
2
3
4
5
6
7
8
9
10

This can be used to make player specific codeblocks, world specific codeblocks, etc.

Arguments - the syntax for codeblocks allows you to name arguments. When you do something like 'execute codeblock {_temp} with 1, 2, 3' instead of setting the variables {1}, {2}, and {_3}, it will set the variables with the names of the arguments. See the arguments example.

Return values - This allows you to have your codeblocks return values. Currently, returned values cannot be gotten in Skript, instead they are right now only used in Java. In the future you will be able to access return values. See the return example.

Example:

#Constants Example

codeblock {_temp} with constant 0:
    add 1 to {_constant}
    broadcast “%{_constant}%”
loop 10 times:
    execute codeblock {_temp}

#Arguments Example

codeblock {_temp} :: “one”, “two”, “three”:
    broadcast “%{_one}, {_two}, {_three}%”
execute codeblock {_temp} with “I”, “like”, “Pie”
This will broadcast “I, like and Pie”.

#Return Example

codeblock {_temp} -> “result”:
    #do stuff

#The return value will be whatever is in {_result}

CodeBlock Of Function

Addon: MundoSK
Patterns:
[codeblock of] function %string%
Returns the function as a codeblock.
Add example

Collar Color

Addon: ExtrasSK
Patterns:
[the] [wolf] collar [color] of %entity%
%entity%'s [wolf] collar [color]
The color of a collar on a tamed wolf.

Example:

set the wolf collar of creature to red
broadcast "%wolf collar of creature%"

Colour of

Addon: Skript
Patterns:
[the] colo[u]r[s] of %item stacks/entities%
%item stacks/entities%'[s] colo[u]r[s]
The colour of an item, can also be used to colour chat messages with "<%colour of ...%>this text is coloured!".

Example:

on click on wool:
    message "This wool block is <%colour of block%>%colour of block%<reset>!"
    set the colour of the block to black

Coloured / Uncoloured

Addon: Skript
Patterns:
(colo[u]r-|colo[u]red )%texts%
(un|non)[-](colo[u]r-|colo[u]red )%texts%
Parses <colour>s (including chat styles) in a message or removes any colours & chat styles from the message.
This expression replaces localised colours & chat styles, i.e. it doesn't replace english ones, which makes it appropriate to colour command arguments and chat messages.

Example:

on chat:
    set message to coloured message
command /fade <player>:
    trigger:
        set display name of the player-argument to uncoloured display name of the player-argument

Command

Addon: Skript
Patterns:
[the] (full|complete|whole) command
[the] command [label]
[the] arguments
The command that caused an 'on command' event (excluding the leading slash and all arguments).
Use 'full command' for the command including arguments, or 'arguments' for the arguments only.
Please note that this event is not adequate for creating custom commands. See the article on custom commands to find out how to define new commands.

Example:

#Prevent any commands except for the /exit command during some game
on command:
    {game.%player%.is playing} is true
    command is not "exit"
    message "You're not allowed to use commands during the game"
    cancel the event

Command Sender

Addon: Skript
Patterns:
[the] [command['s]] (sender|executor)
The player or the console who sent a command. Mostly useful in commands and {{events.OnCommand|command events}}.

Example:

make the command sender execute "/say hi!"
on command:
    log "%executor% used command /%command% %arguments%" to "commands.log"

Compass Target

Addon: Skript
Patterns:
[the] compass target of %players%
%players%'[s] compass target
The location a player's compass is pointing at.
Please note that wile you can set a player's compass target to an entity, it will actually be set to the location of the entity at the time when the effect is executed, and thus the compass won't automatically follow the entity.

Example:

#Make all player's compasses target a player stored in {compass target.%player%}
every 5 seconds:
    loop all players:
        set the loop-player's compass target to location of {compass target.%loop-player%}

Complete Capitalization (Case)

Addon: SkriptPlus
Patterns:
complete capitalization of %string%
Plugin requires: SkQuery
Evaluates to the same string, but the every letter in the string will be capitalized!

Example:

set {_text} to "zim zam zoopity bop"

message "%complete capitalization of {_text}%"

# Evaluate to "ZIM ZAM ZOOPITY BOP"

Complete UnCapitalization (Case)

Addon: SkriptPlus
Patterns:
complete uncapitalization of %string%
Evaluates to the same string, but the every letter in the string will be UNcapitalized!

Example:

set {_text} to "ZiM zAM zOOpiTy BoP"

message "%complete capitalization of {_text}%"

# Evaluate to "zim zam zoopity bop"

Complicated Math

Addon: SkQuery
Patterns:
sin[e] %number%
cos[ine] %number%
tan[gent] %number%
arc sin[e] %number%
arc cos[ine] %number%
arc tan[gent] %number%
hyperbolic sin[e] %number%
hyperbolic cos[ine] %number%
hyperbolic tan[gent] %number%
[natural ]log[arithm] %number%
base(-| )10 log[arithm] %number%
signum %number%
(sqrt|square root)[ of] %number%
(%number% factorial|%number%!)
Complex math operations.

Example:

I'm not smart enough to write examples for this

- MostFunGuy

Compound Interest

Addon: skqMaths
Patterns:
compound interest of %number% at %number% interest after %number% rates
Plugin requires: SkQuery
Calculates the compound interest of a number at a certain interest rate (percents) after a number of rates.

Example:

set {_money} to "%compound interest of 1000 at 5 interest after 50 rates%"
#Evaluates to: 11467.4

#A capital of 1000$ is stored on the bank with compound interest at an interest rate of 5% for 50 years.

Configuration Section

Addon: WildSkript
Patterns:
[configuration] section[s] %text% get of %text%
Returns configuration sections from file - Note that this only works in yaml configuration file (*.yml).

Example:

set {_sections::*} to configuration section "worlds" get of "plugins/Skript/WorldsPlugin/worlds.yml"

Connect Result

Addon: WildSkript
Patterns:
result of connect to %text% 
Returns content of page into single string. Note that if this is a page with HTML, it will also be downloaded.

Example:

set {_result} to result of connect to "raw.dzikoysk.net/text.txt"

Console

Addon: Skript
Patterns:
[the] (console|server)
Represents the server's console which can receive messages and execute commands.

Example:

execute console command "/stop"
send "message to console" to the console

Content

Addon: WildSkript
Patterns:
content of file %text% 
Returns content of file into single string.

Example:

set {_this} to content of file "plugins/Skript/scripts/%script%.sk"

Contents from URL

Addon: skUtilities
Patterns:
contents from url %string%
url %string%'s contents
Gets the contents from a URL, and returns it as an array (list variable)

Example:

set {_var::*} to contents from url "https://raw.githubusercontent.com/tim740/skUtilities/master/src/plugin.yml"
loop {_var::*}:
    broadcast "%loop-value%"

Convert String to Lowercase

Addon: skUtilities
Patterns:
convert (text|string) %string% to lowercase
Converts a string to lowercase

Example:

broadcast "%convert string ""HELLO"" to lowercase%"

Convert String to Upper/Lower Case

Addon: ExtrasSK
Patterns:
[all] (letters|characters) of %text% [(changed|converted)] [to] (lowercase|uncaps)
[all] (letters|characters) of %text% [(changed|converted)] [to] (uppercase|caps)
Convert a given string to all uppercase or all lowercase.

Example:

set {_s} to "%lore of player's tool%"
set {_s} to all characters of {_s} converted to uppercase
broadcast "%{_s}%"

Convert string to uppercase

Addon: SkStuff
Patterns:
%text% [converted] to [all] (cap[ital]s|upper[ ]case)
convert %text% to [all] (cap[ital]s|upper[ ]case)
capitalize [all] [char[acter]s (of|in)] %text%
Expression used to convert a text to all uppercase.

Example:

send "%player's displayname to uppercase%"
send "%convert arg-1 to all caps%

Convert String to Uppercase

Addon: skUtilities
Patterns:
convert (text|string) %string% to uppercase
Converts a string to uppercase

Example:

broadcast "%convert string ""hello"" to uppercase%"

Convert text to all lowercase

Addon: SkStuff
Patterns:
%text% [converted] to [all] lower[ ]case
convert %text% to [all] lower[ ]case
un[( |-)]capitalize [all] [char[acter]s (of|in)] %text%
Expression used to convert a text to lowercase.

Example:

send "%arg-1 to lowercase%"
set {_lowerCase} to convert {_someText} to all lowercase

Coordinate

Addon: Skript
Patterns:
[the] (x|y|z)(-| )(coord[inate]|pos[ition]|loc[ation])[s] of %locations%
%locations%'[s] (x|y|z)(-| )(coord[inate]|pos[ition]|loc[ation])[s]
Represents a given coordinate of a location.

Example:

player's y-coordinate is smaller than 40:
    message "Watch out for lava!"

Counting items

Addon: SkriptPlus
Patterns:
number of items in %itemstack%
Plugin requires: SkQuery
Counts the items in an item stack.

Example:

message "%number of items in player's tool%"

set {_count} to number of items in players tool

Counting strings in other strings

Addon: SkriptPlus
Patterns:
number of %string% in %string%
Plugin requires: SkQuery
Counts an amount of times a string appears in another string.

Example:

set {text} to "This is a really short test of the system"

message "%number of ""e"" in {text}%"  

CPU Byte

Addon: sKeeland
Patterns:
cpu[[ ]byte]
Add description
Add example

CrackShot Weapon

Addon: SkRayFall
Patterns:
(gun|crackshot weapon) %string%
Plugin requires: CrackShot
This expression represents weapon interactions with crackshot. The text is the weapons name.
Add example

Creature/Entity/Player/Projectile/Villager/Powered Creeper/etc.

Addon: Skript
Patterns:
[the] [event-]<.+>
The entity involved in an event (an entity is a player, a creature or an inanimate object like ignited TNT, a dropped item or an arrow).
You can use the specific type of the entity that's involved in the event, e.g. in a 'death of a creeper' event you can use 'the creeper' instead of 'the entity'.

Example:

give a diamond sword of sharpness 3 to the player
kill the creeper
kill all powered creepers in the wolf's world
projectile is an arrow

Crop state

Addon: Skellett
Patterns:
crop state of %block%
Grabs the crop state of a block. The block must be a crop

Example:

broadcast "%crop state of target block%"

Current Game of User

Addon: Vixio
Patterns:
%string%['s] current game in guild %string%
Add description
Add example

Cursor Item

Addon: SkMorkaz
Patterns:
cursor item of %player%
Returns an item that is in cursor (after ex. click) of player

Example:

set {_item} to cursor item of player

Damage

Addon: Skript
Patterns:
[the] damage
How much damage is done in a damage event, possibly ignoring armour, criticals and/or enchantments. Can be changed (remember that in Skript '1' is one full heart, not half a heart).

Example:

increase the damage by 2

Damage Cause

Addon: Skript
Patterns:
[the] damage (cause|type)
The damage cause of a damage event. Please click on the link for more information.

Example:

damage cause is lava, fire or burning

Data Value

Addon: Skript
Patterns:
[the] ((data|damage)[s] [value[s]]|durabilit(y|ies)) of %item stacks/slots%
%item stacks/slots%'[s] ((data|damage)[s] [value[s]]|durabilit(y|ies))
The data value of an item.
You usually don't need this expression as you can check and set items with aliases easily, but this expression can e.g. be used to add 1 to data of <item>, e.g. for cycling through all wool colours.

Example:

add 1 to the data value of the clicked block

Date to Unix

Addon: skUtilities
Patterns:
convert date %date% to unix[ date]
date %date% as unix[ date]
Converts a date (like "now" to unix)

Example:

convert date now to unix

Days Running

Addon: Vixio
Patterns:
days running for (bot|user) %string%
Add description
Add example

Decimal To Binary

Addon: skUtilities
Patterns:
convert decimal %number% to bin[ary]
decimal %string% as bin[ary]
Converts a Decimal to Binary

Example:

set {_var} to convert decimal 1001 to bin
broadcast "%{_var}%"

Delay time

Addon: Umbaska
Patterns:
delay time of %location%
See how long until the spawner will spawn again

Example:

command /howlongsleft:
    trigger:
        set {_d} to delay time of location of targeted block
        message "Time left: %{_d}%"

Description of faction

Addon: SkRambled
Patterns:
description of %faction%
Plugin requires: Factions
Faction's description

Example:

command /whatsmydescription:
    trigger:
        send "Your faction's description is %player's faction's description%"

Difference

Addon: Skript
Patterns:
difference (between|of) %object% and %object%
The difference between two values, e.g. numbers dates or times.
Use distance for locations.

Example:

difference between {command.%player%.lastuse} and now is smaller than a minute:
    message "You have to wait a minute before using this command again!"
    stop

Difficulty

Addon: MundoSK
Patterns:
difficulty of %world%
The difficulty of a world. See the difficulty type for values.

Example:

set difficulty of player's world to peaceful
broadcast "%difficulty of player's world%"
if difficulty of player's world is normal:

Direction

Addon: Skript
Patterns:
[%number% [(north[(east|west)][(south[(east|west)][(east|west)[(above|over|up|down)[ward(below|under[neath]|beneath) [%direction%]
[%number% [[(direction|horizontal direction|facing|horizontal facing) of %entity/block% (of|from)]
[%number% [[(direction|horizontal direction|facing|horizontal facing) (of|from)]
[%number% [(in[ ]front [of]|forward[s]|behind|backwards|right|left) [of])
[%number% [(in[ ]front [of]|forward[s]|behind|backwards|right|left) [of])
A helper expression for the direction type.

Example:

thrust the player upwards
set the block behind the player to water
loop blocks above the player:
    set {_rand} to a random integer between 1 and 10
    set the block {_rand} meters south east of the loop-block to stone
block in horizontal facing of the clicked entity from the player is air
spawn a creeper 1.5 meters horizontally behind the player
spawn a TNT 5 meters above and 2 meters horizontally behind the player
thrust the last spawned TNT in the horizontal direction of the player with speed 0.2
push the player upwards and horizontally forward at speed 0.5
push the clicked entity in in the direction of the player at speed -0.5
open the inventory of the block 2 blocks below the player to the player
teleport the clicked entity behind the player
grow a regular tree 2 meters horizontally behind the player

Direction of Location

Addon: RandomSK
Patterns:
direction of %location%
It is different from Location to vector. Gets the vector from the yaw and pitch of a location rather than turning it into a vector.

So it is basicly "in the direction of player".

Example:

#Pushes the player forwards but not upwards in any way.
set {_v1} to direction of player
set y of {_v1} to 0
set {_v1} to vector {_v1} * 5
add {_v1} to velocity of player

Directory Size

Addon: skUtilities
Patterns:
size of dir[ectory] %string%[ in bytes]
dir[ectory] %string%'s size[ in bytes]
Gets the size of a directory

Example:

broadcast "%size of dir ""world""%"
# would look in "world" and would return "5.27 MB"

discord id of user

Addon:
Patterns:
Add description
Add example

Discriminator of User

Addon: Vixio
Patterns:
discriminator of %string%
Add description
Add example

Disguise of entity

Addon: Skellett
Patterns:
[[Libs]Disguises] Disguise of %entitys%[[']s]

[[Libs]Disguises] %entitys%'s disguise
Plugin requires: LibsDisguises
Grab the disguise type of the entity

Example:

broadcast "%Disguise of player%"

Disk Space

Addon: skUtilities
Patterns:
disk's (total|free|usable) space
(total|free|usable) space of disk
Returns disk space

Example:

disk's total space

Displayed Item

Addon: ExtrasSK
Patterns:
[the] (shown|displayed) item on %entity%
%entity%'s (shown|displayed) item
The current displayed item on an item frame.

Example:

set the displayed item on targeted entity to sticks
if the shown item on targeted entity is stone:
    create an explosion of force 10 at targeted entity

Displayed Skin of Player

Addon: MundoSK
Patterns:
displayed skin of %player%
%player%'s displayed skin
Plugin requires: ProtocolLib
The skin currently being displayed as that player's skin. This is a skin texture.
Add example

Distance

Addon: Skript
Patterns:
[the] distance between %location% and %location%
The distance between two points, measured in meters (i.e. blocks).
Like in other expressions, the location of a block is understood to be at its center, while the location of an entity is usually at its feet.

Example:

distance between the player and {%player%.home} is smaller than 20:
    message "You're very close to your home!"

Dropped Exp

Addon: TuSKe
Patterns:
[the] dropped [e]xp[erience] [orb[s]]
Used in break event to get the experience that the block will drop. You can set it.

Example:

on break of spawner:
    add 100 xp to dropped xp

Dropped xp break block

Addon: Skellett
Patterns:
[dropped] block[[']s] (xp|experience)
This expression only works within the break block drop xp event

[on] block [break] (xp|exp|experience) [drop]:

It gets the amount of XP dropped in the event when the block is broken. Such as diamond ore or emerald ore, etc

Changers: set, add, remove/subtract and reset

Example:

on block experience drop:
    broadcast "&6%dropped block xp%"
    set block xp to 10
    broadcast "&a%dropped block xp%"
    add 1 to block xp
    broadcast "&b%dropped block xp%"
    subtract 1 from block xp
    broadcast "&a%dropped block xp%"

Drops

Addon: Skript
Patterns:
[the] drops
Only available in death events: Represents the drops of the dying creature.
Drops can be prevented from dropping by removing them with remove ... from drops, e.g. remove all pickaxes from the drops, or clear drops if you don't want any drops at all.

Example:

clear drops
remove 4 planks from the drops

Drops of Block

Addon: TuSKe
Patterns:
drops of %block% [(with|using) %item stack%]
%block%'[s] drops [(with|using) %item stack%]
Returns the default drops of block or the drops if it breaks with some item stack

Example:

On break of diamond ore:
    if drops of event-block with player's tool is not set:
        cancel event
        send "You can't break this block with this item!"

Drops of Block

Addon: Skellett
Patterns:
[(the|all)] [of] [the] [possible] drop[(ped|s)] [items] (from|of) [block [at]] %location% [(with|using) %-itemstack%]
This will grab all the possible items that may be dropped when someone breaks this block.

You can also use itemstack.

If the expression doesn't return anything, that means that when the player breaks it. It will do nothing. (Breaking stone with hand drops nothing)

NOTE: This doesn't track if the player's tool has fortune or not. Sadly spigot doesn't support that at the time writing this doc.

If the itemstack is not set. The expression will act as if the block is being broken with hands. Set the item in the syntax if you wish to test for diamond pick on stone or something.

This expression is loopable

Example:

on block damage:
    message "%all drops from event-location using player's tool%"

Duration of Audio Playing

Addon: Vixio
Patterns:
duration of track [audio] player %string% is playing
Add description
Add example

Element

Addon: GameBuSK
Patterns:
element found (by|using) %searchtype% [with parameter] %string% in %browser%
Retrieves an element off of a web page using the selected Search Type and Parameters.
Add example

Element of

Addon: Skript
Patterns:
([the] first|[the] last|[a] random) element [out] of %objects%
The first, last or a random element of a set, e.g. a list variable.
See also: Random

Example:

give a random element out of {free items::*} to the player

Enchanted Book Enchants

Addon: MundoSK
Patterns:
enchants within %itemstack%
Gets the enchantments within the item. This is for enchanted books and does not get the enchantments on the item.
Add example

Enchanted Book Level of Enchantment

Addon: MundoSK
Patterns:
level of %enchantmenttype% within %itemstack%
Gets the level of the specified enchantment within the item, will be 0 if the item does not contain the enchantment. This is for enchanted books, does not work for enchantments on the item.
Add example

Enchanted Book Meta

Addon: MundoSK
Patterns:
%itemstack% containing %enchantmenttypes%
Gives you the item with the specified enchantments contained. This is for enchanted books and does not actually enchant the item.
Add example

Enchantment Level

Addon: Skript
Patterns:
(Skript) [the] (%enchantment% level|level of [[the] enchant[ment]] %enchantment%) o(f|n) %item types%
%item types%'[s] (%enchantment% level|level of [[the] enchant[ment]] %enchantment%)

(RandomSK) %itemstack%'s enchantment level (from|of) %enchantment%

(RandomSK) enchantment level (from|of) %enchantment% of %itemstack%
The level of a particular enchantment on an item. SKRIPTS ENCHANT LEVEL IS CURRENTLY BROKEN, USE RANDOMSK'S (second example)

Example:

player' tool is a sword of sharpness:
    message "You have a sword of sharpness %level of sharpness of the player's tool% equipped"

player' tool is a sword of sharpness:
    message "You have a sword of sharpness %enchantment level of sharpness of player's tool% equipped"

Enchantment level

Addon: Skellett
Patterns:
[skellett] [the] enchant[ment] level (from|of) %enchantment% (of|in) %itemstack%
[skellett] %itemstack%'s enchant[ment] level (from|of) %enchantment%
Get the enchantment number of an enchantment on an itemstack

This is not settable. You can just remove and add a new enchantment if you want to set it. (Spigot doesn't support setting the enchantment level through this)

Example:

command /enchantTest:
    trigger:
        broadcast "%enchant level of sharpness of player's tool%"

Enchantment XP Cost

Addon: ExtrasSK
Patterns:
[the] [event(-| )]enchant(ed|ing) item [e]xp[erience] cost
[the] [e]xp[erience] cost of [the] enchant(ing|ment)
Gets the xp cost when enchanting in an enchant event.

Example:

on enchant:
    if the experience cost of the enchantment is 30:
        message "You got the highest level for an enchantment! Here's a cookie."
        give the player a cookie

on enchant:
    set the xp cost of enchantment to 0
    message "You get a free enchantment!"

EnchantmentOffers - Enchantment cost

Addon: Skellett
Patterns:
[the] cost of [enchant[ment]] offer %enchantmentoffer%
offer %enchantmentoffer%'s [enchant[ment]] cost
Used in the on prepare enchant event from skellett

This will allow you to get the cost of the enchantment.

This can also be set (Number)

Keep in mind this is only cosmetics, meaning it's only for looks. If you want to make the enchantment actually enchant the player's tool with the specific enchantment use on enchant and on enchant prepare combined to get fancy custom enchantments

Example:

on prepare enchant:
    broadcast "&bBlock: %event-block%"
    broadcast "&6Player: %event-player%"
    broadcast "&aNumber: %event-number%"
    broadcast "&eItem: %event-item%"
    loop all enchant offers:
        add 1 to {_offer}
        broadcast "&6&lOffer %{_offer}%:"
        broadcast "    &aCost: %cost of offer loop-value%"
        broadcast "    &aLevel: %the level of offer loop-value%"
        broadcast "    &aEnchant: %enchantment of offer loop-value%"
        set level of offer loop-value to 4
        set cost of offer loop-value to 1
        if "%enchantment of offer loop-value%" is "sharpness":
            set enchantment of offer loop-value to smite #Trolled

EnchantmentOffers - Enchantment type

Addon: Skellett
Patterns:
[the] enchant[ment] of [enchant[ment]] offer %enchantmentoffer%
offer %enchantmentoffer%'s [enchant[ment]] enchant[ment]
Use this expression in the on enchant prepare event.

This gets the enchantment of an enchantment offer from the enchantment table.

This can also be set (Enchantment)

Keep in mind this is only cosmetics, meaning it's only for looks. If you want to make the enchantment actually enchant the player's tool with the specific enchantment use on enchant and on enchant prepare combined to get fancy custom enchantments
Add example

EnchantmentOffers - Level

Addon: Skellett
Patterns:
[the] level of [enchant[ment]] offer %enchantmentoffer%
offer %enchantmentoffer%'s [enchant[ment]] level
Use this expression in the event prepare event.

This gets the level of an enchantment from the enchantment table.

This can be set (Number)

Keep in mind this is only cosmetics, meaning it's only for looks. If you want to make the enchantment actually enchant the player's tool with the specific enchantment use on enchant and on enchant prepare combined to get fancy custom enchantments
Add example

Enchants of item

Addon: Umbaska
Patterns:
enchants of %itemstack%
Gets the ACTUAL ENCHANTMENT NAME! IE:
Sharpness 1 -> DAMAGE_ALL 1
DO NOT COMPLAIN ABOUT THIS. I DON'T CARE.
Req: Umbaska 2.0

Example:

enchants of tool of player

Encode or Decode Base64

Addon: skUtilities
Patterns:
encode base[ ]64 %string%
decode base[ ]64 %string%
Encode a string to base64 using UTF-8 as the Charset
Decode a string from base64 using UTF-8 as the Charset

Example:

encode base64 "hello"
decode base64 "aGVsbG8="

Encode or Decode Morse

Addon: skUtilities
Patterns:
encode morse[ code] %string%
decode morse[ code] %string%
Encodes a string to morse code
Decodes a morse string to a english string

Example:

encode morse code "hello" 
decode morse code ".... . .-.. .-.. ---"

Encrypt or Decrypt String

Addon: skUtilities
Patterns:
encrypt %string% using %string% with key %string%
decrypt %string% using %string% with key %string%
Encrypts a String if you use AES You have to use a key with the length 16, 24, 32 chars
Decrypts a String if you use AES You have to use a key with the length 16, 24, 32 chars

Example:

encrypt "hello" using "AES" with key "helloiamawordtod"
decrypt "5oBjY+MlQQngclpXZlgLRQ==" using "AES" with key "helloiamawordtod"

End

Addon: WildSkript
Patterns:
access to end 
allow end 
Returns access to the End into boolean. This value is set in the bukkit configuration file (bukkit.yml)

Example:

set {_end-script-enable} to access to end

Ender Chest

Addon: Skript
Patterns:
[the] ender[ ]chest[s] of %players%
%players%'[s] ender[ ]chest[s]
The ender chest of a player. This can be used wherever an inventory can be used, in particular its items can be modified, and it can be shown to any player (not only the owning player).

Example:

open the player's ender chest to the player

Ender crystal base

Addon: Skellett
Patterns:
[ender] crystal base [visib(le|ility)] [state] of %entity%
%entity%'s [ender] crystal base [visib(le|ility)] [state]
Returns a boolean depending on the toggled visible state of a base from an Ender Crystal.

This can be set (Boolean)

Example:

command /beam:
    trigger:
        set target entity's crystal base to false

Ender crystal beam

Addon: Skellett
Patterns:
[ender] crystal (target|beam) [location] of %entity%
%entity%'s [ender] crystal (target|beam) [location]
Returns the location that a ender crystal beam is targeted at.

This can also be set (Location)

Example:

command /beam:
    trigger:
        broadcast "&c%target entity's crystal target%"
        wait a second
        set target entity's crystal target to {location}

Enderman Held Item

Addon: ExtrasSK
Patterns:
[the] held item of [the] enderman %entity%
[the] enderman %entity%'s held item
Returns the currently held item of an enderman.

Example:

command /chance: #Basic Lottery System.

    trigger:
        spawn an enderman at block 3 blocks north of player
        add stone to {_items::*}
        add wooden plank to {_items::*}
        add log to {_items::*}
        add dirt to {_items::*}
        add diamond block to {_items::*}
        loop 20 times:
            play "NOTE_PLING" specifically to player with pitch 1 and volume 1.25
            set {_item} to a random element out of {_items::*}
            set the enderman last spawned entity's held item to {_item}
            wait 0.15 seconds
        message "&6You won: %enderman last spawned entity's held item%!"
        play "LEVEL_UP" specifically to player with pitch 1
        give player enderman last spawned entity's held item

Entities

Addon: Skript
Patterns:
[all] %*entity types% [(in|of) [world[s]] %worlds%]
[all] entities of type[s] %entity types% [(in|of) [world[s]] %worlds%]
[all] %*entity types% (within|[with]in radius) %number% [(block[s]|met(er|re)[s])] (of|around) %location%
[all] entities of type[s] %entity types% in radius %number% (of|around) %location%
All entities in all world, in a specific world or in a radius around a certain location, e.g. 'all players', 'all creepers in the player's world', or 'players in radius 100 of the player'.

Example:

kill all creepers in the player's world
send "Psst!" to all players witin 100 meters of the player
give a diamond to all ops
heal all tamed wolves in radius 2000 around {town center}

Entities in Chunk

Addon: SkQuery
Patterns:
%chunks%'s entities
[the] entities of %chunks% 
All the entities inside a chunk.
Add example

Entities in radius around location

Addon: Skellett
Patterns:
[skellett] [all] [nearby] entit(y|ies) (within|in) [a] radius [of] %number%[(,| and) %number%(,| and) %number%] (within|around|near) %location%
This grabs all the entities in a radius around a location. This is similar to RandomSk but it has more customization. You can modify the square that Spigot checks around the location.

Basically Spigot makes a square around a location and finds all the entities within that square.

With Skellett you can modify that square to be X by X by X in height, width and length. All based on how you want to loop those entities.

The first optional number is X-coordinate, second is Y-coordinate and third is Z-coordinate.

If you don't specify the numbers then skellett will make the square itself and act just like RandomSk loop entities.

Example:

command /test <number> [<number>] [<number>]:
    trigger:
        if arg 2 and arg 3 are not set:
            loop all entities in radius arg 1, arg 2 and arg 3 around player's location:
                broadcast "%loop-value%"
        else if arg 1 is set:
            loop all entities in radius arg 1 around player's location:
                broadcast "%loop-value%"

Entity far away state

Addon: Skellett
Patterns:
[skellett] [(despawn|remove|clear)] [get] %entity% when [it([']s| is)] far away [state]
Returns a boolean depending on if the entity should despawn when itès out of render distance or not.

This can be set (Boolean)
Add example

Entity from Variable

Addon: Umbaska
Patterns:
entity from %variable%
Gets entity from a variable.

Example:

set {_p} to targeted entity
delete entity from {_p}

Entity glide state toggle

Addon: Skellett
Patterns:
glide [state] [(of|for)] [entit(y|ies)] %entity%
Returns a boolean that checks if an entity's glide state is toggled.

This can be set (Boolean)

Example:

on entity glide toggle:
    #Infinite elytra flying

    if glide state of event-entity is true:
        cancel event

Entity glowing state

Addon: Skellett
Patterns:
[skellett] [entity] glow[ing] [state] of %entities%
The glowing state of an entity.

Changers: Set

Example:

set glowing state of all entities to true #I recommend not to do this lol

Entity ID

Addon: Skellett
Patterns:
[the] [entity] [number] id (of|from) %entity%
%entity%'s [entity] [number] id
Gets spigots entity ID of an entity. This is another method that you can use to keep track of entitys easier.

Example:

command /baconDelivery:
    trigger:
        spawn a pig above player
        set {_id} to entity id of last spawned pig
        broadcast "%{_id}%"
        wait 3 seconds
        loop all entities:
            if entity id of loop-entity is {_id}:
                ignite loop-entity for 10 seconds
                while loop-entity is on fire:
                    wait a second
                broadcast "&aAhhh yassss. Fresh porkchops!"

Entity scoreboard tag

Addon: Skellett
Patterns:
[the] scoreboard tag (of|from) %entity%
%entity%'s scoreboard tag
Scoreboard tags are like entity data that can be placed on an entity.

Basically an entity contains a list of strings that are stored in the scoreboard tag.

You can use this expression to add, remove and delete the scoreboard tags from an entity.

This expression is only for 1.11+ versions
Add example

Entity Spawn Limits Per World

Addon: RandomSK
Patterns:
[the] (monster|animal|water[(-| )]animals|ambient) spawn limit[s] of %world%
%world%'s (monster|animal|water[(-| )]animals|ambient) spawn limit[s]
Add description

Example:

set {_limit} to monster spawn limit of world of player
if {_limit} is 50:
    set monster spawn limit of world of player to 100

Entity type

Addon: Umbaska
Patterns:
entity type of %location%
Returns the entity type of a spawner

Example:

command /whatentity:
    trigger:
        message "&aThis spawners entity is: %entity type of location of targeted block%"

Entity UUID

Addon: Umbaska
Patterns:
uuid of %entity%
Gets an entities UUID to be used rather than storing the entity itself

Req: Umbaska 1.5

Example:

uuid of target entity

Enum Values

Addon: SkQuery
Patterns:
[all ]enum values of %class info%
Returns a list of all the possible values for a type
Add example

Event Channel

Addon: Vixio
Patterns:
[event-]channel
Add description
Add example

Event Guild

Addon: Vixio
Patterns:
[event-]guild
Add description
Add example

Event Guild

Addon: Vixio
Patterns:
[event-]guild
Add description
Add example

Event Message

Addon: Vixio
Patterns:
[event-]message
Add description
Add example

Event Old Status

Addon: Vixio
Patterns:
[event-]oldstatus
Add description
Add example

Event Status

Addon: Vixio
Patterns:
[event-]status
Add description
Add example

Event String

Addon: Vixio
Patterns:
[event-]string
Add description
Add example

Event User

Addon: Vixio
Patterns:
[event-]user
Add description
Add example

Exhaustion of player

Addon: Skellett
Patterns:
exhaustion of %player%

%player%'s exhaustion
Grab the exhaustion of a player

Example:

#Some data testing I did


every tick:
    loop all players:
        if "%exhaustion of loop-player%" parsed as number is not {ex}:
            set {ex} to "%exhaustion of loop-player%" parsed as number
            if {ex} is between 0 and 1:
                set {now} to now
                set {exLoc} to location of loop-player
            else if {ex} is between 4 and 5:
                broadcast "&6&l%difference between {now} and now%"
                broadcast "&c&l%distance between {exLoc} and location of loop-player%"
            broadcast "%exhaustion of loop-player%"
        else if {ex} is not set:
            set {ex} to "%exhaustion of loop-player%" parsed as number
#!All data analytics collection was based off default spigot

#Sprinting = Faster extinguish of exhaustion

#Jumping = 0.20 exhaustion subtraction

#Breaking blocks = 0.04 exhaustion subtraction

#Placing blocks = Suprisingly no exhaustion subtraction

#Swinging or using item (such as sword) = no exhaustion subtraction because Spigot can't tell when the client swings

#Sneaking = least amount of exhaustion subtraction

Exp

Addon: TuSKe
Patterns:
[total] [e]xp of %player%
%player%'[s] [total] [e]xp
Returns the amount of experiences of player.

Example:

if xp of player is more than 100:
    remove 100 from xp of player

Experience

Addon: Skript
Patterns:
[the] [(spawned|dropped)] [e]xp[erience] [orb[s]]
How much experience was spawned in an experience spawn event. Can be changed.

Example:

on experience spawn:
    add 5 to the spawned experience

Experience

Addon:
Patterns:
%player%'[s] [total] [e]xp
[total] [e]xp of %player%
Return the amount of experiences of player.

Example:

if xp of player is more than 1000:
    remove 1000 from xp of player

Exploded Blocks

Addon: SkQuery
Patterns:
[the] (destroyed|exploded|boom boomed) blocks
The blocks that will be destroyed in an explosion event.

Example:

on explode:
     wait 1 tick
     loop exploded blocks:
          set loop-block to stone

Facing

Addon: Skript
Patterns:
[the] [horizontal] facing of %living entities/blocks%
%living entities/blocks%'[s] [horizontal] facing
The facing of an entity or block, i.e. exactly north, south, east, west, up or down (unlike direction which is the exact direction, e.g. '0.5 south and 0.7 east')

Example:

#Makes a bridge
loop blocks from the block below the player in the horizontal facing of the player:
    set block to cobblestone

Faction at location

Addon: SkRambled
Patterns:
[the] faction at %location%
Plugin requires: Factions
Gets the claimed faction at a location
Add example

Faction of player

Addon: SkRambled
Patterns:
faction of player
Plugin requires: Factions
Gets the faction of a player

Example:

command /helpmemyfactionname:
    trigger:
        send "%name of faction of player%"

Fake Max Players

Addon: SkQuery
Patterns:
[the] [max] player count
Provides a false maximum player number that is seen when players refresh their server listings. Some server listing websites are also fooled by this.

Example:

on server list ping:
	set max player count to 10

Fall distance of entity

Addon: Skellett
Patterns:
[the] fall distance (from|of) %entity%
%entity%'s fall distance
Gets the distance between the ground and an entity when it's falling downwards.

Very handy for anti-cheats

Changers: set, add and remove/subtract

Example:

command /fall:
    trigger:
        teleport player to location 250 blocks above player
        wait a second
        set fly state of player to false
        broadcast "%the fall distance of player%"
        wait a second
        broadcast "%the fall distance of player%"
        set fall distance of player to 1000
        #Honestly I don't understand why Spigot has settable fall distance. It just tells the entity the fall distance which counts in the entities AI.

        #There is no visual effect. Pretty sure the AI of entities use this though.

        #But the getter is handy for anti-cheat scripts, none the less.

        wait a second
        broadcast "%the fall distance of player%"
        wait a second
        broadcast "%the fall distance of player%"
        wait 3 seconds
        broadcast "&6%the fall distance of player%"

Feudal config message

Addon: Skellett
Patterns:
fedual (config|files|messages) [message] %string%
Plugin requires: Feudal
Get any config message setting and do stuff with it

Example:

command /testing:    
    trigger:
        set {_easierToSee} to fedual config message "configField"
        message "%fedual config message ""configField""%"

Feudal fighters of kingdom

Addon: Skellett
Patterns:
[(the|all)] [of] [the] Feudal [kingdom] fighter[[']s] of %kingdom%
[(the|all)] [of] [the] %kingdom%'s Feudal kingdom fighter[[']s]
[(the|all)] [of] [the] fighter[[']s] of Feudal [kingdom] %kingdom%
Plugin requires: Feudal
Gets all the fighters of a kingdom

This is loopable

You can add and remove fighters using the syntax below:
#The string being a UUID or you can use player and Skellett will grab that players UUID

add %string%/%player% to [(the|all)] [of] [the] Feudal [kingdom] fighter[[']s] of %kingdom%
remove %string%/%player% from [(the|all)] [of] [the] Feudal [kingdom] fighter[[']s] of %kingdom%
Add example

Feudal home

Addon: Skellett
Patterns:
fedual [kingdom] home of %kingdom%
%kingdom%'s fedual [kingdom] home
Plugin requires: Feudal
Gets the home location of a kingdom

Example:

command /testing:    
    trigger:
        set {_kingdom} to fedual kingdom of player
        set {_home} to fedual kingdom home of {_kingdom}
        message "%{_home}%"

Feudal kingdom description

Addon: Skellett
Patterns:
fedual [kingdom] description of %kingdom%
%kingdom%'s fedual [kingdom] description
Plugin requires: Feudal
Get the description of a kingdom

Example:

command /testing:    
    trigger:
        set {_kingdom} to fedual kingdom of player
        set {_desc} to fedual kingdom description of {_kingdom}
        message "%{_desc}%"

Feudal location kingdom

Addon: Skellett
Patterns:
fedual [kingdom] at [location] %location%
Plugin requires: Feudal
Gets the litteral kingdom at a location. This can be used to get other expressions and stuff
Add example

Feudal location kingdom name

Addon: Skellett
Patterns:
fedual [kingdom] name at [location] %location%
Plugin requires: Feudal
Get the name of a kingdom at a location
Add example

Feudal player kingdom

Addon: Skellett
Patterns:
fedual [kingdom] of %player%
%player%'s fedual [kingdom]
Plugin requires: Feudal
Gets the litteral kingdom of the player, not the name. You can use this for other expressions.

Example:

command /testing:    
    trigger:
        set {_kingdom} to fedual kingdom of player
        set {_desc} to fedual kingdom description of {_kingdom}
        message "%{_desc}%"

Feudal player kingdom name

Addon: Skellett
Patterns:
fedual [kingdom] name of %player%
%player%'s fedual [kingdom] name
Plugin requires: Feudal
Get the name of a player's kingdom
Add example

File Contents

Addon: skUtilities
Patterns:
file contents of %string%
%string%'s file contents
Returns the contents of a file

Sets,gets or resets contents of file

Example:

set {_var::*} to file contents of "plugins\test.txt"
#checks in "plugins\test.txt"

set file contents of "plugins\test.txt" to "hello" and "line2"
#checks in "plugins\test.txt"

reset file contents of "plugins\test.txt"
#checks in "plugins\test.txt"

File existance

Addon: Umbaska
Patterns:
existence of %string%
Checks whether a file exists or not. It returns a boolean.

Req: Umbaska 1.5

Example:

set {_Check} to existence of "plugin.yml"

File Extension

Addon: skUtilities
Patterns:
extension of file %string%
file %string%'s extension
Returns the file extension of a file

Example:

extension of file "plugins\text.txt"
#would check file at "plugins/test.txt"

File Last Modified, Last Accessed, Creation Date

Addon: skUtilities
Patterns:
file %string%'s (last modified|creation|last access) value
(last modified|creation|last access) value of file %string%
Returns when the file was last changed (modified), last accessed, and created

Example:

file "plugins\test.txt"'s last modified value
#checks in "plugins\text.txt"

File Line Count

Addon: skUtilities
Patterns:
line count of file %string%
file %string%'s line count
Returns the line count of a file

Example:

line count of file "plugins\test.txt" 
#would look in "plugins\test.txt"

File Name

Addon: skUtilities
Patterns:
name of file %string%
file %string%'s name
Gets the name of a file with out the extension

Example:

name file of "plugins\test.txt" 
# checks in "plugins\test.txt"

File Owner

Addon: skUtilities
Patterns:
owner of file %string%
file %string%'s owner
Gets or Sets the file owner
Note: Can only set the owner to a real user

Example:

owner of file "plugins\test.txt"
# checks in "plugins\test.txt"

set owner of file "plugins\test.txt" to "USER"
# checks in "plugins\test.txt"

File Size

Addon: skUtilities
Patterns:
size of file %string%[ in bytes]
file %string%'s size[ in bytes]
Returns the size of the file

Example:

size of file "plugins\test.bat" 
# would look in "plugins\test.bat" and would return "1.24 KB"

File-based Java

Addon: SkriptEvolved
Patterns:
{var} = "example[.java]"
%java of file {var}%
Executes file-based java, java can interact with the bukkit api.
file location is Skript/scripts/java

the example below executes the file test.java.

To-do: argument system for java file-based

Example:

command /hi:
    trigger:
        set {hi} to "test"
        broadcast "%java of file {hi}%"

File-based Lua

Addon: SkriptEvolved
Patterns:
{var} = "file[.lua] <line to head file with>
%lua of {var}%

Executes a lua file in Skript/scripts/lua, use "||" for line breaks WARNING: do not use comments! They break everything.
Line to head file is optional, if you choose not to add it dont put the <>
cannot interact with bukkit API

Example:

{luaFile} = "empty.lua <a=1 || return a>"
broadcast "%lua of file {luaFile}%"  This would broadcast "1" in chat

Files

Addon: WildSkript
Patterns:
[all] file[s] in %text%
Returns files from folder into variables list ({list::*}).

Example:

set {scripts::*} to files in "plugins/Skript/scripts"

Files in Directory

Addon: skUtilities
Patterns:
files in dir[ectory] [including sub dir[ectorie]s)] %string%
dir[ectory] [including sub dir[ectorie]s)] %string%'s files
Returns a list of the files in the current and sub directories

Example:

set {_var::*} to directory "plugins\"'s files 
# would look in "plugins\"

Files in Zip File

Addon: skUtilities
Patterns:
files in zip[ file] %string%
zip[ file] %string%'s files
Returns a list of files in the zip file

Example:

set {_var::*} to zip file "plugins\test.zip"'s files 
#checks in "plugins\test.zip"

Final damage

Addon: RandomSK
Patterns:
Final Damage
Plugin requires: RandomSK
Gets the damage after all the damage modifiers(armor/buffs for example) in an "on damage" event. This is not settable as there is no set final damage method in bukkit, but is useful when monitoring damage taken.

Example:

on damage:
    message "%attacker% hit you for %damage%, but after your armor the damage is actually %Final Damage%!" to victim

Final damage

Addon: Skellett
Patterns:
[skellett] final damage
Gets the damage after all the damage modifiers(armor/buffs for example) in an "on damage" event.

Working from 1.6-1.10+

Example:

on damage:
    broadcast "%final damage%"

Fireproof state of entity

Addon: SkStuff
Patterns:
fire[ ]proof (state|mode) of %entity%
%entity%'s fire[ ]proof (state|mode)
Sets or gets the fireproof state of an entity.

You can set the fireproof state of entities that have it true by default (zombie pigmans, blazes, etc.) back to false, but the flames will not appear in their body.

Example:

set the fireproof state of {_someEntity} to true #The entity will never take damage from fire anymore

command /AmIFireproof:
    trigger:
        send "%fireproof state of player%"

Firework Effect

Addon: SkQuery
Patterns:
(1¦|2¦flickering |3¦trailing |4¦flickering trailing |5¦trailing flickering )%firework type% firework [effect] colored %colors%
(1¦|2¦flickering |3¦trailing |4¦flickering trailing |5¦trailing flickering )%firework type% firework [effect] colored %colors% fad(e|ing) [to] %colors%
Add description
Add example

First Capitalization (Case)

Addon: SkriptPlus
Patterns:
first capitalization of %string%
Plugin requires: SkQuery
Evaluates to the same string, but the first letter of the string will be capitalized!

Example:

set {_text} to "zim zam zoopity bop"

message "%first capitalization of {_text}%"

# Evaluate to "Zim zam zoopity bop"

First Login

Addon: TuSKe
Patterns:
first login of %player%
%player%'[s] first login			
Returns a date of the first time that player logged at server.

Example:

if difference between first login of player and now is more than 100 days:
    set {PlayerVeteran.%player%} to true

Fishing caught entity

Addon: Skellett
Patterns:
[skellett] caught (fish|item|entity)
Grab the entity type of the caught entity when fishing state is caught.

If you want the grab the itemstack of the entity. Use items within entity
[skellett] [get] item[s] (of|in|inside|within) %entity%

Example:

on fishing:
    broadcast "%caught entity%"
    broadcast "The caught item is %items within caught entity%"

Fishing hook

Addon: Skellett
Patterns:
[skellett] [fish[ing]] hook
Grab the hook of the fishing event

Example:

on fishing:
    teleport player to fishing hook

Fishing State

Addon: RandomSK
Patterns:
fishing state
The Fishing State in a fishing event.
States are: Caught Fish, Caught Entity, Fishing, In Ground and Failed Attempt

Example:

on player fishing:
    if fishing state is caught fish:
        message "You caught a fish."

Fishing state

Addon: Skellett
Patterns:
[skellett] [fish[ing] state
Grab the fishing state of the fish event.

Example:

on fishing:
    broadcast "%fishing state%"
    if "%fishing state%" is "CAUGHT_FISH" or "CAUGHT_ENTITY":
        if caught entity is set:
            broadcast "%caught fish%"

Fishing XP

Addon: Skellett
Patterns:
[fish[ing]] (xp|experience) [earned]
Grab or set the earned XP from the fishing event

Example:

on fishing:
    if fish XP earned is less than 2:
        chance of 50%:
            set fish XP to 10
            message "You got bonus XP!"

Fixed Pitch

Addon: GameBuSK
Patterns:
[gamebuster's] [fixed] pitch of %location%
%location%'s [fixed] pitch
Gets and sets a location's pitch

Example:

#Some event:

    set {_loc} to player's location
    set {_loc}'s yaw to 10
    #makes the player look up

    teleport player to {_loc}

Fixed Yaw

Addon: GameBuSK
Patterns:
[gamebuster's] [fixed] yaw of %location%
%location%'s [fixed] yaw
Gets and sets a location's yaw

Example:

#Some event:
    set {_loc} to player's location
    set {_loc}'s yaw to 10
    #Turns the player
    teleport player to {_loc}

Flight Mode

Addon: SkQuery
Patterns:
%players%'s fl(y|ight) (state|ability|mode)
[the] fl(y|ight) (state|ability|mode) of %players% 
Sets the player's fly state. True lets them fly, false lets them fall to the earth!

Example:

set player's fly mode to true
wait 10 seconds
set player's fly mode to false

Flipped/Reversed Boolean

Addon: SkriptPlus
Patterns:
(flipped|reversed) %boolean%
Plugin requires: SkQuery
Gets the reverse of a true/false. Turns true into false, and false/null into true

Example:

message "%flipped {_bool}%" 

# Messages "True", since {_bool} isn't set

Font Names

Addon: SkDragon
Patterns:
[all ][system ]font names
Gets a list of all the font names that are available on the servers system.

Useful for the drawText syntax where you can input an optional font

Added in v0.12.0-BETA

Example:

set {_var::*} to font names
send "%{_var::*}%"

Food Level

Addon: Skript
Patterns:
[the] (food|hunger)[[ ](level|met(er|re)|bar)] [of %player%]
%player%'[s] (food|hunger)[[ ](level|met(er|re)|bar)]
The food level of a player from 0 to 10. Has several aliases: food/hunger level/meter/bar.

Example:

set the player's food level to 10

Former/Future State

Addon: Skript
Patterns:
[the] (former|past|old) [state] [of] %~object%
%~object% before [the event]
[the] (future|to-be|new) [state] [of] %~object%
%~object%(-to-be| after[(wards| the event)])
Represents the value of an expression before an event happened or the value it will have directly after the event, e.g. the old or new level respectively in a level change event.
Note: The past, future and present states of an expression are sometimes called 'time states' of an expression.
Note 2: If you don't specify whether to use the past or future state of an expression that has different values, its default value will be used which is usually the value after the event.

Example:

on teleport:
    former world was "world_nether" # or 'world was'
    world will be "world" # or 'world after the event is'
on tool change:
    past tool is an axe
    the tool after the event will be air
on weather change:
    set {weather.%world%.old} to past weather
    set {weather.%world%.current} to the new weather

Free Memory

Addon: Umbaska
Patterns:
free memory
Returns amount of free memory.
Req: Umbaska 1.5

Example:

set {_free} to free memory

Freeze State

Addon: Umbaska
Patterns:
freeze state of %player%
Sets the freeze status of a player, if it's true, they won't be able to move and vise-versa.

Example:

set the freeze state of player to true

Full scoreboards - Entry of score

Addon: Skellett
Patterns:
[skellett] (score[ ][board]|board) [get] entry [(for|from|of)] score %score%
[skellett] (score[ ][board]|board) %score%'s score entry
Returns an entry from the given score.
Add example

Full scoreboards - Get team

Addon: Skellett
Patterns:
[skellett] (score[ ][board]|board) %string% team
[skellett] (score[ ][board]|board) [get] team [(for|from|of)] %string%
Returns a team with the given string.
Add example

Full scoreboards - Objective display name

Addon: Skellett
Patterns:
[skellett] (score[ ][board]|board) objective display name [(for|from|of)] %objective%
[skellett] (score[ ][board]|board) %objective%['s] objective['s] display name
[skellett] (score[ ][board]|board) objective %objective%['s] display name
Returns the display name of an objective.

This can be set to a string.

Example:

command /sbtest <text>:
    trigger:
        loop all scoreboard objectives:
            broadcast "&6%scoreboard objective loop-value's display name%"

Full scoreboards - Objective display slot

Addon: Skellett
Patterns:
[skellett] (score[ ][board]|board) objective [display] slot [(for|from|of)] %objective%
[skellett] (score[ ][board]|board) %objective%['s] objective['s] [display] slot
[skellett] (score[ ][board]|board) objective %objective%['s] [display] slot
Returns the objective slot.

Return types as of writing this:
- BELOW_NAME
- PLAYER_LIST
- SIDEBAR

This can also be set. (String)
Add example

Full scoreboards - Objective name

Addon: Skellett
Patterns:
[skellett] (score[ ][board]|board) objective name [(for|from|of)] %objective%
[skellett] (score[ ][board]|board) %objective%['s] objective['s] name
[skellett] (score[ ][board]|board) objective %objective%['s] name
Returns the name attached to the objective when it was made.

This is not the display name. The display name is different from name. Display name is what the players can see. The name is what the server uses to grab this objective.
Add example

Full scoreboards - Objective of score

Addon: Skellett
Patterns:
[skellett] (score[ ][board]|board) objective [(for|from|of)] score %score%
[skellett] (score[ ][board]|board) %score%'s scores objective
Returns an objective from the given string.
Add example

Full scoreboards - Objective score

Addon: Skellett
Patterns:
[skellett] (score[ ][board]|board) [objective] %objective% score [(for|from|of)] [entry] %string%
[skellett] (score[ ][board]|board) %objective%['s] [objective['s]] score [(for|from|of)] [entry] %string%
[skellett] (score[ ][board]|board) [objective] %objective%['s] score [(for|from|of)] [entry] %string%
Returns the score number of an objective.

This can also be set.

(This is the red number on the side of the scoreboard)
Add example

Full scoreboards - Objectives

Addon: Skellett
Patterns:
[skellett] [(the|all)] [of] [the] (score[ ][board]|board)[[']s] objectives
Returns a list of all the scoreboard objectives

Example:

command /sbtest <text>:
    trigger:
        loop all scoreboard objectives:
            broadcast "&6%scoreboard objective loop-value's display name%: &r%scoreboard objective criteria loop-value%"
            unregister scoreboard objective loop-value

Full scoreboards - Objectives by criteria

Addon: Skellett
Patterns:
[skellett] [(the|all)] [of] [the] (score[ ][board]|board)[[']s] objectives (by|with) [criteria] %string%
Returns a list of all scoreboard objectives with a criteria.

Example:

command /sbtest <text>:
    trigger:
        loop all scoreboard objectives by criteria "dummy":
            broadcast "&c%scoreboard objective loop-value's display name%: &r%scoreboard objective criteria loop-value%"

Full scoreboards - Score slot

Addon: Skellett
Patterns:
[skellett] (score[ ][board]|board) (score|number|slot) [(for|from|of)] %score%
[skellett] (score[ ][board]|board) %score%'s (score|number|slot)
Returns the score number of the given score.

Changers: set, add and subtract/remove
Add example

Full scoreboards - Scoreboard entries

Addon: Skellett
Patterns:
[skellett] [(the|all)] [of] [the] (score[ ][board]|board)[[']s] entr(ies|y[[']s])
Returns a list of all entries. Entries are entities within the scoreboard returned in a string.
Add example

Full scoreboards - Scoreboard objective

Addon: Skellett
Patterns:
[skellett] (score[ ][board]|board) objective [(for|from|of)] %string%
[skellett] (score[ ][board]|board) %string%'s objective
Get a scoreboard objective. Returns objective

Example:

command /sbtest <text>:
    trigger:
        set {_obj} to scoreboard objective "%arg 1%"
        broadcast "%scoreboard objective criteria {_obj}%"

Full scoreboards - Scoreboard objective criteria

Addon: Skellett
Patterns:
[skellett] (score[ ][board]|board) objective criteria [(for|from|of)] %objective%
[skellett] (score[ ][board]|board) %objective%'s objective criteria
Returns the criteria of an objective.

Example:

command /sbtest <text>:
    trigger:
        set {_obj} to scoreboard objective "%arg 1%"
        broadcast "%scoreboard objective criteria {_obj}%"

Full scoreboards - Team display name

Addon: Skellett
Patterns:
[skellett] [(score[ ][board]|board)] team display name [(for|from|of)] %team%
Returns a string of the display name from the given team.

This can be set.
Add example

Full scoreboards - Team entries

Addon: Skellett
Patterns:
[skellett] [(the|all)] [of] [the] (score[ ][board]|board)[[']s] entr(ies|y[[']s]) (in|within) [the] [team] %team%
Returns all the entries within the given team.
Add example

Full scoreboards - Team friendly fire state

Addon: Skellett
Patterns:
[skellett] [(score[ ][board]|board)] friendly fire state [(for|of)] [team] %team%
Returns a boolean if the given team's friendly fire is true or false.

This can be set.
Add example

Full scoreboards - Team name

Addon: Skellett
Patterns:
[skellett] [(score[ ][board]|board)] [team] name [(for|of)] [team] %team%
Returns a string of the given team's name used when creating.

This returns the name of the team, not the display name. That is different. The team name is what the server uses to grab a team. The team display name is what the player's see as the name of the team.
Add example

Full scoreboards - Team of entry

Addon: Skellett
Patterns:
[skellett] (score[ ][board]|board) team of [entry] %string%
[skellett] (score[ ][board]|board) [entry] %string%'s team
Returns the team of an entry.
Add example

Full scoreboards - Team option

Addon: Skellett
Patterns:
[skellett] [(score[ ][board]|board)] [team] option[s] [status] %teamoption% [(for|of)] [the] [team] %team%
Returns a team option status of the given team option for a team.

This can be set. (TeamOptionStatus)
Add example

Full scoreboards - Team prefix

Addon: Skellett
Patterns:
[skellett] [(score[ ][board]|board)] [team] prefix [(for|of)] [team] %team%
Returns a string of the teams prefix.

This can be set.
Add example

Full scoreboards - Team scores of entry

Addon: Skellett
Patterns:
[skellett] [(the|all)] [of] [the] (score[ ][board]|board) scores of [entry] %string%
[skellett] [(the|all)] [of] [the] (score[ ][board]|board) [entry] %string%'s scores
Returns a list of all the entry's scores.
Add example

Full scoreboards - Team size

Addon: Skellett
Patterns:
[skellett] [(score[ ][board]|board)] [team] size [(for|of)] [team] %team%
Returns the size of the given team.
Add example

Full scoreboards - Team suffix

Addon: Skellett
Patterns:
[skellett] [(score[ ][board]|board)] [team] suffix [(for|of)] [team] %team%
Returns a string of the team's suffix.

This can be set.
Add example

Full scoreboards - Teams

Addon: Skellett
Patterns:
[skellett] [(the|all)] [of] [the] (score[ ][board]|board)[[']s] teams
Returns a list of all the scoreboard teams.
Add example

Function Return Type

Addon: MundoSK
Patterns:
return type of function %string%
The return type of the function, or not set if the function doesn't return anything.
Add example

FunctionSocket Handler

Addon: MundoSK
Patterns:
handler [function] of function socket at port %integer%
Gets the handler function of the function socket.
Add example

FunctionSocket Password

Addon: MundoSK
Patterns:
pass[word] of function socket at port %integer%
Gets the password of the function socket at that port.


**For clarification, this only gets the password from function sockets on your server, not other servers.
Add example

Furnace Slot

Addon: Skript
Patterns:
[the] (ore|fuel|result)[s] [slot[s]] of %blocks%
%blocks%'[s] (ore|fuel|result)[s] [slot[s]]
A slot of a furnace, i.e. either the ore, fuel or result slot.
Remember to use 'block' and not 'furnace', as 'furnace' is not an existing expression.

Example:

set the fuel slot of the clicked block to a lava bucket
set the block's ore slot to 64 iron ore
give the result of the block to the player
clear the result slot of the block

Gamemode

Addon: Skript
Patterns:
[the] game[ ]mode of %players%
%players%'[s] game[ ]mode
The game mode of a player, which can be either survival, creative, or adventure.

Example:

player's gamemode is survival
set the player's gamemode to creative

General Citizen

Addon: SkRayFall
Patterns:
citizen %number%
Plugin requires: Citizens
Add description
Add example

Geometric Mean

Addon: skqMaths
Patterns:
geometric mean of %numbers%
Plugin requires: SkQuery
Calculates the geometric mean of a list of numbers. You will most likely not use this!

Example:

set {_mean} to "%geometric mean of 1, 2, 3, 4%"
#Evaluates to: 2.213

#2.213 = (1*2*3*4) ^ (1/4)

Get line

Addon: Umbaska
Patterns:
line %integer% in file %string%
Gets a specific line from a file.

Req: Umbaska 1.5

Example:

set {line} to line 2 in file "/plugins/ConfigPlug/players.txt"

get Prefix

Addon: SkAction
Patterns:
%player%'s prefix
Plugin requires: PermissionsEx
Get's a player's pex prefix.

Example:

set {_test} to player's prefix

get Suffix

Addon: SkAction
Patterns:
%player%'s suffix
Plugin requires: PermissionsEx
Get's a player's pex suffix.

Example:

set {_s} to player's suffix

Get YAML/YML

Addon: Umbaska
Patterns:
get string %string% from %string%
get integer %string% from %string%
get boolean %string% from %string%
First %string% is file, second %string% is what you want. Req: Umbaska 1.5

Example:

get string "mobs.yml" from "list: "
get integer "mobs.yml" from "creepermax: "
get boolean "mobs.yml" from "enabled: "

getGroup

Addon: SkAction
Patterns:
%player%'s group
Plugin requires: PermissionsEx
Get's a player's PermissionsEx group.

Example:

set {_test} to player's group

Glow Color Of

Addon: SharpSK
Patterns:
glowing color of %entity% 
Plugin requires: GlowAPI
Can be set and retrieved from players and entities (Req. SharpSK 1.5.1)

Example:

set glowing color of the player to red 

Glowing

Addon: SkRayFall
Patterns:
%player% glowing 
Get a players glowing status (True or False).
Add example

Glowing Item

Addon: SkQuery
Patterns:
glowing %itemstacks%
Ability to make an itemstack glow without enchantments.

Example:

give 1 glowing stick to player

Gravity state

Addon: Skellett
Patterns:
gravity [state] [of] [entit(y|ies)] %entitys%
Make an entity have no gravity.

This expression only works for 1.10+

Example:

set gravity state of target entity to false

Ground state

Addon: Skellett
Patterns:
[(is|are)] [on] [the] ground [state] [of] [entity] %entity%

[entity] %entity% [(is|are)] [on] [the] ground [state]
Set or get the ground state of an entity. This will test if the entity is touching the ground or not.

Example:

while ground state of shot projectile is false:
    push shot projectile upwards at speed 0.15
    wait 2 ticks

Group Score Value

Addon: SkRayFall
Patterns:
group score (name|title) (of|from) id %string%

group score (value|number) (of|from) id %string%
These expressions will get either the name or value of a group based score.
Add example

Groups Of

Addon: SharpSK
Patterns:
groups of  %offlineplayer% 
Plugin requires: PermissionsEx
Returns a list of groups that the player is in (if the player is only in 1 group then it will only return that group's name
Add example

Guid

Addon: SkQuery
Patterns:
[new] (guid|uuid)
Add description
Add example

Guilds of Bot/User

Addon: Vixio
Patterns:
[discord] %string%('s|s) guilds
Add description
Add example

Harmonic Mean

Addon: skqMaths
Patterns:
harmonic mean of %numbers%
Plugin requires: SkQuery
Calculates the harmonic mean of a list of numbers. You will most likely not use this! Better have a look at Mean.

Example:

set {_mean} to "%harmonic mean of 1, 2, 3, 4%"
#Evaluates to: 1.92

#1.92 = 4 / (1/1 + 1/2 + 1/3 + 1/4)

Hash

Addon: Skript
Patterns:
[md5][( |-)hash(ed|[( |-)]code] of) %texts%
Hashes the given text using the MD5 algorithm. This is useful for storing passwords or IP addresses without having to store them literally.
Please note that an MD5 hash is irreversible, i.e. you won't be able to get the original text back (which is the point of storing passwords like this). Brute force and rainbow table attacks can still be performed on hashes though which can easily crack short or insecure passwords.

Example:

command /setpass <text>:
    trigger:
        set {password.%player%} to hashed text-argument
command /login <text>:
    trigger:
        {password.%player%} is hashed text-argument:
            message "login successful."
        else:
            message "wrong password!"

Hash String

Addon: skUtilities
Patterns:
hash[ed] %string% using %string%
Gets the Hash of the string.

Example:

hashed "hi" using "MD5"
hashed "hi" using "SHA-256"

Hastebin Paste

Addon: ExertSK
Patterns:
[new] hastebin (key|identifier) (for|of) [text|string] %string%
[new] hastebin URL (for|of) [text|string] %string%"
Create a new hastebin paste from a string/text. Use \n or skQuery's %nl% expression to make new lines.

Example:

set {_i} to new hastebin URL for text "LINE1\nLINE2\nLINE3\nLINE4\nLINE5\nLINE6"
message "<red>Error Log:<gold>%{_i}%"

Head Location

Addon: Skript
Patterns:
[the] (head|eye[s]) [location[s]] of %living entities%
%living entities%'[s] (head|eye[s]) [location[s]]
The location of an entity's head, mostly useful for players and e.g. looping blocks in the player's line of sight.
Please note that this location is only accurate for entities whose head is exactly above their center, i.e. players, endermen, zombies, skeletons, etc., but not sheep, pigs or cows.

Example:

set the block at the player's head to air
set the block in front of the player's eyes to glass
loop blocks in front of the player's head:

Heal Amount

Addon: ExtrasSK
Patterns:
[the] (restore[d]|heal[ed]|regenerat[ed]) (amount|number|health)
Returns the amount healed in a heal event.

Example:

on heal:
    if the restored health is more than 2:
        cancel event
        message "No healing more than 2 at a time!"

Health

Addon: Skript
Patterns:
[the] health of %living entities%
%living entities%'[s] health
The health of a creature, e.g. a player, mob, villager, etc. from 0 to the creature's max health, e.g. 10 for players.

Example:

message "You have %health% HP left."

Health Scale

Addon: SkQuery
Patterns:
%players%'s scaled health
[the] scaled health of %players% 
The health scale a player is shown. Health scale determines how many hearts a player can see and can be used to increase max hp without altering heart count.
Add example

Health Scale Mode

Addon: SkQuery
Patterns:
%players%'s scaled health (state|ability|mode)
[the] scaled health (state|ability|mode) of %players% 
A true/false expression representing whether or not a player is shown a scaled health.
Add example

Height of schematic

Addon: SkStuff
Patterns:
(y( |-)size|height) of schem[atic] [from] %text%
Plugin requires: WorldEdit
Returns the height of the specified schematic.

Example:

set {_height} to height of schem "plugins/schematics/skycraper.schematic"

Height of WorldEdit selection

Addon: SkStuff
Patterns:
(y( |-)size|height) of [(world[ ]edit|we)] selection of %player%
%player%'s [(world[ ]edit|we) ]selection (y( |-)size|height)
Plugin requires: WorldEdit
Returns the height of the WorldEdit selection of a player.

Example:

set {_height} to player's worldedit selection height

HerSK version

Addon: HerSK
Patterns:
%hersk version%
Plugin requires: SkQuery
Displays current version of HerSK.

Example:

send "You're running HerSK v%hersk version%" to player

Hex To RGB

Addon: skUtilities
Patterns:
convert hex %string% to rgb
hex %string% as rgb
Converts a Hex color value in to a Rgb color value formated like "200, 200, 200"

Example:

set {_var} to convert hex "FFCCEE" to rgb
broadcast "%{_var}%"

Hexadecimal to Binary

Addon: skUtilities
Patterns:
convert hexa[decimal] %string% to bin[ary]
hexa[decimal] %string% as bin[ary]
Convert a Hexadecimal to Binary

Example:

set {_var} to convert hexa "101" to binary
broadcast "%{_var}%"

Hexadecimal To Number

Addon: skUtilities
Patterns:
convert hexa[decimal] %string% to num[ber]
hexa[decimal] %string% as num[ber]
Converts a Hexadecimal to a Number

Example:

set {_var} to convert hexa "100" to num
broadcast "%{_var}%"

Hide enchants/Glow/Shine

Addon: Skellett
Patterns:
%itemstacks% with hid(den|ing) enchant[ment][s]
[skellett] (shiny|hidden enchant[ment][s]|glow|glowing) [item] %itemstack%
Make a item glow without any enchantments on it

Example:

give player a hidden enchant diamond sword

Highest Solid Block

Addon: MundoSK
Patterns:
highest [(solid|non-air)] block at %location%
Gets the highest block that isn't air at a specific location. Useful for setting spawns.
Add example

Holo Particle

Addon: SkQuery
Patterns:
holo particle %text%
Don't use this yet, still a work in progress
Add example

Hologram Line

Addon: SkRayFall
Patterns:
text in line %number% of holo[gram] [object] %string%
Plugin requires: Holographic Displays
Get the text in the line of a holo object
Add example

Home of faction

Addon: SkRambled
Patterns:
home of faction, faction's home
Plugin requires: Factions
Returns or sets the home of that faction
Add example

Hook

Addon: RandomSK
Patterns:
[fishing] (hook|lure)
Gets the hook in a fishing event. Can be used to get the location of the hook.

Example:

on player fishing:
    create explosion of force 3 at location of hook

Horse Color

Addon: TuSKe
Patterns:
horse color of %entity%
%entity%'[s] horse color
Returns the color of horse. e.g. black, brown, chestnut, creamy, dark brown, gray and white.

Example:

on spawn of horse:
    if horse variant of event-entity is "horse":
        set horse color of event-entity to "black"

Horse Style

Addon: TuSKe
Patterns:
horse style of %entity%
%entity%'[s] horse style
Returns the style of horse. e.g. white, white dots, black dots and whitefields.

Example:

on spawn of horse:
    if horse style of event-entity is not set:  #Returns null in case of the horse hasn't any style.
        set horse style of event-entity to "whitefields"

Horse Variant

Addon: TuSKe
Patterns:
horse variant of %entity%
%entity%'[s] horse variant
Returns the variation of horse. e.g. undead horse, skeleton horse, mule, donkey and horse.

Example:

spawn a horse at {_location}
set horse variant of last spawned horse to "undead horse"

Hotbar Slot

Addon: SkQuery
Patterns:
%players%'s (current|selected) hotbar slot [id]
[the] (current|selected) hotbar slot [id] of %players% 
The current slot number that the player is on, ranges from 1 to 9.
Add example

Hours Running

Addon: Vixio
Patterns:
hours running for (bot|user) %string%
Add description
Add example

Id

Addon: Skript
Patterns:
[the] id[s] of %item type%
%item type%'[s] id[s]
The id of a specific item. You usually don't need this expression as you can likely do everything with aliases.

Example:

message "the ID of %type of the clicked block% is %id of the clicked block%."

Id of Guild/Channel/User

Addon: Vixio
Patterns:
id of %string%
Add description
Add example

Identifier of Audio Playing

Addon: Vixio
Patterns:
identifier of track [audio] player %string% is playing
Add description
Add example

Ignored sleep state

Addon: Skellett
Patterns:
ignored sleep[ing] [state] of %player%
Get or set the ignored sleep state of a player.

Ignored sleep state means that if a player has ignored sleep state set to true. They will be ignored when other players are trying to sleep.

So basically the player doesn't need to be in a bed in order for the time to be set to day.

Example:

set ignored sleep state of player to true

Image Local

Addon: SkQuery
Patterns:
[the] [buffered] image stored as %text%
Add description
Add example

Image URL

Addon: SkQuery
Patterns:
[the] [buffered ]image from [url] %text%
Add description
Add example

Incendiary Explosion

Addon: SkQuery
Patterns:
%entities%'s (blast|explosion) fire (state|ability|mode)
[the] (blast|explosion) fire (state|ability|mode) of %entities%
A true/false expression that defines if a fireball will light fire on the terrain upon explosion. Works only for small fireballs (blaze fireballs) and large fireballs (ghast fireballs).
Add example

Index of

Addon: Skript
Patterns:
[the] [(first|last)] index of %text% in %text%
The first of last index of a character (or text) in a text, or -1 if it doesn't occur in the text. Indices range from 1 to the length of the text.

Example:

set {_@} to the first index of "@" in the text argument
if {_s} contains "abc":
    set {_s} to the first (index of "abc" in {_s} + 3) characters of {_s}    #Removes everything after the first "abc" from {_s}

Indexes of List Variable

Addon: MundoSK
Patterns:
[all [of]] [the] indexes (of|in) [value] %listvariable%
A list of the indexes in a list variable.
Add example

Info of Enchantment

Addon: SkRayFall
Patterns:
info of enchant[ment] %number% (of|on) %itemstack%
Get the presentable info of a specific enchantment number of an item.
Add example

Insta break

Addon: Skellett
Patterns:
[event] inst(ant|a) break [state]
Set the instant breaking state of block.

This expression can only be used or set in the "on block damage:" event

Very fun in a prison type server

Example:

on block damage:
    broadcast "%event insta break state%"
    if insta break state is false:
        set insta break state to true

Interest

Addon: skqMaths
Patterns:
interest of %number% at %number% interest after %number% rates
Plugin requires: SkQuery
Calculates the interest of a capital at a specific interest rate (in percents) after a number of rates.

Example:

set {_money} to "%interest of 1000 at 5 interest after 50 rates%"
#Evaluates to: 3500

#A capital of 1000$ is stored on the bank at an interest rate of 5% for 50 years.

Inventory

Addon: Skript
Patterns:
[the] inventor(y|ies) of %inventoryholders%
%inventoryholders%'[s] inventor(y|ies)
The inventory of a block or player. You can usually omit this expression and can directly add or remove items to/from blocks or players.

Example:

add a plank to the player's inventory
clear the player's inventory
remove 5 wool from the inventory of the clicked block

Inventory clicked cursor

Addon: Skellett
Patterns:
[skellett] [click[ed]] cursor
This will grab the mouse cursor item (The item being held by the mouse) in an inventory click event.

So when a player picks up an item from an inventory and it's attached to their mouse. This will return that item.

Won't work if you have Umbaka installed. Use Umbaska's cursor.

Example:

on inventory click:
    broadcast "Cursor: &a%clicked cursor%"

Inventory clicked item

Addon: Skellett
Patterns:
click[ed] item
Returns the clicked item in the `on inventory click:` event

Can be set (ItemType)

This won't work if you have Umbaska installed. Use Umbaska's methods

Example:

on inventory click:
    broadcast "Item: &5%clicked item%"
    if name of clicked item is set:
        broadcast "Name: &d%name of clicked item%"
    set clicked item to stone named "&aHello world!"

Inventory clicked raw slot

Addon: Skellett
Patterns:
[skellett] click[ed] raw slot
Returns the raw clicked slot (Integer) in the `on inventory click:` event

The raw slot is used mainly to get the slot used in an anvil
Add example

Inventory clicked slot

Addon: Skellett
Patterns:
[skellett] click[ed] slot
Returns the clicked slot (Integer) in the `on inventory click:` event

Example:

on inventory click:
    broadcast "Slot: &6%clicked slot%"

Inventory clicked slot type

Addon: Skellett
Patterns:
click[ed] slot type
Returns the type of slot that was clicked in the `on inventory click:` event

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.

Example:

on inventory click:
    broadcast "Slot type: &b%clicked slot type%"
    if clicked slot type is ARMOR:
        broadcast "You clicked your armor"

Inventory clicked slot type number

Addon: Skellett
Patterns:
click[ed] type num[ber]
If the ClickType is NUMBER_KEY, this method will return the index of the pressed key (0-8).

Example:

on inventory click:
    broadcast "Type: &4%clicked type%"
    if clicked type is NUMBER_KEY:
        broadcast "NumType: &c%clicked type number%"

Inventory clicked type

Addon: Skellett
Patterns:
[skellett] click[ed] type
Returns the clicked type in the event `on inventory click:`

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.

If you're using Bensku's edit these will be your click types:

left mouse button, left mouse button with shift, right mouse button, right mouse button with shift, window border using right mouse button, window border using left mouse button, middle mouse button, number key, double click using mouse, drop key, drop key with control, creative action, unknown

Example:

on inventory click:
    broadcast "Type: &4%clicked type%"
    if clicked type is MIDDLE: #Only works if Umbaska and Bensku's edit aren't installed.

        #do stuff

on inventory click:
    broadcast "Type: &4%clicked type%"
    if clicked type is middle mouse button: #Using Bensku's edit

        #do stuff

on inventory click:
    broadcast "Type: &4%clicked type%"
    if "%clicked type%" is "MIDDLE": #If you have Umbaska installed

        #do stuff

on inventory click:
    broadcast "Type: &4%clicked type%"
    if "%clicked type%" is "middle mouse button": #If you have Bensku's edit and Umbaska installed (How tho?)

        #do stuff

Inventory clicking

Addon: Umbaska
Patterns:
cursor item
clicked slot
click type
clicked item name
clicked item lore
Req: Umbaska 1.5

Example:

set {_Cursor} to cursor item
set {_Slot} to clicked slot
set {_Clicked} to click type
set {_ItemName} to clicked item name
set {_ItemLore} to clicked item lore

Inventory Name

Addon: SkQuery
Patterns:
%inventory%'s inventory name
[the] inventory name of %inventory%
Returns the name of an inventory. Useful for ensuring an inventory is still open while you edit the contents

Example:

# Open a chest inventory
while inventory name of player's current inventory is "Cool Awesome Inventory":
      wait 1 tick
      format slot 1 of player's current inventory to random element out of all items to be unstealable

Inventory Serials

Addon: SkQuery
Patterns:
%inventory%'s serialized contents
[the] serialized contents of %inventory% 
Saves a variable containing all the contents of an inventory. Does NOT include armor.

Example:

on join:
      set {savedinventory::%player%} to serialized contents of player's current inventory

Inventory type

Addon: Skellett
Patterns:
inventory type of %inventory%
%inventory%'s [inventory] type
Get the type of an inventory

Inventory types:

ANVIL
An anvil inventory, with 2 CRAFTING slots and 1 RESULT slot
BEACON
A beacon inventory, with 1 CRAFTING slot
BREWING
A brewing stand inventory, with one FUEL slot and three CRAFTING slots.
CHEST
A chest inventory, with 0, 9, 18, 27, 36, 45, or 54 slots of type CONTAINER.
CRAFTING
A player's crafting inventory, with 4 CRAFTING slots and a RESULT slot.
CREATIVE
The creative mode inventory, with only 9 QUICKBAR slots and nothing else.
DISPENSER
A dispenser inventory, with 9 slots of type CONTAINER.
DROPPER
A dropper inventory, with 9 slots of type CONTAINER.
ENCHANTING
An enchantment table inventory, with two CRAFTING slots and three enchanting buttons.
ENDER_CHEST
The ender chest inventory, with 27 slots.
FURNACE
A furnace inventory, with a RESULT slot, a CRAFTING slot, and a FUEL slot.
HOPPER
A hopper inventory, with 5 slots of type CONTAINER.
MERCHANT
The merchant inventory, with 2 TRADE-IN slots, and 1 RESULT slot.
PLAYER
A player's inventory, with 9 QUICKBAR slots, 27 CONTAINER slots, 4 ARMOR slots and 1 offhand slot.
WORKBENCH
A workbench inventory, with 9 CRAFTING slots and a RESULT slot.

Example:

on inventory click:
    if inventory type of clicked inventory is "CHEST":
        #do stuff

Inventory Type Of

Addon: SharpSK
Patterns:
%player%['s] [current] inventory type
Gets the inventory type of the player's currently open inventory
Add example

Inventory viewers

Addon: Skellett
Patterns:
[(the|all)] [of] [the] [player[']s] view(er[s]|ing) [of] %inventory%
This will grab a list of all players that are currently viewing an inventory

Example:

on inventory click:
    cancel event
    loop all of the viewers of player's current inventory:
        broadcast "%loop-value%"

Invulnerability Time

Addon: ExtrasSK
Patterns:
[the] (invulnerability [time]|no damage [time]) of %living entity%
%living entity%'s (invulnerability [time]|no damage [time])
The time, after attacking, that the mob/player is protected from damage. The default is 10 ticks (500 milliseconds).

Example:

on damage:
    set the no damage time of victim to 1 second
on damage:
    if invulnerability time of victim is 0 seconds:    #Checks if the mob/player will actually get hurt when attacked

        broadcast "The attack did damage!"

invulnerable state

Addon: Skellett
Patterns:
invulnerable state of %entity%

%entity%'s invulnerable state
invulnerable state makes an entity invulnerable or not to damage

invulnerable state only works on 1.9+ servers sorry about that. Spigot added it in 1.9

#If you don't have a server running 1.9+ you can use this below though
set damage delay of target entity to 10000000 days

This is skellett aswell ^

Example:

set invulnerable state of target entity to true

IP

Addon: Skript
Patterns:
IP[s][( |-)address[es]] of %players%
%players%'[s] IP[s][( |-)address[es]]
The IP address of a player.

Example:

IP-ban the player    #Is equal to the next line

ban the IP-address of the player
broadcast "Banned the IP %IP of player%"

IP Server Ping

Addon: WildSkript
Patterns:
ip
Return ip in server list ping event.

Example:

{_ip} to ip
if {name-by-ip.%{_ip}%} is set:
    set motd to "Welcome %{name-by-ip.%{_ip}%}%!"

Item

Addon: Skript
Patterns:
[the] item
The item involved in an event, e.g. in a drop, dispense, pickup or craft event.

Example:

on dispense:
    item is a clock
    set the time to 6:00

Item Frame Rotation

Addon: ExtrasSK
Patterns:
[the] (shown|displayed) rotation on %entity%
%entity%'s (shown|displayed) rotation
The current rotation on an item frame.

Example:

set the displayed rotation on targeted entity to 0    #In degrees, valid numbers are 0, 90, 180, and 270

Item In Slot

Addon: SkQuery
Patterns:
%inventory holder%'s slot %number%
[the] slot %number% of %inventory holder% 
Add description
Add example

Item Name

Addon: Umbaska
Patterns:
item name
When using the "on place event" you cannot get back the name of the block. Umbaska has got a fix for this!

Example:

on place:
    message "&aWooooah! Your back name was: %item name%"

Item of Trade

Addon: RandomSK
Patterns:
(first|second|third) item of %trade%
Get or set the first, second or third item of a trade.
First and second item being the item you give to the Villager and the third item is the one you get.

Example:

on rightclick on villager:
    set {_trade} to 1 trade of clicked entity
    message "%third item of {_trade}%"
    set second item of {_trade} to air
    set first item of {_trade} to stone named "Hi"
    set 1 trade of clicked entity to {_trade}

Item Stack Size

Addon: SkQuery
Patterns:
%inventories%'s global max stack size
[the] global max stack size of %inventories% 
Add description
Add example

Item with custom NBT

Addon: SkStuff
Patterns:
%item% with [custom] nbt[[ ]tag[s]] %text%
Used to give a player/entity an item with custom NBT without having to manually add it. This expression can also be used to set an item to another item with custom NBT.

Example:

give player a diamond sword with custom nbt "{SorryIWasLazyToGetARealExample:[""This is"",""a string list""]}"
set player's tool to diamond sword with nbt "{ICouldntGetARealExample:420s}"

Item without any NBT

Addon: Skellett
Patterns:
%itemstacks% with(out [any]| no) NBT
Removes all NBT from an item and makes it normal again

Example:

on inventory click:
    set slot clicked slot to clicked item without any NBT #Using Umbaska and Skellett

Items

Addon: Skript
Patterns:
[(all|every)] item(s|[ ]types)
items of type[s] %item types%
[(all|every)] block(s|[ ]types)
blocks of type[s] %item types%
Items or blocks of a specific type, useful for looping.

Example:

loop items of type ore and log:
    block contains loop-item
    message "There's at least one %loop-item% in this block"
    stop loop
drop all blocks at the player # drops one of every block at the player

Items In

Addon: Skript
Patterns:
[all] items (inventor(y|ies)) %inventories%
All items in an inventory. Useful for looping or storing in a list variable.
Please note that the positions of the items in the inventory are not saved, only their order is preserved.

Example:

loop all items in the player's inventory:
    loop-item is enchanted
    remove loop-item from the player
set {inventory.%player%::*} to items in the player's inventory

Items in slot

Addon: Umbaska
Patterns:
items in %number% of %player%
Req: Umbaska 1.5

Example:

set {_Item} to items in 5 of player

Items Within

Addon: RandomSK
Patterns:
(item|items) (within|inside) %entity%
You can get the Items within a Dropped Item Entity with this expression. Can be set.

Example:

loop entities in radius 10 of player:
    loop-entity is a dropped item
    if items within loop-entity is 5 stones:
        message "5 Stones!"

Items within entity

Addon: Skellett
Patterns:
[skellett] [get] item[s] (of|in|inside|within) %entity%
Grabs the items within an entity. Designed to grab the items out of a dropped item.

Example:

on item spawn:
    broadcast "%items within event-entity%"

Itemstack unbreakable

Addon: Skellett
Patterns:
[skellett] [a[n]] %itemstacks% [to be] unbreakable
[skellett] [a[n]] unbreak(ing|able) %itemstacks%
Adds unbreakable state to an itemstack. Meaning it can't be broken.

Example:

command /unbreak:
    trigger:
        set player's tool to an unbreakable player's tool

Java version

Addon: Umbaska
Patterns:
java version
Req: Umbaska 1.5

Example:

set {_Version} to java version

Jobs Of

Addon: SharpSK
Patterns:
jobs of %player%
Plugin requires: JobsReborn
Gets the jobs a player has

Example:

command /jobs <player>:
    trigger:
        broadcast "%jobs of arg-1%"

Join & Split

Addon: Skript
Patterns:
(concat[enate]|join) %text% [(with|using|by) [[the] delimiter] %text%]
split %text% (at|using|by) [[the] delimiter] %text%
%text% [split] (at|using|by) [[the] delimiter] %text%
Joins several texts with a common delimiter (e.g. ", "), or splits a text into multiple texts at a given delimiter.

Example:

message "Online players: %join all players with " | "%"    # %all players% would use the default "x, y, and z"

set {_s::} to the string argument split at ","

Json From List Variable

Addon: MundoSK
Patterns:
json of listvar %objects%
Converts a list variable to a json.
Add example

Json From String

Addon: MundoSK
Patterns:
json of string %string%
Converts a json string to a jsonobject. Will return not set if the syntax is incorrect.
Add example

Json Message

Addon: SkQuery
Patterns:
json [of] %text%
For examples, refer to the tutorial

http://dev.bukkit.org/bukkit-plugins/skript/forum/tutorials/68371-json-messages/
Add example

Json Message

Addon:
Patterns:
Sends a formatted tooltip message, that can suggest or run commands.

Example:

send umbaska json of "Hover here for a tooltip" tooltip "This is a tooltip! Click me!" suggest "/skript" to player
send umbaska json of "Hover here for a tooltip" tooltip "This is a tooltip! Click me!" command "/skript" to player

Json Message Append

Addon: SkQuery
Patterns:
%json message% then %text%
For examples, refer to the tutorial

http://dev.bukkit.org/bukkit-plugins/skript/forum/tutorials/68371-json-messages/
Add example

Json Message Command

Addon: SkQuery
Patterns:
%json message% suggest %text%
%json message% run %text%
For examples, refer to the tutorial

http://dev.bukkit.org/bukkit-plugins/skript/forum/tutorials/68371-json-messages/

Example:

send json of "Click" tooltip "Execute Command" run "/" to player

Json Message Style

Addon: SkQuery
Patterns:
%json message% styled %colors%
For examples, refer to the tutorial

http://dev.bukkit.org/bukkit-plugins/skript/forum/tutorials/68371-json-messages/
Add example

Json Message Tooltip

Addon: SkQuery
Patterns:
%json message% tooltip %text%
For examples, refer to the tutorial

http://dev.bukkit.org/bukkit-plugins/skript/forum/tutorials/68371-json-messages/

Example:

json of "Hover for tooltip" tooltip "tooltip goes here"

JSON String

Addon: Umbaska
Patterns:
json string %string% from %string%
Gets part of a JSON string. First %string% is the JSON, second %string% is the part you want.

Req: Umbaska 1.5
Not finished!!!

Example:

command /country:
    trigger:
        set {_geoip} to text from "http://ip-api.com/json/%IP of player%"
        set {_test} to "[%{_geoip}%]"
        replace all " " in {_test} with "SPACE"
        set {_country} to json string "%{_test}%" from "country"
        message "%{_country}%"

Json Value

Addon: skUtilities
Patterns:
content of json value %string% from text %-string%
value %string%'s json contents from text %-string%
Gets the contents from a single json value

Example:

set {_ut} to content of json value "id" from text "%line 1 from url ""https://api.mojang.com/users/profiles/minecraft/tim740""%"
    broadcast "%{_ut}%"
  

Json Values

Addon: skUtilities
Patterns:
content of json value's %strings% from text %-string%
value's %strings%'s json contents from text %-string%
Gets the contents from a multiple json value's

Example:

set {_ut::*} to content of json value's "id" and "name" from text "%line 1 from url ""https://api.mojang.com/users/profiles/minecraft/tim740""%"
broadcast "%{_ut::*}%"

Json/Lore formatted rows/lines

Addon: SkriptPlus
Patterns:
(lore|json) [row ]formatted %objects% with %integer%[ entries] per row and [using ]colo[u]rs %color% and %color% (and|highlight) %color%
Plugin requires: SkQuery
It creates a formatted tooltip or lore. It's super awesome for pesky lists that love to head off screen when they're really long.

%objects%: Your list. Takes players, colors, worlds, biomes, anything
%Integer%: How many entries per row
%Color 1 and 2%: These colors alternate every other entry
%Color 3%: This color is what the commas and "And" are colored.

Example:

loop 4 times:
    add all enum values of color to {test::*}
send json "Highlight for a list of " tooltip "%json formatted {test::*} with 8 per row and colors red and blue highlight yellow%"  to player

# http://i.imgur.com/kQWDIa4.jpg

Key

Addon: GameBuSK
Patterns:
%keytype% key
A key on the keyboard.

Example:

backspace key

enter key

up key

F1 key

Key String

Addon: SkQuery
Patterns:
random %number% (char|long|length) string from [charset] %markup%
Add description

Example:

broadcast random 8 char string from `a-zA-Z0-9`

Land Boats

Addon: SkQuery
Patterns:
%entities%'s land boat (state|mode|ability)
[the] land boat (state|mode|ability) of %entities% 
Add description
Add example

Language

Addon: TuSKe
Patterns:
[the] (locale|language) of %player%
%player%'[s] (locale|language)
Returns the client language of a player. It returns a string like "en_US".

Example:

on first join:
    {LanguageMessages::welcome::%language of player%} is set
    send "%{LanguageMessages::welcome::%language of player%}%"
    #A example to get a message of specifc language.


on join:
    if language of player contains "en_": #will work with "en_US", "en_UK"...

        #code

Last Color

Addon: TuSKe
Patterns:
[the] last color of %string%
%string%'[s] last color
Returns the last color of a string.

Example:

set {_last} to "&cColored &4<ext"
#{_last} = "&4&l"

Last Created Citizen ID

Addon: SkRayFall
Patterns:
last created citizen [id]
Plugin requires: Citizens
Checks for:
  • The last created citizen

You can use this to check the ID of the last created citizen good for if you want to check the unique ID of a citizen you just created

Example:

command /id:
    trigger:
        message "%last created citizen%"

Last Damage

Addon: TuSKe
Patterns:
last damage %living entity%|
%living entity%'[s] last damage
Returns the amount of the last damage of living entity.

Example:

on damage:
    set damage to last damage * 1.2

Last Damage Cause

Addon: TuSKe
Patterns:
last damage cause of %living entity%
%living entity%'[s] last damage cause
Returns the last damage cause of living entity.

Example:

on death of player:
    last damage cause is attack
    damage cause is lava
    set death message to "%victim%  tried to swim in lava while trying to escape from %last entity damage of player%"

Last Login

Addon: TuSKe
Patterns:
last login of %player%
%player%'[s] last login	
Returns a date of last time that player logged in.

Example:

on join:
    difference between last login of player and now is more than 10 days
    send "You have been gone for a few days, welcome back!"

Last Spawned/Shot Entity

Addon: Skript
Patterns:
[the] [last[ly]] (spawned|shot) %*entity type%
Holds the entity that was spawned most recently with the spawn effect, or shot with the shoot effect. Please note that even though you can spawn multiple mobs simultaneously (e.g. with 'spawn 5 creepers'), only the last spawned mob is saved and can be used. If you spawn an entity and shoot a projectile you can however access both.

Example:

spawn a priest
set {%spawned priest%.healer} to true
shoot an arrow from the last spawned entity
ignite the shot projectile

Length

Addon: Skript
Patterns:
[the] length of %texts%
%texts%'[s] length
The length of a text, in number of characters.

Example:

set {_l} to length of the string argument

Length of schematic

Addon: SkStuff
Patterns:
(z( |-)size|length) of schem[atic] [from] %text%
Plugin requires: WorldEdit
Returns the length of the specified schematic.

Example:

set {_length} to length of schematic "plugins/MySchemDirectory/house"

Length of WorldEdit selection

Addon: SkStuff
Patterns:
(z( |-)size|length) of [(world[ ]edit|we)] selection of %player%
%player%'s [(world[ ]edit|we) ]selection (z( |-)size|length)
Plugin requires: WorldEdit
Returns the length (z-size) of the WorldEdit selection of a player.

Example:

set {_length} to z-size of selection of player

Level

Addon: Skript
Patterns:
[the] level of %players%
%players%'[s] level
The level of a player.

Example:

reduce the victim's level by 1
set the player's level to 0

Level Progress

Addon: Skript
Patterns:
[the] level progress of %players%
%players%'[s] level progress
The progress a player has made until the next level. Remember that this value is between 0 and 1, not 0 and 100!
Changing this value can cause a player's level to change if the resulting level progess is negative or larger than 1, e.g.increase the player's level progress by 0.5 will make the player gain a level if his progress was more than 50%.

Example:

#Use the exp bar as mana
on rightclick with a blaze rod:
    player's level progress is larger than 0.2
    shoot a fireball from the player
    reduce the player's level progress by 0.2
every 2 seconds:
    loop all players:
        level progress of loop-player is smaller than 0.9:
            increase level progress of the loop-player by 0.1
        else:
            set level progress of the loop-player to 0.99
on xp spawn:
    cancel event

LibsDisguises self viewing

Addon: Skellett
Patterns:
[skellett] [[Libs]Disguises] self view[ing] disguise [state] of %entities%[[']s]

[skellett] [[Libs]Disguises] %entities%'s self view[ing] disguise [state]
Plugin requires: LibsDisguises
Set the self viewing state. Can be true or false

Meaning you can or can not see the disguise yourself.

Requires LibsDisguises
Add example

Light Level

Addon: Skript
Patterns:
[(sky|sun|block)[ ]]light[ ]level [(of|%direction%) %location%]
Gets the light level at a certain location which ranges from 0 to 15.
It can be separated into sunlight (15 = direct sunlight, 1-14 = indirect) and block light (torches, glowstone, etc.). The total light level of a block is the maximum of the two different light types.

Example:

#Set vampire players standing in bright sunlight on fire
every 5 seconds:
    loop all players:
        {vampire.%loop-player%} is true
        sunlight level at the loop-player is greater than 10
        ignite the loop-player for 5 seconds

Line from URL

Addon: skUtilities
Patterns:
line %number% from url %string%
url %string%'s line %number%
Gets a line from a URL and returns it.

Example:

set {_var} to line 1 from url "https://raw.githubusercontent.com/tim740/skUtilities/master/src/plugin.yml"
broadcast "%{_var}%"

Lines of file

Addon: Umbaska
Patterns:
lines of %string%
Req: Umbaska 1.5

Example:

set {_Lines} to lines of "amazing.sk" 
if {_Lines} is less than 36:
    send "You must be using Umbaska."

List of all players

Addon: SkRambled
Patterns:
list of [all] players of [the faction] %faction%,
[all] players list of [the faction] %faction%
Plugin requires: Factions
Gets a list of all the players in a faction
Add example

List of allies of a faction

Addon: SkRambled
Patterns:
list of [all] allies of [the faction] %faction%,
[all] faction allies list of [the faction] %faction%
Plugin requires: Factions
Gets a list of all the allies of a faction
Add example

List of enemies of a faction

Addon: SkRambled
Patterns:
list of [all] enemies of [the faction] %faction%,
[all] faction enemies list of %faction%
Plugin requires: Factions
Gets a list of all enemies of a faction
Add example

List of factions

Addon: SkRambled
Patterns:
list of [all] factions,	
factions list,
all factions
Plugin requires: Factions
Gets a list of all the factions in the server
Add example

List of TimeZones

Addon: skUtilities
Patterns:
[all ]time[ ]zones
Returns an array (list variable) of all the supported TimeZones.

Example:

set {_var::*} to all timezones
broadcast "%{_var::*}%"

List of truces of a faction

Addon: SkRambled
Patterns:
list of [all] truces of [the faction] %faction%,
[all] faction truces list of %faction%
Plugin requires: Factions
Gets a list of all the truces of a faction
Add example

List Util

Addon: MundoSK
Patterns:
(add|insert) %objects% (before|after) (%listutil% %-number%|last %listutil%)[ (of|in) %-object/objects%]
move %objects% (front|forward[s]|back[ward[s]]) %number%
(%listutil% %-number%|last %listutil%)[ of %-object/objects%]
%listutil%s[ of %-object/objects%]
%listutil%s %-number% to (%-number%|last)[ of %-object/objects%]
%listutil% count[ of %-objects%]
A general set of expressions and effects for listutils. Listutils are special list expressions that are magical.

Description of each expression/effect
1. Effect to add certain objects to a list in a certain spot.
2. Effect to move certain objects in a list forwards/backwards, the %objects% has to be either expression #3 or #5.
3. A single item of a list
4. All the items of a list
5. A certain subset of a list
6. The size of a list.
Add example

Llama colour

Addon: Skellett
Patterns:
Llama colo[u]r of %entity%
Llama %entity%'s colo[u]r
%entity%['s] Llama colo[u]r
Grabs the Llama color or colour

This can be set

Colours:
BROWN
A brown llama.
CREAMY
A cream-colored llama.
GRAY
A gray llama.
WHITE
A white llama.
Add example

Llama decor

Addon: Skellett
Patterns:
[Llama] decor (of|in) [inventory] [of] [Llama] %llamainventory%

[Llama] %llamainventory%'s [inventory] decor
Grabs the Llama decor from an Llama inventory
Add example

Llama inventory

Addon: Skellett
Patterns:
inventory of Llama %entity%
Llama inventory of %entity%
Llama %entity%'s inventory
This returns the Llama inventory.

Which can be used to get the decor item.
Add example

Loaded Chunks

Addon: SkQuery
Patterns:
%worlds%'s loaded chunks
[the] loaded chunks of %worlds% 
Add description
Add example

Loaded Commands

Addon: skUtilities
Patterns:
number of[ loaded] (commands|cmds)
Returns Loaded Commands as a number

Example:

number of commands

Loaded Conditions

Addon: skUtilities
Patterns:
number of[ loaded] conditions 
Returns loaded conditions from all addons and skript

Example:

number of conditions

Loaded Effects

Addon: skUtilities
Patterns:
number of[ loaded] effects
Returns loaded effects from all addons and skript

Example:

number of effects

Loaded Events

Addon: skUtilities
Patterns:
number of[ loaded] events
Returns the number of events from all addon and skript

Example:

number of events

Loaded Expressions

Addon: skUtilities
Patterns:
number of[ loaded] expressions
Returns loaded Expressions from all addons and skript

Example:

number of expressions

Loaded Functions

Addon: skUtilities
Patterns:
number of[ loaded] functions
Returns loaded Functions as a number

Example:

number of functions

Loaded Scripts

Addon: skUtilities
Patterns:
number of[ loaded] s(k|c)ripts
Returns loaded skripts as a number

Example:

number of skripts

Loaded Scripts

Addon: MundoSK
Patterns:
loaded scripts
All loaded scripts that are in the default scripts folder.
Add example

Loaded Statements

Addon: skUtilities
Patterns:
number of[ loaded] statements
Returns the number of loaded statements

Example:

number of statements

Loaded Triggers

Addon: skUtilities
Patterns:
number of[ loaded] triggers
Returns Loaded Triggers as a numbers

Example:

number of triggers

Loaded Variables

Addon: skUtilities
Patterns:
number of[ loaded] variables
Returns loaded variables as a number

Example:

number of variables

Location

Addon: Skript
Patterns:
[the] [event-](location|position)
[the] (location|position) %direction% [%location%]
The location where an event happened (e.g. at an entity or block), or a location relative to another (e.g. 1 meter above another location).

Example:

drop 5 apples at the event-location    #Exactly the same as writing 'drop 5 apples'

set {_loc} to the location 1 meter above the player

Location At

Addon: Skript
Patterns:
[the] (location|position) [at] [(][x[ ][=[ ]]]%number%, [y[ ][=[ ]]]%number%, [and] [z[ ][=[ ]]]%number%[)] [[(in|of) [[the] world]] %world%]
Allows to create a location from three coordinates and a world.
This expression is currently not parsed correctly, and there is no ETA on a fix yet.

Example:

set {_loc} to the location at arg-1, arg-2, arg-3 of the world arg-4
distance between the player and the location (0, 0, 0) is less than 200

Location Of

Addon: Skript
Patterns:
(location|position) of %location%
%location%'[s] (location|position)
The location of a block or entity. This not only represents the x, y and z coordinates of the location but also includes the world and the direction an entity is looking (e.g. teleporting to a saved location will make the teleported entity face the same saved direction every time).
Please note that the location of an entity is at its feet, use the head location to get the location of the head.

Example:

set {home.%player%} to the location of the player
message "Your home was set to %player's location% in %player's world%."

Location to Vector

Addon: RandomSK
Patterns:
%location% to vector
Plugin requires: RandomSK 2.0 BETA
Turns the location into a vector.

Example:

#Push towards location etc


set {_from} to location of player to vector
set {_to} to location of targeted block to vector
set {_vector} to vector {_to} - {_from}
set {_vector} to {_vector} normalized * 3 #Speed = 3

set velocity of player to {_vector}

Location without a direction/facing

Addon: SkriptPlus
Patterns:
%location% without (facing|direction|head position[ing])
Plugin requires: SkQuery
Gets the location completely ignoring pitch and yaw.

Useful for when locations will absolutely not let go of the facing.

Example:

set {loc} to player's location  without facing

Login Result

Addon: MundoSK
Patterns:
(login|connect[ion]) result
The result in an 'on connect' event. See PlayerLoginResult for more info.
Add example

Loop Value

Addon: Skript
Patterns:
[the] loop-<.+>
The currently looped value.

Example:

#Countdown:
loop 10 times:
    message "%11 - loop-number%"
    wait a second
#Generate a 10x10 floor made of randomly coloured wool below the player:
loop blocks from the block below the player to the block 10 east of the block below the player:
    loop blocks from the loop-block to the block 10 north of the loop-block:
        set loop-block-2 to any wool

Lore

Addon: Skript
Patterns:
[the] line %number% of [the] lore of [%item stack/item type%]
[the] line %number% of %item stack/item type%'[s] lore
[the] %number%(st|nd|rd|th) line of [the] lore of [%item stack/item typee%]
[the] %number%(st|nd|rd|th) line of %item stack/item type%'[s] lore
An item's lore.

Checking a line of lore works, setting a line of lore works, but setting a variable to a specific line of lore does not!

Example:

set the 1st line of the item's lore to "Excalibur 2.0"

Lored Item Stack

Addon: SkQuery
Patterns:
%item types% with lore %text%
Adds a lore portion of an item

Example:

set player's tool to diamond sword with lore "Super Awesome Killtastic!"

LuaScript

Addon: MineLuaSK
Patterns:
luascript %string%
Plugin requires: MineLua
Get a lua script from a string

Example:

command /test:
    trigger:
        set {_script} to luascript "ExampleScript"
        disable script {_script}

Make Player Glow

Addon: SkRayFall
Patterns:
make %player% glow 
Make a player glow. This is based on team color, will be white by default.
Add example

Map ID

Addon: ExertSK
Patterns:
map id of %itemstack%
%itemstack%'s map id
Finds the ID of a map (basically reads the data value of any item). Returns an integer

Example:

clear map (map id of player's tool)
message "Cleared Map %map id of player's tool%

Maps - Center coordinate

Addon: Skellett
Patterns:
center (1¦x|2¦z)[( |-)][(position|coord[inate])] (of|from|in) [map] %map%
%map%'s center (1¦x|2¦z)[( |-)][(position|coord[inate])]
Returns the center coordinate of an axis.

This can be set (Number)
Add example

Maps - Map scale

Addon: Skellett
Patterns:
map (scale|size) of %map%
map %map%'s (scale|size)
(scale|size) of map %map%
Returns the map scale of a map

Return types:

CLOSE
CLOSEST
FAR
FARTHEST
NORMAL

This can also be set (MapView.Scale)

Example:

on map:
    broadcast "%scale of map event-map%"
    set scale of map event-map to FARTHEST

Maps - Unlimited tracking state

Addon: Skellett
Patterns:
unlimited [tracking] state (of|from|in) [map] %map%
[map] %map%'s unlimited [tracking] state
Checks if a map has unlimited tracking or not.

This expression is only for 1.11+ versions.

This can be set (Boolean)
Add example

Maps - World of map

Addon: Skellett
Patterns:
world of map %map%
map %map%'s world
Returns the map of a world.

This can be set (World)
Add example

Marry Gender

Addon: TuSKe
Patterns:
gender of %player%
%player%'[s] gender
Plugin requires: Marriage Reloaded
Returns the gender of player.

Example:

command /ImGirl:
    trigger:
        if gender of player is not set:
            set gender of player to female
    

Marry Home

Addon: TuSKe
Patterns:
marry home of %player%
%player%'[s] marry home
Plugin requires: Marriage Reloaded
Returns the location of marry home of player.

Example:

on join:
    teleport player to player's marry home

Marry Partner

Addon: TuSKe
Patterns:
partner of %player%
%player%'[s] partner
Plugin requires: Marriage Reloaded
Returns the partner of player.

Example:

send "The player %player% has a partner, %partner of player%."

Material in ChunkData

Addon: MundoSK
Patterns:
material at %number%, %number%, %number% in %chunkdata%
A material at some coordinates in a chunkdata.
Add example

Max Durability

Addon: TuSKe
Patterns:
[the] max durability of %item stack%
%item stack%'[s] max durability
Returns the max durability of item stack. i.e. 1561 for diamond sword.

Example:

on item damage:
    if durability of event-item is more than (max durability of event-item - item damage):
        send "Your %event-item% is almost breaking!"

Max Health

Addon: Skript
Patterns:
[the] max[imum] health of %living entities%
%living entities%'[s] max[imum] health
The maximum health of an entity, e.g. 10 for a player.

Example:

on join:
    set the maximum health of the player to 100
spawn a giant
set the last spawned entity's max health to 1000

Max Memory

Addon: Umbaska
Patterns:
max memory
Returns amount of maximum available memory.
Req: Umbaska 1.5

Example:

set {_free} to max memory

Max Players

Addon: WildSkript
Patterns:
max players
Returns maximum number of players on the server.

Example:

set {_max} to max players

Max Speed

Addon: SkQuery
Patterns:
%entities%'s [maximum] minecart speed
[the] [maximum] minecart speed of %entities% 
Add description
Add example

Max Uses of Trade

Addon: RandomSK
Patterns:
max uses of %trade%
%trade%'s max uses
Add/remove or set the max uses of a trade.

Example:

on rightclick on villager:
    set {_trade} to 1 trade of clicked entity
    message "Max uses: %max uses of {_trade}%"
    set max uses of {_trade} to 999999
    set 1 trade of clicked entity to {_trade}  

Maximum block change limit of edit session

Addon: SkStuff
Patterns:
[block] limit [change] of [edit[ ]session] %editsession%
Plugin requires: WorldEdit
Returns the maximum blocks that can be changed from an operation made with the specified edit session.

Example:

set {_session} to new editsession in world of player with limit 420
set {_limit} to limit of {_session} #{_limit} = 420

Maximum Damage Delay

Addon: RandomSK
Patterns:
[maximum] damage delay of %entity%
%entity%'s [maximum] damage delay
Maximum Damage delay is the duration after being attacked/damaged that you cannot be damaged.

Damage delay is not limited to players and can be used on any living entity.

The difference between this and Invulnerability Time is that this sets the maximum damage delay/invulnerability time the entity can have.

Example:

on join:
    set maximum damage delay of player to 2 seconds

Maximum Stack Size

Addon: Skript
Patterns:
[the] max[imum] stack[[ ]size] of %item stack%
%item stack%'[s] max[imum] stack[[ ]size]
The maximum stack size of the specified material, e.g. 64 for torches, 16 for buckets, and 1 for swords.

Example:

send "You can only pick up %max stack size of player's tool% of %type of (player's tool)%" to player

mcMMO All Parties

Addon: SharpSK
Patterns:
[mcmmo] [(the|all)] [of] [the] part(ies|y's)
Plugin requires: mcMMO
Returns a list of all the exisiting parties
Add example

mcMMO All Party Members

Addon: SharpSK
Patterns:
[mcmmo] [(the|all)] members of party %string%
Plugin requires: mcMMO
Returns a list of all the members in a party
Add example

mcMMO All Skilltypes

Addon: SharpSK
Patterns:
[mcmmo] [(the|all)] [of] [the] skill[]type[s]
Plugin requires: mcMMO
returns a list of all the mcmmo skills
Add example

mcMMO Ally of Party

Addon: SharpSK
Patterns:
[mcmmo] [party] ally of party %string%
Plugin requires: mcMMO
Gets the ally's name of a party
Add example

McMMO Experience Level

Addon: ExertSK
Patterns:
[mcmmo] %mcmmoskill% [e]xp[erience] of %player% 
%player%'s [mcmmo] %mcmmoskill% [e]xp[erience]
Plugin requires: McMMO
Get, add, or change an online player's skill experience. If you set it higher then they need to level up to next level, they will automatically level up.

Example:

on break of stone:
  if player's tool is an iron pickaxe named "McMMO+": 
    add (player's mining level * 20) to player's mcmmo mining experience
 

mcMMO level of Party

Addon: SharpSK
Patterns:
[sharpsk] [mcmmo] level of party %string%
Plugin requires: mcMMO
Gets the level of a party
Can be set/add/remove/resetted
Add example

mcMMO Party

Addon: SharpSK
Patterns:
%player%'s [mcmmo] party
Plugin requires: mcMMO
Gets the name of the party the player is in.
Can be set
Add example

mcMMO Party Leader

Addon: SharpSK
Patterns:
[mcmmo] [the] [party][]leader of [party] %string% 
Plugin requires: mcMMO
Gets the leader of a party
Can be set.
Add example

mcMMO Power Level Of

Addon: SharpSK
Patterns:
[mcmmo] power[]level of [the] %player%
Plugin requires: mcMMO
Gets the player's power level
Add example

McMMO Skill level of Player

Addon: ExertSK
Patterns:
[mcmmo] %mcmmoskill% level of %player%
 %player%'s [mcmmo] %mcmmoskill% level
Plugin requires: McMMO
Get, add or change an online player's McMMO skill level. You must have McMMO installed on your server, if you need it click on the addon page and hit the McMMO link.

Example:

add 3 to acrobatics level of player
add 2 to herbalism level of player

mcMMO Skill level of Player

Addon:
Patterns:
[sharpsk] [mcmmo] %skilltype% level of %player%
Plugin requires: mcMMO
The updated version:
Get, add or Set a player's skill level.
Add example

mcMMO XP of Party

Addon: SharpSK
Patterns:
[sharpsk] [mcmmo] exp[erience] of party %string%
Plugin requires: mcMMO
Gets the EXP of a party
Can be set/add/remove/resetted
Add example

Me

Addon: Skript
Patterns:
me
my[self]
A 'me' expression that can be used in effect commands only.

Example:

!heal me
!kick myself
!give a diamond axe to me

Mean

Addon: skqMaths
Patterns:
mean of %numbers%
Plugin requires: SkQuery
Calculates the mean of a list of numbers.

Example:

set {_mean} to "%mean of 1, 2, 3, 4%"
#Evaluates to: 2.5

# 2.5 = (1+2+3+4) / 4

Median

Addon: skqMaths
Patterns:
median of %numbers%
Plugin requires: SkQuery
Searches the median of a list of numbers. Median is the value in the middle of the list. If the list has no value in the exact middle it will take the average number of the two closest numbers.

Example:

set {_median} to "%median of 1, 2, 3, 4%"
#Evaluates to: 2.5

# 2.5 = (2+3) / 2


set {_median} to "%median of 1, 2, 3, 4, 5%"
#Evaluates to 3

#Value in the middle of the list is a 3.

Mention Tag of User/Role

Addon: Vixio
Patterns:
[discord] mention tag of %string%
Add description
Add example

Message

Addon: Skript
Patterns:
[the] [chat( |-)]message
[the] (join|log[ ]in)( |-)message
[the] (quit|leave|log[ ]out|kick)( |-)message
[the] death( |-)message
The (chat) message of a chat event, the join message of a join event, the quit message of a quit event, or the death message on a death event. This expression is mostly useful for being changed.

Example:

on chat:
	player has permission "admin"
	set message to "<red>%message%"

on first join:
	set join message to "Welcome %player% to our awesome server!"
on join:
	player has played before
	set join message to "Welcome back, %player%!"

on quit:
	set quit message to "%player% left this awesome server!"

on death:
	set the death message to "%player% died!"

Message Format

Addon: SkQuery
Patterns:
message format
Add description
Add example

Metadata

Addon: RandomSK
Patterns:
[fixed] metadata [value] %text% of %player/entitie/block/world%
%player/entitie/block/world%'s [fixed] metadata [value] %text%
Bukkit's metadata is a alternative for Skript variables.

They act as global local variables and so they are deleted on restart.

Setting metadata of blocks will cause the data to persist even after the block was broken. Meaning it's kinda tied to the location instead of the actual physical block.

You can set/delete and get the metadata of a player/entity/block or world. Can be set to any object.

In case you are using it directly in a message effect for example you have to double quote the string. Shown below.

Example:

on spawn of zombie:
    set metadata value "Type" of event-entity to "Bla"
on damage:
    if victim is a player:
        if metadata value "Type" of attacker is "Bla":
            broadcast "Type of attacker is %metadata value ""Type"" of attacker%"
            set damage to damage * 2

Minecraft Version

Addon: TuSKe
Patterns:
(mc|minecraft) version of %player%
%player%'[s] (mc|minecraft) version
Plugin requires: ProtocolSupport or ViaVersion
Returns the minecraft version of player.

Example:

on join:
    if minecraft version of player is "1.9":
        send "You're joining with version %mc version of player%!"

Minutes Running

Addon: Vixio
Patterns:
(min|minutes) running for (bot|user) %string%
Add description
Add example

Mirror String

Addon: skUtilities
Patterns:
(mirror[ed]|flip[ped]|reverse[d]) %string%
Reverses a string
Example "hello" would turn in to "olleh"

Example:

mirrored "hello"

Modulus

Addon: SkQuery
Patterns:
%number% mod %number%
Returns the remainder of the division operation. For example, if you mod 3 by 2, the remainder will be 1.

Example:

#Check if a number is divisible by 10
set {some.mod} to {some.number} mod 10
{some.mod} is equal to 0: 
     send "%{some.number}% is divisible by 10!" to {some.player}

Money

Addon: Skript
Patterns:
%player%'s (money|balance|account)
(money|balance|account) of %player%
How much virtual money a player has (can be changed).

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

Example:

message "You have %player's money%" # the currency name will be added automatically
remove 20$ from the player's balance # replace '$' by whatever currency you use
add 200 to the player's account # or omit the currency alltogether

Moon Phase

Addon: SkQuery
Patterns:
%world%'s [current] moon phase
[the] [current] moon phase of %world% 
The current phase of the moon in a world.
Add example

MOTD

Addon: SkQuery
Patterns:
[the] (motd|message of the day)
Message of the day, in other words, your server name shown in server list. This expression can only be used in "on server ping" event.

Example:

#a dynamic motd script using an announcement variable.

on server ping:
	set motd to "&4skUnity Server >> &e%{announcement}%"

MOTD of faction

Addon: SkRambled
Patterns:
motd of faction	
Plugin requires: Factions
The MOTD of a faction
Add example

MOTD/Player Count of Server

Addon: MundoSK
Patterns:
motd of server with host %string% [port %string%]
player count of server with host %string% [port %string%]
max player count of server with host %string% [port %string%]
Make sure to use $ thread before the line containing the expression, otherwise your server could lag.
Add example

MySQL - database

Addon: Skellett
Patterns:
[skellett] mysql['s] database
Gets the database of the MySQL database

This can also be set (String)
Add example

MySQL - Get boolean

Addon: Skellett
Patterns:
[skellett] mysql boolean[s] %string% (in|from|of) %resultset%
Get a boolean from a resultset based on the string argument.
Add example

MySQL - Get integer

Addon: Skellett
Patterns:
[skellett] mysql integer[s] %string% (in|from|of) %resultset%
Get an integer from a resultset based on the string argument.
Add example

MySQL - Get number

Addon: Skellett
Patterns:
[skellett] mysql (number|float)[s] %string% (in|from|of) %resultset%
Get a number from a resultset based on the string argument.
Add example

MySQL - Get object

Addon: Skellett
Patterns:
[skellett] mysql object[s] %string% (in|from|of) %resultset%
Get an object from a resultset based on the string argument.
Add example

MySQL - Get string

Addon: Skellett
Patterns:
[skellett] mysql string[s] %string% (in|from|of) %resultset%
Get a string from a resultset based on the string argument.
Add example

MySQL - Host

Addon: Skellett
Patterns:
[skellett] mysql['s] host
Gets the MySQL host ip.

This can also be set (String)
Add example

MySQL - Password

Addon: Skellett
Patterns:
[skellett] mysql['s] password
Returns the password of the database.

This can also be set (String)
Add example

MySQL - Port

Addon: Skellett
Patterns:
[skellett] mysql['s] port
Gets the port of the MySQL database.

This can also be set (Integer)
Add example

MySQL - Result query

Addon: Skellett
Patterns:
[skellett] mysql result of query %string%
Returns a resultset from the string query.

Example:

on load:
    set mysql host to "localhost"
    set mysql username to "USER"
    set mysql password to "PASSWORD"
    set mysql database to "DATABASE"
    connect to mysql
    set {_test} to mysql result of query "SELECT * FROM Customers, Example"
    set {_final} to mysql string "Customers" in {_test}
    set {_final2} to mysql integer "Example" in {_test}
    broadcast "%{_final}% and %{_final2}%"

MySQL - Username

Addon: Skellett
Patterns:
[skellett] mysql['s] username
Gets the MySQL database username used.

This can also be set (String)
Add example

Name / Display Name

Addon: Skript
Patterns:
[the] (player|tab)[ ]list name[s] of %players%
%players%'[s] (player|tab)[ ]list name[s]
[the] (display|nick|chat)[ ]name[s] of %slots/item stacks/living entities/players%
%slots/item stacks/living entities/players%'[s] (display|nick|chat)[ ]name[s]
[the] name[s] of %slots/item stacks/living entities/players%
%slots/item stacks/living entities/players%'[s] name[s]
Represents a player's minecraft account name, chat display name, or playerlist name, or the custom name of an item or a living entity.

The differences between the different names are:

  • name: Minecraft account name of a player (unmodifiable), or the custom name of an item or mob (modifiable).
  • display name: The name of a player as displayed in the chat. This name can be changed freely and can include colour codes, and is shared among all plugins (e.g. chat plugins will use a changed name).
  • tab list name: The name of a player used in the player list that usually opens with the tab key. Please note that this is limited to 16 characters, including colour codes which are counted as 2 characters each, and that no two players can have the same tab list name at the same time.


Starting with Skript 2.1, the name and display name of entities have a different meaning: 'Name' sets the entity's name like a name tag does, while 'display name' will not only set the entity's name, but will also make it visible through blocks just like players' names.

Example:

on join:
	player has permission "name.red"
	set the player's display name to "<red>[admin]<gold>%name of player%"
	set the player's tablist name to "<green>%name of player%"
set the name of the player's tool to "Legendary Sword of Awesomeness"

Name of Citizen

Addon: SkRayFall
Patterns:
name of citizen %number%
Plugin requires: Citizens
Used for:
  • Checking citizen names
  • Changing citizen names

This will allow you to check and set an NPC's name

Example:

command /rename <text>:
    trigger:
        set name of citizen 0 to "%arg%"
command /name:
    trigger:
        message "%name of citizen 0%"

Name of faction

Addon: SkRambled
Patterns:
name of %faction%
Plugin requires: Factions
Get the name of players faction

Example:

command /whatsmyfacname:
    trigger:
        send "Your faction's name is %player's faction's name%"

Name of User/Guild/Channel

Addon: Vixio
Patterns:
[discord] name of %string%
Add description
Add example

Name tag of

Addon: Umbaska
Patterns:
name tag of %player%
Plugin requires: NametagEdit
Returns the name tag of a player

Example:

set {_Name} to name tag of player

Name Tag of Player

Addon: MundoSK
Patterns:
name[]tag of %player%
%player%’s name[]tag
Plugin requires: ProtocolLib
The name tag that appears above the player.
Add example

Name Visibility

Addon: RandomSK
Patterns:
name visibility of %entity%
%entity%'s name visibilitity
If name visibility of a entity is true then the name will be seen through walls. If false it will only be seen when a player is targeting the entity.

Example:

on spawn of zombie:
    wait 5 ticks
    set age of event-entity to baby
    set name of event-entity to "Baby Zombie"
    set name visibility of event-entity to false

Name/Title of Sidebar

Addon: SkRayFall
Patterns:
sidebar (title|name) for %player% 
Get the name/title of a players side bar.
Add example

Named Item

Addon: Skript
Patterns:
%item types% (named|with name[s]) %text%
Directly names an item, useful for defining a named item in a script. If you want to (re)name existing items you can either use this expression or use set name of <item> to <text>.

Example:

give a diamond sword of sharpness 100 named "<gold>Excalibur" to the player
set tool of player to the player's tool named "<gold>Wand"
set the name of the player's tool to "<gold>Wand"

Nametags Prefix/Suffix of player

Addon: ExertSK
Patterns:
[exter] [nametag][s] [suffix|prefix] of %player% 
%player%'s [exter] [nametag][s] [suffix|prefix]
Plugin requires: Nametags
Get, add or change a player's suffix or prefix. It shows up in tab and their name tag.

Example:

set nametags suffix of arg-1 to "&k&l|||||&a&lFluffy Bunny&6&l"
set nametags prefix of arg-1 to "&k&l|||||"

NBT from file

Addon: SkStuff
Patterns:
nbt[[ ]tag[s]] from [file] %text%
Gets the raw NBT of a file in a Mojangson notation.

Please note that the file can get corrupted if the file is being used (e.g an online player file or the level.dat).

Example:

command /seeNBT <offlineplayer>:
    trigger:
        if arg-1 is online:
            send "It's not recommended to open the file of an online player, because it can get corrupted."
        else:
            set {_fileNBT} to nbt from file "MAINWORLDNAMEHERE/playerdata/%uuid of arg-1%.dat"
            send "Raw NBT of %arg-1%: &b%{_fileNBT}%"

NBT List contents

Addon: SkStuff
Patterns:
[all] contents (of|from) [nbt[ ]list] %nbt list%
[nbt[ ]list] %nbt list% contents
The contents on a NBT List.

Example:

set {_converted::*} to contents of ("[1337,420,555,1234,1314251]" parsed as nbt list)
set {_someList} to "[""that\'s cool"",""some text!""]" parsed as nbt list
add "Oh look, that's a new entry on the text list!" to {_someList}
send "%contents of {_someList}%"

NBT List index

Addon: SkStuff
Patterns:
[nbt[ ]list] %nbt list% index %integer%
The specified index of a NBT List. Null if out of bounds.
Keep in mind that these lists are zero indexed, so 0 is the first value, 1 is the second value, etc.

Example:

set {_someList} to "[text,some other text,woohoo thats a LOT of text!!]" parsed as nbt list
set {_woohoo} to index 2 of {_someList} #woohoo thats a LOT of text!!

set {_text} to index 0 of {_someList} #text

NBT of an entity, block or item

Addon: SkStuff
Patterns:
nbt[[ ]tag[s]] of %entity/block/item%
%entity/block/item%'s nbt[[ ]tag[s]]"
Returns the compound root of the NBT of an entity, block or item in a Mojangson notation (the ones used for vanilla commands, such as /entitydata).
NBT tags can be also added or removed.

Example:

on shoot:
    if projectile is an ender pearl:
        if "%region at shooter%" contains "NoEnderPearl":
            remove "ownerName" from nbt of projectile

on place of furnace:
    if name of player's tool is "(Almost) Infinite Furnace":
        add "{BurnTime:32767}" to nbt of event-block

Nether

Addon: WildSkript
Patterns:
access to nether 
allow nether
Returns access to the Nether into boolean. This value is set in the server configuration file (server.properties).

Example:

set {_nether-script-enable} to access to nether

Network Coins

Addon: LargeSk
Patterns:
network coins of %offlineplayer%
Plugin requires: Network Coins
A virtual currency or something like that, from the plugin Network Coins

Example:

set network coins of player to 50
message "%arg-1's network coins%"
remove 5 from target player's network coins
reset network coins of "Nicofisi" parsed as offlineplayer

New changed material

Addon: Skellett
Patterns:
[skellett] new [changed] material
Grab the changed material of an event.

This only works for 1 event at the moment:

"[on] entity block (change|modify):"

Example:

[on] entity block (change|modify):
    #Expression for entity block change:

    [skellett] new [changed] material

New Chunk

Addon: LargeSk
Patterns:
new chunk
A value you can get within chunk change event

Example:

on chunk change:
    add new chunk to {_someList::*}

New Console

Addon: ExertSK
Patterns:
[a] new console facing (north|east|west|south) at %location% with [width] %number%[ and|,] [height] %number%
Plugin requires: ConsolesCore
Create a new console at a location facing a cardinal direction. The width & height is in item frames and each item frame is 128px X 128px. Manipulate the console via other effects in this addon.

Example:

set {console} to a new console facing north at player with 4 4

New edit session

Addon: SkStuff
Patterns:
[new] edit[ ]session in [world] %world% [with] [max[imum]] [block] limit [change] [of] %integer%
Plugin requires: WorldEdit
Creates a new edit session which is used to execute WorldEdit operations such as drawing a line.
Keep in mind that you will need to save it in a variable to be able to use it to create something.

Example:

set {_session} to new session in {_world} with max limit of -1 # -1 makes it unlimited

New Line

Addon: SkQuery
Patterns:
(nl|new[ ]line)
Adds a new line in a book or message.

Example:

kick player due to "&cKicked from the server!%nl%&9If you don't follow the rules you%nl%&9will end up banned."

New Random

Addon: MundoSK
Patterns:
new random [from seed %number%]
A new random from the seed (or an arbitrary random if the seed is left out)
Add example

New Vector

Addon: RandomSK
Patterns:
[new] vector [from] %number%, %number%, %number%
Plugin requires: RandomSK 2.0 BETA
Creates a new Vector from the given XYZ.


new vector from X, Y, Z

Example:

set {_upwards} to new vector  0, 1, 0
set {_downwards} to new vector 0,-1, 0

Next empty slot

Addon: Skellett
Patterns:
(next|first) empty slot of %inventory%
Will return the next empty inventory slot of an inventory

Example:

on inventory click:
    cancel event
    broadcast "%next empty slot of player's current inventory%"
    loop integers between 0 and inventory size of player's current inventory - 1:
        set slot loop-number of player's current inventory to light green stained glass pane named " "
    broadcast "This should equal 2 = %next empty slot of player's current inventory%"

Nickname of User

Addon: Vixio
Patterns:
nickname of [user] %string% in [guild] %string%
Add description
Add example

No Clip state of entity

Addon: SkStuff
Patterns:
no[( |-)]clip (state|mode) of %entity%
%entity%'s no[( |-)]clip (state|mode)
Gets or sets the no clip state of an entity.

Please note that setting this for a player does not take effect.

Example:

set no clip state of {_someEntity} to true #Bye bye, it will just fall through the floor.

No NBT

Addon: SkRayFall
Patterns:
%itemstack% with no NBT
Removes all NBT tags by:
  • Item Stack

Using this expression will remove all vanilla minecraft lore from an item. For example a diamond sword would not show the vanilla +7 damage in the lore anymore

Example:

command /sword:
    trigger:
        give player diamond sword with no nbt

NoteBlock Note

Addon: MundoSK
Patterns:
note of %block%
%block%'s note
Gets the note played by the noteblock.
Add example

Now

Addon: Skript
Patterns:
now
The current system time of the server. Use time to get the Minecraft time of a world.

Example:

broadcast "Current server time: %now%"

Nth Prime

Addon: SkQuery
Patterns:
%{types|Number|number}}%(st|nd|rd|th) prime
Add description
Add example

Null

Addon: SkQuery
Patterns:
null
The absence of any value, can is used as a substitute for the reset, delete, clear, or remove effect; or it can be used as a substitute for the is not set condition.

Example:

#Condition:

if {variable} is null:
    message "The variable is not set"

#Effect:

set {variable} to null

Number of changed blocks in an edit session

Addon: SkStuff
Patterns:
number of [all] changed blocks (in|of) [edit[ ]session] %editsession%
Plugin requires: WorldEdit
Returns the number of blocks changed in the operations made with the specified edit session.

Example:

set {_session} to new editsession in world of player with limit -1 #-1 = infinite
draw a hollow line from we pos1 of player to pos2 of player using {_session} with glass and thickness 2
if number of changed blocks in {_session} is greater than 10000:
    send "Wow, that was a lot of blocks!" to player

Number Of Chars

Addon: skUtilities
Patterns:
number of (upper|lower)case chars in %string%
Returns the number of upper or lower case chars in a string

Example:

number of (upper|lower)case chars in "hellOworlD"

Number of Enchantments

Addon: SkRayFall
Patterns:
number of enchant[ment]s on %itemstack%
Get the number of enchantments on an item.
Add example

Number Shortened/Shrunk/Condensed

Addon: SkriptPlus
Patterns:
%number% condensed (with|to) %integer% decimal place[s]
Plugin requires: SkQuery
It shortens number from full numbers to the shortened version.

Example:

message "%player's balance%"    # 30208.50


message "%player's balance condensed to 0 decimal places%"     # 30 Thousand


message "%player's balance condensed to 2 decimal places%"     # 30.08 Thousand

Number Sorting

Addon: RandomSK
Patterns:
(sort[ed] %numbers% | %numbers% sorted)[ from highest to lowest][ with (output|format) %text%]
(sort[ed] %numbers% | %numbers% sorted)[ from lowest to highest][ with (output|format) %text%]
Sorts/orders the numbers from lowest to highest or vice versa.
Adding " with (output|format) %string%" at the end of the syntax will make the output to a configureable string.

You can use @index and @value in the string to replace

Useful for Top lists, Check out this example to understand.

Example:

command /sort   :
    trigger:
        add number-arg-1 to {_list::*}
        add number-arg-2 to {_list::*}
        add number-arg-3 to {_list::*}
        message "Input: %{_list::*}%"
        message "Hi-Lo: %{_list::*} sorted from highest to lowest%"
        message "Lo-Hi: %{_list::*} sorted from lowest to highest%"

Number To Hexadecimal

Addon: skUtilities
Patterns:
convert num[ber] %number% to hexa[decimal]
num[ber] %number% as hexa[decimal]
Converts a Number to it's Hexadecimal Form

Example:

set {_var} to convert num 100 to hexa
broadcast "%{_var}%"

Numbers

Addon: Skript
Patterns:
[(integers) (between|from) %number% (and|to) %number%
%number% times
All numbers between two given numbers, useful for looping.
Use 'numbers' if your start is not an integer and you want to keep the fractional part of the start number constant, or use 'integers' if you only want to loop integers.
An integer loop from 1 to a number x can also be written as 'loop x times'.

Example:

loop 5 times:    #Loops 1, 2, 3, 4, 5
loop numbers from 2.5 to 5.5:    #Loops 2.5, 3.5, 4.5, 5.5
loop integers from 2.9 to 5.1:    #Same as '3 to 5', i.e. loops 3, 4, 5

Numbers of string

Addon: Umbaska
Patterns:
get (digits|numbers|nums|num) of %string%
Req: Umbaska 1.5

Example:

get num of "B00B1E5"

Octal To Binary

Addon: skUtilities
Patterns:
convert octal %string% to bin[ary]
octal %string% as bin[ary]
Converts an Octal Int to it's binary form

Example:

set {_var} to convert octal "100" to bin
broadcast "%{_var}%"

Offline Players

Addon: Skellett
Patterns:
[(the|all)] [of] [the] offline[ ]player[s]
Grab all offline players. This can be loopable

Example:

loop all offline players:
    message "%loop-value%"

Old Chunk

Addon: LargeSk
Patterns:
old chunk
A value you can get within chunk change event

Example:

on chunk change:
    add old chunk to {_someList::*}

old status of user

Addon:
Patterns:
[event-]oldstatus
Add description
Add example

Online Mode

Addon: WildSkript
Patterns:
online mode
Returns online mode into boolean (online - true / offline - false)

Example:

set {_online} to online mode

Online Time

Addon: TuSKe
Patterns:
online time of %player%
%player%'[s] online time

online time of server
server'[s] online time
Returns a timespan of online time of player or of the server. Only the online time of player can be edited.

Example:

command /online:
    trigger:
        send "You're online for %online time of player% and the server is online for %online time of server%"

Opened Inventory

Addon: SkQuery
Patterns:
%player%'s (current|open) inventory
[the] (current|open) inventory of %player% 
Add description
Add example

Operating System

Addon: sKeeland
Patterns:
(os|operating system)
Returns OS Information
Add example

Operators

Addon: Skellett
Patterns:
[(the|all)] [of] [the] Op[erator](s|ed) [players]
Grab all the operators of the server, this expression is loopable

Example:

loop all operators:
    message "%loop-value% is opped"

OS Command Output

Addon: ExertSK
Patterns:
last [exter] [server command] output
The effect "Run OS Command" must be enabled in config for this expression to be enabled. It gets the last output of the Run OS Command.

Example:

command /run <text>:
  trigger:
    if player is op:
      run command "%arg-1%" with password "FluffyBunnies22" on OS
      message "&6&lCommand Output: &a&l%last command output%"

Owner of Guild

Addon: Vixio
Patterns:
owner of %string%
Add description
Add example

Owner of plot

Addon: Umbaska
Patterns:
owner of %plot%
Plugin requires: PlotMe
Returns the owner of the plot ID inputted

Example:

command /plotowner :
    trigger:
        message "%owner of arg 1%"

Packet All PacketTypes

Addon: MundoSK
Patterns:
all packettypes
Plugin requires: ProtocolLib
All packettypes.
Add example

Packet Info

Addon: MundoSK
Patterns:
%type% pinfo %number% of %packet%
%type% array pinfo %number% of %packet%
%string% pinfo %number% of %packet%
%world% pentity %number% of %packet%
byte pnum %number% of %packet%
short pnum %number% of %packet%
int pnum %number% of %packet%
long pnum %number% of %packet%
float pnum %number% of %packet%
double pnum %number% of %packet%
byte array pnum %number% of %packet%
int array pnum %number% of %packet%
%string% pjson %number% of %packet%
%string% array pjson %number% of %packet%
Plugin requires: ProtocolLib
An object of a packet. That first and second one basically means you can do things like boolean %number% of %packet%, or %string% %number% of %packet%, or %object% %number% of %packet%. Can be set.

The pjson expression currently accepts "chatcomponent" and "serverping" as a string.
Add example

Packet New

Addon: MundoSK
Patterns:
new %packettype% packet
Plugin requires: ProtocolLib
A new packet of the type specified.
Add example

Paged List

Addon: TuSKe
Patterns:
page %integer% of %objects% with %integer% lines
It creates a list of objects separedted by pages with a certain amount of objects. Basically makes a 'book' of something.

Example:

Command /Items <integer>:
    trigger:
        set {_items::*} to page arg of all items with 10 lines
        loop {_items::*}: #will show a list of 10 items listed as pages.

            send "%loop-value%"
        

Parameter

Addon: SkQuery
Patterns:
parameter(-| )%number%
Add description
Add example

Parse

Addon: Skript
Patterns:
%text% parsed as (%*type%|"<.*>")
Parses text as a given type, or as a given pattern.
This expression can be used in two different ways: One which parses the entire text as a single instance of a type, e.g. as a number, and one that parses the text according to a pattern.
If the given text could not be parsed, this expression will return nothing and the parse error will be set if some information is available.
Some notes about parsing with a pattern:
  • The pattern must be a Skript pattern, e.g. percent signs are used to define where to parse which types, e.g. put a %number% or %items% in the pattern if you expect a number or some items there.
  • You have to save the expression's value in a list variable, e.g. set {parsed::*} to message parsed as "...".
  • The list variable will contain the parsed values from all %types% in the pattern in order. If a type was plural, e.g. %items%, the variable's value at the respective index will be a list variable, e.g. the values will be stored in {parsed::1::*}, not {parsed::1}.

Example:

set {var} to line 1 parsed as number
on chat:
    set {var::*} to message parsed as "buying %items% for %money%"
    if parse error is set:
        message "%parse error%"
    else if {var::*} is set:
        cancel event
        remove {var::2} from the player's balance
        give {var::1::*} to the player

Parse Error

Addon: Skript
Patterns:
[the] [last] [parse] error
The error which caused the last parse operation to fail, which might not be set if a pattern was used and the pattern didn't match the provided text at all.

Example:

set {var} to line 1 parsed as integer
if {var} is not set:
    parse error is set:
        message "<red>Line 1 is invalid: %last parse error%"
    else:
        message "<red>Please put an integer on line 1!"

Particle

Addon: SkQuery
Patterns:
particle %particletype%[:%-number%] [offset (at|by) %-number%, %-number%, %-number%]
Add description
Add example

Passenger

Addon: Skript
Patterns:
[the] passenger[s] of %entities%
%entities%'[s] passenger[s]
The passenger of a vehicle, or the rider of a mob.

See also: vehicle (expression), vehicle (effect)

Example:

passenger of the minecart is a creeper or a cow
the saddled pig's passenger is a player

Phase Of

Addon: SharpSK
Patterns:
phase of [ender]dragon in %world%
Gets the action that a enderdragon is currently doing.
Can be set for enderdragon control

Needs minecraft 1.9

Example:

set phase of [ender]dragon in "world_the_end" to land on portal

Pick Up Delay

Addon: RandomSK
Patterns:
pick up delay of %dropped item entity%
%dropped item entity%'s pick up delay
You can set a pick up delay for a dropped item or get the delay.

Example:

#Cannot be picked up before 5 seconds.

on drop:
    set pick up delay of dropped item to 5 seconds

Pickup State

Addon: ExtrasSK
Patterns:
[the] pickup state of %living entity%
%living entity%'s pickup state
Either true or false, if a creature can pickup items automatically when nearby. Note that this expression only applies with zombies, skeletons, and zombie pigmen. Other mobs that pick it up will not show the item.

Example:

set the pickup state of creature to true

if the pickup state of creature is false:
    set pickup state of creature to true

Ping

Addon: Umbaska
Patterns:
%player% ping
Returns ping of player.
Req: Umbaska 1.5

Example:

set {_ping} to player's ping

Ping of Player by AAC

Addon: LargeSk
Patterns:
(ping of %player%|%player%'s ping) by aac
aac (ping of %player%|%player%'s ping)
Plugin requires: Advanced Anti Cheat
Gets ping of player calculated by Advanced Anti Cheat

Example:

on violation:
    violations within last minute is greater than 15
    aac ping of player is greater than 700
    send "%player% may cheat but notice that his ping is very high"

Pinned Messages in Channel

Addon: Vixio
Patterns:
[discord] pinned messages in channel %string%
Add description
Add example

Placeholder parse

Addon: Umbaska
Patterns:
placeholder parse %string% as %player%
Plugin requires: Clips PlaceholderAPI
Req: Umbaska 1.5

Example:

set {_p} to placeholder parse "%%player_displayname%%" as player
message "%{_p}%"
** PLEASE NOTICE THE DOUBLE %% AND AS PLAYER!! **

Player Data

Addon: TuSKe
Patterns:
[the] player data of %offline player%
%offline player%'[s] player data
Returns a offline player as it was a player, which means that you can get some values like money, inventory, enderchest,etc. Maybe all values doesn't work. If you want to change these values, you will have to save player data.

Example:

command /money <offlineplayer>:
    trigger:
        if arg is not online:
            send "%money of player data of arg%

Player names

Addon: Umbaska
Patterns:
names of %string%
Req: Umbaska 1.5
Add example

Player Permissions

Addon: SkQuery
Patterns:
%players%'s permissions
[the] permissions of %players% 
Add description
Add example

Player Statistics

Addon: RandomSK
Patterns:
value of %statistic% of %player%
%player%'s value of %statistic%
value of %statistic% with (entity|material) %entitytype/itemstack% of %player%
%player%'s value of %statistic% with (entity|material) %entitytype/itemstack%
Get a value of the given statistic.
The second syntax might be a little buggy and i haven't tried out every statistic.

Example:

command /kills:
    trigger:
        message "You have totally killed %value of player kills of player% players."   

Player's current cursor

Addon: Skellett
Patterns:
[current [inventory]] cursor of %player%
%player%'s [current [inventory]] cursor
Get the player's cursor. If an inventory is open for a player you can get the cursor of the player. The cursor is the item that is attached to the player's mouse.

Can be set (ItemType)

Example:

every second:
    loop all players:
        if inventory type of loop-player's current inventory is "CHEST":
            broadcast "%current cursor of loop-player%"

Player's deaths

Addon: HerSK
Patterns:
(%player%'s deaths|deaths of %player%)
Plugin requires: skQuery
Displays number of player's deaths.

Example:

on death:
    send "You've died %deaths of victim% times" to victim

Player's k/d ratio

Addon: HerSK
Patterns:
(%player%'s kd|kd of %player%)
Plugin requires: skQuery
Displays player's k/d ratio (kills/deaths).

Example:

command /stats:
    trigger:
        send "Your k/d: %player's kd%" to player

Player's kills

Addon: HerSK
Patterns:
(%player%'s kills|kills of %player%)
Plugin requires: skQuery
Displays number of killed entities.

Example:

send "You killed %player's kills% entities" to player

Players of town

Addon: Umbaska
Patterns:
players of %string%
Plugin requires: Towny
Returns players in a town

Example:

set {_p} to players of "nfell2009"
message "%{_p}%"

Plot at location

Addon: Umbaska
Patterns:
plot at location %location%
Plugin requires: PlotMe
Gets the plot at a set location

Example:

command /isthereaplot:
    trigger:
        set {_l} to location of targeted block
        set {_p} to plot at location {_l}
        if {_p} is set:
            message "&aThere is a plot here! ID: %{_p}%"

Plot at player

Addon: Umbaska
Patterns:
plot at %player%
Plugin requires: PlotMe
This will return the plot currently at the player

Example:

command /isthereaplot:
    trigger:
        set {_p} to plot at player
        if {_p} is set:
            message "&aThere is a plot here! ID: %{_p}%"

Plot owner

Addon: Umbaska
Patterns:
owner of plot at %location%
Plugin requires: Towny
Returns owner of a town block at a location
Add example

Plot price

Addon: Umbaska
Patterns:
price of plot at %location%
Plugin requires: Towny
Returns the price of a town block at a location
Add example

Plots of player

Addon: Umbaska
Patterns:
plots of %player%
Plugin requires: PlotMe
This will give the plots that the player owns. Please see the example on how to use it as it requires you to do some scripting stuff.

Example:

"plots of %player%". It doesn't work too well and you'll get a load of PlotMe crap with the plots. So do this to get your out:

set {_p} to plots of player
set {_pp::*} to {_p} split at ", "
loop {_pp::*}:
    add 1 to {_num}
    set {_ppp.%{_num}%::*} to loop-value split at "="
loop size of {_pp::*} times:
    if {_o} is not set:
        set {_o} to {_ppp.%loop-number%::1}
    else:
        set {_o} to "%{_o}%, %{_ppp.%loop-number%::1}%"
Variable: {_o} will be for example: "0;1, 1;1, 1;2". This is until I can figure out how to sort the string out in Java.

PlotSquared Plots

Addon: SkAction
Patterns:
(amount|number) of %player%'s plots
Plugin requires: PlotSquared
Get a player's total owned plots.

Example:

set {_plots.%player%} to number of player's plots
broadcast "%number of player's plots%"

Plugin List

Addon: skUtilities
Patterns:
plugin list
list of plugins
Gets a list of the plugin on the server, this can also be used to get the number (size)

Example:

message "%plugins list%"

set {_var::*} to plugins list
message "%size of {_var::*}%"

Plugin Version

Addon: SkQuery
Patterns:
version
Returns the version of an installed plugin.
Add example

Point 1 Of Region

Addon: PirateSK
Patterns:
point 1 of wg region %string% in [world] %world%
pos[ition][-| ]1 of wg region %string% in [world] %world%
Plugin requires: WorldEdit, WorldGuard
Returns location of minimum point of given WorldGuard region.
Add example

Point 1 of WorldEdit selection

Addon: SkStuff
Patterns:
[(world[ ]edit|we)] po(s|int)[ ]1 of %player%
%player%'s [(world[ ]edit|we)] po(s|int)[ ]1
Plugin requires: WorldEdit
Returns the pos1 of the WorldEdit selection of a player.
Can be set to any location

Example:

set {_pos1} to we pos 1 of player
set we pos 1 of player to location of player

Point 2 Of Region

Addon: PirateSK
Patterns:
point 2 of wg region %string% in [world] %world%
pos[ition][ ]2 of wg region %string% in [world] %world%
Plugin requires: WorldEdit, WorldGuard
Returns location of maximum point of given WorldGuard region.
Add example

Point 2 of WorldEdit selection

Addon: SkStuff
Patterns:
[(world[ ]edit|we)] po(s|int)[ ]2 of %player%
%player%'s [(world[ ]edit|we)] po(s|int)[ ]2
Plugin requires: WorldEdit
Returns the pos2 of the WorldEdit selection of a player.
Can be set to any location.

Example:

set {_pos2} to player's worldedit point 2
set pos2 of player to location of clicked block

Position of Audio Playing

Addon: Vixio
Patterns:
position track [audio] player %string% is playing
Add description
Add example

Potion Duration

Addon: SkMorkaz
Patterns:
[mor.]potion duration [of] %string% of (%player%|%entity%)
Returns time parsed as skript's timespan of duration of specified potion name of player.
If it is not applied, it returns 0. Please use Bukkit potion names in text, like as in example.

@Edit
Version 0.2+ Supports getting tier of potion from entities and players.

Example:

set {_potion.duration} to potion duration of "SLOW" of player

Potion Tier

Addon: SkMorkaz
Patterns:
[mor.]potion tier [of] %string% of (%player%|%entity%)
Returns tier number of specific potion if it is applied to specific player. If not, it returns 0.
Please use Bukkit potion names in text, like as in example.

@Edit
Version 0.2+ Supports getting tier of potion from entities and players.

Example:

set {_tier.number} to potion tier of "SLOW" of player

Power level of player

Addon: SkRambled
Patterns:
power(level| level) of player, player's power(level| level)
Plugin requires: mcMMO
Gets or sets the power level of a player
Add example

Power of faction

Addon: SkRambled
Patterns:
power of faction, faction's power
Plugin requires: Factions
Gets or sets the power of a faction
Add example

Power of player

Addon: SkRambled
Patterns:
power of player
Plugin requires: Factions
Power of player

Example:

command /whatsmypower:
    trigger:
        send "%power of player%"

Powerboost of faction

Addon: SkRambled
Patterns:
powerboost of faction, faction's powerboost
Plugin requires: Factions
Gets or sets the powerboost of a faction
Add example

Powerboost of player

Addon: SkRambled
Patterns:
powerboost of player
Plugin requires: Factions
Powerboost of a player.

Example:

command /whatsmypowerboost:
    trigger:
        send "%powerboost of player%"

Prefix of

Addon: Umbaska
Patterns:
prefix of %player%
Plugin requires: NametagEdit
Returns players tag prefix

Example:

set {_Pre} to prefix of "nfell" parsed as player

Prefix of group

Addon: SkAction
Patterns:
prefix of group %text%
Plugin requires: PermissionsEx
Prefix of a group.

Example:

on join:
  broadcast "%prefix of group "admin"%"

Prefix/Suffix

Addon: Skript
Patterns:
%player%'s (prefix|suffix)
(prefix|suffix) of %player%
The prefix or suffix as defined in the server's chat plugin.

Example:

on chat:
    cancel event
    broadcast "%player's prefix%%player's display name%%player's suffix%: %message%" to the player's world
set the player's prefix to "[<red>Admin<reset>] "

Primary group

Addon: Umbaska
Patterns:
primary group of %player%
Plugin requires: Vault
Returns the primary group of the player (their first set group)

Example:

if primary group of player is "Owner":
    send "Hey owner"

Primed tnt fuse time

Addon: Skellett
Patterns:
[skellett] [the] (fuse time|time until blowup) of [the] [primed] [tnt] %entity%
[skellett] [primed] [tnt] %entity%['s] (fuse time|time until blowup)
The time a primed tnt takes to explode. The time is in ticks

Changers: set, add and remove/subtract

Example:

command /boom:
    trigger:
        spawn a primed tnt above the player
        broadcast "%fuse time of last spawned primed tnt%"
        set the fuse time of last spawned primed tnt to 200
        broadcast "&c%fuse time of last spawned primed tnt%"

Primer

Addon: SkQuery
Patterns:
%entities%'s (primer|fuse lighting piece of shit)
[the] (primer|fuse lighting piece of shit) of %entities%
Add description
Add example

Processors

Addon: sKeeland
Patterns:
[available[ ]]processors
Returns the number of available processors.

Example:

on join:
    message "%processors%"

Product

Addon: skqMaths
Patterns:
product %numbers%
Plugin requires: SkQuery
Calculates the product of a list of numbers.

Example:

set {_product} to "%product 1, 3, 5%" parsed as number
#Evaluates to: 15 

# 15 = 1*3*5

Projectile bounce state

Addon: Skellett
Patterns:
[skellett] %entity%[[']s] bounc(e|ing) [state]
Returns a boolean depending if a projectile has bounce state true or false.

Can be set (Boolean)
Add example

ProtocolSupport - Protocol version

Addon: Skellett
Patterns:
[skellett] protocol[ ][support] version of %player%
[skellett] %player%'s protocol[ ][support] version
Plugin requires: ProtocolSupport
Grabs the protocol version of a player.
Add example

Pull

Addon: SkQuery
Patterns:
value [of] %text% pulled from %text%
Add description
Add example

Rabbit Type

Addon: TuSKe
Patterns:
rabbit type of %entity%
%entity%'[s] rabbit type
Returns the type of rabbit. e.g. black, black and white, brown, gold, salt and pepper, the killer bunny and white.

Example:

on spawn of rabbit:
    if rabbit type of event-entity is "the killer bunny":
        broadcast "Run, everyone, run! The Killer Bunny was spawned!"

Radix

Addon: SkQuery
Patterns:
radix %number% of %number%
Add description
Add example

Ram

Addon: skUtilities
Patterns:
(free|total|max) (ram|memory)
Returns free/total/max ram

Example:

free ram

Random

Addon: Skript
Patterns:
[a] random %*type% [out] of %objects%
Gets a random item out of a set, e.g. a random player out of all players online.

Example:

give a diamond to a random player out of all players
give a random item out of all items to the player

Random Char

Addon: WildSkript
Patterns:
random char
Returns random char (a, b, c, d, e, f etc.)

Example:

send "Your code: %random char%%random char%%random char%%random char%"

Random Color

Addon: WildSkript
Patterns:
random color
Returns random color (&5, &3, &a, &b etc.)

Example:

player.sendPacket{PacketPlayOutPlayerInfo{"%name of player%", false, 0}};
player.sendPacket{PacketPlayOutPlayerInfo{"%random color%%name of player%", false, 0}};

Random Index From List

Addon: MundoSK
Patterns:
random from %numbers% prob[abilitie]s
random number from %numbers% prob[abilitie]s
What this does is it takes a list of numbers, (say 1, 2, 3, 4, and 5) and it chooses one based on the size of the number compared to the sum of all the numbers (So 3 has a 3/15 chance or 1/5 chance of being picked) and it returns the index.

Ex. say you have Example 1 below. If 3 is chosen, "three" will be returned. If you have a list of numbers that isn't in a list variable, like the 1, 2, 3, 4, and 5 we had up there, and 3 is chosen, "3" will be returned, because 3 was the third number in the list.

The second expression returns not a string, rather an integer. Going back to the 1, 2, 3, 4, and 5 example, if 3 is chosen, instead of returning "3", it returns the number 3. If you have a list variable where all the indeces are numbers, say Example 2, It will work the same way. However, if you put in a list variable where some indeces are not numbers, like Example 1, Then it gets a bit weird. If the number chosen has an integer index, then the integer will be returned. If the index is something like "four", then it becomes based alphabetically after the integer indeces in a weird way that I'd rather not explain, so simply:

If you're dealing with a list of numbers like 1, 2, 3, 4, and 5, or an expression that returns a list of numbers, or a list variable where all the indeces are integers, then use the second expression.

If you're dealing with a list variable where some indeces are things like "pie", "four", or "Tlatoani", then use the first expression.

Example:

*Example 1
set {_p::one} to 1
set {_p::two} to 2
set {_p::three} to 3
set {_p::four} to 4
set {_p::five} to 5

*Example 2
set {_p::1} to 1
set {_p::2} to 2
set {_p::3} to 3
set {_p::4} to 4
set {_p::5} to 5

Random Number

Addon: Skript
Patterns:
[a] random (integer|number) (from|between) %number% (to|and) %number%
A random number or integer between two given numbers. Use 'number' if you want any number with decimal parts, or use use 'integer' if you only want whole numbers.
Please note that the order of the numbers doesn't matter, i.e. random number between 2 and 1 will work as well as random number between 1 and 2.

Example:

set the player's health to a random number between 5 and 10
send "You rolled a %random integer from 1 to 6%!" to the player

Random Value

Addon: MundoSK
Patterns:
random (int|long|float|double|gaussian|int less than %number%|boolean) [from [random] %random%]
A random value from a random.
Add example

Randomize String

Addon: skUtilities
Patterns:
randomize %string%
Randomizes a string

Example:

randomize "helloWorld"

Rank Of Group

Addon: SharpSK
Patterns:
rank of [the] group %string%
Plugin requires: PermissionsEx
Gets the current rank of a group. (Can be set)

Example:

set rank of group "default" to 1

RankLadder Of Group

Addon: SharpSK
Patterns:
rank[]ladder of [the] group %string%
Plugin requires: PermissionsEx
Gets the current rankladder of a group. (Can be set)
Add example

Rating

Addon: SkAction
Patterns:
(amount|number) %player% rated
Plugin requires: PlotSquared
Get's the rating someone leaves when they rate a plot.

Example:

on rate:
   set {voted.%player%} to number player rated
  send "&6You voted % {voted.%player%}%" to player

Read Line in File

Addon: skUtilities
Patterns:
line %number% in file %string%
file %string%'s line %number%
Reads a line in a file

Example:

file "plugins\test.txt"'s line 3 
#checks for file in "plugins\test.txt" and returns line 3 of that file

Recipe Ingredients

Addon: TuSKe
Patterns:
ingredients of %recipe%
%recipe%'[s] ingredients
Returns a list of item stacks to make the recipe.

Example:

loop recipes of held item:
    loop ingredients of loop-recipe:
        give loop-item to player
    

Recipe Result

Addon: TuSKe
Patterns:
result item of %item stack/recipe%
%item stack/recipe%'[s] result item
Returns the result item of a combination of 9 item stacks or a specific recipe.

Example:

loop 9 times:
    add a diamond to {_items::*}
send "%result item of {_items::*}%" #Will return a diamond block

Recipes

Addon: TuSKe
Patterns:
[all] recipes of %item stack%
%item stack%'[s] [all] recipes
Return a list of all recipes of an item stack. Most of items has just one recipe, but there are some exceptions and the custom recipes (created by plugins or in script with SkQuery/RandomSK).

Example:

loop all recipes of held item:
    send "%ingredients of loop-recipe%

Record of Block

Addon: TuSKe
Patterns:
[jukebox] record of %{{types|Block|block}%
%{{types|Block|block}%'[s] [jukebox] record
Returns the item inside a jukebox. You can set to any item, but only the material (without data value), and if you set to `air`, it will stop the song.

Example:

set record of targeted block to green music

Redstone current

Addon: Skellett
Patterns:
(old|new) redstone current
Grab the redstone current in integer form.

Can only be used with the "on redstone change:" event

Example:

on redstone change:
    broadcast "&c%old redstone current%"
    broadcast "&a%new redstone current%"

Redstone current from location

Addon: Skellett
Patterns:
[redstone] power [[being] receiv(ed|ing) [(from|at)]] %location%

%location% [redstone] power [[being] received]
Grab the redstone current of a redstone wire from any location.

This doesn't need to be used within the "on redstone change:" event, which is the difference between Redstone current and this syntax.
Add example

Regen Reason

Addon: SkQuery
Patterns:
(regen|heal) (cause|reason)
The cause of a healing event.
Add example

Regex Match

Addon: SkQuery
Patterns:
groups %number% of %text% matched (to|with|against) %text%
Searches strings based on a pattern. t isolates part of a string based on the pattern specified. It requires that you use the text-processing language for the pattern.

Example:

set {_groups::*} to groups 1 of "first test four4 split amazing" matched to "([A-Za-z]{5,})"    #It will add to the variable list the strings first, split and amazing. (Not working apparently)


set {_blocksplit::*} to groups 0 of "This is a test" matched against "." # Will split between every letter.

Region

Addon: Skript
Patterns:
region
The region involved in an event.
This expression requires a supported regions plugin to be installed.

Example:

on region enter:
    region is {forbidden region}
    cancel the event

Region At

Addon: PirateSK
Patterns:
wg region at %location%
Returns name(s) of WorldGuard region(s) at given location.
Add example

Region Members & Owners

Addon: Skript
Patterns:
owner[s] of %region%
A list of members or owners of a region.
This expression requires a supported regions plugin to be installed.

Example:

on entering of a region:
    message "You're entering %region% whose owners are %owners of region%".

Region of Guild

Addon: Vixio
Patterns:
region of %string%
Add description
Add example

Region of Server

Addon: skUtilities
Patterns:
region of server
server's region
Returns the region of the server.

Example: "Europe/London"

Example:

broadcast "%region of server%"

Regions At

Addon: Skript
Patterns:
region[s] at %location/block%
All regions at a particular location.
This expression requires a supported regions plugin to be installed.

Example:

On click on a sign:
    line 1 of the clicked block is "[region info]"
    set {_regions::*} to regions at the clicked block
    if {_regions::*} is empty:
        message "No regions exist at this sign."
    else:
        message "Regions containing this sign: <gold>%{_regions::*}%<r>."

Relationship status between two faction

Addon: SkRambled
Patterns:
relation[ship] [status] between [the faction] %faction% (and|with) [the faction] %faction%
Plugin requires: Factions
Gets or sets the relationship status between two factions
Add example

Remaining Air

Addon: Skript
Patterns:
[the] remaining air of %living entities%
%living entities%'[s] remaining air
How much time a player has left underwater before starting to drown.

Example:

player's remaining air is less than 3 seconds:
    send "hurry, get to the surface!" to the player

Remove NBT from item

Addon: Skellett
Patterns:
%itemstacks% with [all] removed NBT

remove[ed] [all] NBT [from] %itemstacks%
Removes NBT from an item.

This will make your item back to normal. It's great for making shiny effects that toggle on and off.

Example:

give player player's tool with all removed NBT

Resident data (chat name)

Addon: Umbaska
Patterns:
resident data chat name of %player%
Plugin requires: Towny
Returns chat name of player

Example:

if resident data chat name of player contains "Swag":
    send "No... Just... No..."

Resident data (friends)

Addon: Umbaska
Patterns:
resident data friends of %player%
Plugin requires: Towny
Returns friends list of player ([output, like, this])

Example:

set {_Friends} to resident data friends of player

Resident data (last online date)

Addon: Umbaska
Patterns:
resident data last online date of %player%
Plugin requires: Towny
Returns last online date according to Towny (DD/MM/YY TIME)

Example:

set {_Online} to resident data last online date of player

Resident data (last online)

Addon: Umbaska
Patterns:
resident data last online of %player%
Plugin requires: Towny
Returns last online time of a player according to Towny (DD/MM/YY @ TIME)

Example:

set {_LastOnline} to resident data last online of player

Resident data (nation ranks)

Addon: Umbaska
Patterns:
resident data nation ranks of %player%
Plugin requires: Towny
Returns nation ranks of player

Example:

set {_Ranks} to resident data nation ranks of player

Resident data (registered)

Addon: Umbaska
Patterns:
resident data registered of %player%
Plugin requires: Towny
Returns date and time registered

Example:

set {_Reg} to resident data registered of player

Resident data (surname)

Addon: Umbaska
Patterns:
resident data surname of %player%
Plugin requires: Towny
Returns players surname

Example:

set {_Surname} to resident data surname of player

Resident data (title)

Addon: Umbaska
Patterns:
resident data title of %player%
Plugin requires: Towny
Returns players title

Example:

set {_Title} to resident data title of player

RGB Color

Addon: TuSKe
Patterns:
R[ed, ]G[reen and ]B[blue] [colo[u]r[s]] of %item stacks/colors%
%item stacks/colors%'[s] R[ed, ]G[reen and ]B[blue] [colo[u]r[s]]

(red|green|blue) colo[u]r of %item stacks/colors%
%item stacks/colors%'[s] (red|green|blue) colo[u]r
Returns the rgb color of item stack or color. You can set these values only for item stacks, in this case, leather armors.
The RGB color returns a list with 3 numbers and the other expressions returns which one separated.

Example:

set {_PlayerEquipaments::*} to player's helmet, player's chestplate, player's leggings and player's boots #Must be leather armor

set rgb color of {_PlayerEquipaments::*} to rgb of color red
add 1 to red color of {_PlayerEquipaments::*}
remove 1 from green color of {_PlayerEquipaments::*}
set blue color of {_PlayerEquipaments::*} to 30

RGB to Hex

Addon: skUtilities
Patterns:
convert rgb %number, %number, %number to hex
rgb %number%, %number%, %number% as hex
Converts a rgb color to a hex color

Example:

convert rgb 255, 255, 255 to hex

Role of player

Addon: SkRambled
Patterns:
role of [the player] %player%
Plugin requires: Factions
Gets the role of a player
Add example

Roles in Guild

Addon: Vixio
Patterns:
[discord] roles in guild %string%
Add description
Add example

Roman Numeral

Addon: SkQuery
Patterns:
roman num(ber|eral)
Converts an arabic number to roman number.
See also: Arabic Numeral

Example:

set {roman} to roman number 500

Rounding

Addon: Skript
Patterns:
floor(%number%)
[(a|the)] round[ed] down %number%
round(%number%)
[(a|the)] round[ed] %number%
ceil[ing](%number%)
[(a|the)] round[ed] up %number%
Rounds numbers normally, up (ceiling) or down (floor) respectively.

Example:

set {var} to rounded health of player
set line 1 of the block to round(1.5 * player's level)
set {_x} to floor({_y}) - ceil({_x})
add rounded down argument to the player's health

Rounding Decimals

Addon: ExtrasSK
Patterns:
%number% rounded [to] %number% decimal (digit[s]|place[s])
Round a decimal to an amount of places.

Example:

set {_hp} to health of entity
broadcast "%{_hp} rounded to 1 decimal place% / %max health of {_hp}%"

Rows Number

Addon: SkMorkaz
Patterns:
row [number] of %inventory%
It returns number of rows of specific inventory.

Example:

#Not tested

loop (row of player's current inventory)*9 times:
    add slot "%loop-number - 1%" parsed as number of player's current inventory to {_items::*}

Saturation

Addon: ExtrasSK
Patterns:
[the] saturation [level] of %player%
%player%'s saturation [level]
The current saturation of player, if you don't know what it is, ignore this expression, or check out this: Saturation

Example:

set the saturation of player to 10
if saturation of player is more than 0:
    set saturation of player to 0

Script Name

Addon: Skript
Patterns:
[the] script[['s] name]
Holds the current script's name (the file name without '.sk').

Example:

on script load:
    set {running.%script%} to true
on script unload:
    set {running.%script%} to false

Seconds Running

Addon: Vixio
Patterns:
seconds running for (bot|user) %string%
Add description
Add example

Server Icon

Addon: SkQuery
Patterns:
[the] server icon
Add description
Add example

Server IP

Addon: WildSkript
Patterns:
server['s] ip
Returns server's. Remember - IP doesn't contain port!

Example:

set {_ip} to server's ip

Server motd

Addon: SkAction
Patterns:
server motd
%server motd%
Server motd getter.

Example:

set {_motd} to server motd
send "%server motd%"

Server Name

Addon: WildSkript
Patterns:
server['s] name
Returns server's name. This name is set in the server configuration file (server.properties).

Example:

set {_name} to server's name

Server Port

Addon: WildSkript
Patterns:
server['s] port
Returns server's port into number.

Example:

set {_port} to server's port

Server Port and IP

Addon: MundoSK
Patterns:
[mundo[sk]] [the] ip of server
[mundo[sk]] [the] server's ip
[mundo[sk]] [the] port of server
[mundo[sk]] [the] server's port
Returns the server's port or ip.
Add example

Server TPS

Addon: Umbaska
Patterns:
tps 
Returns Server TPS (ticks per second).
Req: Umbaska 1.5

Example:

set {_tps} to tps

Server TPS

Addon: ExertSK
Patterns:
[exter] [server] TPS
Get the server TPS (ticks per second). Maximum is 20, anything below 17 might be noticeable as lag.

Example:

set {_tps} to server TPS
set {_tpspercent} to 100 - ({_tps} * 5}
message "The server is lagging %{_tpspercent}% %%"

Shiny Item

Addon: SkRayFall
Patterns:
shiny %itemstack%
Show Items by:
  • Glow

Makes an item glow as an enchanted item but without the lore

Example:

command /give:
    trigger:
        give player shiny stick

Shooter

Addon: Skript
Patterns:
[the] shooter [of %projectile%]
The shooter of a projectile.
As of Skript 2.1, this can be changed to fake the shooter of the projectile.

Example:

shooter is a skeleton
add 1 to {game.points.%shooter of {game.ball}%}

Shot arrow

Addon: Skellett
Patterns:
[skellett] [(event|get)] [the] shot (arrow|projectile)
Grab the litteral arrow from the event "on entity shoot:"

Keep in mind that if you want to change the arrow into a different entity. You must do it directly after the event. You can't have a wait delay before changing it. #SpigotRulesMan

Example:

on entity shoot:
    if event-entity is a player:
        #Arrow projectile:

        #Make it so bows will only shoot snowballs :P

        broadcast "%shot arrow%"
        spawn snowball at location above player
        #Skript doesn't have a proper way to define an entity. So I'm using this spawning method workaround.

        #I might make an effect to define a projectile and create data on top of that projectile, Like name etc.

        set shot projectile to last spawned snowball
        push shot projectile in direction of player at speed (arrow speed + 0.25)
        broadcast "%shot projectile%"
        
        #Playing around with some stuff :D

        spawn a pig at location above player
        set shot projectile to last spawned entity
        broadcast "&c%ground state of shot projectile%"
        push shot projectile in direction of player at speed (arrow speed + 0.5)
        while ground state of shot projectile is false:
            push shot projectile upwards at speed 0.15
            wait 2 ticks
        broadcast "%shot projectile%"

Shot bow

Addon: Skellett
Patterns:
[skellett] [(event|get)] bow
Grab the litteral bow from the event "on entity shoot:"

Example:

on entity shoot:
    broadcast "%bow%"
    broadcast "%name of bow%"

Sign Text

Addon: Skript
Patterns:
[the] line %number% [of %block%]
[the] (1st|first|2nd|second|3rd|third|4th|fourth) line [of %block%]
A line of text on a sign. Can be changed, but remember that there is a 16 character limit per line (including colour codes that use 2 characters each).

Example:

on rightclick on sign:
    line 2 of the clicked block is "[Heal]":
        heal the player
    set line 3 to "%player%"

Silent state

Addon: Skellett
Patterns:
(silent|quiet) [state] [of] [entit(y|ies)] %entitys%
Makes a entity not make any noise. Meaning they won't make any idle sounds

This expression only works for spigot 1.10+

Example:

set silent state of target entity to true

Single ID Score Value

Addon: SkRayFall
Patterns:
score (name|title) (of|from) id %string%

score (value|number) (of|from) id %string%
These expressions will get either the name or value of a ID based score.
Add example