Jump to content

/Cut: Difference between revisions

From fCraft Wiki
No edit summary
mNo edit summary
 
(9 intermediate revisions by the same user not shown)
Line 5: Line 5:
|uses=/Cut
|uses=/Cut


/Cut ReplacementBlock
/Cut <FillBlock>
|cat=Building
|cat=Building
|perm=[[Draw]], [[CopyAndPaste]]
|perm={{rperm|Draw}}, {{rperm|CopyAndPaste}}
|console=No
|console=No
|v=0.472
|}}
|}}
 
Cuts an area of blocks out of a map (copies and then removes original). You may use {{cmd|Rotate}} and {{cmd|Mirror}} commands to manipulate the copied blocks. The removal/replacement of blocks may be undone using {{cmd|Undo}}. Use {{cmd|CopySlot}} to select which slot to copy blocks into. Blocks may also be copied/pasted across worlds.
Cuts an area of blocks on a map (copies and then removes original). You may use [[/Rotate]] and [[/Mirror]] commands to manipulate the copied blocks. The removal/replacement of blocks may be undone using [[/Undo]].
 
Used together with [[/Paste]] and [[/PasteNot]] commands. Blocks may also be copied/pasted across worlds. Note that pasting starts at the same corner that you started copying from.


==<code>/Cut</code>==
==<code>/Cut</code>==
:Copies and area, then deletes it (replaces it with air).
:Copies and area, then deletes it (replaces it with air). Equivalent to <code>/Cut Air</code>


==<code>/Cut ReplacementBlock</code>==
==<code>/Cut <FillBlock></code>==
:Copies and area, then fills it with a given block type.
:Copies and area, then fills it with a given block type.


==Customizing /Cut behavior==
==Customizing /Cut behavior==
*The volume of blocks that can be cut at once can be limited per-rank. See "Draw limit" field on ConfigTool's Ranks tab. Alternatively, set the "drawLimit" attribute on the <Rank> tag (if you are editing config.xml manually).
{{CustomizingDrawCommandBehavior}}
*Being able to undo a command requires storing a backup an area of the map. This may take up significant amounts of memory. By default, fCraft limits [[/Undo]] to the first 2,000,000 blocks that are drawn. You can change this (or remove the limit entirely) via [[MaxUndo]] config key.
 
==Related Commands==
*{{cmd|Copy}}
*{{cmd|CopySlot}}
*{{cmd|Paste}}


{{LastUpdated|605}}
{{LastUpdated|1650}}

Latest revision as of 10:34, 25 August 2012

Command
Cut

Cuts an area of blocks.

Usage

/Cut

/Cut <FillBlock>

CategoryBuilding
Required permissionsDraw, CopyAndPaste
Usable from console?No
Introduced infCraft 0.472

Cuts an area of blocks out of a map (copies and then removes original). You may use /Rotate and /Mirror commands to manipulate the copied blocks. The removal/replacement of blocks may be undone using /Undo. Use /CopySlot to select which slot to copy blocks into. Blocks may also be copied/pasted across worlds.

/Cut

Copies and area, then deletes it (replaces it with air). Equivalent to /Cut Air

/Cut <FillBlock>

Copies and area, then fills it with a given block type.

Customizing /Cut behavior

  • The volume of blocks that can be drawn at once can be limited per-rank. See "Draw limit" field on ConfigGUI's Ranks tab. If you are editing config.xml manually, set the "drawLimit" attribute on the <Rank> tag.
  • Being able to undo a command requires storing a backup of an area of the map. This may take up significant amounts of memory. By default, fCraft limits /Undo to the first 2,000,000 blocks that are drawn. You can change this (or remove the limit entirely) via MaxUndo config key.