Regions & protection · Value
Region facts
A region's world, its corners, its size on each side, its volume, its centre, its priority and how many flags and people it has.
m.region.info
In a flow
“When a player uses a command → Region facts of arena → Answer: {node.v.volume} blocks.”
When a player uses a command → Region facts of arena → Answer: {node.v.volume} blocks.
What it does
A region's world, its corners, its size on each side, its volume, its centre, its priority and how many flags and people it has. It's a value node: no white pins, it works out its answer when a step wired to it needs it. It gives 11 values later steps can use. Find it under Regions & protection in the palette.
When to use it
Use it when the flow needs to: A region's world, its corners, its size on each side, its volume, its centre, its priority and how many flags and people it has.
When not to
For a value that never changes, type it into the setting instead of wiring a node.
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
Values it gives
- World Text
-
The world it is in. e.g. world
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
- Low corner Location
-
The corner with the smallest numbers. e.g. world 20 60 20
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 554 more
- High corner Location
-
The corner with the largest numbers. e.g. world 30 70 30
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 554 more
- Width (x) Number
-
East-west size, in blocks. e.g. 11
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccount ageActive membersAddAdd answer to formAdd soundboard soundAdd timeAdd to a counterAdd to a leaderboardand 719 more
- Height (y) Number
-
Up-down size, in blocks. e.g. 11
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccount ageActive membersAddAdd answer to formAdd soundboard soundAdd timeAdd to a counterAdd to a leaderboardand 719 more
- Depth (z) Number
-
North-south size, in blocks. e.g. 11
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccount ageActive membersAddAdd answer to formAdd soundboard soundAdd timeAdd to a counterAdd to a leaderboardand 719 more
- Volume Number
-
Blocks inside. e.g. 1331
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccount ageActive membersAddAdd answer to formAdd soundboard soundAdd timeAdd to a counterAdd to a leaderboardand 719 more
- Centre Location
-
The middle of the box. e.g. world 25.5 65.5 25.5
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 554 more
- Priority Number
-
Its priority. e.g. 0
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccount ageActive membersAddAdd answer to formAdd soundboard soundAdd timeAdd to a counterAdd to a leaderboardand 719 more
- Flags Number
-
How many flags are set. e.g. 2
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccount ageActive membersAddAdd answer to formAdd soundboard soundAdd timeAdd to a counterAdd to a leaderboardand 719 more
- People Number
-
How many members and owners it has. e.g. 3
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccount ageActive membersAddAdd answer to formAdd soundboard soundAdd timeAdd to a counterAdd to a leaderboardand 719 more