Server & admin · Check
Is the server whitelist enforced
True when the server is whitelist enforced. Paper: the server whitelist is enforced.
Basic plan
m.srv.server.is_whitelist_enforced
In a flow
“When a player types /setup → If Is the server whitelist enforced → Answer Yes!”
When a player types /setup → If Is the server whitelist enforced → Answer Yes!
What it does
True when the server is whitelist enforced. Paper: the server whitelist is enforced. It's a check: put it in an If, and the flow goes one way when it's true and the other when it isn't. Find it under Server & admin in the palette.
When to use it
Use it when the flow changes the server itself: true when the server is whitelist enforced. Paper: the server whitelist is enforced.
When not to
To pick between more than two outcomes, Switch or Random reads better than a chain of checks.