Regions & protection · Step
Set a region flag
Set a rule on a region. deny build stops non-members building; deny enter keeps them out; messages greet or farewell players.
m.region.set_flag
In a flow
“When a player uses a command → Set a region flag on spawn: build is deny.”
When a player uses a command → Set a region flag on spawn: build is deny.
What it does
Set a rule on a region. deny build stops non-members building; deny enter keeps them out; messages greet or farewell players. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. Find it under Regions & protection in the palette.
When to use it
Use it when the flow needs to: set a rule on a region. deny build stops non-members building; deny enter keeps them out; messages greet or farewell players.
When not to
If nothing should change in Discord, a value node or a check is lighter.
Typical wiring
Sockets: settings you can wire
- Region Text
-
The region's name, like spawn. Letters, numbers, - and _.
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 spawn.
Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 845 more
- Value Text
-
Allow or deny for most flags. For enter_message and leave_message, the text players see. Variables allowed; MiniMessage tags like <gold> work.
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 deny.
Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 845 more