Command sender
Who typed the command: a player, or the console when the command lets it. Gives their name and whether they are an operator.
A Minecraft element (a value) in Commands. Needs the Basic plan or higher to go live; building and testing are free.
Example
When a player uses /status → Command sender → If it is the console → Write to the console.
Also called
sender, who ran, console or player, command source, executor
Works as a data pack?
No. This one needs the Elementium plugin on a Paper server.
What it gives back
- Kind
- Name
- Is a player
- Is an operator