Restricted zones¶
Rooms only some players may stand in.
Written for the VIP lounge, which is the thing every server wants and nobody quite has: a room that is visibly there, that everybody can see the door of, and that only pays out for the people who bought their way in. The mechanism is general though - the same box gates a staff area, a build team's room, or a boss arena that opens at a rank.
Making one¶
Stand in the middle of it:
Then hand the permission to a rank:
That is the whole setup. Entry is a permission, so it works with whatever manages your ranks. There is no VIP list here and no rank ladder - a zone asks LuckPerms a question and acts on the answer.
What happens to somebody without it¶
They are moved out.
That is deliberate rather than blocking them at the border. Blocking movement
produces the rubber-band that players read as lag and staff read as a bug
report, and it fails completely against a pearl. Moving them out is honest, and
it survives every way of arriving: walking in, pearling in, /home, or logging
back in inside after their rank lapsed.
Teleports are the one exception. Those are refused outright, so somebody
running /home into a lounge simply does not go, rather than arriving and
being bounced a tick later.
Where they end up¶
| Action | Where they go |
|---|---|
push-back |
The last place they stood outside any zone |
spawn |
Straight to spawn |
warp |
The named warp |
push-back falls back to spawn for somebody who has not got a last position -
they logged in inside, or the server just restarted. Dropping them at the
border would put them straight back in.
Other settings¶
emberessentials.zone.bypass gets staff into everything.
message-cooldown-seconds in zones.yml limits how often somebody walking
along a wall is told about it. Without it that prints a line every tick.
Not the same as AFK zones¶
AFK zones are a different feature that happens to also be a box: they mark people as away rather than keeping them out. A server can have both, and they can overlap.