Elementium Sign in
Contents

Players · Value

Random player

Pick one online player at random, from the whole server or one world, leaving out the player who started the flow if you like.

Basic plan m.player.random

In a flow

“When a player uses a command → Random player → Send a chat message to them: You were picked.”

When a player uses a command → Random player → Send a chat message to them: You were picked.

What it does

Pick one online player at random, from the whole server or one world, leaving out the player who started the flow if you like. It's a value node: no white pins, it works out its answer when a step wired to it needs it. It gives 2 values later steps can use. Find it under Players in the palette.

When to use it

Use it when the flow needs to: pick one online player at random, from the whole server or one world, leaving out the player who started the flow if you like.

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

Player Player

Leave unwired for the player who started the flow, or wire one in, like Player from When a player joins.

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.

World Text

Only players in this world, like world. Empty picks from the whole server.

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, the step runs without it.

Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 845 more

Not them Yes / no

On leaves the player the flow started for out of the pick.

What goes there: Type it in the side panel, or wire in true or false. e.g. true

If it's empty: Optional. Left alone, it's off.

Connects fromAdd a labelAdd to a leaderboardAge from birthdayAI check a messageAnagram checkAndAnswer a deadlineAnti-nuke guardand 270 more

Values it gives

Player Player

The player it's about. Wire it into any Player pin. e.g. Alex

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

Found Yes / no

False when nobody was left to pick. e.g. true

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAdd a forum tagAdd onboarding questionAdd to a counterAlarms that are dueAndAutoMod: Discord's word listsBluesky latest postBoard as emojiand 573 more

Often next

Related in Players

Wires and sockets · Data values · Plans