Difference between revisions of "Worlds"

From Minetest Wiki
Jump to navigation Jump to search
Line 47: Line 47:
  
  
* When you want to '''create a schem file''' :  
+
* To '''create a schem file''' :  
  
 
# Enter in your world (with WorldEdit activated).
 
# Enter in your world (with WorldEdit activated).
Line 56: Line 56:
  
  
* When you want to '''import a schem file''' :  
+
* To '''import a schem file''' :  
  
 
# Enter in your world (with WorldEdit activated).
 
# Enter in your world (with WorldEdit activated).

Revision as of 06:30, 1 June 2014

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 costum made content goes. Unrelevant 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. Enter in your world (with WorldEdit activated).
  2. Grant yourself with all privs : /grant singleplayer¹ all.
  3. Press F5 to show coords.
  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 with all privs : /grant singleplayer¹ all.
  3. Put a schem file into your "worlds/<name of your new world>/schems" folder.
  4. Press F5 to show coords.
  5. Place a position where you want with command : //pos1
  6. Import your schem file with //mtschemplace <name of your schem file>


¹ (name by default)