WorldEdit Commands: The Complete Guide

WorldEdit is the most powerful building tool for Minecraft. With a few commands, you can place, replace, or remove thousands of blocks at once. No more hours of manual building: select an area and transform it in seconds.

Installation

Download WorldEdit from EngineHub (for Bukkit/Paper) or Modrinth. Place the .jar in plugins/ and restart the server. Give yourself the worldedit.* permission via LuckPerms or use op permissions.

Selecting

Almost everything starts with a selection. Grab a wooden axe (//wand) and click:

  • Left click: set position 1.
  • Right click: set position 2.

The two positions form the corners of a rectangular area (cuboid). You can also use commands:

//pos1          Set position 1 at your current location
//pos2          Set position 2 at your current location
//hpos1         Set position 1 at the block you are looking at
//hpos2         Set position 2 at the block you are looking at
//expand 10 up  Expand the selection 10 blocks upward
//contract 5    Shrink the selection 5 blocks
//sel           Clear the selection

Fill and replace

//set stone             Fill the selection with stone
//set air               Remove all blocks (clear)
//replace dirt stone    Replace all dirt with stone
//replace air glass     Replace air with glass (only empty spaces)
//walls stone           Create walls of the selection (edges only)
//faces stone           Fill all six faces (walls + floor + ceiling)
//floor oak_planks      Fill only the bottom

Copy and paste

//copy                  Copy the selection (relative to your position)
//paste                 Paste the copy at your current location
//rotate 90             Rotate the copy 90 degrees
//flip up               Mirror the copy vertically
//paste -a              Paste without air (leave existing blocks intact)

Schematics

Schematics are saved builds you can reuse:

//schem save mybuilding      Save the current copy
//schem load mybuilding      Load a saved schematic
//paste                      Paste the loaded schematic
//schem list                 Show all saved schematics

Schematics are stored in plugins/WorldEdit/schematics/. You can share them between servers.

Useful building commands

//cyl stone 10 5        Create a cylinder (radius 10, height 5)
//hcyl glass 8 10       Create a hollow cylinder
//sphere stone 5        Create a sphere (radius 5)
//hsphere glass 8       Create a hollow sphere
//pyramid stone 10      Create a pyramid (base 10)

Undo and redo

//undo                  Undo the last action
//undo 5                Undo the last 5 actions
//redo                  Redo an undone action

Brushes

Brushes let you "paint" blocks by clicking with a tool:

//brush sphere stone 3       Create a sphere brush (radius 3)
//brush cyl grass_block 5 1  Create a flat circle brush
//brush smooth 4             Create a smoothing brush
//mask stone                 Only brush on stone blocks

Server performance

Large WorldEdit operations can temporarily slow the server. Tips:

  • Use //perf neighbors off to disable physics during edits.
  • Install FAWE (FastAsyncWorldEdit) if you do many large operations. FAWE runs edits asynchronously.
  • Limit the maximum selection size in the WorldEdit configuration for non-admin players.

What is the difference between WorldEdit and FAWE?

FAWE (FastAsyncWorldEdit) is a fork that runs large operations asynchronously so the server does not freeze. For large building projects, FAWE is recommended. For small edits, standard WorldEdit is sufficient.

Can I restrict WorldEdit for players?

Yes. Give players only specific permissions via LuckPerms. Also limit the maximum selection size in config.yml with max-changed-blocks.

Does WorldEdit work on Fabric or Forge?

Yes. There are separate versions for Fabric and Forge on the EngineHub website. The commands are identical.

Use WorldEdit on your Minecraft server at HostValues.


Still stuck? Open a support ticket and our team will help you out.

Back to the blog