WorldEdit commands for Minecraft: cheat sheet with examples
WorldEdit commands with examples: //wand, //set, //replace, //copy, //paste, //undo. How to select an area, replace blocks, and undo a mistake on a live server.
Updated September 28, 2026
WorldEdit is a tool for mass world editing. One command replaces hours of manual work.
Download the plugin: WorldEdit in the catalog.
Need a ready-made command for your task? Try the WorldEdit command builder.
Selection
//wand give selection axe
left click first point
right click second point
//pos1 //pos2 points by their coordinates
//expand 10 up expand selection
//size selection size
Basic commands
//set stone fill
//replace dirt grass_block replace one block with another
//walls stone walls
//outline stone shell
//hollow hollow out the inside
//sphere glass 10 sphere
//cyl stone 5 20 cylinder
//drain 10 remove liquid
//fixwater 10 level water
Copying
//copy
//paste
//rotate 90
//flip
//stack 5 up
Undo
//undo
//redo
Undo only works for your own operations and keeps a limited history. The history is lost after a restart.
Safety on a live server
- A large operation (
//seton millions of blocks) freezes the server for tens of seconds. Do this kind of work during maintenance — Maintenance mode. - Grant WorldEdit permissions only to administrators:
//set airat spawn means the end of your spawn. - Before a large operation, make a backup.
The asynchronous version that doesn't freeze the server is FAWE.
Minecraft hostingYour server runs while you are offlineCreate server
