Installing Mods/pt-br

From Minetest Wiki
Jump to navigation Jump to search
Languages Language: English

Considerações para segurança

Antes de instalar qualquer mod, certifique-se de que o recebeu de alguém de sua confiança. O código malicioso pode danificar o computador, violar a sua privacidade ou fazer com que o seu computador participe de atividades ilegais.

Instalando um mod

Depois de fazer o download de um mod (por exemplo, a partir do fórum Mod Releases (lançamento de mods)) você geralmente tem um arquivo Zip. A fim de obter o mod em execução, você tem que descompactá-lo em uma das pastas onde Minetest procura mods. Isso depende da versão Minetest que você instalou.

Talvez seja necessário alterar o nome da pasta para o nome "técnico" do mod (por exemplo, renomear PilzAdam-carts-70cc4f4 para carts ). Normalmente, você pode encontrar o nome do mod no título do tópico do fórum-É o sobrenome dentro dos colchetes no título do tópico. Por exemplo, se o título for [Mod] Lol [1.0] [outromodlol] , a pasta deve ser renomeada para outromodlol .

Se um dos diretórios mencionados abaixo não existir, crie-o.

Installing a modpack

A modpack is installed in the same way as a mod, but you are usually not required to change the directory name of the modpack. Just make sure the name does not collide with that of any other installed mod or modpack.

Installation directory

As of 0.4.7, the mods are installed globally and enabled per world.

The common place to install them is $path_user/mods/. That is minetest-install-directory/mods/ in the official Windows releases and on GNU/Linux with RUN_IN_PLACE enabled and ~/.minetest/mods/ in globally installed Minetest versions.

  • Location of the mods 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. 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)

After extracting the mod there you need to enable it for your world. This can either be done in the GUI by clicking on “Configure” in the world selection, or by adding load_mod_<modname> = true in the world.mt file in the world directory.

Note that new installed mods are disabled for all worlds by default, so you explicitly need to enable them.

Additional install directories (all Minetest versions)

Other places to install mods are world-directory/worldmods/, $path_share/mods/ and $<path_user, path_share>/games/<gameid>/mods/.

Note that users should generally install mods in the normal install directory and not in the additional ones.

Example structure

In this example the mods “carts” and “tnt”, and the modpack “mesecons” are installed:

    mods/
    ├── carts/
    │   ├── init.lua
    │   ├── functions.lua
    │   ├── depends.txt
    │   ├── README.txt
    │   ├── textures/
    │   │   ├── carts_top.png
    │   │   └── …
    │   └── models/
    │       ├── cart.x
    │       └── …
    ├── tnt/
    │   ├── init.lua
    │   ├── depends.txt
    │   ├── README.txt
    │   ├── textures/
    │   │   ├── tnt_side.png
    │   │   └── …
    │   └── sounds/
    │       ├── tnt_explode.ogg
    │       └── …
    └── mesecons/
        ├── modpack.txt
        ├── mesecons/
        │   ├── init.lua
        │   └── …
        ├── mesecons_alias/
        │   ├── init.lua
        │   └── …
        ├── mesecons_blinkyplant
        │   ├── init.lua
        │   └── …
        ├── mesecons_button
        │   ├── init.lua
        │   └── …
        ├── …