mirror of
https://github.com/Uberi/Minetest-WorldEdit.git
synced 2024-12-25 18:20:38 +01:00
Use "we-" prefix for commands
This commit is contained in:
parent
70c24c9501
commit
1024eace6f
386
Chat Commands.md
386
Chat Commands.md
@ -2,375 +2,377 @@ Chat Commands
|
|||||||
-------------
|
-------------
|
||||||
For more information, see the [README](README.md).
|
For more information, see the [README](README.md).
|
||||||
|
|
||||||
Many commands also have shorter names that can be typed faster. For example, if we wanted to use `//move ? 5`, we could instead type `//m ? 5`. All shortened names are listed below:
|
Many commands also have shorter names that can be typed faster. For example,
|
||||||
|
if we wanted to use `/we-move ? 5`, we could instead type `/m ? 5`.
|
||||||
|
All shortened names are listed below:
|
||||||
|
|
||||||
| Short Name | Original Name |
|
| Short Name | Original Name |
|
||||||
|:-----------|:-------------------|
|
|:-----------|:--------------------|
|
||||||
| `//i` | `//inspect` |
|
| `i` | `we-inspect` |
|
||||||
| `//rst` | `//reset` |
|
| `rst` | `we-reset` |
|
||||||
| `//mk` | `//mark` |
|
| `mk` | `we-mark` |
|
||||||
| `//umk` | `//unmark` |
|
| `umk` | `we-unmark` |
|
||||||
| `//1` | `//pos1` |
|
| `1` | `we-pos1` |
|
||||||
| `//2` | `//pos2` |
|
| `2` | `we-pos2` |
|
||||||
| `//fp` | `//fixedpos` |
|
| `fp` | `we-fixedpos` |
|
||||||
| `//v` | `//volume` |
|
| `v` | `we-volume` |
|
||||||
| `//s` | `//set` |
|
| `s` | `we-set` |
|
||||||
| `//r` | `//replace` |
|
| `r` | `we-replace` |
|
||||||
| `//ri` | `//replaceinverse` |
|
| `ri` | `we-replaceinverse` |
|
||||||
| `//hspr` | `//hollowsphere` |
|
| `hspr` | `we-hollowsphere` |
|
||||||
| `//spr` | `//sphere` |
|
| `spr` | `we-sphere` |
|
||||||
| `//hdo` | `//hollowdome` |
|
| `hdo` | `we-hollowdome` |
|
||||||
| `//do` | `//dome` |
|
| `do` | `we-dome` |
|
||||||
| `//hcyl` | `//hollowcylinder` |
|
| `hcyl` | `we-hollowcylinder` |
|
||||||
|
|
||||||
### `//about`
|
### `/we-about`
|
||||||
|
|
||||||
Get information about the mod.
|
Get information about the mod.
|
||||||
|
|
||||||
//about
|
/we-about
|
||||||
|
|
||||||
### `//inspect on/off/1/0/true/false/yes/no/enable/disable/<blank>`
|
### `/we-inspect on/off/1/0/true/false/yes/no/enable/disable/<blank>`
|
||||||
|
|
||||||
Enable or disable node inspection.
|
Enable or disable node inspection.
|
||||||
|
|
||||||
//inspect on
|
/we-inspect on
|
||||||
//inspect off
|
/we-inspect off
|
||||||
//inspect 1
|
/we-inspect 1
|
||||||
//inspect 0
|
/we-inspect 0
|
||||||
//inspect true
|
/we-inspect true
|
||||||
//inspect false
|
/we-inspect false
|
||||||
//inspect yes
|
/we-inspect yes
|
||||||
//inspect no
|
/we-inspect no
|
||||||
//inspect enable
|
/we-inspect enable
|
||||||
//inspect disable
|
/we-inspect disable
|
||||||
//inspect
|
/we-inspect
|
||||||
|
|
||||||
### `//reset`
|
### `/we-reset`
|
||||||
|
|
||||||
Reset the region so that it is empty.
|
Reset the region so that it is empty.
|
||||||
|
|
||||||
//reset
|
/we-reset
|
||||||
|
|
||||||
### `//mark`
|
### `/we-mark`
|
||||||
|
|
||||||
Show markers at the region positions.
|
Show markers at the region positions.
|
||||||
|
|
||||||
//mark
|
/we-mark
|
||||||
|
|
||||||
### `//unmark`
|
### `/we-unmark`
|
||||||
|
|
||||||
Hide markers if currently shown.
|
Hide markers if currently shown.
|
||||||
|
|
||||||
//unmark
|
/we-unmark
|
||||||
|
|
||||||
### `//pos1`
|
### `/we-pos1`
|
||||||
|
|
||||||
Set WorldEdit region position 1 to the player's location.
|
Set WorldEdit region position 1 to the player's location.
|
||||||
|
|
||||||
//pos1
|
/we-pos1
|
||||||
|
|
||||||
### `//pos2`
|
### `/we-pos2`
|
||||||
|
|
||||||
Set WorldEdit region position 2 to the player's location.
|
Set WorldEdit region position 2 to the player's location.
|
||||||
|
|
||||||
//pos2
|
/we-pos2
|
||||||
|
|
||||||
### `//p set/set1/set2/get`
|
### `/we-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.
|
||||||
|
|
||||||
//p set
|
/we-p set
|
||||||
//p set1
|
/we-p set1
|
||||||
//p set2
|
/we-p set2
|
||||||
//p get
|
/we-p get
|
||||||
|
|
||||||
### `//fixedpos set1 x y z`
|
### `/we-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
|
/we-fixedpos set1 0 0 0
|
||||||
//fixedpos set1 -30 5 28
|
/we-fixedpos set1 -30 5 28
|
||||||
//fixedpos set2 1004 -200 432
|
/we-fixedpos set2 1004 -200 432
|
||||||
|
|
||||||
### `//volume`
|
### `/we-volume`
|
||||||
|
|
||||||
Display the volume of the current WorldEdit region.
|
Display the volume of the current WorldEdit region.
|
||||||
|
|
||||||
//volume
|
/we-volume
|
||||||
|
|
||||||
### `//set <node>`
|
### `/we-set <node>`
|
||||||
|
|
||||||
Set the current WorldEdit region to `<node>`.
|
Set the current WorldEdit region to `<node>`.
|
||||||
|
|
||||||
//set air
|
/we-set air
|
||||||
//set cactus
|
/we-set cactus
|
||||||
//set Blue Lightstone
|
/we-set Blue Lightstone
|
||||||
//set dirt with grass
|
/we-set dirt with grass
|
||||||
|
|
||||||
### `//mix <node1> ...`
|
### `/we-mix <node1> ...`
|
||||||
|
|
||||||
Fill the current WorldEdit region with a random mix of `<node1>`, `...`.
|
Fill the current WorldEdit region with a random mix of `<node1>`, `...`.
|
||||||
|
|
||||||
//mix air
|
/we-mix air
|
||||||
//mix cactus stone glass sandstone
|
/we-mix cactus stone glass sandstone
|
||||||
//mix Bronze
|
/we-mix Bronze
|
||||||
//mix default:cobble air
|
/we-mix default:cobble air
|
||||||
|
|
||||||
### `//replace <search node> <replace node>`
|
### `/we-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
|
/we-replace Cobblestone air
|
||||||
//replace lightstone_blue glass
|
/we-replace lightstone_blue glass
|
||||||
//replace dirt Bronze Block
|
/we-replace dirt Bronze Block
|
||||||
//replace mesecons:wire_00000000_off flowers:flower_tulip
|
/we-replace mesecons:wire_00000000_off flowers:flower_tulip
|
||||||
|
|
||||||
### `//replaceinverse <search node> <replace node>`
|
### `/we-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
|
/we-replaceinverse Cobblestone air
|
||||||
//replaceinverse flowers:flower_waterlily glass
|
/we-replaceinverse flowers:flower_waterlily glass
|
||||||
//replaceinverse dirt Bronze Block
|
/we-replaceinverse dirt Bronze Block
|
||||||
//replaceinverse mesecons:wire_00000000_off flowers:flower_tulip
|
/we-replaceinverse mesecons:wire_00000000_off flowers:flower_tulip
|
||||||
|
|
||||||
### `//hollowsphere <radius> <node>`
|
### `/we-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
|
/we-hollowsphere 5 Diamond Block
|
||||||
//hollowsphere 12 glass
|
/we-hollowsphere 12 glass
|
||||||
//hollowsphere 17 mesecons:wire_00000000_off
|
/we-hollowsphere 17 mesecons:wire_00000000_off
|
||||||
|
|
||||||
### `//sphere <radius> <node>`
|
### `/we-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
|
/we-sphere 5 Diamond Block
|
||||||
//sphere 12 glass
|
/we-sphere 12 glass
|
||||||
//sphere 17 mesecons:wire_00000000_off
|
/we-sphere 17 mesecons:wire_00000000_off
|
||||||
|
|
||||||
### `//hollowdome <radius> <node>`
|
### `/we-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
|
/we-hollowdome 5 Diamond Block
|
||||||
//hollowdome -12 glass
|
/we-hollowdome -12 glass
|
||||||
//hollowdome 17 mesecons:wire_00000000_off
|
/we-hollowdome 17 mesecons:wire_00000000_off
|
||||||
|
|
||||||
### `//dome <radius> <node>`
|
### `/we-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
|
/we-dome 5 Diamond Block
|
||||||
//dome -12 glass
|
/we-dome -12 glass
|
||||||
//dome 17 mesecons:wire_00000000_off
|
/we-dome 17 mesecons:wire_00000000_off
|
||||||
|
|
||||||
### `//hollowcylinder x/y/z/? <length> <radius> <node>`
|
### `/we-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
|
/we-hollowcylinder x +5 8 Bronze Block
|
||||||
//hollowcylinder y 28 10 glass
|
/we-hollowcylinder y 28 10 glass
|
||||||
//hollowcylinder z -12 3 mesecons:wire_00000000_off
|
/we-hollowcylinder z -12 3 mesecons:wire_00000000_off
|
||||||
//hollowcylinder ? 2 4 default:stone
|
/we-hollowcylinder ? 2 4 default:stone
|
||||||
|
|
||||||
### `//cylinder x/y/z/? <length> <radius> <node>`
|
### `/we-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
|
/we-cylinder x +5 8 Bronze Block
|
||||||
//cylinder y 28 10 glass
|
/we-cylinder y 28 10 glass
|
||||||
//cylinder z -12 3 mesecons:wire_00000000_off
|
/we-cylinder z -12 3 mesecons:wire_00000000_off
|
||||||
//cylinder ? 2 4 default:stone
|
/we-cylinder ? 2 4 default:stone
|
||||||
|
|
||||||
### `//pyramid x/y/z? <height> <node>`
|
### `/we-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
|
/we-pyramid x 8 Diamond Block
|
||||||
//pyramid y -5 glass
|
/we-pyramid y -5 glass
|
||||||
//pyramid z 2 mesecons:wire_00000000_off
|
/we-pyramid z 2 mesecons:wire_00000000_off
|
||||||
//pyramid ? 12 mesecons:wire_00000000_off
|
/we-pyramid ? 12 mesecons:wire_00000000_off
|
||||||
|
|
||||||
### `//spiral <length> <height> <spacer> <node>`
|
### `/we-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
|
/we-spiral 20 5 3 Diamond Block
|
||||||
//spiral 5 2 1 glass
|
/we-spiral 5 2 1 glass
|
||||||
//spiral 7 1 5 mesecons:wire_00000000_off
|
/we-spiral 7 1 5 mesecons:wire_00000000_off
|
||||||
|
|
||||||
### `//copy x/y/z/? <amount>`
|
### `/we-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
|
/we-copy x 15
|
||||||
//copy y -7
|
/we-copy y -7
|
||||||
//copy z +4
|
/we-copy z +4
|
||||||
//copy ? 8
|
/we-copy ? 8
|
||||||
|
|
||||||
### `//move x/y/z/? <amount>`
|
### `/we-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
|
/we-move x 15
|
||||||
//move y -7
|
/we-move y -7
|
||||||
//move z +4
|
/we-move z +4
|
||||||
//move ? -1
|
/we-move ? -1
|
||||||
|
|
||||||
### `//stack x/y/z/? <count>`
|
### `/we-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
|
/we-stack x 3
|
||||||
//stack y -1
|
/we-stack y -1
|
||||||
//stack z +5
|
/we-stack z +5
|
||||||
//stack ? 12
|
/we-stack ? 12
|
||||||
|
|
||||||
### `//stack2 <count> <x> <y> <z>`
|
### `/we-stack2 <count> <x> <y> <z>`
|
||||||
|
|
||||||
Stack the current WorldEdit region `<count>` times by offset `<x>`, `<y>`, `<z>`.
|
Stack the current WorldEdit region `<count>` times by offset `<x>`, `<y>`, `<z>`.
|
||||||
|
|
||||||
//stack2 5 3 8 2
|
/we-stack2 5 3 8 2
|
||||||
//stack2 1 -1 -1 -1
|
/we-stack2 1 -1 -1 -1
|
||||||
|
|
||||||
### `//scale <factor>`
|
### `/we-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
|
/we-scale 2
|
||||||
//scale 1
|
/we-scale 1
|
||||||
//scale 10
|
/we-scale 10
|
||||||
|
|
||||||
### `//transpose x/y/z/? x/y/z/?`
|
### `/we-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.
|
||||||
|
|
||||||
//transpose x y
|
/we-transpose x y
|
||||||
//transpose x z
|
/we-transpose x z
|
||||||
//transpose y z
|
/we-transpose y z
|
||||||
//transpose ? y
|
/we-transpose ? y
|
||||||
|
|
||||||
### `//flip x/y/z/?`
|
### `/we-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.
|
||||||
|
|
||||||
//flip x
|
/we-flip x
|
||||||
//flip y
|
/we-flip y
|
||||||
//flip z
|
/we-flip z
|
||||||
//flip ?
|
/we-flip ?
|
||||||
|
|
||||||
### `//rotate x/y/z/? <angle>`
|
### `/we-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
|
/we-rotate x 90
|
||||||
//rotate y 180
|
/we-rotate y 180
|
||||||
//rotate z 270
|
/we-rotate z 270
|
||||||
//rotate ? -90
|
/we-rotate ? -90
|
||||||
|
|
||||||
### `//orient <angle>`
|
### `/we-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
|
/we-orient 90
|
||||||
//orient 180
|
/we-orient 180
|
||||||
//orient 270
|
/we-orient 270
|
||||||
//orient -90
|
/we-orient -90
|
||||||
|
|
||||||
### `//fixlight`
|
### `/we-fixlight`
|
||||||
|
|
||||||
Fixes the lighting in the current WorldEdit region.
|
Fixes the lighting in the current WorldEdit region.
|
||||||
|
|
||||||
//fixlight
|
/we-fixlight
|
||||||
|
|
||||||
### `//hide`
|
### `/we-hide`
|
||||||
|
|
||||||
Hide all nodes in the current WorldEdit region non-destructively.
|
Hide all nodes in the current WorldEdit region non-destructively.
|
||||||
|
|
||||||
//hide
|
/we-hide
|
||||||
|
|
||||||
### `//suppress <node>`
|
### `/we-suppress <node>`
|
||||||
|
|
||||||
Suppress all <node> in the current WorldEdit region non-destructively.
|
Suppress all <node> in the current WorldEdit region non-destructively.
|
||||||
|
|
||||||
//suppress Diamond Block
|
/we-suppress Diamond Block
|
||||||
//suppress glass
|
/we-suppress glass
|
||||||
//suppress mesecons:wire_00000000_off
|
/we-suppress mesecons:wire_00000000_off
|
||||||
|
|
||||||
### `//highlight <node>`
|
### `/we-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.
|
||||||
|
|
||||||
//highlight Diamond Block
|
/we-highlight Diamond Block
|
||||||
//highlight glass
|
/we-highlight glass
|
||||||
//highlight mesecons:wire_00000000_off
|
/we-highlight mesecons:wire_00000000_off
|
||||||
|
|
||||||
### `//restore`
|
### `/we-restore`
|
||||||
|
|
||||||
Restores nodes hidden with WorldEdit in the current WorldEdit region.
|
Restores nodes hidden with WorldEdit in the current WorldEdit region.
|
||||||
|
|
||||||
//restore
|
/we-restore
|
||||||
|
|
||||||
### `//save <file>`
|
### `/we-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
|
/we-save some random filename
|
||||||
//save huge_base
|
/we-save huge_base
|
||||||
|
|
||||||
### `//allocate <file>`
|
### `/we-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
|
/we-allocate some random filename
|
||||||
//allocate huge_base
|
/we-allocate huge_base
|
||||||
|
|
||||||
### `//load <file>`
|
### `/we-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
|
/we-load some random filename
|
||||||
//load huge_base
|
/we-load huge_base
|
||||||
|
|
||||||
### `//lua <code>`
|
### `/we-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}
|
/we-lua worldedit.pos1["singleplayer"] = {x=0, y=0, z=0}
|
||||||
//lua worldedit.rotate(worldedit.pos1["singleplayer"], worldedit.pos2["singleplayer"], "y", 90)
|
/we-lua worldedit.rotate(worldedit.pos1["singleplayer"], worldedit.pos2["singleplayer"], "y", 90)
|
||||||
|
|
||||||
### `//luatransform <code>`
|
### `/we-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"})
|
/we-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"})
|
/we-luatransform if minetest.get_node(pos).name == "air" then minetest.add_node(pos, {name="default:water_source"})
|
||||||
|
|
||||||
### `//mtschemcreate <file>`
|
### `/we-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
|
/we-mtschemcreate some random filename
|
||||||
//mtschemcreate huge_base
|
/we-mtschemcreate huge_base
|
||||||
|
|
||||||
### `//mtschemplace <file>`
|
### `/we-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
|
/we-mtschemplace some random filename
|
||||||
//mtschemplace huge_base
|
/we-mtschemplace huge_base
|
||||||
|
|
||||||
### `//mtschemprob start/finish/get`
|
### `/we-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 `/we-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 `/we-mtschemprob finish`. `/we-mtschemprob get` will display the probabilities saved for the nodes.
|
||||||
|
|
||||||
//mtschemprob get
|
/we-mtschemprob get
|
||||||
|
|
||||||
### `//clearobjects`
|
### `/we-clearobjects`
|
||||||
|
|
||||||
Clears all objects within the WorldEdit region.
|
Clears all objects within the WorldEdit region.
|
||||||
|
|
||||||
//clearobjects
|
/we-clearobjects
|
||||||
|
10
README.md
10
README.md
@ -33,7 +33,7 @@ WorldEdit works primarily through the WorldEdit GUI and chat commands. Depending
|
|||||||
|
|
||||||
WorldEdit has a huge potential for abuse by untrusted players. Therefore, users will not be able to use WorldEdit unless they have the `worldedit` privelege. This is available by default in single player, but in multiplayer the permission must be explicitly given by someone with the right credentials, using the follwoing chat command: `/grant <player name> worldedit`. This privelege can later be removed using the following chat command: `/revoke <player name> worldedit`.
|
WorldEdit has a huge potential for abuse by untrusted players. Therefore, users will not be able to use WorldEdit unless they have the `worldedit` privelege. This is available by default in single player, but in multiplayer the permission must be explicitly given by someone with the right credentials, using the follwoing chat command: `/grant <player name> worldedit`. This privelege can later be removed using the following chat command: `/revoke <player name> worldedit`.
|
||||||
|
|
||||||
Certain functions/commands such as WorldEdit GUI's "Run Lua" function (equivalent to the `//lua` and `//luatransform` chat command) additionally require the `server` privilege. This is because it is extremely dangerous to give access to these commands to untrusted players, since they essentially are able to control the computer the server is running on. Give this privilege only to people you trust with your computer.
|
Certain functions/commands such as WorldEdit GUI's "Run Lua" function (equivalent to the `/we-lua` and `/we-luatransform` chat commands) additionally only work for the server administrator. This is because it is extremely dangerous to give access to these commands to untrusted players, since they essentially are able to control the computer the server is running on.
|
||||||
|
|
||||||
For in-game information about these commands, type `/help <command name>` in the chat. For example, to learn more about the `//copy` command, simply type `/help /copy` to display information relevant to copying a region.
|
For in-game information about these commands, type `/help <command name>` in the chat. For example, to learn more about the `//copy` command, simply type `/help /copy` to display information relevant to copying a region.
|
||||||
|
|
||||||
@ -81,13 +81,13 @@ Nodes
|
|||||||
-----
|
-----
|
||||||
Node names are required for many types of commands that identify or modify specific types of nodes. They can be specified in a number of ways.
|
Node names are required for many types of commands that identify or modify specific types of nodes. They can be specified in a number of ways.
|
||||||
|
|
||||||
First, by description - the tooltip that appears when hovering over the item in an inventory. This is case insensitive and includes values such as "Cobblestone" and "bronze block". Note that certain commands (namely, `//replace` and `//replaceinverse`) do not support descriptions that contain spaces in the `<searchnode>` field.
|
First, by description - the tooltip that appears when hovering over the item in an inventory. This is case insensitive and includes values such as "Cobblestone" and "bronze block". Note that certain commands (namely, `/we-replace` and `/we-replaceinverse`) do not support descriptions that contain spaces in the `<searchnode>` field.
|
||||||
|
|
||||||
Second, by name - the node name that is defined by code, but without the mod name prefix. This is case sensitive and includes values such as "piston_normal_off" and "cactus". Nodes defined in the `default` mod always take precedence over other nodes when searching for the correct one, and if there are multiple possible nodes (such as "a:celery" and "b:celery"), one is chosen in no particular order.
|
Second, by name - the node name that is defined by code, but without the mod name prefix. This is case sensitive and includes values such as "piston_normal_off" and "cactus". Nodes defined in the `default` mod always take precedence over other nodes when searching for the correct one, and if there are multiple possible nodes (such as "a:celery" and "b:celery"), one is chosen in no particular order.
|
||||||
|
|
||||||
Finally, by full name - the unambiguous identifier of the node, prefixes and all. This is case sensitive and includes values such as "default:stone" and "mesecons:wire_00000000_off".
|
Finally, by full name - the unambiguous identifier of the node, prefixes and all. This is case sensitive and includes values such as "default:stone" and "mesecons:wire_00000000_off".
|
||||||
|
|
||||||
The node name "air" can be used anywhere a normal node name can, and acts as a blank node. This is useful for clearing or removing nodes. For example, `//set air` would remove all the nodes in the current WorldEdit region. Similarly, `//sphere 10 air`, when WorldEdit position 1 underground, would dig a large sphere out of the ground.
|
The node name "air" can be used anywhere a normal node name can, and acts as a blank node. This is useful for clearing or removing nodes. For example, `/we-set air` would remove all the nodes in the current WorldEdit region. Similarly, `/we-sphere 10 air`, when WorldEdit position 1 underground, would dig a large sphere out of the ground.
|
||||||
|
|
||||||
Regions
|
Regions
|
||||||
-------
|
-------
|
||||||
@ -126,9 +126,9 @@ The current version of the WorldEdit Schematic format, internally known as versi
|
|||||||
|
|
||||||
The ordering of the values and minor aspects of the syntax, such as trailing commas or newlines, are not guaranteed to stay the same in future versions.
|
The ordering of the values and minor aspects of the syntax, such as trailing commas or newlines, are not guaranteed to stay the same in future versions.
|
||||||
|
|
||||||
The WorldEdit Schematic format is accessed via the WorldEdit API, or WorldEdit serialization chat commands such as `//serialize` and `//deserialize`.
|
The WorldEdit Schematic format is accessed via the WorldEdit API, or WorldEdit serialization chat commands such as `/save` and `/load`.
|
||||||
|
|
||||||
The second is the Minetest Schematic format (MTS). The details of this format may be found in the Minetest documentation and are out of the scope of this document. Access to this format is done via specialized MTS commands such as `//mtschemcreate` and `//mtschemplace`.
|
The second is the Minetest Schematic format (MTS). The details of this format may be found in the Minetest documentation and are out of the scope of this document. Access to this format is done via specialized MTS commands such as `/we-mtschemcreate` and `/we-mtschemplace`.
|
||||||
|
|
||||||
Authors
|
Authors
|
||||||
-------
|
-------
|
||||||
|
16
Tutorial.md
16
Tutorial.md
@ -29,7 +29,7 @@ Step 1: Selecting a region
|
|||||||
--------------------------
|
--------------------------
|
||||||
### Chat Commands
|
### Chat Commands
|
||||||
|
|
||||||
In the chat prompt, enter `//p set`. In the chat, you are prompted to punch two nodes to set the positions of the two markers.
|
In the chat prompt, enter `/we-p set`. In the chat, you are prompted to punch two nodes to set the positions of the two markers.
|
||||||
|
|
||||||
Punch a nearby node. Be careful of breakable ones such as torches. A black cube reading "1" will appear around the node. This is the marker for WorldEdit position 1.
|
Punch a nearby node. Be careful of breakable ones such as torches. A black cube reading "1" will appear around the node. This is the marker for WorldEdit position 1.
|
||||||
|
|
||||||
@ -53,13 +53,13 @@ Step 2: Region commands
|
|||||||
-----------------------
|
-----------------------
|
||||||
### Chat Commands
|
### Chat Commands
|
||||||
|
|
||||||
In the chat prompt, enter `//set mese`. In the chat, you will see a message showing the number of nodes set after a small delay.
|
In the chat prompt, enter `/we-set mese`. In the chat, you will see a message showing the number of nodes set after a small delay.
|
||||||
|
|
||||||
Look at the place between the two markers: it is now filled with MESE blocks!
|
Look at the place between the two markers: it is now filled with MESE blocks!
|
||||||
|
|
||||||
The `//set <node>` command fills the region with whatever node you want. It is a region-oriented command, which means it works inside the WorldEdit region only.
|
The `/we-set <node>` command fills the region with whatever node you want. It is a region-oriented command, which means it works inside the WorldEdit region only.
|
||||||
|
|
||||||
Now, try a few different variations, such as `//set torch`, `//set cobble`, and `//set water`.
|
Now, try a few different variations, such as `/we-set torch`, `/we-set cobble`, and `/we-set water`.
|
||||||
|
|
||||||
### WorldEdit GUI
|
### WorldEdit GUI
|
||||||
|
|
||||||
@ -81,11 +81,11 @@ Step 3: Position commands
|
|||||||
-------------------------
|
-------------------------
|
||||||
### Chat Commands
|
### Chat Commands
|
||||||
|
|
||||||
In the chat prompt, enter `//hollowdome 30 glass`. In the chat, you will see a message showing the number of nodes set after a small delay.
|
In the chat prompt, enter `/we-hollowdome 30 glass`. In the chat, you will see a message showing the number of nodes set after a small delay.
|
||||||
|
|
||||||
Look around marker 1: it is now surrounded by a hollow glass dome!
|
Look around marker 1: it is now surrounded by a hollow glass dome!
|
||||||
|
|
||||||
The `//hollowdome <radius> <node>` command creates a hollow dome centered around marker 1, made of any node you want. It is a position-oriented command, which means it works around marker 1 and can go outside the WorldEdit region.
|
The `/we-hollowdome <radius> <node>` command creates a hollow dome centered around marker 1, made of any node you want. It is a position-oriented command, which means it works around marker 1 and can go outside the WorldEdit region.
|
||||||
|
|
||||||
### WorldEdit GUI
|
### WorldEdit GUI
|
||||||
|
|
||||||
@ -109,9 +109,9 @@ Step 4: Other commands
|
|||||||
|
|
||||||
There are many more commands than what is shown here. See the [Chat Commands Reference](Chat Commands.md) for a detailed list of them, along with descriptions and examples for every single one.
|
There are many more commands than what is shown here. See the [Chat Commands Reference](Chat Commands.md) for a detailed list of them, along with descriptions and examples for every single one.
|
||||||
|
|
||||||
If you're in-game and forgot how a command works, just use the `/help <command name>` command, without the first forward slash. For example, to see some information about the `//set <node>` command mentioned earlier, simply use `/help /set`.
|
If you're in-game and forgot how a command works, just use the `/help <command name>` command, without the first forward slash. For example, to see some information about the `/we-set <node>` command mentioned earlier, simply use `/help /set`.
|
||||||
|
|
||||||
A very useful command to check out is the `//save <schematic>` command, which can save everything inside the WorldEdit region to a file, stored on the computer hosting the server (the player's computer, in single player mode). You can then later use `//load <schematic>` to load the data in a file into a world, even another world on another computer.
|
A very useful command to check out is the `/we-save <schematic>` command, which can save everything inside the WorldEdit region to a file, stored on the computer hosting the server (the player's computer, in single player mode). You can then later use `/we-load <schematic>` to load the data in a file into a world, even another world on another computer.
|
||||||
|
|
||||||
### WorldEdit GUI
|
### WorldEdit GUI
|
||||||
|
|
||||||
|
@ -72,7 +72,7 @@ worldedit.player_axis = function(name)
|
|||||||
return "z", dir.z > 0 and 1 or -1
|
return "z", dir.z > 0 and 1 or -1
|
||||||
end
|
end
|
||||||
|
|
||||||
minetest.register_chatcommand("/about", {
|
minetest.register_chatcommand("we-about", {
|
||||||
params = "",
|
params = "",
|
||||||
description = "Get information about the mod",
|
description = "Get information about the mod",
|
||||||
func = function(name, param)
|
func = function(name, param)
|
||||||
@ -80,7 +80,7 @@ minetest.register_chatcommand("/about", {
|
|||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_chatcommand("/inspect", {
|
minetest.register_chatcommand("we-inspect", {
|
||||||
params = "on/off/1/0/true/false/yes/no/enable/disable/<blank>",
|
params = "on/off/1/0/true/false/yes/no/enable/disable/<blank>",
|
||||||
description = "Enable or disable node inspection",
|
description = "Enable or disable node inspection",
|
||||||
privs = {worldedit=true},
|
privs = {worldedit=true},
|
||||||
@ -113,7 +113,7 @@ minetest.register_on_punchnode(function(pos, node, puncher)
|
|||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
minetest.register_chatcommand("/reset", {
|
minetest.register_chatcommand("we-reset", {
|
||||||
params = "",
|
params = "",
|
||||||
description = "Reset the region so that it is empty",
|
description = "Reset the region so that it is empty",
|
||||||
privs = {worldedit=true},
|
privs = {worldedit=true},
|
||||||
@ -127,7 +127,7 @@ minetest.register_chatcommand("/reset", {
|
|||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_chatcommand("/mark", {
|
minetest.register_chatcommand("we-mark", {
|
||||||
params = "",
|
params = "",
|
||||||
description = "Show markers at the region positions",
|
description = "Show markers at the region positions",
|
||||||
privs = {worldedit=true},
|
privs = {worldedit=true},
|
||||||
@ -138,7 +138,7 @@ minetest.register_chatcommand("/mark", {
|
|||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_chatcommand("/unmark", {
|
minetest.register_chatcommand("we-unmark", {
|
||||||
params = "",
|
params = "",
|
||||||
description = "Hide markers if currently shown",
|
description = "Hide markers if currently shown",
|
||||||
privs = {worldedit=true},
|
privs = {worldedit=true},
|
||||||
@ -154,7 +154,7 @@ minetest.register_chatcommand("/unmark", {
|
|||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_chatcommand("/pos1", {
|
minetest.register_chatcommand("we-pos1", {
|
||||||
params = "",
|
params = "",
|
||||||
description = "Set WorldEdit region position 1 to the player's location",
|
description = "Set WorldEdit region position 1 to the player's location",
|
||||||
privs = {worldedit=true},
|
privs = {worldedit=true},
|
||||||
@ -167,7 +167,7 @@ minetest.register_chatcommand("/pos1", {
|
|||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_chatcommand("/pos2", {
|
minetest.register_chatcommand("we-pos2", {
|
||||||
params = "",
|
params = "",
|
||||||
description = "Set WorldEdit region position 2 to the player's location",
|
description = "Set WorldEdit region position 2 to the player's location",
|
||||||
privs = {worldedit=true},
|
privs = {worldedit=true},
|
||||||
@ -180,7 +180,7 @@ minetest.register_chatcommand("/pos2", {
|
|||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_chatcommand("/p", {
|
minetest.register_chatcommand("we-p", {
|
||||||
params = "set/set1/set2/get",
|
params = "set/set1/set2/get",
|
||||||
description = "Set WorldEdit region, WorldEdit position 1, or WorldEdit position 2 by punching nodes, or display the current WorldEdit region",
|
description = "Set WorldEdit region, WorldEdit position 1, or WorldEdit position 2 by punching nodes, or display the current WorldEdit region",
|
||||||
privs = {worldedit=true},
|
privs = {worldedit=true},
|
||||||
@ -211,7 +211,7 @@ minetest.register_chatcommand("/p", {
|
|||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_chatcommand("/fixedpos", {
|
minetest.register_chatcommand("we-fixedpos", {
|
||||||
params = "set1/set2 x y z",
|
params = "set1/set2 x y z",
|
||||||
description = "Set a WorldEdit region position to the position at (<x>, <y>, <z>)",
|
description = "Set a WorldEdit region position to the position at (<x>, <y>, <z>)",
|
||||||
privs = {worldedit=true},
|
privs = {worldedit=true},
|
||||||
@ -259,7 +259,7 @@ minetest.register_on_punchnode(function(pos, node, puncher)
|
|||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
minetest.register_chatcommand("/volume", {
|
minetest.register_chatcommand("we-volume", {
|
||||||
params = "",
|
params = "",
|
||||||
description = "Display the volume of the current WorldEdit region",
|
description = "Display the volume of the current WorldEdit region",
|
||||||
privs = {worldedit=true},
|
privs = {worldedit=true},
|
||||||
@ -279,7 +279,7 @@ minetest.register_chatcommand("/volume", {
|
|||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_chatcommand("/set", {
|
minetest.register_chatcommand("we-set", {
|
||||||
params = "<node>",
|
params = "<node>",
|
||||||
description = "Set the current WorldEdit region to <node>",
|
description = "Set the current WorldEdit region to <node>",
|
||||||
privs = {worldedit=true},
|
privs = {worldedit=true},
|
||||||
@ -295,7 +295,7 @@ minetest.register_chatcommand("/set", {
|
|||||||
end, check_region),
|
end, check_region),
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_chatcommand("/mix", {
|
minetest.register_chatcommand("we-mix", {
|
||||||
params = "<node1> ...",
|
params = "<node1> ...",
|
||||||
description = "Fill the current WorldEdit region with a random mix of <node1>, ...",
|
description = "Fill the current WorldEdit region with a random mix of <node1>, ...",
|
||||||
privs = {worldedit=true},
|
privs = {worldedit=true},
|
||||||
@ -335,7 +335,7 @@ local check_replace = function(name, param)
|
|||||||
return check_region(name, param)
|
return check_region(name, param)
|
||||||
end
|
end
|
||||||
|
|
||||||
minetest.register_chatcommand("/replace", {
|
minetest.register_chatcommand("we-replace", {
|
||||||
params = "<search node> <replace node>",
|
params = "<search node> <replace node>",
|
||||||
description = "Replace all instances of <search node> with <replace node> in the current WorldEdit region",
|
description = "Replace all instances of <search node> with <replace node> in the current WorldEdit region",
|
||||||
privs = {worldedit=true},
|
privs = {worldedit=true},
|
||||||
@ -348,7 +348,7 @@ minetest.register_chatcommand("/replace", {
|
|||||||
end, check_replace),
|
end, check_replace),
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_chatcommand("/replaceinverse", {
|
minetest.register_chatcommand("we-replaceinverse", {
|
||||||
params = "<search node> <replace node>",
|
params = "<search node> <replace node>",
|
||||||
description = "Replace all nodes other than <search node> with <replace node> in the current WorldEdit region",
|
description = "Replace all nodes other than <search node> with <replace node> in the current WorldEdit region",
|
||||||
privs = {worldedit=true},
|
privs = {worldedit=true},
|
||||||
@ -376,7 +376,7 @@ local check_sphere = function(name, param)
|
|||||||
return math.ceil((4 * math.pi * (tonumber(radius) ^ 3)) / 3) --volume of sphere
|
return math.ceil((4 * math.pi * (tonumber(radius) ^ 3)) / 3) --volume of sphere
|
||||||
end
|
end
|
||||||
|
|
||||||
minetest.register_chatcommand("/hollowsphere", {
|
minetest.register_chatcommand("we-hollowsphere", {
|
||||||
params = "<radius> <node>",
|
params = "<radius> <node>",
|
||||||
description = "Add hollow sphere centered at WorldEdit position 1 with radius <radius>, composed of <node>",
|
description = "Add hollow sphere centered at WorldEdit position 1 with radius <radius>, composed of <node>",
|
||||||
privs = {worldedit=true},
|
privs = {worldedit=true},
|
||||||
@ -388,7 +388,7 @@ minetest.register_chatcommand("/hollowsphere", {
|
|||||||
end, check_sphere),
|
end, check_sphere),
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_chatcommand("/sphere", {
|
minetest.register_chatcommand("we-sphere", {
|
||||||
params = "<radius> <node>",
|
params = "<radius> <node>",
|
||||||
description = "Add sphere centered at WorldEdit position 1 with radius <radius>, composed of <node>",
|
description = "Add sphere centered at WorldEdit position 1 with radius <radius>, composed of <node>",
|
||||||
privs = {worldedit=true},
|
privs = {worldedit=true},
|
||||||
@ -415,7 +415,7 @@ local check_dome = function(name, param)
|
|||||||
return math.ceil((2 * math.pi * (tonumber(radius) ^ 3)) / 3) --volume of dome
|
return math.ceil((2 * math.pi * (tonumber(radius) ^ 3)) / 3) --volume of dome
|
||||||
end
|
end
|
||||||
|
|
||||||
minetest.register_chatcommand("/hollowdome", {
|
minetest.register_chatcommand("we-hollowdome", {
|
||||||
params = "<radius> <node>",
|
params = "<radius> <node>",
|
||||||
description = "Add hollow dome centered at WorldEdit position 1 with radius <radius>, composed of <node>",
|
description = "Add hollow dome centered at WorldEdit position 1 with radius <radius>, composed of <node>",
|
||||||
privs = {worldedit=true},
|
privs = {worldedit=true},
|
||||||
@ -427,7 +427,7 @@ minetest.register_chatcommand("/hollowdome", {
|
|||||||
end, check_dome),
|
end, check_dome),
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_chatcommand("/dome", {
|
minetest.register_chatcommand("we-dome", {
|
||||||
params = "<radius> <node>",
|
params = "<radius> <node>",
|
||||||
description = "Add dome centered at WorldEdit position 1 with radius <radius>, composed of <node>",
|
description = "Add dome centered at WorldEdit position 1 with radius <radius>, composed of <node>",
|
||||||
privs = {worldedit=true},
|
privs = {worldedit=true},
|
||||||
@ -454,7 +454,7 @@ local check_cylinder = function(name, param)
|
|||||||
return math.ceil(math.pi * (tonumber(radius) ^ 2) * tonumber(length))
|
return math.ceil(math.pi * (tonumber(radius) ^ 2) * tonumber(length))
|
||||||
end
|
end
|
||||||
|
|
||||||
minetest.register_chatcommand("/hollowcylinder", {
|
minetest.register_chatcommand("we-hollowcylinder", {
|
||||||
params = "x/y/z/? <length> <radius> <node>",
|
params = "x/y/z/? <length> <radius> <node>",
|
||||||
description = "Add hollow cylinder at WorldEdit position 1 along the x/y/z/? axis with length <length> and radius <radius>, composed of <node>",
|
description = "Add hollow cylinder at WorldEdit position 1 along the x/y/z/? axis with length <length> and radius <radius>, composed of <node>",
|
||||||
privs = {worldedit=true},
|
privs = {worldedit=true},
|
||||||
@ -471,7 +471,7 @@ minetest.register_chatcommand("/hollowcylinder", {
|
|||||||
end, check_cylinder),
|
end, check_cylinder),
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_chatcommand("/cylinder", {
|
minetest.register_chatcommand("we-cylinder", {
|
||||||
params = "x/y/z/? <length> <radius> <node>",
|
params = "x/y/z/? <length> <radius> <node>",
|
||||||
description = "Add cylinder at WorldEdit position 1 along the x/y/z/? axis with length <length> and radius <radius>, composed of <node>",
|
description = "Add cylinder at WorldEdit position 1 along the x/y/z/? axis with length <length> and radius <radius>, composed of <node>",
|
||||||
privs = {worldedit=true},
|
privs = {worldedit=true},
|
||||||
@ -488,7 +488,7 @@ minetest.register_chatcommand("/cylinder", {
|
|||||||
end, check_cylinder),
|
end, check_cylinder),
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_chatcommand("/pyramid", {
|
minetest.register_chatcommand("we-pyramid", {
|
||||||
params = "x/y/z/? <height> <node>",
|
params = "x/y/z/? <height> <node>",
|
||||||
description = "Add pyramid centered at WorldEdit position 1 along the x/y/z/? axis with height <height>, composed of <node>",
|
description = "Add pyramid centered at WorldEdit position 1 along the x/y/z/? axis with height <height>, composed of <node>",
|
||||||
privs = {worldedit=true},
|
privs = {worldedit=true},
|
||||||
@ -520,7 +520,7 @@ minetest.register_chatcommand("/pyramid", {
|
|||||||
end),
|
end),
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_chatcommand("/spiral", {
|
minetest.register_chatcommand("we-spiral", {
|
||||||
params = "<length> <height> <space> <node>",
|
params = "<length> <height> <space> <node>",
|
||||||
description = "Add spiral centered at WorldEdit position 1 with side length <length>, height <height>, space between walls <space>, composed of <node>",
|
description = "Add spiral centered at WorldEdit position 1 with side length <length>, height <height>, space between walls <space>, composed of <node>",
|
||||||
privs = {worldedit=true},
|
privs = {worldedit=true},
|
||||||
@ -546,7 +546,7 @@ minetest.register_chatcommand("/spiral", {
|
|||||||
end),
|
end),
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_chatcommand("/copy", {
|
minetest.register_chatcommand("we-copy", {
|
||||||
params = "x/y/z/? <amount>",
|
params = "x/y/z/? <amount>",
|
||||||
description = "Copy the current WorldEdit region along the x/y/z/? axis by <amount> nodes",
|
description = "Copy the current WorldEdit region along the x/y/z/? axis by <amount> nodes",
|
||||||
privs = {worldedit=true},
|
privs = {worldedit=true},
|
||||||
@ -571,7 +571,7 @@ minetest.register_chatcommand("/copy", {
|
|||||||
end),
|
end),
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_chatcommand("/move", {
|
minetest.register_chatcommand("we-move", {
|
||||||
params = "x/y/z/? <amount>",
|
params = "x/y/z/? <amount>",
|
||||||
description = "Move the current WorldEdit region along the x/y/z/? axis by <amount> nodes",
|
description = "Move the current WorldEdit region along the x/y/z/? axis by <amount> nodes",
|
||||||
privs = {worldedit=true},
|
privs = {worldedit=true},
|
||||||
@ -598,7 +598,7 @@ minetest.register_chatcommand("/move", {
|
|||||||
end, check_region),
|
end, check_region),
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_chatcommand("/stack", {
|
minetest.register_chatcommand("we-stack", {
|
||||||
params = "x/y/z/? <count>",
|
params = "x/y/z/? <count>",
|
||||||
description = "Stack the current WorldEdit region along the x/y/z/? axis <count> times",
|
description = "Stack the current WorldEdit region along the x/y/z/? axis <count> times",
|
||||||
privs = {worldedit=true},
|
privs = {worldedit=true},
|
||||||
@ -624,7 +624,7 @@ minetest.register_chatcommand("/stack", {
|
|||||||
end),
|
end),
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_chatcommand("/stack2", {
|
minetest.register_chatcommand("we-stack2", {
|
||||||
params = "<count> <x> <y> <z>",
|
params = "<count> <x> <y> <z>",
|
||||||
description = "Stack the current WorldEdit region <count> times by offset <x>, <y>, <z>",
|
description = "Stack the current WorldEdit region <count> times by offset <x>, <y>, <z>",
|
||||||
privs = {worldedit=true},
|
privs = {worldedit=true},
|
||||||
@ -660,7 +660,7 @@ minetest.register_chatcommand("/stack2", {
|
|||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
minetest.register_chatcommand("/stretch", {
|
minetest.register_chatcommand("we-stretch", {
|
||||||
params = "<stretchx> <stretchy> <stretchz>",
|
params = "<stretchx> <stretchy> <stretchz>",
|
||||||
description = "Scale the current WorldEdit positions and region by a factor of <stretchx>, <stretchy>, <stretchz> along the X, Y, and Z axes, repectively, with position 1 as the origin",
|
description = "Scale the current WorldEdit positions and region by a factor of <stretchx>, <stretchy>, <stretchz> along the X, Y, and Z axes, repectively, with position 1 as the origin",
|
||||||
privs = {worldedit=true},
|
privs = {worldedit=true},
|
||||||
@ -694,7 +694,7 @@ minetest.register_chatcommand("/stretch", {
|
|||||||
end),
|
end),
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_chatcommand("/transpose", {
|
minetest.register_chatcommand("we-transpose", {
|
||||||
params = "x/y/z/? x/y/z/?",
|
params = "x/y/z/? x/y/z/?",
|
||||||
description = "Transpose the current WorldEdit region along the x/y/z/? and x/y/z/? axes",
|
description = "Transpose the current WorldEdit region along the x/y/z/? and x/y/z/? axes",
|
||||||
privs = {worldedit=true},
|
privs = {worldedit=true},
|
||||||
@ -727,7 +727,7 @@ minetest.register_chatcommand("/transpose", {
|
|||||||
end),
|
end),
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_chatcommand("/flip", {
|
minetest.register_chatcommand("we-flip", {
|
||||||
params = "x/y/z/?",
|
params = "x/y/z/?",
|
||||||
description = "Flip the current WorldEdit region along the x/y/z/? axis",
|
description = "Flip the current WorldEdit region along the x/y/z/? axis",
|
||||||
privs = {worldedit=true},
|
privs = {worldedit=true},
|
||||||
@ -745,7 +745,7 @@ minetest.register_chatcommand("/flip", {
|
|||||||
end),
|
end),
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_chatcommand("/rotate", {
|
minetest.register_chatcommand("we-rotate", {
|
||||||
params = "<axis> <angle>",
|
params = "<axis> <angle>",
|
||||||
description = "Rotate the current WorldEdit region around the axis <axis> by angle <angle> (90 degree increment)",
|
description = "Rotate the current WorldEdit region around the axis <axis> by angle <angle> (90 degree increment)",
|
||||||
privs = {worldedit=true},
|
privs = {worldedit=true},
|
||||||
@ -777,7 +777,7 @@ minetest.register_chatcommand("/rotate", {
|
|||||||
end),
|
end),
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_chatcommand("/orient", {
|
minetest.register_chatcommand("we-orient", {
|
||||||
params = "<angle>",
|
params = "<angle>",
|
||||||
description = "Rotate oriented nodes in the current WorldEdit region around the Y axis by angle <angle> (90 degree increment)",
|
description = "Rotate oriented nodes in the current WorldEdit region around the Y axis by angle <angle> (90 degree increment)",
|
||||||
privs = {worldedit=true},
|
privs = {worldedit=true},
|
||||||
@ -800,7 +800,7 @@ minetest.register_chatcommand("/orient", {
|
|||||||
end),
|
end),
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_chatcommand("/fixlight", {
|
minetest.register_chatcommand("we-fixlight", {
|
||||||
params = "",
|
params = "",
|
||||||
description = "Fix the lighting in the current WorldEdit region",
|
description = "Fix the lighting in the current WorldEdit region",
|
||||||
privs = {worldedit=true},
|
privs = {worldedit=true},
|
||||||
@ -810,7 +810,7 @@ minetest.register_chatcommand("/fixlight", {
|
|||||||
end),
|
end),
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_chatcommand("/hide", {
|
minetest.register_chatcommand("we-hide", {
|
||||||
params = "",
|
params = "",
|
||||||
description = "Hide all nodes in the current WorldEdit region non-destructively",
|
description = "Hide all nodes in the current WorldEdit region non-destructively",
|
||||||
privs = {worldedit=true},
|
privs = {worldedit=true},
|
||||||
@ -820,7 +820,7 @@ minetest.register_chatcommand("/hide", {
|
|||||||
end),
|
end),
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_chatcommand("/suppress", {
|
minetest.register_chatcommand("we-suppress", {
|
||||||
params = "<node>",
|
params = "<node>",
|
||||||
description = "Suppress all <node> in the current WorldEdit region non-destructively",
|
description = "Suppress all <node> in the current WorldEdit region non-destructively",
|
||||||
privs = {worldedit=true},
|
privs = {worldedit=true},
|
||||||
@ -831,7 +831,7 @@ minetest.register_chatcommand("/suppress", {
|
|||||||
end, check_set),
|
end, check_set),
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_chatcommand("/highlight", {
|
minetest.register_chatcommand("we-highlight", {
|
||||||
params = "<node>",
|
params = "<node>",
|
||||||
description = "Highlight <node> in the current WorldEdit region by hiding everything else non-destructively",
|
description = "Highlight <node> in the current WorldEdit region by hiding everything else non-destructively",
|
||||||
privs = {worldedit=true},
|
privs = {worldedit=true},
|
||||||
@ -842,7 +842,7 @@ minetest.register_chatcommand("/highlight", {
|
|||||||
end, check_set),
|
end, check_set),
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_chatcommand("/restore", {
|
minetest.register_chatcommand("we-restore", {
|
||||||
params = "",
|
params = "",
|
||||||
description = "Restores nodes hidden with WorldEdit in the current WorldEdit region",
|
description = "Restores nodes hidden with WorldEdit in the current WorldEdit region",
|
||||||
privs = {worldedit=true},
|
privs = {worldedit=true},
|
||||||
@ -852,7 +852,7 @@ minetest.register_chatcommand("/restore", {
|
|||||||
end),
|
end),
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_chatcommand("/save", {
|
minetest.register_chatcommand("we-save", {
|
||||||
params = "<file>",
|
params = "<file>",
|
||||||
description = "Save the current WorldEdit region to \"(world folder)/schems/<file>.we\"",
|
description = "Save the current WorldEdit region to \"(world folder)/schems/<file>.we\"",
|
||||||
privs = {worldedit=true},
|
privs = {worldedit=true},
|
||||||
@ -885,7 +885,7 @@ minetest.register_chatcommand("/save", {
|
|||||||
end),
|
end),
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_chatcommand("/allocate", {
|
minetest.register_chatcommand("we-allocate", {
|
||||||
params = "<file>",
|
params = "<file>",
|
||||||
description = "Set the region defined by nodes from \"(world folder)/schems/<file>.we\" as the current WorldEdit region",
|
description = "Set the region defined by nodes from \"(world folder)/schems/<file>.we\" as the current WorldEdit region",
|
||||||
privs = {worldedit=true},
|
privs = {worldedit=true},
|
||||||
@ -926,7 +926,7 @@ minetest.register_chatcommand("/allocate", {
|
|||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_chatcommand("/load", {
|
minetest.register_chatcommand("we-load", {
|
||||||
params = "<file>",
|
params = "<file>",
|
||||||
description = "Load nodes from \"(world folder)/schems/<file>[.we[m]]\" with position 1 of the current WorldEdit region as the origin",
|
description = "Load nodes from \"(world folder)/schems/<file>[.we[m]]\" with position 1 of the current WorldEdit region as the origin",
|
||||||
privs = {worldedit=true},
|
privs = {worldedit=true},
|
||||||
@ -974,7 +974,7 @@ minetest.register_chatcommand("/load", {
|
|||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_chatcommand("/lua", {
|
minetest.register_chatcommand("we-lua", {
|
||||||
params = "<code>",
|
params = "<code>",
|
||||||
description = "Executes <code> as a Lua chunk in the global namespace",
|
description = "Executes <code> as a Lua chunk in the global namespace",
|
||||||
privs = {worldedit=true, server=true},
|
privs = {worldedit=true, server=true},
|
||||||
@ -993,7 +993,7 @@ minetest.register_chatcommand("/lua", {
|
|||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_chatcommand("/luatransform", {
|
minetest.register_chatcommand("we-luatransform", {
|
||||||
params = "<code>",
|
params = "<code>",
|
||||||
description = "Executes <code> as a Lua chunk in the global namespace with the variable pos available, for each node in the current WorldEdit region",
|
description = "Executes <code> as a Lua chunk in the global namespace with the variable pos available, for each node in the current WorldEdit region",
|
||||||
privs = {worldedit=true, server=true},
|
privs = {worldedit=true, server=true},
|
||||||
@ -1013,7 +1013,7 @@ minetest.register_chatcommand("/luatransform", {
|
|||||||
end),
|
end),
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_chatcommand("/mtschemcreate", {
|
minetest.register_chatcommand("we-mtschemcreate", {
|
||||||
params = "<file>",
|
params = "<file>",
|
||||||
description = "Save the current WorldEdit region using the Minetest Schematic format to \"(world folder)/schems/<filename>.mts\"",
|
description = "Save the current WorldEdit region using the Minetest Schematic format to \"(world folder)/schems/<filename>.mts\"",
|
||||||
privs = {worldedit=true},
|
privs = {worldedit=true},
|
||||||
@ -1038,7 +1038,7 @@ minetest.register_chatcommand("/mtschemcreate", {
|
|||||||
end),
|
end),
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_chatcommand("/mtschemplace", {
|
minetest.register_chatcommand("we-mtschemplace", {
|
||||||
params = "<file>",
|
params = "<file>",
|
||||||
description = "Load nodes from \"(world folder)/schems/<file>.mts\" with position 1 of the current WorldEdit region as the origin",
|
description = "Load nodes from \"(world folder)/schems/<file>.mts\" with position 1 of the current WorldEdit region as the origin",
|
||||||
privs = {worldedit=true},
|
privs = {worldedit=true},
|
||||||
@ -1061,7 +1061,7 @@ minetest.register_chatcommand("/mtschemplace", {
|
|||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_chatcommand("/mtschemprob", {
|
minetest.register_chatcommand("we-mtschemprob", {
|
||||||
params = "start/finish/get",
|
params = "start/finish/get",
|
||||||
description = "Begins node probability entry for Minetest schematics, gets the nodes that have probabilities set, or ends node probability entry",
|
description = "Begins node probability entry for Minetest schematics, gets the nodes that have probabilities set, or ends node probability entry",
|
||||||
privs = {worldedit=true},
|
privs = {worldedit=true},
|
||||||
@ -1102,7 +1102,7 @@ minetest.register_on_player_receive_fields(
|
|||||||
end
|
end
|
||||||
)
|
)
|
||||||
|
|
||||||
minetest.register_chatcommand("/clearobjects", {
|
minetest.register_chatcommand("we-clearobjects", {
|
||||||
params = "",
|
params = "",
|
||||||
description = "Clears all objects within the WorldEdit region",
|
description = "Clears all objects within the WorldEdit region",
|
||||||
privs = {worldedit=true},
|
privs = {worldedit=true},
|
||||||
|
@ -26,11 +26,11 @@ safe_region = function(callback, nodes_needed)
|
|||||||
|
|
||||||
--save callback to call later
|
--save callback to call later
|
||||||
safe_region_callback[name], safe_region_param[name] = callback, param
|
safe_region_callback[name], safe_region_param[name] = callback, param
|
||||||
worldedit.player_notify(name, "WARNING: this operation could affect up to " .. count .. " nodes; type //y to continue or //n to cancel")
|
worldedit.player_notify(name, "WARNING: this operation could affect up to " .. count .. " nodes; type /we-y to continue or /we-n to cancel")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
minetest.register_chatcommand("/y", {
|
minetest.register_chatcommand("we-y", {
|
||||||
params = "",
|
params = "",
|
||||||
description = "Confirm a pending operation",
|
description = "Confirm a pending operation",
|
||||||
func = function(name)
|
func = function(name)
|
||||||
@ -52,7 +52,7 @@ minetest.register_chatcommand("/y", {
|
|||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_chatcommand("/n", {
|
minetest.register_chatcommand("we-n", {
|
||||||
params = "",
|
params = "",
|
||||||
description = "Confirm a pending operation",
|
description = "Confirm a pending operation",
|
||||||
func = function(name)
|
func = function(name)
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
--returns true if command could not be aliased, false otherwise
|
--returns true if command could not be aliased, false otherwise
|
||||||
worldedit.alias_chatcommand = function(alias, original_command)
|
worldedit.alias_chatcommand = function(alias, original_command)
|
||||||
if not minetest.chatcommands[original_command] then
|
if not minetest.chatcommands["we-"..original_command] then
|
||||||
minetest.log("error", "worldedit_shortcommands: original command " .. original_command .. " does not exist")
|
minetest.log("error", "worldedit_shortcommands: original command " .. original_command .. " does not exist")
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
@ -10,41 +10,41 @@ worldedit.alias_chatcommand = function(alias, original_command)
|
|||||||
minetest.log("error", "worldedit_shortcommands: alias " .. alias .. " already exists")
|
minetest.log("error", "worldedit_shortcommands: alias " .. alias .. " already exists")
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
minetest.register_chatcommand(alias, minetest.chatcommands[original_command])
|
minetest.register_chatcommand(alias, minetest.chatcommands["we-"..original_command])
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|
||||||
worldedit.alias_chatcommand("/i", "/inspect")
|
worldedit.alias_chatcommand("i", "inspect")
|
||||||
worldedit.alias_chatcommand("/rst", "/reset")
|
worldedit.alias_chatcommand("rst", "reset")
|
||||||
worldedit.alias_chatcommand("/mk", "/mark")
|
worldedit.alias_chatcommand("mk", "mark")
|
||||||
worldedit.alias_chatcommand("/umk", "/unmark")
|
worldedit.alias_chatcommand("umk", "unmark")
|
||||||
worldedit.alias_chatcommand("/1", "/pos1")
|
worldedit.alias_chatcommand("1", "pos1")
|
||||||
worldedit.alias_chatcommand("/2", "/pos2")
|
worldedit.alias_chatcommand("2", "pos2")
|
||||||
worldedit.alias_chatcommand("/fp", "/fixedpos")
|
worldedit.alias_chatcommand("fp", "fixedpos")
|
||||||
worldedit.alias_chatcommand("/v", "/volume")
|
worldedit.alias_chatcommand("v", "volume")
|
||||||
worldedit.alias_chatcommand("/s", "/set")
|
worldedit.alias_chatcommand("s", "set")
|
||||||
worldedit.alias_chatcommand("/r", "/replace")
|
worldedit.alias_chatcommand("r", "replace")
|
||||||
worldedit.alias_chatcommand("/ri", "/replaceinverse")
|
worldedit.alias_chatcommand("ri", "replaceinverse")
|
||||||
worldedit.alias_chatcommand("/hspr", "/hollowsphere")
|
worldedit.alias_chatcommand("hspr", "hollowsphere")
|
||||||
worldedit.alias_chatcommand("/spr", "/sphere")
|
worldedit.alias_chatcommand("spr", "sphere")
|
||||||
worldedit.alias_chatcommand("/hdo", "/hollowdome")
|
worldedit.alias_chatcommand("hdo", "hollowdome")
|
||||||
worldedit.alias_chatcommand("/do", "/dome")
|
worldedit.alias_chatcommand("do", "dome")
|
||||||
worldedit.alias_chatcommand("/hcyl", "/hollowcylinder")
|
worldedit.alias_chatcommand("hcyl", "hollowcylinder")
|
||||||
worldedit.alias_chatcommand("/cyl", "/cylinder")
|
worldedit.alias_chatcommand("cyl", "cylinder")
|
||||||
worldedit.alias_chatcommand("/pyr", "/pyramid")
|
worldedit.alias_chatcommand("pyr", "pyramid")
|
||||||
worldedit.alias_chatcommand("/spl", "/spiral")
|
worldedit.alias_chatcommand("spl", "spiral")
|
||||||
worldedit.alias_chatcommand("/m", "/move")
|
worldedit.alias_chatcommand("m", "move")
|
||||||
worldedit.alias_chatcommand("/c", "/copy")
|
worldedit.alias_chatcommand("c", "copy")
|
||||||
worldedit.alias_chatcommand("/stk", "/stack")
|
worldedit.alias_chatcommand("stk", "stack")
|
||||||
worldedit.alias_chatcommand("/sch", "/stretch")
|
worldedit.alias_chatcommand("sch", "stretch")
|
||||||
worldedit.alias_chatcommand("/tps", "/transpose")
|
worldedit.alias_chatcommand("tps", "transpose")
|
||||||
worldedit.alias_chatcommand("/fl", "/flip")
|
worldedit.alias_chatcommand("fl", "flip")
|
||||||
worldedit.alias_chatcommand("/rot", "/rotate")
|
worldedit.alias_chatcommand("rot", "rotate")
|
||||||
worldedit.alias_chatcommand("/ort", "/orient")
|
worldedit.alias_chatcommand("ort", "orient")
|
||||||
worldedit.alias_chatcommand("/hi", "/hide")
|
worldedit.alias_chatcommand("hi", "hide")
|
||||||
worldedit.alias_chatcommand("/sup", "/suppress")
|
worldedit.alias_chatcommand("sup", "suppress")
|
||||||
worldedit.alias_chatcommand("/hlt", "/highlight")
|
worldedit.alias_chatcommand("hlt", "highlight")
|
||||||
worldedit.alias_chatcommand("/rsr", "/restore")
|
worldedit.alias_chatcommand("rsr", "restore")
|
||||||
worldedit.alias_chatcommand("/l", "/lua")
|
worldedit.alias_chatcommand("l", "lua")
|
||||||
worldedit.alias_chatcommand("/lt", "/luatransform")
|
worldedit.alias_chatcommand("lt", "luatransform")
|
||||||
worldedit.alias_chatcommand("/clro", "/clearobjects")
|
worldedit.alias_chatcommand("clro", "clearobjects")
|
||||||
|
Loading…
Reference in New Issue
Block a user