Commands · Value
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.
m.cmd.sender
In a flow
“When a player uses /status → Command sender → If it is the console → Write to the console.”
When a player uses /status → Command sender → If it is the console → Write to the console.
What it does
Who typed the command: a player, or the console when the command lets it. Gives their name and whether they are an operator. It's a value node: no white pins, it works out its answer when a step wired to it needs it. It gives 4 values later steps can use. Find it under Commands in the palette.
When to use it
Use it when the flow needs to: who typed the command: a player, or the console when the command lets it. Gives their name and whether they are an operator.
When not to
For a value that never changes, type it into the setting instead of wiring a node.
Typical wiring
Values it gives
- Kind Text
-
player or console. e.g. player
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 578 more
- Name Text
-
The player's name, or Console. e.g. Alex
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 578 more
- Is a player Yes / no
-
True when a player typed it. e.g. true
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAdd a forum tagAdd onboarding questionAdd to a counterAlarms that are dueAndAutoMod: Discord's word listsBluesky latest postBoard as emojiand 573 more
- Is an operator Yes / no
-
True when a player who is an operator typed it. The console counts too. e.g. false
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAdd a forum tagAdd onboarding questionAdd to a counterAlarms that are dueAndAutoMod: Discord's word listsBluesky latest postBoard as emojiand 573 more