Difference between revisions of "Worlds"

From Minetest Wiki
Jump to navigation Jump to search
(Ajout Template Languages)
(Replace “grant singleplayer all” with “grantme all”)
Line 51: Line 51:
  
 
# Type in your world name (with WorldEdit activated).
 
# Type in your world name (with WorldEdit activated).
# Grant yourself all [[privileges]]: <code>/grant singleplayer all</code><ref name="singleplayer">(name “singleplayer” by default)</ref>
+
# Grant yourself all [[privileges]]: <code>/grantme all</code>
 
# Press <kbd>F5</kbd> to show the coordinates.
 
# Press <kbd>F5</kbd> to show the coordinates.
 
# Select the area to export by commands with <code>//pos1</code> and <code>//pos2</code> (these positions corresponds to an invisible diagonal of a cuboid selection).
 
# Select the area to export by commands with <code>//pos1</code> and <code>//pos2</code> (these positions corresponds to an invisible diagonal of a cuboid selection).
Line 60: Line 60:
  
 
# Enter in your world (with WorldEdit activated).
 
# Enter in your world (with WorldEdit activated).
# Grant yourself all privileges: <code>/grant singleplayer all</code><ref name="singleplayer"/>
+
# Grant yourself all privileges: <code>/grantme all</code>
 
# Put a schem file into your “<code>worlds/<name of your new world>/schems</code>" folder.
 
# Put a schem file into your “<code>worlds/<name of your new world>/schems</code>" folder.
 
# Press <kbd>F5</kbd> to show the coordinatess.
 
# Press <kbd>F5</kbd> to show the coordinatess.
Line 71: Line 71:
 
* [[Minetestmapper]], a program to draw a 2D map of a Minetest world.
 
* [[Minetestmapper]], a program to draw a 2D map of a Minetest world.
  
 
== Notes and References ==
 
<references />
 
  
 
[[Category:Map]]
 
[[Category:Map]]
 
[[Category:Tutorials]]
 
[[Category:Tutorials]]

Revision as of 23:28, 26 December 2016

Languages Language: English • Deutsch • Bahasa Melayu


What is a Map?

A Map is a world who contains an environment and/or building(s).

Installation

To install maps : you have to extract them first—most of them are in .zip, some of them can be in .rar or .tar.gz format. To extract .tar.gz and .rar files on Windows, you need 7-Zip.

Put the extracted files in the “worlds” folder of your Minetest installation folder. The files such as env_meta.txt must be directly in the world’s folder (eg. “worlds/my_world/env_meta.txt”).

Often, the compressed file also contains a “mods” folder, his files have to be put into your “mods” folder to show some additional blocks.

  • Location of the worlds (aka maps) folder within the folder structure of a run-in-place installation of Minetest, including some of the folders Minetest adds after some usage as client and server, as well as the positions (…) that custom-made content goes. Irrelevant folders are not expanded.
minetest/
├── bin/
├── builtin/
├── cache/
├── client/
├── doc/
├── fonts/
├── games/
│   ├── minetest_game/
│   ├── minimal/
│   └── … (installed extra games)
├── locale/
├── mods/
│   └── … (installed extra mods and modpacks)
├── textures/
│   ├── base/
│   │   └── pack/
│   └── … (installed extra texturepacks)
└── worlds/
    └── … (saved worlds. Some with exclusive world mods)

Finding Maps


Schem file Creation / Import

A schem file (.mts) is used to import building(s) into a world with the WorldEdit mod. This file can be found in “worlds/<my_world>/schems” folder.


  • To create a schem file :
  1. Type in your world name (with WorldEdit activated).
  2. Grant yourself all privileges: /grantme all
  3. Press F5 to show the coordinates.
  4. Select the area to export by commands with //pos1 and //pos2 (these positions corresponds to an invisible diagonal of a cuboid selection).
  5. Create your schem file with //mtschemcreate <name of your schem file>. The file will be created into your “worlds/<my_world>/schems” folder.


  • To import a schem file :
  1. Enter in your world (with WorldEdit activated).
  2. Grant yourself all privileges: /grantme all
  3. Put a schem file into your “worlds/<name of your new world>/schems" folder.
  4. Press F5 to show the coordinatess.
  5. Place a position where you want with command: //pos1
  6. Import your schem file with //mtschemplace <name of your schem file>


See also