Command Placeholders

Command placeholders are placeholders that can be used as placeholders for actual information in certain places, for example in the console_cmd or player_cmd usables actions.

Arcadius’ Placeholders

PlaceholderDescriptionOutput Example
%playerPlayer’s nameJulieWoolie
%player.blockPlayer’s block position43 23 -135
%player.posPlayer’s position43.1564 23.0 -135.156489
%player.worldkeyKey of the player’s worldminecraft:overworld
%player.worldName of the player’s worldworld_the_end
%player.xPlayer’s X coordinate234.343452
%player.yPlayer’s Y coordinate54.000564
%player.zPlayer’s Z coordinate-546.59674
%player.bxPlayer’s X block coordinate234
%player.byPlayer’s X block coordinate54
%player.bzPlayer’s X block coordinate-545
%player.yawPlayer’s yaw rotation90
%player.pitchPlayer’s pitch rotation90
%player.uuidPlayer’s UUIDff09eaf1-b01e-4a17-a6f9-81468ce42f3a

Examples in commands:

  • /tp %player 0 100 0
    Becomes: /tp JulieWoolie 0 100 0
  • /tellraw %player "You are at %player.block yaw=%player.yaw pitch=%player.pitch"
    Becomes: /tellraw JulieWoolie "You are at 12 3 200 yaw=45 pitch=-45"

AncientGates placeholder

PlaceholderDescriptionOutput Example
%pPlayer’s nameJulieWoolie

WorldGuard placeholder

PlaceholderDescriptionOutput Example
%username%Player’s nameJulieWoolie
Last modified: 01.11.2024
commit: Port stuff over from tail-arc theme