Jump to content

/WLoad: Difference between revisions

From fCraft Wiki
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 9: Line 9:
|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 FileName WorldName BuildRank AccessRank</code>==
: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>==
==<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 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 <code>FromWorld.fcm</code>


==Supported map formats==
==Supported map formats==
Line 34: Line 38:
* Opticraft (.save)
* Opticraft (.save)


{{LastUpdated|605}}
==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.