Worldedit Resources: Difference between revisions

From RetroMC
Jump to navigation Jump to search
mNo edit summary
(Rough draft of W.E commands)
Line 1: Line 1:
Placeholder
{| class="wiki-table"
Creation pending [Redacted]'s creation on the server
! Command
! width="250"| Parameters
! Description


sources
|-
https://web.archive.org/web/20120606022629/http://www.sk89q.com/projects/worldedit/ <br>
| //limit || <limit> || Set a maximum number of blocks to change at most for all operations. This only affects yourself. Use this to prevent catastrophic accidents. This command will not override the limit in the [[WorldEdit/Configuration|configuration]] if it is set.
https://web.archive.org/web/20120611000313/http://wiki.sk89q.com/wiki/WorldEdit/Reference
 
|-
! class="hl2" colspan="4"| [[WorldEdit/Features#History|History]]
|-
| //undo || [num-steps] || Undo your last action.
|-
| //redo || [num-steps] || Redo your last (undone) action. This command replays back history and does not repeat the command.
|-
| /clearhistory || || Clear your history.
 
|-
! class="hl2" colspan="4"| [[WorldEdit/Selection|Selection]]
|-
| //wand || || Gives you the "edit wand" (by default, a wooden axe). Left click with this tool to select position 1 and right click to selection position 2.
|-
| /toggleeditwand || || Toggles the edit wand selection mode, allowing you to use the edit wand item normally.
|-
| //sel || <nowiki><cuboid|extend|poly|ellipsoid|sphere|cyl></nowiki> || Choose the region shape to use for selections.
|-
| //pos1 || || Set selection position #1 to the block above the one that you are standing on.
|-
| //pos2 || || Set selection position #2 to the block above the one that you are standing on.
|-
| //hpos1 || || Set selection position #1 to the block that you are looking at.
|-
| //hpos2 || || Set selection position #2 to the block that you are looking at.
|-
| //chunk || || Select the chunk that you are within for your selection.
|-
| //expand || <amount> || Expands the selection in the direction that you are looking.
|-
| //expand || <amount> <direction> || Expands the selection in the specified direction (north, east, south, west, up, down).
|-
| //expand || <amount> <reverse-amount> [direction]  || Expands the selection in two directions at once.
|-
| //expand || vert || Expands the selection to include sky to bedrock.
|-
| //contract || <amount> || Contracts the selection in the direction that you are looking towards.
|-
| //contract || <amount> [direction] || Contracts the selection in the specified direction (north, east, south, west, up, down).
|-
| //contract || <amount> <reverse-amount> [direction] || Contracts the selection in two directions at once.
|-
| //outset || [-hv] <amount> || Outset the selection in every direction.
|-
| //inset || [-hv] <amount> || Inset the selection in every direction.
|-
| //shift || <amount> [direction] || Moves the selection region. It does not move the selection's contents.
|-
| //size || || Get the size of selected region.
|-
| //count || <block> || Count the number of blocks in the region.
|-
| //distr || [-c] || Get the block distribution in the selection.
 
|-
! class="hl2" colspan="4"| [[WorldEdit/Region operations|Region operations]]
|-
| //set || <block> || Set all blocks inside the selection region to a specified block.
|-
| //replace || <to-block> || || Replace all non-air blocks blocks inside the region.
|-
| //replace || <from-block> <to-block> || || Replace all blocks of the specified block(s) with another block inside the region.
|-
| //overlay || <block> || || Place a block on top of blocks inside the region.
|-
| //walls || <block> || || Build the walls of the region (not including ceiling and floor).
|-
| //outline || <block> || || Build walls, floor, and ceiling.
|-
| //smooth || [iterations] || || Smooth the selection's heightmap.
|-
| //regen || || || Regenerate the selection region.
|-
| //move || [count] [direction] [leave-id] || || Move the selection's contents. A block can be specified to fill in the left over area.
|-
| //stack || [count] [direction] || || Stacks the selection.
 
|-
! class="hl2" colspan="4"| [[WorldEdit/Clipboard|Clipboard]]
|-
| //copy || || || Copies the currently selected region. Be aware that it stores your position relative to the selection when copying.
|-
| //cut || || || Cuts the currently selected region.
|-
| //paste || [-ao] [-a] || || Pastes the clipboard. If you paste with -a, air blocks are being ignored.
|-
| //rotate || <angle-in-degrees> || || Rotate the clipboard.
|-
| //flip || [dir] || || Flip the clipboard.
|-
| //schematic or //schem || save <format> <filename> || || Save clipboard to .schematic. (mcedit is currently the only format)
|-
| //schematic or //schem || load <format> <filename> || || Load .schematic to clipboard.
|-
| //schematic  or //schem || list || || List all available schematics.
|-
| //schematic or schem || formats || || Display available schematic formats.
|-
| /clearclipboard || || || Clear your clipboard.
|-
! class="hl2" colspan="4"| [[WorldEdit/Generation|Generation]]
|-
| //hcyl || <block> <radius> [height] || || Create a vertical hollow cylinder.
|-
| //cyl || <block> <radius> [height] || || Create a vertical cylinder.
|-
| //sphere || <block> <radius> [raised?] || || Create a sphere.
|-
| //hsphere || <block> <radius> [raised?] || || Create a hollow sphere.
|-
| //pyramid || <block> <size> || || Create a pyramid.
|-
| //hpyramid || <block> <size> || || Create a hollow pyramid.
|-
| /forestgen || [size] [type] [density] || || Make a forest.
|-
| /pumpkins || [size] || || Make a pumpkin forest
 
|-
! class="hl2" colspan="4"| [[WorldEdit/Utilities|Utilities]]
|-
| /toggleplace || || || Toggle between using pos #1 or your current position.
|-
| //fill || <block> <radius> [depth] || || Fill a hole.
|-
| //fillr || <block> <radius> || || Fill a hole fully recursively.
|-
| //drain || <radius> || || Drain nearby water/lava pools.
|-
| /fixwater || <radius> || || Level nearby pools of water.
|-
| /fixlava || <radius> || || Level nearby pools of lava.
|-
| /removeabove || [size] [height] || || Remove blocks above your head.
|-
| /removebelow || [size] [height] || || Remove blocks below your feet.
|-
| /replacenear || <size> <from-id> <to-id> || || Replace all existing blocks nearby.
|-
| /removenear || [block] [size] || || Remove blocks near you.
|-
| /snow || [radius] || || Simulate snow cover.
|-
| /thaw || [radius] || || Unthaw/remove snow.
|-
| //ex || [size] || || Extinguish fires.
|-
| /butcher || [radius] || || Kill nearby mobs.
|-
| /remove || <type> <radius> || || Remove nearby entities. Type can be "items" for loose items/drops, arrows, boats, minecarts, tnt, or xp.
|-
! class="hl2" colspan="4"| [[WorldEdit/Chunk tools|Chunk tools]]
|-
| /chunkinfo || || || Get the filename of the chunk that you are in.
|-
| /listchunks || || || Print a list of used chunks.
|-
| /delchunks || || || Generate a shell script to delete chunks.
 
|-
! class="hl2" colspan="4"| [[WorldEdit/Super pickaxe|Super pickaxe]]
|-
| // || || || Toggle the super pick axe.
|-
| /sp single || || || Switch to single block super pickaxe mode.
|-
| /sp area || <range> || || Switch to area super pickaxe mode.
|-
| /sp recur || <range> || || Switch to recursive super pickaxe mode.
|-
 
! class="hl2" colspan="4"| [[WorldEdit/Tools|Tools]]
|-
| /none || || || Switch to no tool.
|-
| /info || || || Switch to the info tool.
|-
| /tree || [type] || || Switch to the tree tool. Available types [tree, regular, big, bigtree, redwood, sequoia, tallredwood, tallsequoia, birch, white, whitebark, pine, randredwood, randomredwood, anyredwood, rand, random]
|-
| //repl || <block> || || Switch to the block replacer tool.
|-
| //cycler || || || Block data cycler tool.
|-
 
! class="hl2" colspan="4"| [[WorldEdit/Brushes|Brushes]]
|-
| /brush sphere || [-h] <type> <radius> || || Switch to the sphere brush tool.
|-
| /brush cylinder || [-h] <type> <radius> [height] || || Switch to the cylinder brush tool.
|-
| /brush clipboard || || || Switch to the clipboard tool.
|-
| /brush smooth || <radius> [iterations] || || Smooth the region.
|-
| /size || <size> || || Change the size of the current brushes
|-
| //mat || <mat> || || Change the material used by your current brush.
|-
| //mask || || || Clear the mask
|-
| //mask || <mask> || || Set a mask
 
|-
! class="hl2" colspan="4"| [[WorldEdit/Getting around|Getting around]]
|-
| /unstuck || || || Go up to the first free spot.
|-
| /ascend || || || Go up one level.
|-
| /descend || || || Go down one level.
|-
| /ceil || [clearance] || || Get to the ceiling.
|-
| /thru || || || Go through the wall that you are looking at.
|-
| /jumpto || || || Jump to the block that you are looking at.
|-
| /up || [distance] || || Go up some distance.
 
|-
! class="hl2" colspan="4"| [[WorldEdit/Snapshots|Snapshots]]
|-
| //restore || [snapshot] || || Restore a particular snapshot.
|-
| //snap use || <snapshot> || || Use a particular snapshot.
|-
| //snap list || [num] || || List the 5 newest snapshots.
|-
| //snap before || <date> || || Find the first snapshot before the given date.
|-
| //snap after || <date> || || Find the first snapshot after the given date.
 
|-
! class="hl2" colspan="4"| [[WorldEdit/Scripting|Scripting]]
|-
| /cs || <script> [args...] || || Executes a script.
|-
| /.s || [args...] || || Re-executes last script with new arguments.
|-
| /<script>.js || [args...] || || Executes a JS script.
 
|-
! class="hl2" colspan="4"| [[WorldEdit/General commands|General commands]]
|-
| /search || <item> || || Search for an item by its name.
|-
| //worldedit reload || || || Reloads WorldEdit's configuration.
|-
| //worldedit version || || || Gets WorldEdit's version.
|-
| //worldedit tz || || || Set your timezone. This is temporary.
 
|-
! class="hl2" colspan="4"| Biomes
|-
| /biome || || || Get the biometype you are standing in.
|-
| /biomelist || || || List the available biome types
|-
| //setbiome || [-p] <biome type> || || Set the selected area to the specified biome type.
The -p flag changes the block (column) you are standing in.
|}

Revision as of 23:39, 20 December 2024

Command Parameters Description
//limit <limit> Set a maximum number of blocks to change at most for all operations. This only affects yourself. Use this to prevent catastrophic accidents. This command will not override the limit in the configuration if it is set.
History
//undo [num-steps] Undo your last action.
//redo [num-steps] Redo your last (undone) action. This command replays back history and does not repeat the command.
/clearhistory Clear your history.
Selection
//wand Gives you the "edit wand" (by default, a wooden axe). Left click with this tool to select position 1 and right click to selection position 2.
/toggleeditwand Toggles the edit wand selection mode, allowing you to use the edit wand item normally.
//sel <cuboid|extend|poly|ellipsoid|sphere|cyl> Choose the region shape to use for selections.
//pos1 Set selection position #1 to the block above the one that you are standing on.
//pos2 Set selection position #2 to the block above the one that you are standing on.
//hpos1 Set selection position #1 to the block that you are looking at.
//hpos2 Set selection position #2 to the block that you are looking at.
//chunk Select the chunk that you are within for your selection.
//expand <amount> Expands the selection in the direction that you are looking.
//expand <amount> <direction> Expands the selection in the specified direction (north, east, south, west, up, down).
//expand <amount> <reverse-amount> [direction] Expands the selection in two directions at once.
//expand vert Expands the selection to include sky to bedrock.
//contract <amount> Contracts the selection in the direction that you are looking towards.
//contract <amount> [direction] Contracts the selection in the specified direction (north, east, south, west, up, down).
//contract <amount> <reverse-amount> [direction] Contracts the selection in two directions at once.
//outset [-hv] <amount> Outset the selection in every direction.
//inset [-hv] <amount> Inset the selection in every direction.
//shift <amount> [direction] Moves the selection region. It does not move the selection's contents.
//size Get the size of selected region.
//count <block> Count the number of blocks in the region.
//distr [-c] Get the block distribution in the selection.
Region operations
//set <block> Set all blocks inside the selection region to a specified block.
//replace <to-block> Replace all non-air blocks blocks inside the region.
//replace <from-block> <to-block> Replace all blocks of the specified block(s) with another block inside the region.
//overlay <block> Place a block on top of blocks inside the region.
//walls <block> Build the walls of the region (not including ceiling and floor).
//outline <block> Build walls, floor, and ceiling.
//smooth [iterations] Smooth the selection's heightmap.
//regen Regenerate the selection region.
//move [count] [direction] [leave-id] Move the selection's contents. A block can be specified to fill in the left over area.
//stack [count] [direction] Stacks the selection.
Clipboard
//copy Copies the currently selected region. Be aware that it stores your position relative to the selection when copying.
//cut Cuts the currently selected region.
//paste [-ao] [-a] Pastes the clipboard. If you paste with -a, air blocks are being ignored.
//rotate <angle-in-degrees> Rotate the clipboard.
//flip [dir] Flip the clipboard.
//schematic or //schem save <format> <filename> Save clipboard to .schematic. (mcedit is currently the only format)
//schematic or //schem load <format> <filename> Load .schematic to clipboard.
//schematic or //schem list List all available schematics.
//schematic or schem formats Display available schematic formats.
/clearclipboard Clear your clipboard.
Generation
//hcyl <block> <radius> [height] Create a vertical hollow cylinder.
//cyl <block> <radius> [height] Create a vertical cylinder.
//sphere <block> <radius> [raised?] Create a sphere.
//hsphere <block> <radius> [raised?] Create a hollow sphere.
//pyramid <block> <size> Create a pyramid.
//hpyramid <block> <size> Create a hollow pyramid.
/forestgen [size] [type] [density] Make a forest.
/pumpkins [size] Make a pumpkin forest
Utilities
/toggleplace Toggle between using pos #1 or your current position.
//fill <block> <radius> [depth] Fill a hole.
//fillr <block> <radius> Fill a hole fully recursively.
//drain <radius> Drain nearby water/lava pools.
/fixwater <radius> Level nearby pools of water.
/fixlava <radius> Level nearby pools of lava.
/removeabove [size] [height] Remove blocks above your head.
/removebelow [size] [height] Remove blocks below your feet.
/replacenear <size> <from-id> <to-id> Replace all existing blocks nearby.
/removenear [block] [size] Remove blocks near you.
/snow [radius] Simulate snow cover.
/thaw [radius] Unthaw/remove snow.
//ex [size] Extinguish fires.
/butcher [radius] Kill nearby mobs.
/remove <type> <radius> Remove nearby entities. Type can be "items" for loose items/drops, arrows, boats, minecarts, tnt, or xp.
Chunk tools
/chunkinfo Get the filename of the chunk that you are in.
/listchunks Print a list of used chunks.
/delchunks Generate a shell script to delete chunks.
Super pickaxe
// Toggle the super pick axe.
/sp single Switch to single block super pickaxe mode.
/sp area <range> Switch to area super pickaxe mode.
/sp recur <range> Switch to recursive super pickaxe mode.
Tools
/none Switch to no tool.
/info Switch to the info tool.
/tree [type] Switch to the tree tool. Available types [tree, regular, big, bigtree, redwood, sequoia, tallredwood, tallsequoia, birch, white, whitebark, pine, randredwood, randomredwood, anyredwood, rand, random]
//repl <block> Switch to the block replacer tool.
//cycler Block data cycler tool.
Brushes
/brush sphere [-h] <type> <radius> Switch to the sphere brush tool.
/brush cylinder [-h] <type> <radius> [height] Switch to the cylinder brush tool.
/brush clipboard Switch to the clipboard tool.
/brush smooth <radius> [iterations] Smooth the region.
/size <size> Change the size of the current brushes
//mat <mat> Change the material used by your current brush.
//mask Clear the mask
//mask <mask> Set a mask
Getting around
/unstuck Go up to the first free spot.
/ascend Go up one level.
/descend Go down one level.
/ceil [clearance] Get to the ceiling.
/thru Go through the wall that you are looking at.
/jumpto Jump to the block that you are looking at.
/up [distance] Go up some distance.
Snapshots
//restore [snapshot] Restore a particular snapshot.
//snap use <snapshot> Use a particular snapshot.
//snap list [num] List the 5 newest snapshots.
//snap before <date> Find the first snapshot before the given date.
//snap after <date> Find the first snapshot after the given date.
Scripting
/cs <script> [args...] Executes a script.
/.s [args...] Re-executes last script with new arguments.
/<script>.js [args...] Executes a JS script.
General commands
/search <item> Search for an item by its name.
//worldedit reload Reloads WorldEdit's configuration.
//worldedit version Gets WorldEdit's version.
//worldedit tz Set your timezone. This is temporary.
Biomes
/biome Get the biometype you are standing in.
/biomelist List the available biome types
//setbiome [-p] <biome type> Set the selected area to the specified biome type.

The -p flag changes the block (column) you are standing in.