Elementium Sign in
Contents

Players · Value

Everyone online

Everyone online right now, how many that is and how many the server has room for.

Basic plan m.player.online

In a flow

“When a player joins → Answer: {node.o.count} players online.”

When a player joins → Answer: {node.o.count} players online.

What it does

Everyone online right now, how many that is and how many the server has room for. It's a value node: no white pins, it works out its answer when a step wired to it needs it. It gives 3 values later steps can use. Find it under Players in the palette.

When to use it

Use it when the flow needs to: everyone online right now, how many that is and how many the server has room for.

When not to

For a value that never changes, type it into the setting instead of wiring a node.

Typical wiring

Values it gives

Players list:player

Everyone who is on. e.g. Alex, Sam

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 onboarding questionAdd to listAdd up timesAutoMod: add or remove allowed wordsAutoMod: add or remove wordsAutoMod: block wordsBar chartBest by a fieldand 88 more

Count Number

How many are on. e.g. 2

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

Room for Number

The server's player limit. e.g. 20

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 Players

Wires and sockets · Data values · Plans