Skip to content

Creating AFK Zones

Zones are created in-game - no coordinates, no restart. You need optimalafkzone.admin.

/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.

/afkzoneadmin create spawn

This 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.

/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.