Jump to content

/WLoad: Difference between revisions

From fCraft Wiki
No edit summary
No edit summary
Line 6: Line 6:
/WLoad FileName WorldName
/WLoad FileName WorldName


/WLoad SourceWorld TargetWorld
/WLoad FromWorld ToWorld
|cat=World
|cat=World
|aliases=WAdd
|aliases=WAdd
Line 20: Line 20:
:If a world with the given name exists, its map is replaced. Otherwise, a new world is created using this name and map.
:If a world with the given name exists, its map is replaced. Otherwise, a new world is created using this name and map.


==<code>/WLoad SourceWorld TargetWorld</code>==
==<code>/WLoad FromWorld ToWorld</code>==
:Copies map from SourceWorld to TargetWorld, or creates a new world using this name and the map from SourceWorld. Since maps are named after their worlds, this is essentially same as loading SourceWorld.fcm
:Copies map from FromWorld to ToWorld. If ToWorld does not yet exist, it is created. Since maps are named after their worlds, this is essentially same as loading SourceWorld.fcm


==Supported map formats==
==Supported map formats==

Revision as of 18:35, 25 August 2011

Command
WLoad

Loads maps and creates new worlds.

AliasesWAdd
Usage

/WLoad FileName

/WLoad FileName WorldName

/WLoad FromWorld ToWorld

CategoryWorld
Required permissionsManageWorlds
Usable from console?Yes
Introduced in[[Version history#{{{v}}}|fCraft {{{v}}}]]

Load map from file into a world. Can be used to create new worlds. Asks for confirmation in case anything is about to be overwritten.

/WLoad FileName

Replaces the current world's map with contents of the given map file. The current map is lost. Cannot be used from console.

/WLoad FileName WorldName

If a world with the given name exists, its map is replaced. Otherwise, a new world is created using this name and map.

/WLoad FromWorld ToWorld

Copies map from FromWorld to ToWorld. If ToWorld does not yet exist, it is created. Since maps are named after their worlds, this is essentially same as loading SourceWorld.fcm

Supported map formats

  • fCraft (.fcm) - format versions 2, 3, and 4
  • MCSharp, MCZall, and MCLawl (.lvl)
  • D3 (.map)
  • Default/vanilla server (.dat)
  • MinerCPP, and LuaCraft (.dat)
  • JTE's (.gz)
  • Indev (.mclevel) - finite maps only
  • Myne, MyneCraft, Hyvebuild, and iCraft (directory)
  • Opticraft (.save)
  • XMap (.xmap)