How to use WorldEdit: Difference between revisions

From Vintage Story Wiki
no edit summary
mNo edit summary
No edit summary
Line 104: Line 104:
<ul>
<ul>
<li>
<li>
<strong><span><span><span>/we ms</span></span></span></strong><span><span><span>&nbsp;<br>
<strong>/we ms</strong><br>
Marks your current position as the start point ("<strong>m</strong>ark <strong>s</strong>tart")</span></span></span><br>
Marks your current position as the start point ("<strong>m</strong>ark <strong>s</strong>tart")<br>
&nbsp;
</li>
</li>
<li>
<li>
<strong><span><span><span>/we me&nbsp;</span></span></span></strong><br><span><span>Marks your current position as the end point&nbsp;("<strong>m</strong>ark <b>e</b>nd")</span></span><br>
<strong>/we me </strong><br>Marks your current position as the end point ("<strong>m</strong>ark <b>e</b>nd")<br>
&nbsp;
</li>
</li>
<li>
<li>
<strong>/we mc</strong><br>
<strong>/we mc</strong><br>
Un-Mark start and end position ("<strong>m</strong>ark&nbsp;<strong>c</strong>lear")<br>
Un-Mark start and end position ("<strong>m</strong>ark <strong>c</strong>lear")<br>
&nbsp;
</li>
</li>
<li>
<li>
<strong><span><span><span>/we mex [filename]</span></span></span></strong><br><span><span><span>Exports the area defined by the start and end point as json file in the vintage story data folder ("<strong>m</strong>arked <strong>ex</strong>port")</span></span></span><br>
<strong>/we mex [filename]</strong><br>Exports the area defined by the start and end point as json file in the vintage story data folder ("<strong>m</strong>arked <strong>ex</strong>port")<br>
&nbsp;
</li>
</li>
<li>
<li>
<strong><span><span><span>/we imp [filename]&nbsp;[origin]</span></span></span></strong><span><span><span>&nbsp;&nbsp;<br>
<strong>/we mexc [filename]</strong><br>Exports the area defined by the start and end point, and sends it as json file to the game client and stores in the vintage story data folder. This is useful when working on a dedicated server.<br>
Imports supplied json file at the defined start point. If the origin parameter is supplied with </span></span></span><span> </span>
</li>
<li>
<strong>/we imp [filename] [origin]</strong><br>
Imports supplied json file at the defined start point. If the origin parameter is supplied with <span> </span>
<ul>
<ul>
<li>
<li>
<span><span><span>0 = Uses the start point as the bottom left front corner&nbsp;point (default) </span></span></span><span> </span>
0 = Uses the start point as the bottom left front corner point (default) <span> </span>
</li>
</li>
<li>
<li>
<span><span><span>1 = Uses the start point as the bottom center&nbsp;point </span></span></span><span> </span>
1 = Uses the start point as the bottom center point <span> </span>
</li>
</li>
<li>
<li>
<span><span><span>2 =&nbsp;Uses the start point as the top center point</span></span></span><br>
2 = Uses the start point as the top center point<br>
&nbsp;
</li>
</li>
</ul>
</ul>
Line 139: Line 143:
<li>
<li>
<strong>/we impr [0, 90, 180 or 270]</strong><br>
<strong>/we impr [0, 90, 180 or 270]</strong><br>
When importing block data using&nbsp;<em>/we imp</em>&nbsp;the imported block data will first be rotated by given angle.&nbsp;<br>
When importing block data using <em>/we imp</em> the imported block data will first be rotated by given angle.<br>
&nbsp;
</li>
</li>
<li>
<li>
<strong>/we impflip</strong><br>
<strong>/we impflip</strong><br>
When importing block data using&nbsp;<em>/we imp</em>&nbsp;the imported block data will first be vertically flipped<br>
When importing block data using <em>/we imp</em> the imported block data will first be vertically flipped<br>
&nbsp;
</li>
</li>
         <li>
         <li>
<strong>/we impres [on|off]</strong><br>
<strong>/we impres [on|off]</strong><br>
Import item/block resolving mode. Turn it off to spawn structures as they are. For example, in this mode, instead of traders, their meta spawners will spawn<br>&nbsp;
Import item/block resolving mode. Turn it off to spawn structures as they are. For example, in this mode, instead of traders, their meta spawners will spawn<br>  
</li>
</li>
<li>
<li>
<strong><span><span><span>/we mfill</span></span></span></strong><span><span>&nbsp;<br>
<strong>/we mfill</strong><br>
Fills the marked area defined by the start and end point with the block in your currently selected hotbar slot&nbsp;("<strong>m</strong>arked <b>fill</b>")</span></span><br>
Fills the marked area defined by the start and end point with the block in your currently selected hotbar slot ("<strong>m</strong>arked <b>fill</b>")<br>
&nbsp;
</li>
</li>
<li>
<li>
<strong><span><span><span>/we mclear</span></span></span></strong><span><span>&nbsp;<br>
<strong>/we mclear</strong><br>
Clears the marked area defined by the start and end point&nbsp;</span>("<strong>m</strong>arked <b>clear</b>")</span><br>
Clears the marked area defined by the start and end point </span>("<strong>m</strong>arked <b>clear</b>")</span><br>
&nbsp;
</li>
</li>
<li>
<li>
<strong>/we mcopy</strong><br>
<strong>/we mcopy</strong><br>
Copies the marked area.<br>
Copies the marked area.<br>
&nbsp;
</li>
</li>
<li>
<li>
<strong>/we mpaste</strong><br>
<strong>/we mpaste</strong><br>
Pastes the previously copied area to the defined start point.<br>
Pastes the previously copied area to the defined start point.<br>
&nbsp;
</li>
</li>
<li>
<li>
<strong>/we mm[u,d,n,e,s,w] [length]</strong><br>
<strong>/we mm[u,d,n,e,s,w] [length]</strong><br>
Moves the contents inside marked area in given direction by given length (default 1). Examples:<br><strong>/we mmu&nbsp;</strong>- Moves the marked area up by 1 block<br><strong>/we mms 5</strong>&nbsp;- Moves the marked area south by 5 blocks<br>
Moves the contents inside marked area in given direction by given length (default 1). Examples:<br><strong>/we mmu </strong>- Moves the marked area up by 1 block<br><strong>/we mms 5</strong> - Moves the marked area south by 5 blocks<br>
&nbsp;
</li>
</li>
<li>
<li>
<strong>/we mmby [x] [y] [z]</strong><br>
<strong>/we mmby [x] [y] [z]</strong><br>
Moves the contents inside marked area by given x/y/z length. Example:<br><strong>/we mmby 5 1 -2</strong>&nbsp;- Moves the marked area 5 blocks in x-direction, 1 block up and -2 blocks in z-direction<br>
Moves the contents inside marked area by given x/y/z length. Example:<br><strong>/we mmby 5 1 -2</strong> - Moves the marked area 5 blocks in x-direction, 1 block up and -2 blocks in z-direction<br>
&nbsp;
</li>
</li>


Line 186: Line 190:
<strong>/we mr [90|180|270]</strong><br>
<strong>/we mr [90|180|270]</strong><br>
Rotates the contents inside marked area by given angle.<br>
Rotates the contents inside marked area by given angle.<br>
&nbsp;
</li>
</li>
<li>
<li>
<strong>/we clear [width&amp;length] [height]</strong><br>Deletes all blocks inside a cuboid around the player, delimited by supplied size arguments<br>
<strong>/we clear [width&amp;length] [height]</strong><br>Deletes all blocks inside a cuboid around the player, delimited by supplied size arguments<br>
&nbsp;
</li>
</li>
<li>
<li>
Line 208: Line 212:
<strong>/we block</strong><br>
<strong>/we block</strong><br>
Places a block under your feet. Uses the block actively selected in your hotbar.<br>
Places a block under your feet. Uses the block actively selected in your hotbar.<br>
&nbsp;
</li>
</li>
<li>
<li>
<strong>/we sovp [0-1]</strong><br>
<strong>/we sovp [0-1]</strong><br>
Disable/Enable <strong>s</strong>erver <strong>ov</strong>erload <strong>p</strong>rotection. This protection prevents certain actions that are likely to kill the server, so it is not recommended to turn it off.<br>
Disable/Enable <strong>s</strong>erver <strong>ov</strong>erload <strong>p</strong>rotection. This protection prevents certain actions that are likely to kill the server, so it is not recommended to turn it off.<br>
&nbsp;
</li>
</li>


Line 219: Line 223:
<li>
<li>
<strong>/we g[u,d,n,e,s,w] [length]</strong><br>
<strong>/we g[u,d,n,e,s,w] [length]</strong><br>
Grows&nbsp;the current selection given length (default 1). Examples:<br><strong>/we gu&nbsp;</strong>- Grows the selection up by 1 block<br><strong>/we gn -3</strong>&nbsp;- Shrinks the selection from the north side<br>
Grows the current selection given length (default 1). Examples:<br><strong>/we gu </strong>- Grows the selection up by 1 block<br><strong>/we gn -3</strong> - Shrinks the selection from the north side<br>
&nbsp;
</li>
</li>
<li>
<li>
<strong>/we mmir[u,d,n,e,s,w] [|gn|sn]</strong><br>
<strong>/we mmir[u,d,n,e,s,w] [|gn|sn]</strong><br>
Mirrors the marked area in given direction. If the second parameter is set, the current marked area will be modified to select the newly created area (<strong>sn</strong>)&nbsp;to to grow the selection to include both the old and new area (<strong>gn</strong>). Examples:<br><strong>/we mmire</strong>&nbsp;- Mirrors the marked area to direction east<br><strong>/wemmiru sn</strong>&nbsp;- Mirrors the marked area to direction up and will select the mark placed blocks.<br>
Mirrors the marked area in given direction. If the second parameter is set, the current marked area will be modified to select the newly created area (<strong>sn</strong>) to to grow the selection to include both the old and new area (<strong>gn</strong>). Examples:<br><strong>/we mmire</strong> - Mirrors the marked area to direction east<br><strong>/wemmiru sn</strong> - Mirrors the marked area to direction up and will select the mark placed blocks.<br>
&nbsp;
</li>
</li>
<li>
<li>
<strong>/we mrep[u,d,n,e,s,w] [count] [|gn|sn]</strong><br>
<strong>/we mrep[u,d,n,e,s,w] [count] [|gn|sn]</strong><br>
Repeats (copies) the marked area in given direction for <em>count </em>times (default 1).&nbsp;If the third parameter is set, the current marked area will be modified to select the newly created area (<strong>sn</strong>)&nbsp;to to grow the selection to include both the old and new area (<strong>gn</strong>). Examples:<br><strong>/we mreps</strong>&nbsp;- Repeats the marked area once to direction south<br><strong>/we mrepu 5</strong>&nbsp;- Repeats the marked area 5 times to direction up<br><strong>/we mrepw 1 sn</strong>&nbsp;- Repeats the marked area once to direction south and will mark the newly placed blocks.
Repeats (copies) the marked area in given direction for <em>count </em>times (default 1). If the third parameter is set, the current marked area will be modified to select the newly created area (<strong>sn</strong>) to to grow the selection to include both the old and new area (<strong>gn</strong>). Examples:<br><strong>/we mreps</strong> - Repeats the marked area once to direction south<br><strong>/we mrepu 5</strong> - Repeats the marked area 5 times to direction up<br><strong>/we mrepw 1 sn</strong> - Repeats the marked area once to direction south and will mark the newly placed blocks.
</li>
</li>
</ul>
</ul>
Confirmedusers, Bureaucrats, editor, Administrators
1,779

edits