SwitchSMP pages
Getting started
OverviewInstallationAdmin PanelConfigurationCustom MenusEconomyModules
AFK ZonesAmethyst ToolsArenasAuction HouseBillfordBlack MarketBountyClear LagCooldownsEnder ChestEssentialsInvestKey AllLeaderboardsNametagsOrdersPlayer SettingsProfilesReclaimRandom TeleportScoreboardSellServer SettingsShopTablistTeamsWorthReference
All CommandsPermissionsPlaceholdersIntegrationsSwitchSMP / 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
- WorldGuard region:
/afkzone add <region>. - Box: stand on one corner and run
/afkzone pos1, then the other corner and/afkzone pos2, then/afkzone create <id>. - Run
/afkzone setspawn <id>where/afkshould teleport players. - Open
/afkzoneand 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
| Permission | What it gives |
|---|---|
switchsmp.afkzone.admin | Create, edit and delete zones |
switchsmp.afkzone.global-shards | Earn shards anywhere |
switchsmp.shards.multiplier.<x> | Shard rewards times x, for example .2 or .1.5. The highest one counts. |
Commands
| Command | What it does | Permission |
|---|---|---|
/afk | Browse AFK zones. | everyone |
/afkzone/afkzones | Open the AFK zone editor. | switchsmp.afkzone.admin |
/afkzone add <region>/afkzone addregion /afkzones add | Make a WorldGuard region an AFK zone. | switchsmp.afkzone.admin |
/afkzone create <id>/afkzones create | Create an AFK zone from your selection. | switchsmp.afkzone.admin |
/afkzone delete <id>/afkzone remove /afkzones delete /afkzones remove | Delete an AFK zone. | switchsmp.afkzone.admin |
/afkzone list/afkzones list | List AFK zones. | switchsmp.afkzone.admin |
/afkzone pos1 | Set the first corner of a new AFK zone. | switchsmp.afkzone.admin |
/afkzone pos2 | Set the second corner of a new AFK zone. | switchsmp.afkzone.admin |
/afkzone reload/afkzones reload | Reload afkzone.yml. | switchsmp.afkzone.admin |
/afkzone setspawn <id> | Set where /afk teleports players for a zone. | switchsmp.afkzone.admin |
Files
| File | What is in it |
|---|---|
modules/afkzone/config.yml | Settings |
modules/afkzone/menus.yml | Menu titles, buttons, slots and lore |
modules/afkzone/messages.yml | Chat messages |
© 2026 Switch Studio. Not an official Minecraft product. Not approved by or associated with Mojang or Microsoft.