]> git.lizzy.rs Git - worldedit.git/blobdiff - Chat Commands.md
Fix chat commands display.
[worldedit.git] / Chat Commands.md
index 93ef6ec81f8bfdd368d29ebac48e4299e74b2d04..605683b5965862d6ab704ffdcc80d0c63b8d8763 100644 (file)
@@ -2,13 +2,13 @@ Chat Commands
 -------------\r
 For more information, see the [README](README.md).\r
 \r
-### //about\r
+### `//about`\r
 \r
 Get information about the mod.\r
 \r
     //about\r
 \r
-### //inspect\r
+### `//inspect on/off/1/0/true/false/yes/no/enable/disable/<blank>`\r
 \r
 Enable or disable node inspection.\r
 \r
@@ -24,37 +24,37 @@ Enable or disable node inspection.
     //inspect disable\r
     //inspect\r
 \r
-### //reset\r
+### `//reset`\r
 \r
 Reset the region so that it is empty.\r
 \r
     //reset\r
 \r
-### //mark\r
+### `//mark`\r
 \r
 Show markers at the region positions.\r
 \r
     //mark\r
 \r
-### //unmark\r
+### `//unmark`\r
 \r
 Hide markers if currently shown.\r
 \r
     //unmark\r
 \r
-### //pos1\r
+### `//pos1`\r
 \r
 Set WorldEdit region position 1 to the player's location.\r
 \r
     //pos1\r
 \r
-### //pos2\r
+### `//pos2`\r
 \r
 Set WorldEdit region position 2 to the player's location.\r
 \r
     //pos2\r
 \r
-### //p set/set1/set2/get\r
+### `//p set/set1/set2/get`\r
 \r
 Set WorldEdit region, WorldEdit position 1, or WorldEdit position 2 by punching nodes, or display the current WorldEdit region.\r
 \r
@@ -63,150 +63,150 @@ 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
+### `//fixedpos set1 x y z`\r
 \r
-Set a WorldEdit region position to the position at (<x>, <y>, <z>).\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
+### `//volume`\r
 \r
 Display the volume of the current WorldEdit region.\r
 \r
     //volume\r
 \r
-### //set <node>\r
+### `//set <node>`\r
 \r
-Set the current WorldEdit region to <node>.\r
+Set the current WorldEdit region to `<node>`.\r
 \r
     //set air\r
     //set cactus\r
     //set Bronze Block\r
     //set mesecons:wire_00000000_off\r
 \r
-### //replace <search node> <replace node>\r
+### `//replace <search node> <replace node>`\r
 \r
-Replace all instances of <search node> with <replace node> in the current WorldEdit region.\r
+Replace all instances of `<search node>` with `<replace node>` in the current WorldEdit region.\r
 \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
+### `//replaceinverse <search node> <replace node>`\r
 \r
-Replace all nodes other than <search node> with <replace node> in the current WorldEdit region.\r
+Replace all nodes other than `<search node>` with `<replace node>` in the current WorldEdit region.\r
 \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
+### `//hollowsphere <radius> <node>`\r
 \r
-Add hollow sphere centered 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 Diamond Block\r
     //hollowsphere 12 glass\r
     //hollowsphere 17 mesecons:wire_00000000_off\r
 \r
-### //sphere <radius> <node>\r
+### `//sphere <radius> <node>`\r
 \r
-Add sphere centered 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
+### `//hollowdome <radius> <node>`\r
 \r
-Add hollow dome centered at WorldEdit position 1 with radius <radius>, composed of <node>.\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
+### `//dome <radius> <node>`\r
 \r
-Add dome centered at WorldEdit position 1 with radius <radius>, composed of <node>.\r
+Add dome centered at WorldEdit position 1 with radius `<radius>`, composed of `<node>`.\r
 \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
+### `//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
+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 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
+### `//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
+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 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 x/y/z? <height> <node>\r
+### `//pyramid x/y/z? <height> <node>`\r
 \r
-Add pyramid centered at WorldEdit position 1 along the x/y/z/? axis 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 x 8 Diamond Block\r
     //pyramid y -5 glass\r
     //pyramid z 2 mesecons:wire_00000000_off\r
     //pyramid ? 12 mesecons:wire_00000000_off\r
 \r
-### //spiral <length> <height> <spacer> <node>\r
+### `//spiral <length> <height> <spacer> <node>`\r
 \r
-Add spiral centered at WorldEdit position 1 with side length <length>, height <height>, space between walls <spacer>, composed of <node>.\r
+Add spiral centered at WorldEdit position 1 with side length `<length>`, height `<height>`, space between walls `<spacer>`, composed of `<node>`.\r
 \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
+### `//copy x/y/z/? <amount>`\r
 \r
-Copy the current WorldEdit region along the x/y/z/? axis by <amount> nodes.\r
+Copy the current WorldEdit region along the x/y/z/? axis by `<amount>` nodes.\r
 \r
     //copy x 15\r
     //copy y -7\r
     //copy z +4\r
     //copy ? 8\r
 \r
-### //move x/y/z/? <amount>\r
+### `//move x/y/z/? <amount>`\r
 \r
-Move the current WorldEdit positions and region along the x/y/z/? axis by <amount> nodes.\r
+Move the current WorldEdit positions and region along the x/y/z/? axis by `<amount>` nodes.\r
 \r
     //move x 15\r
     //move y -7\r
     //move z +4\r
     //move ? -1\r
 \r
-### //stack x/y/z/? <count>\r
+### `//stack x/y/z/? <count>`\r
 \r
-Stack the current WorldEdit region along the x/y/z/? axis <count> times.\r
+Stack the current WorldEdit region along the x/y/z/? axis `<count>` times.\r
 \r
     //stack x 3\r
     //stack y -1\r
     //stack z +5\r
     //stack ? 12\r
 \r
-### //scale <factor>\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
+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
+### `//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
 \r
@@ -215,7 +215,7 @@ Transpose the current WorldEdit positions and region along the x/y/z/? and x/y/z
     //transpose y z\r
     //transpose ? y\r
 \r
-### //flip x/y/z/?\r
+### `//flip x/y/z/?`\r
 \r
 Flip the current WorldEdit region along the x/y/z/? axis.\r
 \r
@@ -224,37 +224,37 @@ Flip the current WorldEdit region along the x/y/z/? axis.
     //flip z\r
     //flip ?\r
 \r
-### //rotate x/y/z/? <angle>\r
+### `//rotate x/y/z/? <angle>`\r
 \r
-Rotate the current WorldEdit positions and region along the x/y/z/? axis by angle <angle> (90 degree increment).\r
+Rotate the current WorldEdit positions and region along the x/y/z/? axis by angle `<angle>` (90 degree increment).\r
 \r
     //rotate x 90\r
     //rotate y 180\r
     //rotate z 270\r
     //rotate ? -90\r
 \r
-### //orient <angle>\r
+### `//orient <angle>`\r
 \r
-Rotate oriented nodes in the current WorldEdit region around the Y axis by angle <angle> (90 degree increment)\r
+Rotate oriented nodes in the current WorldEdit region around the Y axis by angle `<angle>` (90 degree increment)\r
 \r
     //orient 90\r
     //orient 180\r
     //orient 270\r
     //orient -90\r
 \r
-### //fixlight\r
+### `//fixlight`\r
 \r
 Fixes the lighting in the current WorldEdit region.\r
 \r
     //fixlight\r
 \r
-### //hide\r
+### `//hide`\r
 \r
 Hide all nodes in the current WorldEdit region non-destructively.\r
 \r
     //hide\r
 \r
-### //suppress <node>\r
+### `//suppress <node>`\r
 \r
 Suppress all <node> in the current WorldEdit region non-destructively.\r
 \r
@@ -262,7 +262,7 @@ Suppress all <node> in the current WorldEdit region non-destructively.
     //suppress glass\r
     //suppress mesecons:wire_00000000_off\r
 \r
-### //highlight <node>\r
+### `//highlight <node>`\r
 \r
 Highlight <node> in the current WorldEdit region by hiding everything else non-destructively.\r
 \r
@@ -270,69 +270,69 @@ Highlight <node> in the current WorldEdit region by hiding everything else non-d
     //highlight glass\r
     //highlight mesecons:wire_00000000_off\r
 \r
-### //restore\r
+### `//restore`\r
 \r
 Restores nodes hidden with WorldEdit in the current WorldEdit region.\r
 \r
     //restore\r
 \r
-### //save <file>\r
+### `//save <file>`\r
 \r
-Save the current WorldEdit region to "(world folder)/schems/<file>.we".\r
+Save the current WorldEdit region to "(world folder)/schems/`<file>`.we".\r
 \r
     //save some random filename\r
     //save huge_base\r
 \r
-### //allocate <file>\r
+### `//allocate <file>`\r
 \r
-Set the region defined by nodes from "(world folder)/schems/<file>.we" as the current WorldEdit region.\r
+Set the region defined by nodes from "(world folder)/schems/`<file>`.we" as the current WorldEdit region.\r
 \r
     //allocate some random filename\r
     //allocate huge_base\r
 \r
-### //load <file>\r
+### `//load <file>`\r
 \r
-Load nodes from "(world folder)/schems/<file>.we" with position 1 of the current WorldEdit region as the origin.\r
+Load nodes from "(world folder)/schems/`<file>`.we" with position 1 of the current WorldEdit region as the origin.\r
 \r
     //load some random filename\r
     //load huge_base\r
 \r
-### //lua <code>\r
+### `//lua <code>`\r
 \r
-Executes <code> as a Lua chunk in the global namespace.\r
+Executes `<code>` as a Lua chunk in the global namespace.\r
 \r
     //lua worldedit.pos1["singleplayer"] = {x=0, y=0, z=0}\r
     //lua worldedit.rotate(worldedit.pos1["singleplayer"], worldedit.pos2["singleplayer"], "y", 90)\r
 \r
-### //luatransform <code>\r
+### `//luatransform <code>`\r
 \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
+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.add_node(pos, {name="default:stone"})\r
     //luatransform if minetest.get_node(pos).name == "air" then minetest.add_node(pos, {name="default:water_source"})\r
 \r
-### //mtschemcreate <file>\r
+### `//mtschemcreate <file>`\r
 \r
-Save the current WorldEdit region using the Minetest Schematic format to "(world folder)/schems/<file>.mts".\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
+### `//mtschemplace <file>`\r
 \r
-Load nodes from "(world folder)/schems/<file>.mts" with position 1 of the current WorldEdit region as the origin.\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
+### `//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
+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
+### `//clearobjects`\r
 \r
 Clears all objects within the WorldEdit region.\r
 \r