Integrations · Step
Run a Minecraft command
Run one console command on the server over RCON and get its answer. RCON must be on (enable-rcon=true), with its password saved as a secret. Think before you fill it from what members type.
mc.rcon
In a flow
“When a button is clicked, run a Minecraft command.”
Staff /mc time day → Run a Minecraft command (time set day) → Reply with the Answer.
What it does
Run one console command on the server over RCON and get its answer. RCON must be on (enable-rcon=true), with its password saved as a secret. Think before you fill it from what members type. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. It gives 1 value later steps can use. Find it under Integrations in the palette.
When to use it
Use it to use another service, like GitHub, the weather or Twitch: run one console command on the server over RCON and get its answer. RCON must be on (enable-rcon=true), with its password saved as a secret. Think before you fill it from what members type.
When not to
If nothing should change in Discord, a value node or a check is lighter.
Typical wiring
Sockets: settings you can wire
- Server Text
-
The server's address for RCON, like play.example.com. Its port is 25575 unless you add another, like :25580.
What goes there: Type it in the side panel, or wire in text. e.g. Hello there
If it's empty: Optional. Left empty and unwired, it uses play.example.com.
Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 844 more
- Command Text
-
The console command, without the /, like time set day. Variables allowed; it's kept to one line.
What goes there: Type it in the side panel, or wire in text. e.g. Hello there
If it's empty: Optional. Left empty and unwired, it uses list.
Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 844 more
Values it gives
- Answer Text
-
What the server said back. e.g. Set the time to 1000
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 577 more