Skip to content

Commands & Permissions

Tebrox edited this page Sep 20, 2026 · 2 revisions

Commands & Permissions

This page contains the complete command and permission reference for AFK Area.

Player commands

Command Description Permission
/afk Toggle manual AFK state afkarea.command.afk
/afkarea Teleport to the configured default AFK area afkarea.command.teleport

Both player permissions are granted by default.

Area administration

Command Description Permission Player only
/afkarea reload Reload configuration and messages afkarea.admin.reload No
/afkarea pos1 Set cuboid selection position 1 afkarea.admin.selection Yes
/afkarea pos2 Set cuboid selection position 2 afkarea.admin.selection Yes
/afkarea create <id> cuboid Create a native cuboid area afkarea.admin.create Yes
/afkarea create <id> worldguard <region> Create a WorldGuard-backed area afkarea.admin.create Yes
/afkarea redefine <id> Replace a cuboid region with the current selection afkarea.admin.redefine Yes
/afkarea setregion <id> <region> Change a WorldGuard-backed area's region afkarea.admin.setregion Yes
/afkarea includechildren <id> <yes/no> Include or exclude WorldGuard child regions afkarea.admin.includechildren No
/afkarea rename <id> <name> Change display name afkarea.admin.rename No
/afkarea delete <id> Delete an area afkarea.admin.delete No
/afkarea setteleport <id> Save current location as teleport destination afkarea.admin.setteleport Yes
/afkarea tp <id> Teleport to an area's destination afkarea.admin.tp Yes
/afkarea list List configured areas afkarea.admin.list No
/afkarea info <id> Inspect an area afkarea.admin.info No
/afkarea setpriority <id> <priority> Change area priority afkarea.admin.setpriority No
/afkarea status [player] Inspect runtime AFK status afkarea.admin.status No
/afkarea stats <player> Inspect persistent AFK statistics afkarea.admin.stats No

When /afkarea status is used without a player argument, a player sender inspects themselves. Console senders must specify a player.

Reward administration

All reward commands use:

afkarea.admin.reward
Command Description
/afkarea reward info <area> Show the area's reward configuration
/afkarea reward list <area> List configured rewards
/afkarea reward add <area> <id> Add a reward
/afkarea reward remove <area> <id> Remove a reward
`/afkarea reward enable <true false>`
/afkarea reward command list <area> <id> List reward commands
/afkarea reward command add <area> <id> <command...> Add a console command
/afkarea reward command remove <area> <id> <index> Remove a command
/afkarea reward weight <area> <id> <weight> Set weight
`/afkarea reward permission <permission none>`
`/afkarea reward message <message none>`
`/afkarea reward defaultmessage <message none>`
/afkarea reward interval <area> <seconds> [rolls] Configure interval schedule
/afkarea reward milestone list <area> List milestones
/afkarea reward milestone add <area> <seconds> [rolls] Add milestone
/afkarea reward milestone remove <area> <seconds> Remove milestone
`/afkarea reward duplicates <true false>`

See Rewards.

Household administration

All household commands use:

afkarea.admin.household
Command Description
/afkarea household link <player1> <player2> Link players into a household
/afkarea household unlink <player> Remove a player from their household
/afkarea household info <player> Show a player's household
/afkarea household list List all households

See Anti-Abuse & Households.

Display administration

Permission:

afkarea.admin.display

Commands:

/afkarea display bossbar on
/afkarea display bossbar off
/afkarea display actionbar on
/afkarea display actionbar off

Permission reference

Permission Purpose
afkarea.command.afk Use /afk
afkarea.command.teleport Use /afkarea
afkarea.admin.reload Reload configuration
afkarea.admin.selection Set cuboid selection positions
afkarea.admin.create Create areas
afkarea.admin.redefine Redefine cuboid areas
afkarea.admin.rename Rename areas
afkarea.admin.delete Delete areas
afkarea.admin.setteleport Set teleport destinations
afkarea.admin.tp Teleport to area destinations
afkarea.admin.list List areas
afkarea.admin.info Inspect areas
afkarea.admin.setregion Change WorldGuard regions
afkarea.admin.includechildren Configure WorldGuard child-region handling
afkarea.admin.setpriority Change area priority
afkarea.admin.status Inspect runtime AFK status
afkarea.admin.stats Inspect persistent statistics
afkarea.admin.household Manage households
afkarea.admin.reward Manage rewards
afkarea.admin.display Manage bossbar/actionbar enable state
afkarea.staff.see-hidden See players hidden by AFK Area
afkarea.bypass.auto-afk Bypass automatic AFK detection/teleporting
afkarea.bypass.ip-limit Bypass reward IP limits
afkarea.bypass.rewards Prevent AFK area rewards

Individual rewards may define additional custom permission nodes.

Related pages

Clone this wiki locally