Server & admin · Value
Players online
How many players are on the server now, the most it takes, and who they are.
m.server.online_count
In a flow
“When a player joins → Broadcast: {node.on.count} players online.”
When a player joins → Broadcast: {node.on.count} players online.
What it does
How many players are on the server now, the most it takes, and who they are. 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 Server & admin in the palette.
When to use it
Use it when the flow changes the server itself: how many players are on the server now, the most it takes, and who they are.
When not to
For a value that never changes, type it into the setting instead of wiring a node.
Typical wiring
Values it gives
- Online Number
-
How many are on now. e.g. 12
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
- Max players Number
-
How many the server takes. e.g. 100
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
- Players list:player
-
Everyone online, as a list. 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