Skip to content
Building ToolsPlayer only

/replace

Replace a selection from specified block(s) with a block.

  • Only runs when a player executes the command, not from the server console.

Syntax

  • /replace <to…>
  • /replace <from…> <to…>
  • Main commandthe command name that starts it all
  • Requiredrequired, in a fixed order

Arguments

/replace <to…>

Replace a selection from specified block(s) with a block.

ArgumentTypeTypeDescription
toRequired

Block Pattern: List

A list of blocks with optional weights (e.g., [20%Rock_Stone, 80%Rock_Shale])

The block type to replace with

/replace <from…> <to…>

Replace a selection from specified block(s) with a block.

ArgumentTypeTypeDescription
fromRequired

Block Mask: List

A list of block masks that combine together

The block mask to match blocks to replace (supports mask syntax like >Block, !Block, ^Block)

toRequired

Block Pattern: List

A list of blocks with optional weights (e.g., [20%Rock_Stone, 80%Rock_Shale])

The block type to replace with

Subcommands (2)

Permissions

Permission
hytale.buildertools.command.replace
Default group
WorldEditor

The groups build on one another: Adventurer, Builder, WorldEditor, ServerEditor, Admin. Higher groups inherit the permissions of lower ones; new players are Adventurers, and admins (OP) can do everything.

Back to command reference

/replace — Hytale command reference | ZAP-Hosting