Elementium Sign in
Contents

Items & inventories · Step

Give everyone an item

Give every player online the same item. Anything that doesn't fit drops at their feet.

Basic plan m.inv.give_all

In a flow

“When an event ends → Give everyone an item: 1 minecraft:golden_apple.”

When an event ends → Give everyone an item: 1 minecraft:golden_apple.

What it does

Give every player online the same item. Anything that doesn't fit drops at their feet. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. It gives 2 values later steps can use. Find it under Items & inventories in the palette.

When to use it

Use it when the flow needs to: give every player online the same item. Anything that doesn't fit drops at their feet.

When not to

If nothing should change in Discord, a value node or a check is lighter.

Typical wiring

Values it gives

Players Number

How many players got it. 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

Given Number

How many items went in, all together. 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

Often next

Related in Items & inventories

Wires and sockets · Data values · Plans