Creating AFK Zones
Zones are created in-game - no coordinates, no restart. You need optimalafkzone.admin.
1. Select a region
Section titled โ1. Select a regionโ/afkzoneadmin wand- Left-click a block โ position 1
- Right-click a block โ position 2
The two positions are opposite corners of a cuboid. A live particle outline follows your selection. Pick corners that cover the floor and enough height above it.
2. Create the zone
Section titled โ2. Create the zoneโ/afkzoneadmin create spawnThis copies zones/_template.yml, writes your Region and a display name into it, and saves it as
zones/spawn.yml. The zone is live immediately. Stand inside to see the countdown and enter message.
Managing zones
Section titled โManaging zonesโ/afkzoneadmin list # list every zone/afkzoneadmin tp spawn # teleport to a zone's center/afkzoneadmin outline spawn # toggle a zone's particle outline/afkzoneadmin delete spawn # delete a zone/afkzoneadmin reload # apply config edits (keeps active sessions)- Edit the template (
zones/_template.yml) to change what every new zone looks like - the copy preserves anything you add. Files starting with_are ignored by the loader. - Editing a zone: change any field in
zones/<zone>.yml, then/afkzoneadmin reload. Players keep their progress; changes apply on the next tick. - Overlaps: a player is only ever in one zone - the one with the higher
Settings.Priority. - No idle detection, no player cap - presence alone accrues time.
See zones.yml for every field a zone file supports.