Jump to content

/Cuboid: Difference between revisions

From fCraft Wiki
No edit summary
No edit summary
Line 1: Line 1:
[[Category:Commands]]
{{CommandBox
|name=Cuboid
|purpose=Fills an area with blocks.
|aliases=/C, /Cub, /Z, /BLB
|uses=/Cuboid


==Command==
/Cuboid BlockType
==<code>/cuboid [BlockName]</code>==
|cat=Building
:Fills a cuboid with the specified block type (if omitted, the block the player is holding), in the space specified by the next two changed blocks.
|perm=Draw
* Cannot be used from console.
|console=No
==<code>/c [BlockName]</code>==
|}}
:an alias for /cuboid
==<code>/z [BlockName]</code>==
:an alias for /cuboid


==<code>/cubeh [BlockName]</code>==
Solidly fills a rectangular area (cuboid) with blocks of a given type. After entering the command you need to mark 2 opposing corners of the area. You can do that either by clicking the blocks (building or deleting worlds), or using the [[/Mark]] command. The results of [[/Cuboid]] can be undone using [[/Undo]].
:Makes a cuboid of the specified block type (if omitted, the block the player is holding) whilst leaving the inside of the cuboid hollow.
 
* Cannot be used from console.
==<code>/Cuboid</code>==
==<code>/h [BlockName]</code>==
:Fills the area with the block that you are currently holding.
:an alias for /cubeh
 
==<code>/Cuboid BlockType</code>==
:Fills the area with a given block type.
 
==Customizing /Cuboid behavior==
*The volume of blocks that can be drawn 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).
*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.
 
{{LastUpdated|605}}

Revision as of 22:36, 21 May 2011

Command
Cuboid

Fills an area with blocks.

Aliases/C, /Cub, /Z, /BLB
Usage

/Cuboid

/Cuboid BlockType

CategoryBuilding
Required permissionsDraw
Usable from console?No
Introduced in[[Version history#{{{v}}}|fCraft {{{v}}}]]


Solidly fills a rectangular area (cuboid) with blocks of a given type. After entering the command you need to mark 2 opposing corners of the area. You can do that either by clicking the blocks (building or deleting worlds), or using the /Mark command. The results of /Cuboid can be undone using /Undo.

/Cuboid

Fills the area with the block that you are currently holding.

/Cuboid BlockType

Fills the area with a given block type.

Customizing /Cuboid behavior

  • The volume of blocks that can be drawn 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).
  • 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.