get %op:PLAYER_POSSESSIVE% name
Returns an online player's display name.
set name to get player's name
Every distinct way you can write this pattern, with optional groups and choice groups expanded. Placeholders are shown as <name>.
get <op> name
get %who:PLAYER_POSSESSIVE% location
get %who:PLAYER_POSSESSIVE% world
get player by (name|username) %name:STRING%
get player by (name|username) %name:EXPR%
get player by (uuid|unique id) %uuid:STRING%
get %who:PLAYER_POSSESSIVE% x
get %who:PLAYER_POSSESSIVE% y
get %who:PLAYER_POSSESSIVE% z
get %who:PLAYER_POSSESSIVE% uuid
get %who:PLAYER_POSSESSIVE% (xp level|level)
get %who:PLAYER_POSSESSIVE% eye location
get %who:PLAYER_POSSESSIVE% direction x
get %who:PLAYER_POSSESSIVE% direction y
get %who:PLAYER_POSSESSIVE% direction z