WorldEdit

WorldEdit
WorldEdit is a SMP (And SSP) Bukkit Plugin/Mod that can remove or add blocks in a box, cylinder or sphere. Useful for terraforming and creating large structures. It can be used to create structures that would take hours to create in minutes.

Selecting Regions
To use WorldEdit, you have a Wooden Axe, (Wand), to edit blocks. Get the wand by saying //wand. A Wooden Axe will appear in your inventory. Note you can change the wand item in a configurations file, only in a server. Left click a block to set the first position (while the wand is in hand), and right click another block to set the second position. You may also use //hpos1 and //hpos2. Those commands will select the block you're pointing at, this is useful if you don't want to fly around to select blocks. Another alternative is //pos1 and //pos2. This will set the position as your current coordinates when you say the command.

Advanced Features
WorldEdit can also do way more complex map changes, like regenerating regions, copy/cut/paste operations and run scripts (needs Rhino to work, otherwise you'll get an error message) written on JavaScript which can make much more complex building, like spirals, mazes and pixel arts based on image files. You can download scripts from the mod/plugin thread or use the built-in scripts.

Use for Griefing
In servers, malicious players can use social engineering to gain OP status and WorldEdit permissions. They delete buildings and even crash (or cause severe lag to) the server if they attempt to change many blocks at a time, create a profuse amount of entities, items, or TNT [explosions]. To prevent this you can install a rollback plugin, create backups, or simply be careful who you give WorldEdit/OP permissions to.

Trivia

 * If you regenerate a selection with lava source blocks, the land will stay lit as if the lava was still there.
 * This seems to work with glowstone too.

Block Restrictions
There are certain block restrictions in the WorldEdit system, and here they are by default disallowed-blocks: [6, 7, 14, 15, 16, 26, 27, 28, 29, 39, 31, 32, 33, 34, 36, 37, 38, 39, 40, 46, 50, 51, 56, 59, 69, 73, 74, 75, 76, 77, 81, 83]

These translate to

[6 (Oak Sapling, Spruce Sapling, Birch Sapling, Jungle Sapling, Acacia Sapling, Dark Oak Sapling)] [14 (Gold Ore)] [15 (Iron Ore)] [16 (Coal Ore)] [26 (Bed)] [27 (Powered Rail)] [28 (Detector Rail)] [29 (Sticky piston] [31 (Dead Shrub, Grass, Fern)] [32 (Dead Srhub)] [33 (Piston)] [34 (Piston Head)] [36 (Sticky Piston Head)] [37 (Dandelion)] [38 (Poppy, Blue Orchid, Allium, Azure Bluet, Red Tulip, Orange Tulip, White Tulip, Pink Tulip, Oxeye Daisy)] [39 (Brown Mushroom)] [40 (Red Mushroom)] [46 (TNT)] [50 (Torch)] [51 (Fire)] [56 (Diamond Ore)] [59 (Wheat Crops)] [69 (Lever)] [73 (Redstone Ore)] [74 (Glowing Redstone Ore)] [75 (Redstone Torch (off))] [76 (Redstone Torch (on))] [77 (Stone Button)] [81 (Cactus)] [83 (Sugar Canes)]

These can be edited if you go to the following directory \plugins\WorldEdit\config.yml (Open using notepad, or some other plain text editor, rich text editors are not recommended)