-
Notifications
You must be signed in to change notification settings - Fork 1
Execute Command Effect
Nischhelm edited this page Mar 20, 2026
·
4 revisions
- 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