2.2-dev20 (inventory name)
2.4 (non-living entity support, changeable inventory name)
2.7 (worlds)
Examples:
Patterns: |
|
Since: | 2.0, 2.2-dev34 (inventories) |
Return Type: | Object |
set name of <item/inventory> to <text>
. Examples:
Patterns: |
|
Since: | 2.7 |
Return Type: | Entity |
Examples:
Patterns: |
|
Since: | 2.5 |
Return Type: | Text |
Examples:
Patterns: |
|
Since: | 2.5 |
Return Type: | long |
Examples:
Patterns: | |
Since: | 2.10 |
Return Type: | Node |
Examples:
Patterns: |
|
Since: | 1.4 |
Return Type: | Date |
Examples:
Patterns: | |
Since: | 2.5 |
Return Type: | long |
Examples:
Patterns: | |
Since: | 1.4.6 (integers & numbers), 2.5.1 (decimals) |
Return Type: | Number |
Examples:
Patterns: |
|
Since: | 2.2-dev35 |
Return Type: | Offline Player |
Examples:
Patterns: |
|
Since: | 2.3 |
Requirements: | Paper (fake count) |
Return Type: | long |
real online player count
always return the real count of online players and can't be changed. Examples:
Patterns: | |
Since: | 2.2-dev24, 2.2-dev35 (Just 'current inventory' works in player events) |
Return Type: | Inventory |
Examples:
Patterns: | |
Since: | 2.0 |
Return Type: | Object |
set {parsed::*} to message parsed as "..."
.Examples:
Patterns: |
|
Since: | 2.0 |
Return Type: | Text |
Examples:
Patterns: | |
Since: | 2.0, 2.2-dev26 (Multiple passengers for 1.11.2+) |
Return Type: | Entity |
Examples:
Patterns: | |
Since: | 2.8.0 |
Return Type: | Number |
Examples:
Patterns: |
|
Since: | 2.7 |
Return Type: | double |
Examples:
Patterns: | |
Since: | 2.2-dev36 |
Return Type: | long |
Examples:
Patterns: |
|
Since: | 2.6 |
Return Type: | Item Type |
Examples:
Patterns: | |
Since: | 2.10 |
Requirements: | Spigot 1.19+ |
Return Type: | Text |
Examples:
Patterns: | |
Since: | 2.6.2 |
Requirements: | Paper 1.12.2 or newer |
Return Type: | integer |
Examples:
Patterns: |
|
Since: | 2.0 |
Return Type: | Item Type |
Examples:
Patterns: | |
Since: | 2.2-dev34 |
Return Type: | Weather Type |
Examples:
Patterns: |
|
Since: | 2.4 |
Usable in events: | portal_create |
Return Type: | Block |
Examples:
Patterns: | |
Since: | 2.8.0 |
Return Type: | Timespan |
Examples:
Patterns: |
|
Since: | 2.5.2 |
Return Type: | Potion Effect |
Examples:
Patterns: |
|
Since: | 2.7 |
Return Type: | integer |
Examples:
Patterns: |
|
Since: | 2.5.2 |
Return Type: | Potion Effect |
Examples:
Patterns: | |
Since: | 2.0, 2.10 (delete) |
Requirements: | Vault, a chat plugin that supports Vault |
Return Type: | Text |
Examples:
Patterns: |
|
Since: | 2.5.1 |
Return Type: | Boolean |
Examples:
Patterns: |
|
Since: | 2.3 |
Usable in events: | server list ping |
Requirements: | Paper 1.12.2 or newer |
Return Type: | long |
Examples:
Patterns: |
|
Since: | 2.10 (experimental) |
Return Type: | Queue |
using queues
experimental feature flag to be enabled.Creates a new queue. A queue is a set of elements that can have things removed from the start and added to the end.
Any value can be added to a queue. Adding a non-existent value (e.g. `{variable that isn't set}`) will have no effect. This means that removing an element from the queue will always return a value unless the queue is empty.
Requesting an element from a queue (e.g. `the 1st element of {queue}`) also removes it from the queue.
Examples:
Patterns: | |
Since: | 2.10 (experimental) |
Return Type: | Object |
using queues
experimental feature flag to be enabled.The first or last element in a queue. Asking for this does not remove the element from the queue.
This is designed for use with the add
changer: to add or remove elements from the start or the end of the queue.
Examples:
Patterns: |
|
Since: | 2.8.0 |
Requirements: | Paper 1.16.5+ |
Return Type: | Quit Reason |
Examples:
Patterns: | |
Since: | 2.8.0 |
Return Type: | Text |
Examples:
Patterns: | |
Since: | 1.4, 2.10 (Multiple random numbers) |
Return Type: | Number |
random number between 2 and 1
will work as well as random number between 1 and 2
. Examples:
Patterns: |
|
Since: | 2.5.1 |
Return Type: | Text |
Examples:
Patterns: |
|
Since: | unknown (2.2) |
Return Type: | Text |
Examples:
Patterns: |
|
Since: | 2.8.0 |
Usable in events: | ready arrow |
Return Type: | Item |
Examples:
Patterns: | |
Since: | 2.1 |
Requirements: | Supported regions plugin |
Return Type: | Offline Player |
Examples:
Patterns: | |
Since: | 2.1 |
Requirements: | Supported regions plugin |
Return Type: | Region |
Examples:
Patterns: |
|
Since: | 2.0 |
Return Type: | Timespan |
Examples:
Patterns: | |
Since: | 2.9.0 |
Requirements: | Spigot 1.19.4+ |
Return Type: | Timespan |
Examples:
Patterns: |
|
Since: | 2.2-dev35 |
Return Type: | Location |
Examples:
Patterns: |
|
Since: | 2.10 |
Return Type: | Object |
Examples:
Patterns: |
|
Since: | 2.10 |
Return Type: | Object |
Examples:
Patterns: |
|
Since: | 2.10 |
Return Type: | Object |
Examples:
Patterns: | |
Since: | 2.0 |
Return Type: | long |
Examples:
Patterns: | |
Since: | 2.2-Fixes-v10, 2.2-dev35 (fully modifiable), 2.6.2 (syntax pattern changed) |
Return Type: | Number |
Examples:
Patterns: | |
Since: | 2.3 |
Return Type: | Text |
Examples:
Patterns: | |
Since: | 2.0 |
Return Type: | Script |
Examples:
Patterns: | |
Since: | 2.7 |
Return Type: | integer |
Examples:
Patterns: | |
Since: | 2.10 |
Return Type: | long |
Examples:
Patterns: |
|
Since: | 2.8.0 |
Usable in events: | send command list |
Return Type: | Text |
Examples:
Patterns: |
|
Since: | 2.3 |
Requirements: | Paper 1.12.2 or newer |
Return Type: | Server Icon |
Examples:
Patterns: |
|
Since: | 1.3.7 |
Return Type: | Living Entity |
Examples:
Patterns: | |
Since: | 1.3 |
Return Type: | Text |
Examples:
Patterns: |
|
Since: | 2.9.0, 2.10 (of items) |
Return Type: | Offline Player |
Examples:
Patterns: | |
Since: | 2.2-dev35, 2.8.0 (raw index) |
Return Type: | long |
Examples:
Patterns: |
|
Since: | 2.10 |
Requirements: | Minecraft 1.20.2+, Minecraft 1.20.5+ (comparisons) |
Return Type: | Entity Snapshot |
Examples:
Patterns: |
|
Since: | 2.3 |
Return Type: | Spawn Reason |
Examples:
Patterns: | |
Since: | 2.4, 2.9.2 (trial spawner) |
Return Type: | Entity Type |
Examples:
Patterns: |
|
Since: | 2.2-dev32d |
Return Type: | Number |
Examples:
Patterns: | |
Since: | 2.4-alpha4, 2.7 (Paper Spectator Event) |
Requirements: | Paper |
Return Type: | Entity |
Examples:
Patterns: | |
Since: | unknown (before 2.1) |
Return Type: | Number |
Examples:
Patterns: |
|
Since: | 2.1, 2.5.2 (character at, multiple strings support) |
Return Type: | Text |
Examples:
Patterns: |
|
Since: | 2.2-dev36 |
Return Type: | Number |
Examples:
Patterns: |
|
Since: | 2.10 |
Requirements: | Paper (paper tags) |
Return Type: | Minecraft Tag |
Examples:
Patterns: |
|
Since: | 2.10 |
Return Type: | Text |
Examples:
Patterns: |
|
Since: | 2.10 |
Return Type: | Object |
Examples:
Patterns: |
|
Since: | 2.10 |
Requirements: | Paper (paper tags) |
Return Type: | Minecraft Tag |
Examples:
Patterns: |
|
Since: | 2.2-dev25 |
Return Type: | Player |
Examples:
Patterns: |
|
Since: | 1.4.2, 2.7 (Reset), 2.8.0 (ignore blocks) |
Return Type: | Entity |
Examples:
Patterns: |
|
Since: | 1.0, 2.9.0 (actual/exact) |
Return Type: | Block |
Examples:
Patterns: |
|
Since: | 2.2-dev35 |
Return Type: | Teleport Cause |
Examples:
Patterns: | |
Since: | 2.10 |
Return Type: | Display Text Alignment |
Examples:
Patterns: | |
Since: | 2.10 |
Return Type: | integer |
Examples:
Patterns: | |
Since: | 2.10 |
Return Type: | byte |
Examples:
Patterns: | |
Since: | 2.10 |
Return Type: | Text |
Examples:
Patterns: |
|
Since: | 2.7 |
Usable in events: | Egg Throw |
Return Type: | Projectile |
Examples:
Patterns: | |
Since: | 1.0 |
Return Type: | Time |
Examples:
Patterns: |
|
Since: | 2.5, 2.7 (offline players) |
Requirements: | MC 1.15+ (offline players) |
Return Type: | Timespan |
<none>
. Examples:
Patterns: | |
Since: | 2.5, 2.10 (time until) |
Return Type: | Timespan |
Examples:
Patterns: |
|
Since: | 2.9.0 |
Return Type: | long |
Examples:
Patterns: |
|
Since: | 1.0 |
Return Type: | Slot |
Examples:
Patterns: | |
Since: | 2.7 |
Return Type: | integer |
Examples:
Patterns: |
|
Since: | 2.8.0 |
Return Type: | Transform Reason |
Examples:
Patterns: | |
Since: | 2.10 |
Return Type: | Object |
Examples:
Patterns: |
|
Since: | 1.4, 2.5.2 (potion effect), 2.7 (block datas), 2.10 (enchantment type) |
Return Type: | Object |
Examples:
Patterns: |
|
Since: | 2.1.2, 2.2 (offline players' UUIDs), 2.2-dev24 (other entities' UUIDs) |
Return Type: | Text |
Examples:
Patterns: |
|
Since: | 2.2-dev13b, 2.9.0 (breakable) |
Return Type: | Item Type |
Examples:
Patterns: |
|
Since: | 2.10 |
Usable in events: | Unleash |
Return Type: | Unleash Reason |
Examples:
Patterns: |
|
Since: | 2.10 (Nodes), 2.10 (Any) |
Return Type: | Object |
Examples:
Patterns: | |
Since: | 2.7 |
Return Type: | Object |
Examples:
Patterns: |
|
Since: | 2.2-dev28, 2.10 (quaternions) |
Return Type: | Number |
Examples:
Patterns: | |
Since: | 2.2-dev28 |
Return Type: | Location |
Examples:
Patterns: |
|
Since: | 2.8.0 |
Return Type: | Vector |
Examples:
Patterns: | |
Since: | 2.2-dev28 |
Return Type: | Vector |
Examples:
Patterns: | |
Since: | 2.2-dev28 |
Return Type: | Number |
Examples:
Patterns: |
|
Since: | 2.2-dev28, 2.7 (signed components) |
Return Type: | Vector |
Examples:
Patterns: | |
Since: | 2.2-dev28 |
Return Type: | Vector |
Examples:
Patterns: |
|
Since: | 2.0 |
Return Type: | Text |
Examples:
Patterns: |
|
Since: | 2.3 |
Usable in events: | Server List Ping |
Requirements: | Paper 1.12.2+ |
Return Type: | Text |
Examples:
Patterns: | |
Since: | 2.4 |
Requirements: | Paper |
Return Type: | integer |
Examples:
Patterns: | |
Since: | 2.5 |
Requirements: | 1.13.2+ |
Return Type: | long |
Examples:
Patterns: |
|
Since: | 2.10 |
Return Type: | Number |
Examples:
Patterns: |
|
Since: | 2.10 |
Return Type: | Villager Profession |
Examples:
Patterns: |
|
Since: | 2.10 |
Return Type: | Villager Type |
Examples:
Patterns: | |
Since: | 1.0 |
Usable in events: | weather change |
Return Type: | Weather Type |
Examples:
Patterns: |
|
Since: | 2.9.0 |
Return Type: | Boolean |
Examples:
Patterns: |
|
Since: | 2.5.2, 2.9.0 (delete) |
Return Type: | Offline Player |
Examples:
Patterns: | |
Since: | 2.9.0 |
Requirements: | Spigot 1.20.5+ |
Return Type: | Item Type |
Examples:
Patterns: | |
Since: | 1.0 |
Return Type: | World |
Examples:
Patterns: | |
Since: | 2.7 |
Return Type: | World Environment |
Examples:
Patterns: |
|
Since: | 1.0 |
Return Type: | World |
Examples:
Patterns: |
|
Since: | 1.2 |
Return Type: | Object |
Examples:
Patterns: | |
Since: | 2.0, 2.2-dev28 (vector yaw/pitch), 2.9.0 (entity changers) |
Requirements: | Paper 1.19+ (player changers) |
Return Type: | float |
Examples: