Jump to content

/WLoad: Difference between revisions

From fCraft Wiki
m moved Wload to /WLoad
No edit summary
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{CommandBox
{{CommandBox
|name=wload
|name=WLoad
|purpose=Loads maps and creates new worlds.
|purpose=Loads maps and creates new worlds.
|uses=/wload FileName
|uses=/WLoad FileName
/wload FileName WorldName
 
/wload SourceWorld TargetWorld
/WLoad FileName WorldName
 
/WLoad FromWorld ToWorld
|cat=World
|cat=World
|aliases=wadd
|aliases=WAdd
|perm=ManageWorlds
|perm={{rperm|ManageWorlds}}
|console=Yes
|console=Yes
|v=0.400
|}}
|}}
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.
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.


==<code>/wload FileName</code>==
==<code>/WLoad FileName</code>==
:Replaces the current world's map with contents of the given map file. The current map is lost. Cannot be used from console.
:Replaces the ''current world's map'' with contents of the given map file. The current map is lost. Cannot be used from console.


==<code>/wload FileName WorldName</code>==
==<code>/WLoad FileName WorldName</code>==
: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 FileName WorldName BuildRank AccessRank</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
:Same as above, but also sets build and access ranks for the given world, without having to use {{cmd|WBuild}} or {{cmd|WAccess}} separately.
 
==<code>/WLoad FromWorld ToWorld</code>==
: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 <code>FromWorld.fcm</code>


==Supported map formats==
==Supported map formats==
* fCraft (.fcm) - format versions 2 and 3
* fCraft (.fcm) - format versions 2, 3, and 4
* MCSharp, MCZall, and MCLawl (.lvl)
* MCSharp, MCZall, and MCLawl (.lvl)
* D3 (.map)
* D3 (.map)
Line 31: Line 37:
* Myne, MyneCraft, Hyvebuild, and iCraft (directory)
* Myne, MyneCraft, Hyvebuild, and iCraft (directory)
* Opticraft (.save)
* Opticraft (.save)
* XMap (.xmap)
 
{{LastUpdated|458}}
==Related commands==
*{{cmd|Gen}} - Generates a new map file.
*{{cmd|WAccess}} - Allows controlling access to a world.
*{{cmd|WBuild}} - Allows controlling building rights on a world.
*{{cmd|WSet}} - Allows changing some of worlds' misc settings.
*{{cmd|WUnload}} - Unloads a world.
 
{{LastUpdated|1650}}

Latest revision as of 03:07, 22 August 2012

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 infCraft 0.400

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 FileName WorldName BuildRank AccessRank

Same as above, but also sets build and access ranks for the given world, without having to use /WBuild or /WAccess separately.

/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 FromWorld.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)
  • /Gen - Generates a new map file.
  • /WAccess - Allows controlling access to a world.
  • /WBuild - Allows controlling building rights on a world.
  • /WSet - Allows changing some of worlds' misc settings.
  • /WUnload - Unloads a world.