Difference between revisions of "Mods"

From Luanti Wiki
Jump to navigation Jump to search
(Fix modsearch link, add CDB)
Line 134: Line 134:
 
If you’re on a [[server]], you can issue the [[Server commands|server command]] <code>/mods</code> to query the server to tell you the list of its installed mods.
 
If you’re on a [[server]], you can issue the [[Server commands|server command]] <code>/mods</code> to query the server to tell you the list of its installed mods.
  
[[File:Modsonservers.png|1000px|big|middle|Most popular mods used on public servers listed at [http://servers.minetest.net/ servers.minetest.net] as of October 31st, 2016]]
+
[[File:Modsonservers.png|1000px|big|middle|Most popular mods used on public servers listed at [http://servers.minetest.net/ servers.minetest.net] as of September 9th, 2019]]
 
</div>
 
</div>
 
<div style="clear: both"></div>
 
<div style="clear: both"></div>

Revision as of 17:19, 9 September 2019

Languages Language: English • Deutsch • español • français • italiano • 日本語 • Bahasa Melayu


Mods

An example of a mod (here: Mesecons).

Mods (short for modifications or modules) are user-created modifications to the game in such a way that adds to or alters the 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.


Client-Side Mods

A Client-Side Mod (short: “CSM”) is a mod used to customize your Minetest client. Client-Side Mods can be used when connected to a Minetest server because they are loaded locally.

Client-Side mods require at least Minetest 0.4.15-dev from sources, compiled after April 1st, 2017.

Please note API is currently not stable and can change.


Installation

See also Installing Mods and Installing Client-Side Mods.


Finding mods

Mods can be currently be found in several places:


Creating mods

Mods are created in Lua, a relativiely simple scripting/programming language. They can be created by anyone who is able to code in Lua and understands Minetest's Lua API.

The official Lua API documentation can be viewed in lua_api.txt.

Other important learning resources:


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.

Most popular mods used on public servers listed at servers.minetest.net as of September 9th, 2019