Switch Studio Wiki
SwitchSMP pages

SwitchSMP / Modules

AFK Zones

Pay players money, shards or commands for standing in a zone.

How it works

A player inside an AFK zone gets a reward every interval: money, shards, console commands, or any mix of them. A zone is either a WorldGuard region or a box you mark with two corners. Players open /afk to see every zone and teleport to it.

Create a zone

  1. WorldGuard region: /afkzone add <region>.
  2. Box: stand on one corner and run /afkzone pos1, then the other corner and /afkzone pos2, then /afkzone create <id>.
  3. Run /afkzone setspawn <id> where /afk should teleport players.
  4. Open /afkzone and click the zone to change its interval, rewards and commands in game.

Global shards

With global-shards.enabled: true, players with switchsmp.afkzone.global-shards earn shards anywhere, not only in zones.

Spawn AFK

spawn-afk runs a command for players who stand still at spawn for a while. Use it to move idle players from spawn to the AFK area, for example with warp afk.

Permissions

PermissionWhat it gives
switchsmp.afkzone.adminCreate, edit and delete zones
switchsmp.afkzone.global-shardsEarn shards anywhere
switchsmp.shards.multiplier.<x>Shard rewards times x, for example .2 or .1.5. The highest one counts.

Commands

CommandWhat it doesPermission
/afkBrowse AFK zones.everyone
/afkzone/afkzonesOpen the AFK zone editor.switchsmp.afkzone.admin
/afkzone add <region>/afkzone addregion /afkzones addMake a WorldGuard region an AFK zone.switchsmp.afkzone.admin
/afkzone create <id>/afkzones createCreate an AFK zone from your selection.switchsmp.afkzone.admin
/afkzone delete <id>/afkzone remove /afkzones delete /afkzones removeDelete an AFK zone.switchsmp.afkzone.admin
/afkzone list/afkzones listList AFK zones.switchsmp.afkzone.admin
/afkzone pos1Set the first corner of a new AFK zone.switchsmp.afkzone.admin
/afkzone pos2Set the second corner of a new AFK zone.switchsmp.afkzone.admin
/afkzone reload/afkzones reloadReload afkzone.yml.switchsmp.afkzone.admin
/afkzone setspawn <id>Set where /afk teleports players for a zone.switchsmp.afkzone.admin

Files

FileWhat is in it
modules/afkzone/config.ymlSettings
modules/afkzone/menus.ymlMenu titles, buttons, slots and lore
modules/afkzone/messages.ymlChat messages

© 2026 Switch Studio. Not an official Minecraft product. Not approved by or associated with Mojang or Microsoft.