Plugins · Check
WorldGuard allows building
Whether WorldGuard would let a player build at a location: members can, and a build flag of allow or deny decides for everyone.
m.region.wg_can_build
In a flow
“When a player uses a command → If WorldGuard allows building → Place the shop.”
When a player uses a command → If WorldGuard allows building → Place the shop.
What it does
Whether WorldGuard would let a player build at a location: members can, and a build flag of allow or deny decides for everyone. It's a check: put it in an If, and the flow goes one way when it's true and the other when it isn't. Find it under Plugins in the palette.
When to use it
Use it when the flow needs to: whether WorldGuard would let a player build at a location: members can, and a build flag of allow or deny decides for everyone.
When not to
To pick between more than two outcomes, Switch or Random reads better than a chain of checks.
Typical wiring
Sockets: settings you can wire
- Where Location
-
Where: wire a location in, like Location from Player location, or type world x y z.
What goes there: Type it in the side panel, or wire in a location. e.g. world 10.5 64 -3.2
If it's empty: Optional. Left empty and unwired, the step runs without it.
- Player Player
-
The player to use: leave unwired for the player who started the flow, or wire one in.
What goes there: Type it in the side panel, or wire in a player. e.g. Alex
If it's empty: Optional. Left empty and unwired, the step runs without it.