Categories: Equipped Armor | Equipped Tool | GUI | Input | Looking at | Mod related | Player | Position | Server | Settings | Time and Date | World

Equipped Armor

Name Description
%BOOTSDAMAGE%

Maximum uses of the Players boots

%BOOTSDURABILITY%

Durability of the Players boots

%BOOTSID%

ID of the Players boots

%BOOTSNAME%

Displayname of the Players boots

%CHESTPLATEDAMAGE%

Maximum uses of the Players chestplate

%CHESTPLATEDURABILITY%

Durability of the Players chestplate

%CHESTPLATEID%

ID of the Players chestplate

%CHESTPLATENAME%

Displayname of the Players chestplate

%HELMDAMAGE%

Maximum uses of the Players helm

%HELMDURABILITY%

Durability of the Players helm

%HELMID%

ID of the Players helm

%HELMNAME%

Displayname of the Players helm

%LEGGINGSDAMAGE%

Maximum uses of the Players leggings

%LEGGINGSDURABILITY%

Durability of the Players leggings

%LEGGINGSID%

ID of the Players leggings

%LEGGINGSNAME%

Displayname of the Players leggings

Equipped Tool

Name Description
%ATTACKPOWER%

Attack power

%ATTACKSPEED%

Attack speed

%BOWCHARGE% %COOLDOWN%

Cooldown

%DURABILITY%

Durability of the equipped item

%ITEM%

ID of the equipped item

%ITEMCODE%

Internal code for the equipped item

%ITEMDAMAGE%

Maximum uses of the equipped item

%ITEMIDDMG%

ID and durability seperated by a colon of the equipped item

%ITEMNAME%

Displayname for the equipped item

%ITEMUSEPCT%

Previous value as percent of total useage time

%ITEMUSETICKS%

All usable items increase this value once per tick

%OFFHANDCOOLDOWN%

Offhand cooldown

%OFFHANDDURABILITY%

Durability of the offhand item

%OFFHANDITEM%

ID of the offhand item

%OFFHANDITEMCODE%

Internal code for the offhand item

%OFFHANDITEMDAMAGE%

Maximum uses of the offhand item

%OFFHANDITEMIDDMG%

ID and durability seperated by a colon of the offhand item

%OFFHANDITEMNAME%

Displayname for the offhand item

%OFFHANDSTACKSIZE%

Stacksize of the offhand item

%STACKSIZE%

Stack size of the equipped item

GUI

Name Description
%CONTAINERSLOTS%

Amount of slots in opened container

%DISPLAYHEIGHT%

Height of the minecraft window

%DISPLAYWIDTH%

Width of the minecraft window

%GUI%

Name of the currently open GUI

%INVSLOT%

Selected inventory slot

Input

Name Description
%~ALT%

Whether the Alt key was pressed at the start of the script

%~CTRL%

Whether the Control key was pressed at the start of the script

%~KEY_<name>%

Whether the specified key was pressed at the start of the script

%~LMOUSE%

Whether the left mouse button was pressed at the start of the script

%~MIDDLEMOUSE%

Whether the middle mouse button was pressed at the start of the script

%~RMOUSE%

Whether the right mouse button was pressed at the start of the script

%~SHIFT%

Whether the Shift key was pressed at the start of the script

%ALT%

Whether the Alt key is pressed

%CTRL%

Whether the Control key is pressed

%KEY_<name>%

Whether the key with the specified LWJGL keyname is pressed

%KEYID%

Key ID of the key that started this script

%KEYNAME%

Keyname of the key that started this script

%LMOUSE%

Whether the left mouse button is pressed

%MIDDLEMOUSE%

Whether the middle mouse button is pressed

%RMOUSE%

Whether the right mouse button is pressed

%SHIFT%

Whether the Shift key is pressed

Looking at

Name Description
%HIT%

Type of the thing the Player is looking at

%HIT_<name>%

Value of the specified property of the block the Player is looking at

%HITDATA%

Metadata of the thing the Player is looking at

%HITID%

ID of the thing the Player is looking at

%HITNAME%

Displayname of the thing the Player is looking at

%HITPROGRESS%

Block breaking progress of the block the Player is looking at

%HITSIDE%

Block side of the block the Player is looking at

%HITUUID%

UUID of the looked at entity or player

%HITX%

X position of the block the Player is looking at

%HITY%

Y position of the block the Player is looking at

%HITZ%

Z position of the block the Player is looking at

%SIGNTEXT[]%

Array of lines on a sign the Player is looking at

Mod related

Name Description
%CONFIG%

Loaded config

%SCREEN%

Name of the current custom GUI

%SCREENNAME%

Display name of the current custom GUI

%UNIQUEID%

Returns a new UUID everytime it is accessed

Player

Name Description
%ARMOUR%

Armour points (each icon equals 2 points)

%CANFLY%

Whether the Player can fly

%DISPLAYNAME%

Player's displayname

%FLYING%

Whether the Player is flying

%GAMEMODE%

Gamemode of the player as a string

%HEALTH%

Health points (each icon equals 2 points)

%HUNGER%

Hunger points (each icon equals 2 points)

%LEVEL%

XP level

%LIGHT%

Light level at current location

%MODE%

Gamemode of the player as a number

%OXYGEN%

Air Level (from 0 to 300)

%PLAYER%

Player's name

%RESOURCEPACKS[]%

Array of selected resource packs

%SATURATION%

Saturation level (normally hidden from the Player)

%SHADERGROUP%

Selected shader

%SHADERGROUPS[]%

Array of available shaders

%TOTALXP%

Total amount of experience points

%UUID%

UUID of the Player

%VEHICLE%

Vehicle type

%VEHICLEHEALTH%

Vehicle health

%XP%

Current amount of experience points

Position

Name Description
%CARDINALYAW%

Yaw of the player relative to north (YAW + 180)

%DIRECTION%

Direction the Player is looking at, shortened to the first character

%PITCH%

Pitch of the player

%XPOS%

Position in X direction

%XPOSF%

The position in X direction with three decimal places after the comma as a string

%YAW%

Yaw of the player

%YPOS%

Position in Y direction

%YPOSF%

The position in Y direction with three decimal places after the comma as a string

%ZPOS%

Position in Z direction

%ZPOSF%

The position in Z direction with three decimal places after the comma as a string

Server

Name Description
%MAXPLAYERS%

Amount of players the server can hold

%ONLINEPLAYERS%

Amount of players currently on the server

%SERVER%

IP of the server

%SERVERMOTD%

Motto of the day of the server

%SERVERNAME%

Name of the server

Settings

Name Description
%AMBIENTVOLUME%

Volume level for Ambient/Environment

%BLOCKVOLUME%

Volume level for Blocks

%CAMERA%

Current camera mode

%DIFFICULTY%

Difficulty of the world

%FOV%

Field of View

%FPS%

Frames per Second

%GAMMA%

Brightness level

%HOSTILEVOLUME%

Volume level for Hostile Creatures

%MUSIC%

Volume level for Music

%NEUTRALVOLUME%

Volume level for Friendly Creatures

%PLAYERVOLUME%

Volume level for Players

%RECORDVOLUME%

Volume level for Jukebox/Noteblocks

%SENSITIVITY%

Sensitivity

%SOUND%

Master Volume level

%WEATHERVOLUME%

Volume level for Weather

Time and Date

Name Description
%DATE%

Current date in the format "year-month-day"

%DATETIME%

Current date and time in the format "year-month-day hour:minute:second"

%TIME%

Current time in the format "hour:minute:second"

%TIMESTAMP%

UNIX Timestamp

World

Name Description
%BIOME%

Biome the Player is currently in

%CHUNKUPDATES%

Amount of chunk updates

%DAY%

Number of day

%DAYTICKS%

TICKS value modulo 24000 and shifted back 6000 so that 0 aligns with midnight

%DAYTIME%

Ingame time in the format hh:mm

%DIMENSION%

Dimension the Player is in

%LOCALDIFFICULTY%

Local difficulty of the world

%RAIN%

Rain level

%SEED%

Seed of the world (only available in SP)

%TICKS%

current world time value (which will be a static number if doDayNightCycle game rule is false)

%TOTALTICKS%

current total world time (which increases all the time regardless of the gamerule doDayNightCycle)