Difference between revisions of "Mods"

From Minetest Wiki
Jump to navigation Jump to search
(rename Minetest to Luanti)
 
(36 intermediate revisions by 13 users not shown)
Line 1: Line 1:
{{Languages}}
+
{{Languages|nocat=1}}
  
<!--TOC-->
+
[[File:Mesecons example.jpg|thumb|An example of the mod [https://content.minetest.net/packages/Jeija/mesecons/ Mesecons].]]
{|align=right
+
'''Mods''' (short for '''modifications''' or '''modules''') are user-created modifications to a 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 tweak the gameplay in small ways. [[Server]] mods or plugins mainly give server admins more options and ease of use, and all mods for singleplayer can also be used in multiplayer.
| __TOC__
 
|}
 
  
 +
While Luanti mods are generally safe to install as they run by default in a sandboxed environment, one should exercise caution with mods as they may modify your world data in an undesired way. A good way to protect your game from such problems is to regularily [[Backup Solutions|back up]] your world folder(s) when installing new mods.
  
<!--========================================================================================-->
+
To browse the selection of mods available for Luanti games, see [https://content.minetest.net/packages/?type=mod ContentDB].
  
= Моды =
+
__TOC__
  
<div style="float: left; width: 80%">
+
== 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 as a openable blue text item in the Luanti mod selector containing the component mods to allow granular control. 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.
  
[[File:Mesecons example.jpg|thumb|An example of a mod (here: Mesecons).]]
+
== Client-Side Mods ==
 +
A Client-Side Mod (short: “CSM”) is a mod used to customize your Luanti client. Client-Side Mods can be used when connected to a Luanti server because they are loaded locally. Client-Side mods require at least Minetest 0.4.15-dev from sources (note: Luanti was called “Minetest” back then), compiled after April 1st, 2017. Please note that the API is currently not stable and can change.
  
'''Моды''' (сокращение от '''модификации''' или '''модули''') создаваемые пользователями модификации в игре, таким способом изменяют геймплей.
+
== Finding mods ==
 +
Generally, all mods you would want are available on [https://content.minetest.net ContentDB] nowadays. They can be installed from the main menu by going to the <i>Content</i> tab and clicking on the <i>Browse online content</i> button.
  
Некоторые крупные моды могут добавлять контент в игру, но  небольшие моды могут добавлять опции настроек , или оптимизировать скорость, геймплей, или графику Minetest.
+
For old or experimental mods, check the [https://forum.minetest.net/viewforum.php?f=46 Mods] subforum.
  
[[Server]] моды или плагины главным образом предоставляют администраторам сервера больше опций и легче использование, и все моды для одиночной игры могут также быть использованы и в мультиплэйере.
+
== Installation ==
</div>
+
Starting with version 5.0.0, mods can be installed using the <i>Content</i> tab in Luanti.
<div style="clear: both"></div>
 
  
<div width: 100%">
+
To manually install content for Luanti, see [https://content.minetest.net/help/installing/ How to install content].
В то время когда моды Minetest в основном безопасны для установки, с другими следует применять осторожность, что бы предотвратить крахи в игре, нестабильность системы, удаление данных игры, или вредоносные ПО от плохой ссылки или от самого мода.
 
  
Хороший способ обезопасить вашу игру - восстановить папку Minetest, если хотите использовать какие-либо моды .
+
== Creating mods ==
 +
Mods are written in the scripting language [https://www.lua.org/ Lua]. The official Lua API documentation can be found at [https://github.com/minetest/minetest/blob/master/doc/lua_api.txt lua_api.txt] or in HTML format [https://minetest.gitlab.io/minetest/ here].
  
Многие моды или плагины доступны к комплекту оригинального[[Subgames/Minetest Game|Minetest game]] или дают администраторам сервера больше опций и контроль над их серверами.
+
=== Modding tutorials ===
</div>
+
* [https://rubenwardy.com/minetest_modding_book/en/index.html Minetest Modding Book] by [https://rubenwardy.com/ rubenwardy] with editing by [https://forum.minetest.net/memberlist.php?mode=viewprofile&u=19807 Shara].
<div style="clear: both"></div>
+
* [https://dev.minetest.net/Modding_Intro Intro to modding on the developer wiki]
 
 
 
 
<!--========================================================================================-->
 
 
 
= Модпаки =
 
<div style=" width: 100%">
 
 
 
Модпак (сокращение: “МП”) - это коллекция модов, сгруппированных в опреленный мод вместе . В основном, модпак - это специальная директория, помещающая директории в фактический мод.
 
 
 
Это чисто смысловое группирование и сделано по большей части  для удобства и в группу тесно-относящихся модов вместе. Главное различие в том, что они будут отображатся по-разному в управляющем моде в Minetest.
 
 
 
В стороне того, что нету ничего особенного у модпаков или модов внутри модпака. Индивидуальные моды в модпаке могут быть доступными либо отключенными так как если бы они были отдельными модами.
 
</div>
 
<div style="clear: both"></div>
 
 
 
 
 
<!--========================================================================================-->
 
 
 
= Моды на стороне клиента =
 
<div style=" width: 100%">
 
 
 
Моды на стороне клиента (сокращение: “CSM”) - это мод, используемый что бы настроить ваш Minetest клиент. Моды на стороне клиента могут быть использованы при соединении с Minetest сервером, потому что они загружаются локально.
 
 
 
Для модов на стороне клиента требуется по крайней мере Minetest 0.4.15-dev от источников , составленных после 1 апреля 2017 года
 
 
 
Пожалуйста, заметьте что API не стабильное и может быть измененным.
 
</div>
 
<div style="clear: both"></div>
 
 
 
 
 
<!--========================================================================================-->
 
 
 
= Установка =
 
 
 
<div style=" width: 100%">
 
 
 
''Смотрите также [[Help:Installing Mods|Installing Mods]] и [[Help:Installing Client-Side Mods|Installing Client-Side Mods]].''
 
</div>
 
<div style="clear: both"></div>
 
 
 
 
 
<!--========================================================================================-->
 
 
 
= Поиск модов =
 
 
 
<div style=" width: 100%">
 
 
Моды, в текущий момент могут быть найдены в нескольких местах:
 
 
 
* [http://wiki.minetest.net/index.php?title=Category:Mods&oldid=5139 Mods category in Minetest Wiki]
 
* [http://wiki.minetest.net/Special:AllPages?from=Mods/ Search subpages of the Mods in Minetest Wiki]
 
* [http://www.minetest.net/customize/#mods Popular mods on minetest.net]
 
* [http://forum.minetest.net/viewforum.php?f=11 “Mod Releases” forum] (The primary place to find the most recently released mods)
 
* [https://forum.minetest.net/viewforum.php?f=53 “Client-side modding” forum] (Only place with Client-side mods)
 
* [[Minetest Bower]]
 
* [http://krock-works.16mb.com/MTstuff/modSearch.php Minetest Mod Search]
 
* [[List of Mods]] on this wiki (very incomplete!)
 
** [[Mods:Mobs]] is a page on this wiki listing some [[mods]] that include [[mobs]] such as animals and monsters.
 
** [[Mods:Vehicles]] is a page on this wiki listing some mods that include vehicles.
 
* [https://github.com/minetest-mods Minetest-Mods team (Mod repository)] (highly technical)
 
</div>
 
<div style="clear: both"></div>
 
 
 
 
 
<!--========================================================================================-->
 
 
 
= Создание модов =
 
 
 
<div style=" width: 100%">
 
 
 
Моды, созданные в [https://www.lua.org/ Lua], относительно обычным скриптовым языком. Они могут быть созданы тем, кто умеет писать на Lua и понимает Minetest`s Lua API.
 
 
 
Официальную документацию LUA API можно прочитать здесь[https://github.com/minetest/minetest/blob/master/doc/lua_api.txt lua_api.txt].
 
 
 
Другин важные источники изучения:
 
* [http://rubenwardy.com/minetest_modding_book/ Minetest Modding Online Tutorial Book] (Highly recommended)
 
* [http://dev.minetest.net/Intro Intro to modding] (on the developer wiki)
 
</div>
 
<div style="clear: both"></div>
 
 
 
 
 
<!--========================================================================================-->
 
 
 
= Список модов на сервере =
 
 
 
<div style=" width: 100%">
 
 
 
Если вы на сервере [[server]], то вы можете набрать [[Server commands|server command]] <code>/mods</code> что бы сделать запрос сервера и сообщить вам список установленных модов .
 
 
 
[[File:Modsonservers.png|1000px|big|middle|Most popular mods used on public servers listed at [http://servers.minetest.net/ servers.minetest.net] as of 31 Oktober 2016]]
 
</div>
 
<div style="clear: both"></div>
 
  
 +
== Listing actual running mods ==
 +
The ingame [[Server commands|server command]] <i>/mods</i> will list the active mods of the actual running game.
 +
[[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}}
  
 
[[Category:Mods]]
 
[[Category:Mods]]
 +
[[Category:Languages pages]]

Latest revision as of 20:39, 22 October 2024

Languages Language: English • Deutsch • español • français • italiano • 日本語 • Bahasa Melayu
An example of the mod Mesecons.

Mods (short for modifications or modules) are user-created modifications to a 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 tweak the gameplay in small ways. Server mods or plugins mainly give server admins more options and ease of use, and all mods for singleplayer can also be used in multiplayer.

While Luanti mods are generally safe to install as they run by default in a sandboxed environment, one should exercise caution with mods as they may modify your world data in an undesired way. A good way to protect your game from such problems is to regularily back up your world folder(s) when installing new mods.

To browse the selection of mods available for Luanti games, see ContentDB.

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 as a openable blue text item in the Luanti mod selector containing the component mods to allow granular control. 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 Luanti client. Client-Side Mods can be used when connected to a Luanti server because they are loaded locally. Client-Side mods require at least Minetest 0.4.15-dev from sources (note: Luanti was called “Minetest” back then), compiled after April 1st, 2017. Please note that the API is currently not stable and can change.

Finding mods

Generally, all mods you would want are available on ContentDB nowadays. They can be installed from the main menu by going to the Content tab and clicking on the Browse online content button.

For old or experimental mods, check the Mods subforum.

Installation

Starting with version 5.0.0, mods can be installed using the Content tab in Luanti.

To manually install content for Luanti, see How to install content.

Creating mods

Mods are written in the scripting language Lua. The official Lua API documentation can be found at lua_api.txt or in HTML format here.

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