Elementium Sign in
Contents

Starts when · Starts a flow

When a player cannot sleep

Starts when a player tries a bed and cannot sleep (monsters near, wrong time, wrong world).

Basic plan m.on.player_bed_fail_enter

In a flow

“When a player cannot sleep, the steps wired after it run.”

When player bed fail enter → Broadcast {trigger.fail_reason}

What it does

Starts when a player tries a bed and cannot sleep (monsters near, wrong time, wrong world). It starts a flow, and gives the steps after it values about what happened. It gives 5 values later steps can use. Find it under Starts when in the palette.

When to use it

Use it to start a flow when a player cannot sleep.

When not to

If the flow should start from a click or a command instead, pick that trigger: a flow has exactly one.

Typical wiring

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

Bed Block

The bed of the player bed fail enter. e.g. Stone

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

Fail reason Text

The fail reason of the player bed fail enter. e.g. minecraft:stone

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

Message Text

The message of the player bed fail enter. e.g. Elementium

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

Will explode Yes / no

The will explode of the player bed fail enter. 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 Starts when

Wires and sockets · Data values · Plans