mirror of
https://github.com/Uberi/Minetest-WorldEdit.git
synced 2024-12-26 10:40:40 +01:00
Fix chat commands display.
This commit is contained in:
parent
82f39460cc
commit
be913e6d8b
140
Chat Commands.md
140
Chat Commands.md
@ -2,13 +2,13 @@ Chat Commands
|
|||||||
-------------
|
-------------
|
||||||
For more information, see the [README](README.md).
|
For more information, see the [README](README.md).
|
||||||
|
|
||||||
### //about
|
### `//about`
|
||||||
|
|
||||||
Get information about the mod.
|
Get information about the mod.
|
||||||
|
|
||||||
//about
|
//about
|
||||||
|
|
||||||
### //inspect
|
### `//inspect on/off/1/0/true/false/yes/no/enable/disable/<blank>`
|
||||||
|
|
||||||
Enable or disable node inspection.
|
Enable or disable node inspection.
|
||||||
|
|
||||||
@ -24,37 +24,37 @@ Enable or disable node inspection.
|
|||||||
//inspect disable
|
//inspect disable
|
||||||
//inspect
|
//inspect
|
||||||
|
|
||||||
### //reset
|
### `//reset`
|
||||||
|
|
||||||
Reset the region so that it is empty.
|
Reset the region so that it is empty.
|
||||||
|
|
||||||
//reset
|
//reset
|
||||||
|
|
||||||
### //mark
|
### `//mark`
|
||||||
|
|
||||||
Show markers at the region positions.
|
Show markers at the region positions.
|
||||||
|
|
||||||
//mark
|
//mark
|
||||||
|
|
||||||
### //unmark
|
### `//unmark`
|
||||||
|
|
||||||
Hide markers if currently shown.
|
Hide markers if currently shown.
|
||||||
|
|
||||||
//unmark
|
//unmark
|
||||||
|
|
||||||
### //pos1
|
### `//pos1`
|
||||||
|
|
||||||
Set WorldEdit region position 1 to the player's location.
|
Set WorldEdit region position 1 to the player's location.
|
||||||
|
|
||||||
//pos1
|
//pos1
|
||||||
|
|
||||||
### //pos2
|
### `//pos2`
|
||||||
|
|
||||||
Set WorldEdit region position 2 to the player's location.
|
Set WorldEdit region position 2 to the player's location.
|
||||||
|
|
||||||
//pos2
|
//pos2
|
||||||
|
|
||||||
### //p set/set1/set2/get
|
### `//p set/set1/set2/get`
|
||||||
|
|
||||||
Set WorldEdit region, WorldEdit position 1, or WorldEdit position 2 by punching nodes, or display the current WorldEdit region.
|
Set WorldEdit region, WorldEdit position 1, or WorldEdit position 2 by punching nodes, or display the current WorldEdit region.
|
||||||
|
|
||||||
@ -63,150 +63,150 @@ Set WorldEdit region, WorldEdit position 1, or WorldEdit position 2 by punching
|
|||||||
//p set2
|
//p set2
|
||||||
//p get
|
//p get
|
||||||
|
|
||||||
### //fixedpos set1 x y z
|
### `//fixedpos set1 x y z`
|
||||||
|
|
||||||
Set a WorldEdit region position to the position at (<x>, <y>, <z>).
|
Set a WorldEdit region position to the position at (`<x>`, `<y>`, `<z>`).
|
||||||
|
|
||||||
//fixedpos set1 0 0 0
|
//fixedpos set1 0 0 0
|
||||||
//fixedpos set1 -30 5 28
|
//fixedpos set1 -30 5 28
|
||||||
//fixedpos set2 1004 -200 432
|
//fixedpos set2 1004 -200 432
|
||||||
|
|
||||||
### //volume
|
### `//volume`
|
||||||
|
|
||||||
Display the volume of the current WorldEdit region.
|
Display the volume of the current WorldEdit region.
|
||||||
|
|
||||||
//volume
|
//volume
|
||||||
|
|
||||||
### //set <node>
|
### `//set <node>`
|
||||||
|
|
||||||
Set the current WorldEdit region to <node>.
|
Set the current WorldEdit region to `<node>`.
|
||||||
|
|
||||||
//set air
|
//set air
|
||||||
//set cactus
|
//set cactus
|
||||||
//set Bronze Block
|
//set Bronze Block
|
||||||
//set mesecons:wire_00000000_off
|
//set mesecons:wire_00000000_off
|
||||||
|
|
||||||
### //replace <search node> <replace node>
|
### `//replace <search node> <replace node>`
|
||||||
|
|
||||||
Replace all instances of <search node> with <replace node> in the current WorldEdit region.
|
Replace all instances of `<search node>` with `<replace node>` in the current WorldEdit region.
|
||||||
|
|
||||||
//replace Cobblestone air
|
//replace Cobblestone air
|
||||||
//replace lightstone_blue glass
|
//replace lightstone_blue glass
|
||||||
//replace dirt Bronze Block
|
//replace dirt Bronze Block
|
||||||
//replace mesecons:wire_00000000_off flowers:flower_tulip
|
//replace mesecons:wire_00000000_off flowers:flower_tulip
|
||||||
|
|
||||||
### //replaceinverse <search node> <replace node>
|
### `//replaceinverse <search node> <replace node>`
|
||||||
|
|
||||||
Replace all nodes other than <search node> with <replace node> in the current WorldEdit region.
|
Replace all nodes other than `<search node>` with `<replace node>` in the current WorldEdit region.
|
||||||
|
|
||||||
//replaceinverse Cobblestone air
|
//replaceinverse Cobblestone air
|
||||||
//replaceinverse flowers:flower_waterlily glass
|
//replaceinverse flowers:flower_waterlily glass
|
||||||
//replaceinverse dirt Bronze Block
|
//replaceinverse dirt Bronze Block
|
||||||
//replaceinverse mesecons:wire_00000000_off flowers:flower_tulip
|
//replaceinverse mesecons:wire_00000000_off flowers:flower_tulip
|
||||||
|
|
||||||
### //hollowsphere <radius> <node>
|
### `//hollowsphere <radius> <node>`
|
||||||
|
|
||||||
Add hollow sphere centered at WorldEdit position 1 with radius <radius>, composed of <node>.
|
Add hollow sphere centered at WorldEdit position 1 with radius `<radius>`, composed of `<node>`.
|
||||||
|
|
||||||
//hollowsphere 5 Diamond Block
|
//hollowsphere 5 Diamond Block
|
||||||
//hollowsphere 12 glass
|
//hollowsphere 12 glass
|
||||||
//hollowsphere 17 mesecons:wire_00000000_off
|
//hollowsphere 17 mesecons:wire_00000000_off
|
||||||
|
|
||||||
### //sphere <radius> <node>
|
### `//sphere <radius> <node>`
|
||||||
|
|
||||||
Add sphere centered at WorldEdit position 1 with radius <radius>, composed of <node>.
|
Add sphere centered at WorldEdit position 1 with radius `<radius>`, composed of `<node>`.
|
||||||
|
|
||||||
//sphere 5 Diamond Block
|
//sphere 5 Diamond Block
|
||||||
//sphere 12 glass
|
//sphere 12 glass
|
||||||
//sphere 17 mesecons:wire_00000000_off
|
//sphere 17 mesecons:wire_00000000_off
|
||||||
|
|
||||||
### //hollowdome <radius> <node>
|
### `//hollowdome <radius> <node>`
|
||||||
|
|
||||||
Add hollow dome centered at WorldEdit position 1 with radius <radius>, composed of <node>.
|
Add hollow dome centered at WorldEdit position 1 with radius `<radius>`, composed of `<node>`.
|
||||||
|
|
||||||
//hollowdome 5 Diamond Block
|
//hollowdome 5 Diamond Block
|
||||||
//hollowdome -12 glass
|
//hollowdome -12 glass
|
||||||
//hollowdome 17 mesecons:wire_00000000_off
|
//hollowdome 17 mesecons:wire_00000000_off
|
||||||
|
|
||||||
### //dome <radius> <node>
|
### `//dome <radius> <node>`
|
||||||
|
|
||||||
Add dome centered at WorldEdit position 1 with radius <radius>, composed of <node>.
|
Add dome centered at WorldEdit position 1 with radius `<radius>`, composed of `<node>`.
|
||||||
|
|
||||||
//dome 5 Diamond Block
|
//dome 5 Diamond Block
|
||||||
//dome -12 glass
|
//dome -12 glass
|
||||||
//dome 17 mesecons:wire_00000000_off
|
//dome 17 mesecons:wire_00000000_off
|
||||||
|
|
||||||
### //hollowcylinder x/y/z/? <length> <radius> <node>
|
### `//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>.
|
Add hollow cylinder at WorldEdit position 1 along the x/y/z/? axis with length `<length>` and radius `<radius>`, composed of `<node>`.
|
||||||
|
|
||||||
//hollowcylinder x +5 8 Bronze Block
|
//hollowcylinder x +5 8 Bronze Block
|
||||||
//hollowcylinder y 28 10 glass
|
//hollowcylinder y 28 10 glass
|
||||||
//hollowcylinder z -12 3 mesecons:wire_00000000_off
|
//hollowcylinder z -12 3 mesecons:wire_00000000_off
|
||||||
//hollowcylinder ? 2 4 default:stone
|
//hollowcylinder ? 2 4 default:stone
|
||||||
|
|
||||||
### //cylinder x/y/z/? <length> <radius> <node>
|
### `//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>.
|
Add cylinder at WorldEdit position 1 along the x/y/z/? axis with length `<length>` and radius `<radius>`, composed of `<node>`.
|
||||||
|
|
||||||
//cylinder x +5 8 Bronze Block
|
//cylinder x +5 8 Bronze Block
|
||||||
//cylinder y 28 10 glass
|
//cylinder y 28 10 glass
|
||||||
//cylinder z -12 3 mesecons:wire_00000000_off
|
//cylinder z -12 3 mesecons:wire_00000000_off
|
||||||
//cylinder ? 2 4 default:stone
|
//cylinder ? 2 4 default:stone
|
||||||
|
|
||||||
### //pyramid x/y/z? <height> <node>
|
### `//pyramid x/y/z? <height> <node>`
|
||||||
|
|
||||||
Add pyramid centered at WorldEdit position 1 along the x/y/z/? axis with height <height>, composed of <node>.
|
Add pyramid centered at WorldEdit position 1 along the x/y/z/? axis with height `<height>`, composed of `<node>`.
|
||||||
|
|
||||||
//pyramid x 8 Diamond Block
|
//pyramid x 8 Diamond Block
|
||||||
//pyramid y -5 glass
|
//pyramid y -5 glass
|
||||||
//pyramid z 2 mesecons:wire_00000000_off
|
//pyramid z 2 mesecons:wire_00000000_off
|
||||||
//pyramid ? 12 mesecons:wire_00000000_off
|
//pyramid ? 12 mesecons:wire_00000000_off
|
||||||
|
|
||||||
### //spiral <length> <height> <spacer> <node>
|
### `//spiral <length> <height> <spacer> <node>`
|
||||||
|
|
||||||
Add spiral centered at WorldEdit position 1 with side length <length>, height <height>, space between walls <spacer>, composed of <node>.
|
Add spiral centered at WorldEdit position 1 with side length `<length>`, height `<height>`, space between walls `<spacer>`, composed of `<node>`.
|
||||||
|
|
||||||
//spiral 20 5 3 Diamond Block
|
//spiral 20 5 3 Diamond Block
|
||||||
//spiral 5 2 1 glass
|
//spiral 5 2 1 glass
|
||||||
//spiral 7 1 5 mesecons:wire_00000000_off
|
//spiral 7 1 5 mesecons:wire_00000000_off
|
||||||
|
|
||||||
### //copy x/y/z/? <amount>
|
### `//copy x/y/z/? <amount>`
|
||||||
|
|
||||||
Copy the current WorldEdit region along the x/y/z/? axis by <amount> nodes.
|
Copy the current WorldEdit region along the x/y/z/? axis by `<amount>` nodes.
|
||||||
|
|
||||||
//copy x 15
|
//copy x 15
|
||||||
//copy y -7
|
//copy y -7
|
||||||
//copy z +4
|
//copy z +4
|
||||||
//copy ? 8
|
//copy ? 8
|
||||||
|
|
||||||
### //move x/y/z/? <amount>
|
### `//move x/y/z/? <amount>`
|
||||||
|
|
||||||
Move the current WorldEdit positions and region along the x/y/z/? axis by <amount> nodes.
|
Move the current WorldEdit positions and region along the x/y/z/? axis by `<amount>` nodes.
|
||||||
|
|
||||||
//move x 15
|
//move x 15
|
||||||
//move y -7
|
//move y -7
|
||||||
//move z +4
|
//move z +4
|
||||||
//move ? -1
|
//move ? -1
|
||||||
|
|
||||||
### //stack x/y/z/? <count>
|
### `//stack x/y/z/? <count>`
|
||||||
|
|
||||||
Stack the current WorldEdit region along the x/y/z/? axis <count> times.
|
Stack the current WorldEdit region along the x/y/z/? axis `<count>` times.
|
||||||
|
|
||||||
//stack x 3
|
//stack x 3
|
||||||
//stack y -1
|
//stack y -1
|
||||||
//stack z +5
|
//stack z +5
|
||||||
//stack ? 12
|
//stack ? 12
|
||||||
|
|
||||||
### //scale <factor>
|
### `//scale <factor>`
|
||||||
|
|
||||||
Scale the current WorldEdit positions and region by a factor of positive integer <factor> with position 1 as the origin.
|
Scale the current WorldEdit positions and region by a factor of positive integer `<factor>` with position 1 as the origin.
|
||||||
|
|
||||||
//scale 2
|
//scale 2
|
||||||
//scale 1
|
//scale 1
|
||||||
//scale 10
|
//scale 10
|
||||||
|
|
||||||
### //transpose x/y/z/? x/y/z/?
|
### `//transpose x/y/z/? x/y/z/?`
|
||||||
|
|
||||||
Transpose the current WorldEdit positions and region along the x/y/z/? and x/y/z/? axes.
|
Transpose the current WorldEdit positions and region along the x/y/z/? and x/y/z/? axes.
|
||||||
|
|
||||||
@ -215,7 +215,7 @@ Transpose the current WorldEdit positions and region along the x/y/z/? and x/y/z
|
|||||||
//transpose y z
|
//transpose y z
|
||||||
//transpose ? y
|
//transpose ? y
|
||||||
|
|
||||||
### //flip x/y/z/?
|
### `//flip x/y/z/?`
|
||||||
|
|
||||||
Flip the current WorldEdit region along the x/y/z/? axis.
|
Flip the current WorldEdit region along the x/y/z/? axis.
|
||||||
|
|
||||||
@ -224,37 +224,37 @@ Flip the current WorldEdit region along the x/y/z/? axis.
|
|||||||
//flip z
|
//flip z
|
||||||
//flip ?
|
//flip ?
|
||||||
|
|
||||||
### //rotate x/y/z/? <angle>
|
### `//rotate x/y/z/? <angle>`
|
||||||
|
|
||||||
Rotate the current WorldEdit positions and region along the x/y/z/? axis by angle <angle> (90 degree increment).
|
Rotate the current WorldEdit positions and region along the x/y/z/? axis by angle `<angle>` (90 degree increment).
|
||||||
|
|
||||||
//rotate x 90
|
//rotate x 90
|
||||||
//rotate y 180
|
//rotate y 180
|
||||||
//rotate z 270
|
//rotate z 270
|
||||||
//rotate ? -90
|
//rotate ? -90
|
||||||
|
|
||||||
### //orient <angle>
|
### `//orient <angle>`
|
||||||
|
|
||||||
Rotate oriented nodes in the current WorldEdit region around the Y axis by angle <angle> (90 degree increment)
|
Rotate oriented nodes in the current WorldEdit region around the Y axis by angle `<angle>` (90 degree increment)
|
||||||
|
|
||||||
//orient 90
|
//orient 90
|
||||||
//orient 180
|
//orient 180
|
||||||
//orient 270
|
//orient 270
|
||||||
//orient -90
|
//orient -90
|
||||||
|
|
||||||
### //fixlight
|
### `//fixlight`
|
||||||
|
|
||||||
Fixes the lighting in the current WorldEdit region.
|
Fixes the lighting in the current WorldEdit region.
|
||||||
|
|
||||||
//fixlight
|
//fixlight
|
||||||
|
|
||||||
### //hide
|
### `//hide`
|
||||||
|
|
||||||
Hide all nodes in the current WorldEdit region non-destructively.
|
Hide all nodes in the current WorldEdit region non-destructively.
|
||||||
|
|
||||||
//hide
|
//hide
|
||||||
|
|
||||||
### //suppress <node>
|
### `//suppress <node>`
|
||||||
|
|
||||||
Suppress all <node> in the current WorldEdit region non-destructively.
|
Suppress all <node> in the current WorldEdit region non-destructively.
|
||||||
|
|
||||||
@ -262,7 +262,7 @@ Suppress all <node> in the current WorldEdit region non-destructively.
|
|||||||
//suppress glass
|
//suppress glass
|
||||||
//suppress mesecons:wire_00000000_off
|
//suppress mesecons:wire_00000000_off
|
||||||
|
|
||||||
### //highlight <node>
|
### `//highlight <node>`
|
||||||
|
|
||||||
Highlight <node> in the current WorldEdit region by hiding everything else non-destructively.
|
Highlight <node> in the current WorldEdit region by hiding everything else non-destructively.
|
||||||
|
|
||||||
@ -270,69 +270,69 @@ Highlight <node> in the current WorldEdit region by hiding everything else non-d
|
|||||||
//highlight glass
|
//highlight glass
|
||||||
//highlight mesecons:wire_00000000_off
|
//highlight mesecons:wire_00000000_off
|
||||||
|
|
||||||
### //restore
|
### `//restore`
|
||||||
|
|
||||||
Restores nodes hidden with WorldEdit in the current WorldEdit region.
|
Restores nodes hidden with WorldEdit in the current WorldEdit region.
|
||||||
|
|
||||||
//restore
|
//restore
|
||||||
|
|
||||||
### //save <file>
|
### `//save <file>`
|
||||||
|
|
||||||
Save the current WorldEdit region to "(world folder)/schems/<file>.we".
|
Save the current WorldEdit region to "(world folder)/schems/`<file>`.we".
|
||||||
|
|
||||||
//save some random filename
|
//save some random filename
|
||||||
//save huge_base
|
//save huge_base
|
||||||
|
|
||||||
### //allocate <file>
|
### `//allocate <file>`
|
||||||
|
|
||||||
Set the region defined by nodes from "(world folder)/schems/<file>.we" as the current WorldEdit region.
|
Set the region defined by nodes from "(world folder)/schems/`<file>`.we" as the current WorldEdit region.
|
||||||
|
|
||||||
//allocate some random filename
|
//allocate some random filename
|
||||||
//allocate huge_base
|
//allocate huge_base
|
||||||
|
|
||||||
### //load <file>
|
### `//load <file>`
|
||||||
|
|
||||||
Load nodes from "(world folder)/schems/<file>.we" with position 1 of the current WorldEdit region as the origin.
|
Load nodes from "(world folder)/schems/`<file>`.we" with position 1 of the current WorldEdit region as the origin.
|
||||||
|
|
||||||
//load some random filename
|
//load some random filename
|
||||||
//load huge_base
|
//load huge_base
|
||||||
|
|
||||||
### //lua <code>
|
### `//lua <code>`
|
||||||
|
|
||||||
Executes <code> as a Lua chunk in the global namespace.
|
Executes `<code>` as a Lua chunk in the global namespace.
|
||||||
|
|
||||||
//lua worldedit.pos1["singleplayer"] = {x=0, y=0, z=0}
|
//lua worldedit.pos1["singleplayer"] = {x=0, y=0, z=0}
|
||||||
//lua worldedit.rotate(worldedit.pos1["singleplayer"], worldedit.pos2["singleplayer"], "y", 90)
|
//lua worldedit.rotate(worldedit.pos1["singleplayer"], worldedit.pos2["singleplayer"], "y", 90)
|
||||||
|
|
||||||
### //luatransform <code>
|
### `//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.
|
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.add_node(pos, {name="default:stone"})
|
//luatransform minetest.add_node(pos, {name="default:stone"})
|
||||||
//luatransform if minetest.get_node(pos).name == "air" then minetest.add_node(pos, {name="default:water_source"})
|
//luatransform if minetest.get_node(pos).name == "air" then minetest.add_node(pos, {name="default:water_source"})
|
||||||
|
|
||||||
### //mtschemcreate <file>
|
### `//mtschemcreate <file>`
|
||||||
|
|
||||||
Save the current WorldEdit region using the Minetest Schematic format to "(world folder)/schems/<file>.mts".
|
Save the current WorldEdit region using the Minetest Schematic format to "(world folder)/schems/`<file>`.mts".
|
||||||
|
|
||||||
//mtschemcreate some random filename
|
//mtschemcreate some random filename
|
||||||
//mtschemcreate huge_base
|
//mtschemcreate huge_base
|
||||||
|
|
||||||
### //mtschemplace <file>
|
### `//mtschemplace <file>`
|
||||||
|
|
||||||
Load nodes from "(world folder)/schems/<file>.mts" with position 1 of the current WorldEdit region as the origin.
|
Load nodes from "(world folder)/schems/`<file>`.mts" with position 1 of the current WorldEdit region as the origin.
|
||||||
|
|
||||||
//mtschemplace some random filename
|
//mtschemplace some random filename
|
||||||
//mtschemplace huge_base
|
//mtschemplace huge_base
|
||||||
|
|
||||||
### //mtschemprob start/finish/get
|
### `//mtschemprob start/finish/get`
|
||||||
|
|
||||||
After using //mtschemprob start all nodes punched will bring up a text field where a probablity can be entered.
|
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.
|
This mode can be left with `//mtschemprob finish`. `//mtschemprob get` will display the probabilities saved for the nodes.
|
||||||
|
|
||||||
//mtschemprob get
|
//mtschemprob get
|
||||||
|
|
||||||
### //clearobjects
|
### `//clearobjects`
|
||||||
|
|
||||||
Clears all objects within the WorldEdit region.
|
Clears all objects within the WorldEdit region.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user