Difference between revisions of "Mods"

From Minetest Wiki
Jump to navigation Jump to search
(geez... this wiki is so out of date D-=)
(updated and made it wiki conform)
Line 1: Line 1:
 
{{Languages}}
 
{{Languages}}
  
<!--TOC-->
+
__TOC__
{|align=right
 
| __TOC__
 
|}
 
  
 +
== Mods ==
 +
[[File:Mesecons example.jpg|thumb|An example of the mod [[Mods/Mesecons|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 [[Games/Minetest Game|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.
  
= 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.
  
<div style="float: left; width: 80%">
+
== Finding mods ==
 +
=== Official sources ===
 +
* ContentDB.
 +
Start the Minetest launcher and click on the tab <i>Content</i> and the on the button <i>Browse online content</i> to search and easily install mods, texturepacks or games. The ContentDB repository can also be viewed with a webbrowser at [https://content.minetest.net content.minetest.net].
 +
* The official Minetest Forum at the subforum [https://forum.minetest.net/viewforum.php?f=46 Mods].
  
[[File:Mesecons example.jpg|thumb|An example of a mod (here: Mesecons).]]
+
=== Unofficial sources ===
 
+
* [https://krock-works.uk.to/minetest/modSearch.php A searchengine for mods and games], offered by the Coredeveloper [https://forum.minetest.net/memberlist.php?mode=viewprofile&u=7731 Krock (SmallJoker)]
'''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.
 
</div>
 
<div style="clear: both"></div>
 
 
 
<div width: 100%">
 
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 [[Games/Minetest Game|Minetest game]] or give server admins more options and control over their servers.
 
</div>
 
<div style="clear: both"></div>
 
 
 
 
 
<!--========================================================================================-->
 
 
 
= Modpacks =
 
<div style=" width: 100%">
 
 
 
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.
 
</div>
 
<div style="clear: both"></div>
 
 
 
 
 
<!--========================================================================================-->
 
 
 
= Client-Side Mods =
 
<div style=" width: 100%">
 
 
 
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.
 
</div>
 
<div style="clear: both"></div>
 
 
 
 
 
<!--========================================================================================-->
 
 
 
= Installation =
 
Starting with Mintest version 5.0.0 you can use the [[ContentDB]] from inside Minetest. Click on the “Content” tab in the main menu to find mods, games and texturepacks.
 
<div style=" width: 100%">
 
 
 
''See also [[Installing Mods]] and [[Installing Client-Side Mods]].''
 
</div>
 
<div style="clear: both"></div>
 
 
 
 
 
<!--========================================================================================-->
 
 
 
= Finding mods =
 
== Official sources ==
 
 
 
* '''Preferred: [[ContentDB]].''' Click on the “Content” tab in-game to find mods.
 
* [https://forum.minetest.net/viewforum.php?f=11 “Mod Releases” subforum]
 
* [https://forum.minetest.net/viewforum.php?f=9 “WIP Mods” subforum] (For mods that are not quite finished. Here be dragons!)
 
* [https://forum.minetest.net/viewforum.php?f=53 “Client-side modding” subforum] (Only for client-side mods)
 
* [http://www.minetest.net/customize/#mods Mods listed on minetest.net] (This list is not very up-to-date)
 
 
 
== Unofficial sources ==
 
Unofficial resources for mods are:
 
 
 
* [https://krock-works.uk.to/minetest/modSearch.php Minetest Mod Search]
 
 
* [[Minetest Bower]]
 
* [[Minetest Bower]]
  
= Creating mods =
+
== Installation ==
 
+
Starting with Mintest version 5.0.0 mods can be installed using the <i>Content</i> tab in the Minetest launcher.
<div style=" width: 100%">
 
 
 
Mods are created in [https://www.lua.org/ 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 [https://github.com/minetest/minetest/blob/master/doc/lua_api.txt lua_api.txt].
 
 
 
Other important learning resources:
 
* [https://rubenwardy.com/minetest_modding_book/ Minetest Modding Online Tutorial Book] (Highly recommended)
 
* [https://dev.minetest.net/Modding_Intro Intro to modding on the developer wiki].
 
</div>
 
<div style="clear: both"></div>
 
 
 
  
<!--========================================================================================-->
+
To manually install content for Minetest see also [[Installing Mods]] and [[Installing Client-Side Mods]].
  
= Listing server mods =
+
== Creating mods ==
 +
Mods are created in [https://www.lua.org/ Lua], a relativiely simple scripting language. They can be created by anyone who is able to code in Lua and understands Minetest's Lua API.
  
<div style=" width: 100%">
+
The official Lua API documentation can be found at [https://github.com/minetest/minetest/blob/master/doc/lua_api.txt lua_api.txt].
  
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.
+
== Modding tutorials ==
 +
* [https://rubenwardy.com/minetest_modding_book/en/index.html Minetest Modding Book] by [https://forum.minetest.net/memberlist.php?mode=viewprofile&u=2051 Rubenwardy] with editing by [https://forum.minetest.net/memberlist.php?mode=viewprofile&u=19807 Shara], available in english and italian (as of April 2021).
 +
* [https://dev.minetest.net/Modding_Intro Intro to modding on the developer wiki]
  
[[File:Modsonservers.png|1000px|big|middle|Most popular mods used on public servers listed at [https://servers.minetest.net/ servers.minetest.net] as of April 13th, 2020]]
+
== Listing actual running mods ==
</div>
+
The ingame [[Server commands|server command]] <i>/mods</i> will list the active mods of the actual running game.
<div style="clear: both"></div>
+
[[File:Modsonservers.png|thumb|right|Most popular mods used on public servers listed at [https://servers.minetest.net servers.minetest.net] as of April 2020]]
 +
{{clear}}
  
 +
== See also ==
 +
[[Special:PrefixIndex/Mods]] - List of mods with an own wiki article.
  
 
[[Category:Mods]]
 
[[Category:Mods]]

Revision as of 21:20, 8 April 2021

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

Mods

An example of the mod 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.

Finding mods

Official sources

  • ContentDB.

Start the Minetest launcher and click on the tab Content and the on the button Browse online content to search and easily install mods, texturepacks or games. The ContentDB repository can also be viewed with a webbrowser at content.minetest.net.

  • The official Minetest Forum at the subforum Mods.

Unofficial sources

Installation

Starting with Mintest version 5.0.0 mods can be installed using the Content tab in the Minetest launcher.

To manually install content for Minetest see also Installing Mods and Installing Client-Side Mods.

Creating mods

Mods are created in Lua, a relativiely simple scripting 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 found at lua_api.txt.

Modding tutorials

Listing actual running mods

The ingame server command /mods will list the active mods of the actual running game.

Most popular mods used on public servers listed at servers.minetest.net as of April 2020

See also

Special:PrefixIndex/Mods - List of mods with an own wiki article.