]> git.lizzy.rs Git - worldedit.git/blobdiff - Chat Commands.md
Support negative values to make upside-down domes and pyramids (slight changes to...
[worldedit.git] / Chat Commands.md
index 7f6eeb02a2e6387c17215d3b75289641312b68a1..d27ebfcc9d9f03f4a312f4bdef2f4d2810988023 100644 (file)
@@ -2,6 +2,21 @@ Chat Commands
 -------------\r
 For more information, see the [README](README.md).\r
 \r
+### //inspect\r
+\r
+Enable or disable node inspection.\r
+\r
+    //inspect on\r
+    //inspect off\r
+    //inspect 1\r
+    //inspect 0\r
+    //inspect true\r
+    //inspect false\r
+    //inspect yes\r
+    //inspect no\r
+    //inspect enable\r
+    //inspect disable\r
+\r
 ### //reset\r
 \r
 Reset the region so that it is empty.\r
@@ -14,6 +29,12 @@ Show markers at the region positions.
 \r
     //mark\r
 \r
+### //unmark\r
+\r
+Hide markers if currently shown.\r
+\r
+    //unmark\r
+\r
 ### //pos1\r
 \r
 Set WorldEdit region position 1 to the player's location.\r
@@ -35,6 +56,14 @@ Set WorldEdit region, WorldEdit position 1, or WorldEdit position 2 by punching
     //p set2\r
     //p get\r
 \r
+### //fixedpos set1 x y z\r
+\r
+Set a WorldEdit region position to the position at (<x>, <y>, <z>).\r
+\r
+    //fixedpos set1 0, 0, 0\r
+    //fixedpos set1 -30, 5, 28\r
+    //fixedpos set2 1004, -200, 432\r
+\r
 ### //volume\r
 \r
 Display the volume of the current WorldEdit region.\r
@@ -45,77 +74,94 @@ Display the volume of the current WorldEdit region.
 \r
 Set the current WorldEdit region to <node>.\r
 \r
-    //set dirt\r
-    //set default:glass\r
-    //set mesecons:mesecon\r
+    //set air\r
+    //set cactus\r
+    //set Bronze Block\r
+    //set mesecons:wire_00000000_off\r
 \r
 ### //replace <search node> <replace node>\r
 \r
 Replace all instances of <search node> with <replace node> in the current WorldEdit region.\r
 \r
-    //replace cobble stone\r
-    //replace default:steelblock glass\r
-    //replace dirt flowers:flower_waterlily\r
-    //replace flowers:flower_rose flowers:flower_tulip\r
+    //replace Cobblestone air\r
+    //replace lightstone_blue glass\r
+    //replace dirt Bronze Block\r
+    //replace mesecons:wire_00000000_off flowers:flower_tulip\r
 \r
 ### //replaceinverse <search node> <replace node>\r
 \r
 Replace all nodes other than <search node> with <replace node> in the current WorldEdit region.\r
 \r
-    //replaceinverse air stone\r
-    //replaceinverse water_source default:dirt\r
-    //replaceinverse mesecons:mesecon air\r
-    //replaceinverse default:steelblock default:glass\r
+    //replaceinverse Cobblestone air\r
+    //replaceinverse flowers:flower_waterlily glass\r
+    //replaceinverse dirt Bronze Block\r
+    //replaceinverse mesecons:wire_00000000_off flowers:flower_tulip\r
 \r
 ### //hollowsphere <radius> <node>\r
 \r
-Add hollow sphere at WorldEdit position 1 with radius <radius>, composed of <node>.\r
+Add hollow sphere centered at WorldEdit position 1 with radius <radius>, composed of <node>.\r
 \r
-    //hollowsphere 5 dirt\r
-    //hollowsphere 12 default:glass\r
-    //hollowsphere 17 mesecons:mesecon\r
+    //hollowsphere 5 Diamond Block\r
+    //hollowsphere 12 glass\r
+    //hollowsphere 17 mesecons:wire_00000000_off\r
 \r
 ### //sphere <radius> <node>\r
 \r
-Add sphere at WorldEdit position 1 with radius <radius>, composed of <node>.\r
+Add sphere centered at WorldEdit position 1 with radius <radius>, composed of <node>.\r
+\r
+    //sphere 5 Diamond Block\r
+    //sphere 12 glass\r
+    //sphere 17 mesecons:wire_00000000_off\r
+\r
+### //hollowdome <radius> <node>\r
+\r
+Add hollow dome centered at WorldEdit position 1 with radius <radius>, composed of <node>.\r
+\r
+    //hollowdome 5 Diamond Block\r
+    //hollowdome -12 glass\r
+    //hollowdome 17 mesecons:wire_00000000_off\r
+\r
+### //dome <radius> <node>\r
+\r
+Add dome centered at WorldEdit position 1 with radius <radius>, composed of <node>.\r
 \r
-    //sphere 5 dirt\r
-    //sphere 12 default:glass\r
-    //sphere 17 mesecons:mesecon\r
+    //dome 5 Diamond Block\r
+    //dome -12 glass\r
+    //dome 17 mesecons:wire_00000000_off\r
 \r
 ### //hollowcylinder x/y/z/? <length> <radius> <node>\r
 \r
 Add hollow cylinder at WorldEdit position 1 along the x/y/z/? axis with length <length> and radius <radius>, composed of <node>.\r
 \r
-    //hollowcylinder x +5 8 dirt\r
-    //hollowcylinder y 28 10 default:glass\r
-    //hollowcylinder z -12 3 mesecons:mesecon\r
-    //hollowcylinder ? 2 4 stone\r
+    //hollowcylinder x +5 8 Bronze Block\r
+    //hollowcylinder y 28 10 glass\r
+    //hollowcylinder z -12 3 mesecons:wire_00000000_off\r
+    //hollowcylinder ? 2 4 default:stone\r
 \r
 ### //cylinder x/y/z/? <length> <radius> <node>\r
 \r
 Add cylinder at WorldEdit position 1 along the x/y/z/? axis with length <length> and radius <radius>, composed of <node>.\r
 \r
-    //cylinder x +5 8 dirt\r
-    //cylinder y 28 10 default:glass\r
-    //cylinder z -12 3 mesecons:mesecon\r
-    //cylinder ? 2 4 stone\r
+    //cylinder x +5 8 Bronze Block\r
+    //cylinder y 28 10 glass\r
+    //cylinder z -12 3 mesecons:wire_00000000_off\r
+    //cylinder ? 2 4 default:stone\r
     \r
-### //pyramid <height> <node>\r
+### //pyramid x/y/z? <height> <node>\r
 \r
-Add pyramid at WorldEdit position 1 with height <height>, composed of <node>.\r
+Add pyramid centered at WorldEdit position 1 along the x/y/z/? axis with height <height>, composed of <node>.\r
 \r
-    //pyramid 8 dirt\r
-    //pyramid 5 default:glass\r
-    //pyramid 2 stone\r
+    //pyramid 8 Diamond Block\r
+    //pyramid 5 glass\r
+    //pyramid 2 mesecons:wire_00000000_off\r
 \r
 ### //spiral <width> <height> <spacer> <node>\r
 \r
-Add spiral at WorldEdit position 1 with width <width>, height <height>, space between walls <spacer>, composed of <node>.\r
+Add spiral centered at WorldEdit position 1 with width <width>, height <height>, space between walls <spacer>, composed of <node>.\r
 \r
-    //spiral 20 5 3 dirt\r
-    //spiral 5 2 1 default:glass\r
-    //spiral 7 1 5 stone\r
+    //spiral 20 5 3 Diamond Block\r
+    //spiral 5 2 1 glass\r
+    //spiral 7 1 5 mesecons:wire_00000000_off\r
 \r
 ### //copy x/y/z/? <amount>\r
 \r
@@ -144,6 +190,14 @@ Stack the current WorldEdit region along the x/y/z/? axis <count> times.
     //stack z +5\r
     //stack ? 12\r
 \r
+### //scale <factor>\r
+\r
+Scale the current WorldEdit positions and region by a factor of positive integer <factor> with position 1 as the origin.\r
+\r
+    //scale 2\r
+    //scale 1\r
+    //scale 10\r
+\r
 ### //transpose x/y/z/? x/y/z/?\r
 \r
 Transpose the current WorldEdit positions and region along the x/y/z/? and x/y/z/? axes.\r
@@ -196,17 +250,17 @@ Hide all nodes in the current WorldEdit region non-destructively.
 \r
 Suppress all <node> in the current WorldEdit region non-destructively.\r
 \r
-    //suppress dirt\r
-    //suppress default:glass\r
-    //suppress mesecons:mesecon\r
+    //suppress Diamond Block\r
+    //suppress glass\r
+    //suppress mesecons:wire_00000000_off\r
 \r
 ### //highlight <node>\r
 \r
 Highlight <node> in the current WorldEdit region by hiding everything else non-destructively.\r
 \r
-    //highlight dirt\r
-    //highlight default:glass\r
-    //highlight mesecons:mesecon\r
+    //highlight Diamond Block\r
+    //highlight glass\r
+    //highlight mesecons:wire_00000000_off\r
 \r
 ### //restore\r
 \r
@@ -246,5 +300,32 @@ Executes <code> as a Lua chunk in the global namespace.
 \r
 Executes <code> as a Lua chunk in the global namespace with the variable pos available, for each node in the current WorldEdit region.\r
 \r
-    //luatransform minetest.env:add_node(pos, {name="default:stone"})\r
-    //luatransform if minetest.env:get_node(pos).name == "air" then minetest.env:add_node(pos, {name="default:water_source"})
+    //luatransform minetest.add_node(pos, {name="default:stone"})\r
+    //luatransform if minetest.get_node(pos).name == "air" then minetest.env:add_node(pos, {name="default:water_source"})\r
+\r
+### //mtschemcreate <file>\r
+\r
+Save the current WorldEdit region using the Minetest Schematic format to "(world folder)/schems/<file>.mts".\r
+\r
+    //mtschemcreate some random filename\r
+    //mtschemcreate huge_base\r
+\r
+### //mtschemplace <file>\r
+\r
+Load nodes from "(world folder)/schems/<file>.mts" with position 1 of the current WorldEdit region as the origin.\r
+\r
+    //mtschemplace some random filename\r
+    //mtschemplace huge_base\r
+\r
+### //mtschemprob start/finish/get\r
+\r
+After using //mtschemprob start all nodes punched will bring up a text field where a probablity can be entered.\r
+This mode can be left with //mtschemprob finish. //mtschemprob get will display the probabilities saved for the nodes.\r
+\r
+    //mtschemprob get\r
+\r
+### //clearobjects\r
+\r
+Clears all objects within the WorldEdit region.\r
+\r
+    //clearobjects\r