Jump to content

/Cuboid: Difference between revisions

From fCraft Wiki
No edit summary
No edit summary
Line 2: Line 2:
|name=Cuboid
|name=Cuboid
|purpose=Fills an area with blocks.
|purpose=Fills an area with blocks.
|aliases=/C, /Cub, /Z, /BLB
|aliases=/BLB, /C, /Z
|uses=/Cuboid
|uses=/Cuboid



Revision as of 03:04, 8 October 2011

Command
Cuboid

Fills an area with blocks.

Aliases/BLB, /C, /Z
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 works), 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.

Drawing lines with /Cuboid

Drawing rectangles with /Cuboid

Drawing cuboids with /Cuboid

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.