Skip to content

Commands

Every SzpontAFKZone command with its permission, including which ones work from the console.

The main command is /szpontafkzone. /afkzone is a default alias; change the aliases in config.yml (commands.aliases). Subcommands can have extra names: by default /szpontafkzone ustaw works like set (commands.subcommand-aliases).

Command Permission Description
/szpontafkzone help szpontafkzone.command.help List the commands you have permission for
/szpontafkzone reload szpontafkzone.command.reload Reload all files
/szpontafkzone wand szpontafkzone.command.wand Get the selection wand
/szpontafkzone pos1 / pos2 szpontafkzone.command.wand Select a corner where you stand
/szpontafkzone create <zone> szpontafkzone.command.create Create a zone from your selection
/szpontafkzone set <zone> <pos1|pos2|selection> szpontafkzone.command.set Change a corner or the whole area of a zone
/szpontafkzone delete <zone> szpontafkzone.command.delete Delete a zone (the file is moved to backups/)
/szpontafkzone enable <zone> / disable <zone> szpontafkzone.command.enable / .disable Turn a zone on or off
/szpontafkzone list szpontafkzone.command.list List zones with their status and players
/szpontafkzone info <zone> szpontafkzone.command.info Show the details of a zone
/szpontafkzone tp <zone> szpontafkzone.command.tp Teleport onto the floor in the middle of a zone
/szpontafkzone show <zone> szpontafkzone.command.show Show the zone borders with particles

The szpontafkzone.admin permission gives access to every command.

help, reload, delete, enable, disable, list and info work from the console. wand, pos1, pos2, create, set, tp and show can only be used by players.

Reloads config.yml, the language files and all zones.

  • A YAML syntax error, or any error in the file of a zone that is already running, cancels the reload. The running setup stays, and the reply and the console name the file.
  • A new zone file with any other error is skipped and shown as file error in list.
  • pos1 and pos2 set one corner where you stand.
  • selection moves the whole area to your current selection, made with the wand or with pos1 and pos2.

When the zone does not exist, set creates it. The command does not overwrite your manual edits of the zone file. The area of a zone that uses a WorldGuard region cannot be changed with set.

The zone file is not removed. It is moved to the backups/ folder.

Teleports you onto the floor in the middle of the zone.

Draws the zone borders for wand.preview-seconds seconds (10 by default) with the wand.particle particle.