Difference between revisions of "Mods"
m (→Example of file structures within a mod: added settingtypes.txt to tree) |
(Modpacks) |
||
Line 1: | Line 1: | ||
{{Languages}} | {{Languages}} | ||
− | == | + | ==Mods == |
[[File:Mesecons_example.jpg|thumb|An example of a mod (here: Mesecons).]] | [[File:Mesecons_example.jpg|thumb|An example of a mod (here: Mesecons).]] | ||
Line 8: | Line 8: | ||
While Minetest mods are generally safe to install, one should exercise caution with mods to prevent crashes, system instability, deletion of game/save data, or potential malware infections from a bad link or the mod itself. A good way to protect your game from such problems is to back up your Minetest folder if you choose to use mods. There are many mods or plugins available to complement the original Minetest game or give server admins more options and control over their servers. | While Minetest mods are generally safe to install, one should exercise caution with mods to prevent crashes, system instability, deletion of game/save data, or potential malware infections from a bad link or the mod itself. A good way to protect your game from such problems is to back up your Minetest folder if you choose to use mods. There are many mods or plugins available to complement the original Minetest game or give server admins more options and control over their servers. | ||
+ | |||
+ | == Modpacks == | ||
+ | A modpack (short: “MP”) is a collection of mods to group them together. Basically, a modpack is just special directory containing the actual mod directories. It's purely a logical grouping and is done mostly for convenience and to group closely-related mods together. The main difference is that they will be displayed differently in the mod manager in Minetest. Apart from that, there is nothing special about modpacks or mods inside a modpack. Individual mods in a modpack can still be enabled and disabled as if they were standalone mods. | ||
== Installation == | == Installation == |
Revision as of 10:56, 27 July 2016
Language: | English • Deutsch • español • français • italiano • 日本語 • Bahasa Melayu |
---|
Mods
Mods (short for modifications or modules) are user-created modifications to the game in such a way that alters gameplay. Some larger mods may add a lot of content to the game, while other smaller mods may add more settings/customization options, or optimize the speed, gameplay, or graphics of Minetest. Server mods or plugins mainly give server admins more options and ease of use, and all mods for single-player can also be used in multiplayer.
While Minetest mods are generally safe to install, one should exercise caution with mods to prevent crashes, system instability, deletion of game/save data, or potential malware infections from a bad link or the mod itself. A good way to protect your game from such problems is to back up your Minetest folder if you choose to use mods. There are many mods or plugins available to complement the original Minetest game or give server admins more options and control over their servers.
Modpacks
A modpack (short: “MP”) is a collection of mods to group them together. Basically, a modpack is just special directory containing the actual mod directories. It's purely a logical grouping and is done mostly for convenience and to group closely-related mods together. The main difference is that they will be displayed differently in the mod manager in Minetest. Apart from that, there is nothing special about modpacks or mods inside a modpack. Individual mods in a modpack can still be enabled and disabled as if they were standalone mods.
Installation
See Installing Mods.
Finding mods
Mods can be currently be found in several places:
- Popular mods on minetest.net
- “Mod Releases” forum
- List of Mods
- External mod searching service
- Minetest-Bower
- Minetest-Mods team (Mod repository)
Creating mods
Mods are created in Lua, a relativiely simple scripting/programming language. The Lua API documentation can be viewed here.
Example of file structures within a mod
In this example the mods "carts" and "tnt" are installed as well as an example mod "modname" that features more components:
mods/ ├── carts/ │ ├── depends.txt │ ├── init.lua │ ├── functions.lua │ ├── README.txt │ ├── textures/ │ │ ├── carts_top.png │ │ └── ... │ └── models/ │ ├── cart.x │ └── ... ├── tnt/ │ ├── init.lua │ ├── depends.txt │ ├── README.txt │ ├── textures/ │ │ ├── tnt_side.png │ │ └── ... │ └── sounds/ │ ├── tnt_explode.ogg │ └── ... └── modname/ ├── bower.json (used by the Minetest-Bower project) ├── init.lua ├── depends.txt ├── description.txt ├── mod.conf ├── README.txt or README.md ├── settingtypes.txt ├── screenshot.png ├── textures/ │ ├── modname_stuff.png │ ├── modname_something_else.png │ └── ... ├── sounds/ │ ├── some_sound.ogg │ └── ... ├── media/ │ ├── some_media │ └── ... ├── models/ │ ├── some_model.x │ └── ... └── <custom data>/ ├── some_data └── ...
Projects such as Minetest-Bower and Minetest-Mods team (Mod repository) or the Minetest Mods Searching Tool may make use of some of the meta-data files to offer information in mod lists and overviews. Essential is only the init.lua that may even contain the license information in some comments. It is highly recommended though to add the other meta-info files for the mod to be well presented in the allready existing mod-managing and listing tools as well as in future built-in tools within Minetest.
Also take a look at our Development Wiki.
Listing server mods
If you’re on a server, you can issue the server command /mods
to query the server to tell you the list of its installed mods.