Commands
Every subcommand, what it does, and the permission it needs.
Main command /regenzones, aliases /regen and /rz. Every subcommand tab completes,
including material names, group names, existing region names and, when ItemsAdder is
installed, custom block ids. removeblock, settime and setreplace only offer the
blocks the named region already has a rule for, and so does setharvest, plus all. ItemsAdder ids match on the part after the colon
too, so typing pineapple finds pack:pineapple_stage_1, and when a pack has more ids than
fit in the list the namespaces are offered first.
| Command | What it does | Permission |
|---|---|---|
/rz wand | Gives the selection wand | regenzones.command.wand |
/rz pos1 | Sets position 1 at the player's block | regenzones.command.pos1 |
/rz pos2 | Sets position 2 at the player's block | regenzones.command.pos2 |
/rz create <name> | Creates a region from the current selection | regenzones.command.create |
/rz delete <name> | Restores pending blocks and deletes the region | regenzones.command.delete |
/rz redefine <name> | Moves the region to the current selection | regenzones.command.redefine |
/rz rename <name> <newname> | Renames a region, keeping every rule and setting | regenzones.command.rename |
/rz list | Lists regions with world and enabled state | regenzones.command.list |
/rz info <name> | Shows corners, priority, state, rules and pending count | regenzones.command.info |
/rz toggle <name> [on/off] | Turns the regeneration system on or off for that region | regenzones.command.toggle |
/rz addblock <name> <material/group> [time] [replace] [next stage...] | Adds a rule, using the resolution order for anything not given | regenzones.command.addblock |
/rz removeblock <name> <material/group> | Removes a rule | regenzones.command.removeblock |
/rz settime <name> <material/group> <time> | Changes the regen time | regenzones.command.settime |
/rz setreplace <name> <material/group> <replace> [next stage...] | Changes the temporary block, or sets several shown in turn | regenzones.command.setreplace |
/rz setharvest <name> <material/group/all> <on/off> | Right-clicking the block harvests it, all for every rule in the region | regenzones.command.setharvest |
/rz setharvestdrops <name> <material/group> <item> [amount]... | What right-clicking the block gives, clear for its own drops | regenzones.command.setharvestdrops |
/rz setharvestonly <name> <material/group/all> <on/off> | Breaking the block does nothing, only a right-click harvest takes it | regenzones.command.setharvestonly |
/rz settool <name> <material/group/all> <tool/none> | The least tool the block needs, e.g. IRON_PICKAXE for iron or better | regenzones.command.settool |
/rz exclude <name> <material> | Adds a material to the exclusion list | regenzones.command.exclude |
/rz collect <name> [on/off] | Sends drops straight to the breaking player's inventory | regenzones.command.collect |
/rz farmland <name> [on/off] | Flags the region as a farm zone | regenzones.command.farmland |
/rz placed <name> [on/off] | Placed handled blocks go straight into their delay state | regenzones.command.placed |
/rz priority <name> <number> | Sets the overlap priority | regenzones.command.priority |
/rz tp <name> | Teleports to the region centre | regenzones.command.tp |
/rz regen <name> | Restores every pending block in the region now | regenzones.command.regen |
/rz reload | Reloads all config and language files | regenzones.command.reload |
/rz menu [name] | Opens the config GUI, straight to a region if named | regenzones.command.menu |
/rz help | Shows the command list | regenzones.command.help |
Every change made by a command is written to regions.yml straight away, so the file
and the in-game state never drift apart.
/rz is short for /regenzones. /regen also works as an alias. All three point at
the same command tree, use whichever is shortest for you.
/rz addblock <name> <material/group> [time] [replace] only needs the region name and a
material or group. Time and replace block are optional, anything left out is filled in
from blocks.yml and then config.yml's defaults. See
Block Rules.
Anywhere a command takes a time (settime, addblock's optional time argument), it
accepts 30s, 5m, 1h30m style values, or a plain number of seconds.
The replace-with value passed to setreplace and addblock is validated as a full
BlockData string, not just a material name. BEDROCK still works exactly as before, but
so does something like CARROTS[age=0] for a partially grown crop, or an installed
ItemsAdder block's namespace:id. Casing does not matter, and the value is saved to
regions.yml in its canonical minecraft:carrots[age=0] form. See Block Rules.
Give setreplace more than one value, or addblock more than one after the time, and
each value is a stage: shown in the order given, each for an equal share of the regen
time, before the real block returns. See Block Rules.
See Permissions for the full permission list, including
regenzones.admin, regenzones.wand and regenzones.bypass, which sit outside this
per-command table. See Config GUI for a menu that wraps every one of
these commands.