Elementium Sign in
Contents

Plugins · Step

Set a WorldGuard flag

Set a WorldGuard flag on a region, like pvp deny or a greeting message. An empty value clears it.

Basic plan m.region.wg_set_flag

In a flow

“When a round starts → Set a WorldGuard flag on arena: pvp is allow.”

When a round starts → Set a WorldGuard flag on arena: pvp is allow.

What it does

Set a WorldGuard flag on a region, like pvp deny or a greeting message. An empty value clears it. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. Find it under Plugins in the palette.

When to use it

Use it when the flow needs to: set a WorldGuard flag on a region, like pvp deny or a greeting message. An empty value clears it.

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

Flag Text

WorldGuard's flag name, like pvp, build, greeting or mob-spawning.

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 pvp.

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 a state flag, or the text for a message flag. Empty clears it.

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

Often next

Related in Plugins

Wires and sockets · Data values · Plans