You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nischhelm edited this page Mar 20, 2026
·
4 revisions
Effect Type: Execute Command
Command, required, command to execute
Using this activatable effect will execute the given command string from the player entity. For convenience, the following flags can be used inside the command string:
%playerName% game profile name of the executing player
%playerUUID% uuid of the game profile, useful if spawning owned entities
%playerX%, %playerY%, %playerZ%, %playerPos% for the position components x y z of the players position, or just all three in a row
same with %targetName%, %targetUUID%, %targetX%, %targetY%, %targetZ%, %targetPos% for the target of this effects activator (can be the player itself if it's a Self target)
Example: "kill %playerName%" to kill the user on activation