2012-10-01 22:19:09 +02:00
|
|
|
Chat Commands
|
|
|
|
-------------
|
|
|
|
For more information, see the [README](README.md).
|
|
|
|
|
|
|
|
### //reset
|
|
|
|
|
|
|
|
Reset the region so that it is empty.
|
|
|
|
|
|
|
|
//reset
|
|
|
|
|
|
|
|
### //mark
|
|
|
|
|
|
|
|
Show markers at the region positions.
|
|
|
|
|
|
|
|
//mark
|
|
|
|
|
2013-05-15 23:03:26 +02:00
|
|
|
### //unmark
|
|
|
|
|
|
|
|
Hide markers if currently shown.
|
|
|
|
|
|
|
|
//unmark
|
|
|
|
|
2012-10-01 22:19:09 +02:00
|
|
|
### //pos1
|
|
|
|
|
|
|
|
Set WorldEdit region position 1 to the player's location.
|
|
|
|
|
|
|
|
//pos1
|
|
|
|
|
|
|
|
### //pos2
|
|
|
|
|
|
|
|
Set WorldEdit region position 2 to the player's location.
|
|
|
|
|
|
|
|
//pos2
|
|
|
|
|
2012-10-19 03:28:58 +02:00
|
|
|
### //p set/set1/set2/get
|
2012-10-01 22:19:09 +02:00
|
|
|
|
2012-10-19 03:28:58 +02:00
|
|
|
Set WorldEdit region, WorldEdit position 1, or WorldEdit position 2 by punching nodes, or display the current WorldEdit region.
|
2012-10-01 22:19:09 +02:00
|
|
|
|
|
|
|
//p set
|
2012-10-19 03:28:58 +02:00
|
|
|
//p set1
|
|
|
|
//p set2
|
2012-10-01 22:19:09 +02:00
|
|
|
//p get
|
|
|
|
|
|
|
|
### //volume
|
|
|
|
|
|
|
|
Display the volume of the current WorldEdit region.
|
|
|
|
|
|
|
|
//volume
|
|
|
|
|
|
|
|
### //set <node>
|
|
|
|
|
|
|
|
Set the current WorldEdit region to <node>.
|
|
|
|
|
2013-06-13 01:59:13 +02:00
|
|
|
//set cactus
|
|
|
|
//set Bronze Block
|
|
|
|
//set mesecons:wire_00000000_off
|
2012-10-01 22:19:09 +02:00
|
|
|
|
|
|
|
### //replace <search node> <replace node>
|
|
|
|
|
2013-01-13 00:29:57 +01:00
|
|
|
Replace all instances of <search node> with <replace node> in the current WorldEdit region.
|
2012-10-01 22:19:09 +02:00
|
|
|
|
2013-06-13 01:59:13 +02:00
|
|
|
//replace Cobblestone cactus
|
|
|
|
//replace lightstone_blue glass
|
|
|
|
//replace dirt Bronze Block
|
|
|
|
//replace mesecons:wire_00000000_off flowers:flower_tulip
|
2012-10-01 22:19:09 +02:00
|
|
|
|
2013-01-13 00:29:57 +01:00
|
|
|
### //replaceinverse <search node> <replace node>
|
|
|
|
|
|
|
|
Replace all nodes other than <search node> with <replace node> in the current WorldEdit region.
|
|
|
|
|
2013-06-13 01:59:13 +02:00
|
|
|
//replaceinverse Cobblestone cactus
|
|
|
|
//replaceinverse flowers:flower_waterlily glass
|
|
|
|
//replaceinverse dirt Bronze Block
|
|
|
|
//replaceinverse mesecons:wire_00000000_off flowers:flower_tulip
|
2013-01-13 00:29:57 +01:00
|
|
|
|
2012-10-01 22:19:09 +02:00
|
|
|
### //hollowsphere <radius> <node>
|
|
|
|
|
2013-06-23 05:05:34 +02:00
|
|
|
Add hollow sphere centered at WorldEdit position 1 with radius <radius>, composed of <node>.
|
2012-10-01 22:19:09 +02:00
|
|
|
|
2013-06-13 01:59:13 +02:00
|
|
|
//hollowsphere 5 Diamond Block
|
|
|
|
//hollowsphere 12 glass
|
|
|
|
//hollowsphere 17 mesecons:wire_00000000_off
|
2012-10-01 22:19:09 +02:00
|
|
|
|
|
|
|
### //sphere <radius> <node>
|
|
|
|
|
2013-06-23 05:05:34 +02:00
|
|
|
Add sphere centered at WorldEdit position 1 with radius <radius>, composed of <node>.
|
2012-10-01 22:19:09 +02:00
|
|
|
|
2013-06-13 01:59:13 +02:00
|
|
|
//sphere 5 Diamond Block
|
|
|
|
//sphere 12 glass
|
|
|
|
//sphere 17 mesecons:wire_00000000_off
|
2012-10-01 22:19:09 +02:00
|
|
|
|
2013-04-28 00:28:20 +02:00
|
|
|
### //hollowdome <radius> <node>
|
|
|
|
|
2013-06-23 05:05:34 +02:00
|
|
|
Add hollow dome centered at WorldEdit position 1 with radius <radius>, composed of <node>.
|
2013-04-28 00:28:20 +02:00
|
|
|
|
2013-06-13 01:59:13 +02:00
|
|
|
//hollowdome 5 Diamond Block
|
|
|
|
//hollowdome 12 glass
|
|
|
|
//hollowdome 17 mesecons:wire_00000000_off
|
2013-04-28 00:28:20 +02:00
|
|
|
|
|
|
|
### //dome <radius> <node>
|
|
|
|
|
2013-06-23 05:05:34 +02:00
|
|
|
Add dome centered at WorldEdit position 1 with radius <radius>, composed of <node>.
|
2013-04-28 00:28:20 +02:00
|
|
|
|
2013-06-13 01:59:13 +02:00
|
|
|
//dome 5 Diamond Block
|
|
|
|
//dome 12 glass
|
|
|
|
//dome 17 mesecons:wire_00000000_off
|
2013-04-28 00:28:20 +02:00
|
|
|
|
2012-10-01 22:19:09 +02:00
|
|
|
### //hollowcylinder x/y/z/? <length> <radius> <node>
|
|
|
|
|
|
|
|
Add hollow cylinder at WorldEdit position 1 along the x/y/z/? axis with length <length> and radius <radius>, composed of <node>.
|
|
|
|
|
2013-06-13 01:59:13 +02:00
|
|
|
//hollowcylinder x +5 8 Bronze Block
|
|
|
|
//hollowcylinder y 28 10 glass
|
|
|
|
//hollowcylinder z -12 3 mesecons:wire_00000000_off
|
|
|
|
//hollowcylinder ? 2 4 default:stone
|
2012-10-01 22:19:09 +02:00
|
|
|
|
|
|
|
### //cylinder x/y/z/? <length> <radius> <node>
|
|
|
|
|
|
|
|
Add cylinder at WorldEdit position 1 along the x/y/z/? axis with length <length> and radius <radius>, composed of <node>.
|
|
|
|
|
2013-06-13 01:59:13 +02:00
|
|
|
//cylinder x +5 8 Bronze Block
|
|
|
|
//cylinder y 28 10 glass
|
|
|
|
//cylinder z -12 3 mesecons:wire_00000000_off
|
|
|
|
//cylinder ? 2 4 default:stone
|
2012-10-01 22:19:09 +02:00
|
|
|
|
|
|
|
### //pyramid <height> <node>
|
|
|
|
|
2013-06-23 05:05:34 +02:00
|
|
|
Add pyramid centered at WorldEdit position 1 with height <height>, composed of <node>.
|
2012-10-01 22:19:09 +02:00
|
|
|
|
2013-06-13 01:59:13 +02:00
|
|
|
//pyramid 8 Diamond Block
|
|
|
|
//pyramid 5 glass
|
|
|
|
//pyramid 2 mesecons:wire_00000000_off
|
2012-10-01 22:19:09 +02:00
|
|
|
|
|
|
|
### //spiral <width> <height> <spacer> <node>
|
|
|
|
|
2013-06-23 05:05:34 +02:00
|
|
|
Add spiral centered at WorldEdit position 1 with width <width>, height <height>, space between walls <spacer>, composed of <node>.
|
2012-10-01 22:19:09 +02:00
|
|
|
|
2013-06-13 01:59:13 +02:00
|
|
|
//spiral 20 5 3 Diamond Block
|
|
|
|
//spiral 5 2 1 glass
|
|
|
|
//spiral 7 1 5 mesecons:wire_00000000_off
|
2012-10-01 22:19:09 +02:00
|
|
|
|
|
|
|
### //copy x/y/z/? <amount>
|
|
|
|
|
|
|
|
Copy the current WorldEdit region along the x/y/z/? axis by <amount> nodes.
|
|
|
|
|
|
|
|
//copy x 15
|
|
|
|
//copy y -7
|
|
|
|
//copy z +4
|
|
|
|
//copy ? 8
|
|
|
|
|
|
|
|
### //move x/y/z/? <amount>
|
|
|
|
|
|
|
|
Move the current WorldEdit positions and region along the x/y/z/? axis by <amount> nodes.
|
|
|
|
|
|
|
|
//move x 15
|
|
|
|
//move y -7
|
|
|
|
//move z +4
|
|
|
|
//move ? -1
|
|
|
|
|
|
|
|
### //stack x/y/z/? <count>
|
|
|
|
|
|
|
|
Stack the current WorldEdit region along the x/y/z/? axis <count> times.
|
|
|
|
|
|
|
|
//stack x 3
|
|
|
|
//stack y -1
|
|
|
|
//stack z +5
|
|
|
|
//stack ? 12
|
|
|
|
|
2013-06-18 21:05:49 +02:00
|
|
|
### //scale <factor>
|
|
|
|
|
|
|
|
Scale the current WorldEdit positions and region by a factor of positive integer <factor> with position 1 as the origin.
|
|
|
|
|
|
|
|
//scale 2
|
|
|
|
//scale 1
|
|
|
|
//scale 10
|
|
|
|
|
2012-10-01 22:19:09 +02:00
|
|
|
### //transpose x/y/z/? x/y/z/?
|
|
|
|
|
2012-12-12 23:17:56 +01:00
|
|
|
Transpose the current WorldEdit positions and region along the x/y/z/? and x/y/z/? axes.
|
2012-10-01 22:19:09 +02:00
|
|
|
|
|
|
|
//transpose x y
|
|
|
|
//transpose x z
|
|
|
|
//transpose y z
|
|
|
|
//transpose ? y
|
|
|
|
|
|
|
|
### //flip x/y/z/?
|
|
|
|
|
|
|
|
Flip the current WorldEdit region along the x/y/z/? axis.
|
|
|
|
|
2013-02-23 09:35:16 +01:00
|
|
|
//flip x
|
|
|
|
//flip y
|
|
|
|
//flip z
|
|
|
|
//flip ?
|
2012-10-01 22:19:09 +02:00
|
|
|
|
|
|
|
### //rotate x/y/z/? <angle>
|
|
|
|
|
2013-01-12 22:46:40 +01:00
|
|
|
Rotate the current WorldEdit positions and region along the x/y/z/? axis by angle <angle> (90 degree increment).
|
2012-10-01 22:19:09 +02:00
|
|
|
|
|
|
|
//rotate x 90
|
|
|
|
//rotate y 180
|
|
|
|
//rotate z 270
|
|
|
|
//rotate ? -90
|
|
|
|
|
2013-01-12 22:46:40 +01:00
|
|
|
### //orient <angle>
|
|
|
|
|
|
|
|
Rotate oriented nodes in the current WorldEdit region around the Y axis by angle <angle> (90 degree increment)
|
|
|
|
|
|
|
|
//orient 90
|
|
|
|
//orient 180
|
|
|
|
//orient 270
|
|
|
|
//orient -90
|
|
|
|
|
2013-01-12 22:02:23 +01:00
|
|
|
### //fixlight
|
2012-10-01 22:19:09 +02:00
|
|
|
|
2013-01-12 22:02:23 +01:00
|
|
|
Fixes the lighting in the current WorldEdit region.
|
2012-10-01 22:19:09 +02:00
|
|
|
|
2013-01-12 22:46:40 +01:00
|
|
|
//fixlight
|
2012-10-01 22:19:09 +02:00
|
|
|
|
2013-02-23 09:35:16 +01:00
|
|
|
### //hide
|
2012-10-14 03:45:50 +02:00
|
|
|
|
|
|
|
Hide all nodes in the current WorldEdit region non-destructively.
|
|
|
|
|
|
|
|
//hide
|
|
|
|
|
|
|
|
### //suppress <node>
|
|
|
|
|
|
|
|
Suppress all <node> in the current WorldEdit region non-destructively.
|
|
|
|
|
2013-06-13 01:59:13 +02:00
|
|
|
//suppress Diamond Block
|
|
|
|
//suppress glass
|
|
|
|
//suppress mesecons:wire_00000000_off
|
2012-10-14 03:45:50 +02:00
|
|
|
|
2012-10-21 23:49:43 +02:00
|
|
|
### //highlight <node>
|
2012-10-14 03:45:50 +02:00
|
|
|
|
2012-10-21 23:49:43 +02:00
|
|
|
Highlight <node> in the current WorldEdit region by hiding everything else non-destructively.
|
2012-10-14 03:45:50 +02:00
|
|
|
|
2013-06-13 01:59:13 +02:00
|
|
|
//highlight Diamond Block
|
|
|
|
//highlight glass
|
|
|
|
//highlight mesecons:wire_00000000_off
|
2012-10-14 03:45:50 +02:00
|
|
|
|
|
|
|
### //restore
|
|
|
|
|
|
|
|
Restores nodes hidden with WorldEdit in the current WorldEdit region.
|
|
|
|
|
|
|
|
//restore
|
|
|
|
|
2012-10-01 22:19:09 +02:00
|
|
|
### //save <file>
|
|
|
|
|
|
|
|
Save the current WorldEdit region to "(world folder)/schems/<file>.we".
|
|
|
|
|
|
|
|
//save some random filename
|
|
|
|
//save huge_base
|
|
|
|
|
2012-10-21 23:49:43 +02:00
|
|
|
### //allocate <file>
|
|
|
|
|
|
|
|
Set the region defined by nodes from "(world folder)/schems/<file>.we" as the current WorldEdit region.
|
|
|
|
|
|
|
|
//allocate some random filename
|
|
|
|
//allocate huge_base
|
|
|
|
|
2012-10-01 22:19:09 +02:00
|
|
|
### //load <file>
|
|
|
|
|
|
|
|
Load nodes from "(world folder)/schems/<file>.we" with position 1 of the current WorldEdit region as the origin.
|
|
|
|
|
|
|
|
//load some random filename
|
|
|
|
//load huge_base
|
|
|
|
|
2013-01-13 00:20:41 +01:00
|
|
|
### //lua <code>
|
|
|
|
|
|
|
|
Executes <code> as a Lua chunk in the global namespace.
|
|
|
|
|
|
|
|
//lua worldedit.pos1["singleplayer"] = {x=0, y=0, z=0}
|
|
|
|
//lua worldedit.rotate(worldedit.pos1["singleplayer"], worldedit.pos2["singleplayer"], "y", 90)
|
|
|
|
|
|
|
|
### //luatransform <code>
|
|
|
|
|
|
|
|
Executes <code> as a Lua chunk in the global namespace with the variable pos available, for each node in the current WorldEdit region.
|
|
|
|
|
|
|
|
//luatransform minetest.env:add_node(pos, {name="default:stone"})
|
2013-06-22 08:24:54 +02:00
|
|
|
//luatransform if minetest.env:get_node(pos).name == "air" then minetest.env:add_node(pos, {name="default:water_source"})
|
|
|
|
|
|
|
|
### //mtschemcreate <file>
|
|
|
|
|
|
|
|
Save the current WorldEdit region using the Minetest Schematic format to "(world folder)/schems/<file>.mts".
|
|
|
|
|
|
|
|
//mtschemcreate some random filename
|
|
|
|
//mtschemcreate huge_base
|
|
|
|
|
|
|
|
### //mtschemplace <file>
|
|
|
|
|
|
|
|
Load nodes from "(world folder)/schems/<file>.mts" with position 1 of the current WorldEdit region as the origin.
|
|
|
|
|
|
|
|
//mtschemplace some random filename
|
|
|
|
//mtschemplace huge_base
|
|
|
|
|
|
|
|
### //mtschemprob start/finish/get
|
|
|
|
|
|
|
|
After using //mtschemprob start all nodes punched will bring up a text field where a probablity can be entered.
|
|
|
|
This mode can be left with //mtschemprob finish. //mtschemprob get will display the probabilities saved for the nodes.
|
|
|
|
|
|
|
|
//mtschemprob get
|