Server & admin · Value
Max players
How many players the server takes at once, and how many are on now.
m.server.max_players
In a flow
“When a player uses /slots → Max players → Answer: {node.m.free} slots free.”
When a player uses /slots → Max players → Answer: {node.m.free} slots free.
What it does
How many players the server takes at once, and how many are on now. 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 the server takes at once, and how many are on now.
When not to
For a value that never changes, type it into the setting instead of wiring a node.
Typical wiring
Values it gives
- Max players Number
-
The most players allowed. 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
- Online Number
-
How many are on now. 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
- Free slots Number
-
How many more can join. e.g. 18
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