Jump to content

/Gen

From fCraft Wiki
Revision as of 23:36, 12 October 2011 by F (talk | contribs)
Command
Gen

Generates a new map file.

Usage

/Gen Theme Template

/Gen Theme Template Width Length Height

/Gen Theme Template Width Length Height FileName

CategoryWorld
Required permissionsManageWorlds
Usable from console?Yes
Introduced infCraft 0.200

Generates a new map file. Can create many different kinds of terrain. The "theme" defines the appearance (type of blocks used): Arctic, Desert, Forest, Grass, Hell, Swamp. The "template" defines the shape of terrain: Archipelago, Atoll, Bay, Dunes (best with Desert theme), Flat, Hills, Ice (best with Arctic theme), Island, Lake, Mountains, Peninsula, Random (unpredictable), River, and Streams.

/Gen Theme Template

Replaces the current world's map with a new one of the same size.

/Gen Theme Template Width Length Height

Replaces the current world's map with a new one of given dimensions.

/Gen Theme Template Width Length Height FileName

Creates a new map file with the given terrain type and dimensions. You can then load the new map by calling /WLoad


Map Sizes

Everywhere in fCraft commands, coordinates are given in "X Y Z" format (X/Y horizontal, and Z vertical). Similarly, map dimensions are given in "Width Length Height" format (Width/Length horizontal, and Height vertical).
Minecraft client works best if each map dimensions is either 16, 32, 64, 128, 256, 512, or 1024. Various problems can occur if map does not conform to this rule:
  • If any dimension is not a multiple of 16 (e.g. 16, 32, 48, 64, etc), there will be invisible blocks and a LOT of visual glitches.
  • If width or length (horizontal dimensions) are multiples of 16 but not powers of 2 (e.g. 16, 32, 64, 128, 236, etc), there will be inaccessible walled-off areas on a map, and it will lag pretty badly. However, you can still make map height any multiple of 16 without negative side effects.
  • If any dimension is over 1024 blocks, players will become invisible when they pass the 1024 block mark.
The total size of the map is theoretically limited to 2147483647 blocks (231-1).

Theme guide

Template guide