Difference between revisions of "Worlds"

From Minetest Wiki
Jump to navigation Jump to search
m (Some copy-editing)
Line 1: Line 1:
 
 
== What is a Map? ==
 
== What is a Map? ==
  
 
A '''Map''' is a world who contains an environment and/or building(s).
 
A '''Map''' is a world who contains an environment and/or building(s).
 
  
 
== Installation ==
 
== 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.
+
'''To install maps :''' you have to extract them first—most of them are in <code>.zip</code>, some of them can be in <code>.rar</code> or <code>.tar.gz</code> format. To extract <code>.tar.gz</code> and <code>.rar</code> 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'').
+
Put the extracted files in the “<code>worlds</code>” folder of your Minetest installation folder. The files such as <code>env_meta.txt</code> must be directly in the world’s folder (eg. “<code>worlds/my_world/env_meta.txt</code>”).
  
Often, the compressed file also contains a "mods" folder, his files have to be put into your "Mods" folder to show some additional blocks.
+
Often, the compressed file also contains a “<code>mods</code>” folder, his files have to be put into your “<code>mods</code>” 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.
+
* Location of the <code>worlds</code> (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.
 
<pre>
 
<pre>
 
minetest/
 
minetest/
Line 25: Line 23:
 
│  ├── minetest_game/
 
│  ├── minetest_game/
 
│  ├── minimal/
 
│  ├── minimal/
│  └── ... (installed extra games)
+
│  └── (installed extra games)
 
├── locale/
 
├── locale/
 
├── mods/
 
├── mods/
│  └── ... (installed extra mods and modpacks)
+
│  └── (installed extra mods and modpacks)
 
├── textures/
 
├── textures/
 
│  ├── base/
 
│  ├── base/
 
│  │  └── pack/
 
│  │  └── pack/
│  └── ... (installed extra texturepacks)
+
│  └── (installed extra texturepacks)
 
└── worlds/
 
└── worlds/
     └── ... (saved worlds. Some with exclusive world mods)
+
     └── (saved worlds. Some with exclusive world mods)
 
</pre>
 
</pre>
  
 
== Finding Maps ==
 
== Finding Maps ==
  
* [https://forum.minetest.net/viewforum.php?f=12 Maps] in the [http://forum.minetest.net Forum]
+
* See [https://forum.minetest.net/viewforum.php?f=12 Maps] in the [http://forum.minetest.net Forum]
  
  
 
== Schem file Creation / Import ==  
 
== Schem file Creation / Import ==  
  
A '''schem file (.mts)''' is used to import building(s) into a world with the [https://forum.minetest.net/viewtopic.php?id=572 WorldEdit mod]. This file can be found in "''worlds/<my_world>/schems''" folder.
+
A '''schem file (<code>.mts</code>)''' is used to import building(s) into a world with the [https://forum.minetest.net/viewtopic.php?id=572 WorldEdit mod]. This file can be found in “<code>worlds/<my_world>/schems</code>” folder.
  
  
 
* To '''create a schem file''' :  
 
* To '''create a schem file''' :  
  
# Enter in your world (with WorldEdit activated).
+
# Type in your world name (with WorldEdit activated).
# Grant yourself with all privs : '''/grant singleplayer'''¹ '''all'''.
+
# Grant yourself all [[privileges]]: <code>/grant singleplayer all</code>¹
# Press '''F5''' to show coords.
+
# Press <kbd>F5</kbd> to show the coordinates.
# Select the area to export by commands with '''//pos1''' and '''//pos2''' (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).
# Create your schem file with '''//mtschemcreate <name of your schem file>'''. The file will be created into your "''worlds/<my_world>/schems''" folder.
+
# Create your schem file with <code>//mtschemcreate <name of your schem file></code>. The file will be created into your “<code>worlds/<my_world>/schems</code>” folder.
  
  
Line 59: Line 57:
  
 
# Enter in your world (with WorldEdit activated).
 
# Enter in your world (with WorldEdit activated).
# Grant yourself with all privs : '''/grant singleplayer'''¹ '''all'''.
+
# Grant yourself all privileges: <code>/grant singleplayer all</code>¹
# Put a schem file into your "''worlds/<name of your new world>/schems''" folder.
+
# Put a schem file into your “<code>worlds/<name of your new world>/schems</code>" folder.
# Press '''F5''' to show coords.
+
# Press <kbd>F5</kbd> to show the coordinatess.
# Place a position where you want with command : '''//pos1'''
+
# Place a position where you want with command: <code>//pos1</code>
# Import your schem file with '''//mtschemplace <name of your schem file>'''
+
# Import your schem file with <code>//mtschemplace <name of your schem file></code>
  
  
¹ (name by default)
+
¹ (name “singleplayer” by default)
  
 
[[Category:Map]]
 
[[Category:Map]]
 
[[Category:Tutorials]]
 
[[Category:Tutorials]]

Revision as of 11:05, 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 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: /grant singleplayer 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: /grant singleplayer 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>


¹ (name “singleplayer” by default)