Difference between revisions of "Installing Client-Side Mods"
GreenDimond (talk | contribs) |
|||
Line 1: | Line 1: | ||
{{Languages}} | {{Languages}} | ||
+ | __NOTOC__ | ||
+ | == Security considerations == | ||
− | + | '''Prior to installing any [[Mods#Client-Side_Mods|Client-side mods]], please make sure that you have received it from someone you trust. Malicious code can damage your computer, violate your privacy or cause your computer to take part in illegal activities.''' | |
− | |||
− | |||
− | |||
+ | == Installing a Client-side mod == | ||
+ | After downloading a [[Mods#Client-Side_Mods|Client-side mod]] (e.g. from the [https://forum.minetest.net/viewforum.php?f=53 Client-side modding forum]) you usually have a Zip archive. In order to get the mod running, you have to unpack it into the clientmods folder. | ||
− | < | + | You may have to change the folder name to the “technical” mod name (e.g. rename <code>colour_chat-master</code> to <code>colour_chat</code>). You can usually find the mod name in the title of the forum topic—It is the last name within the square brackets in the topic title. |
+ | For example, if the title is <code>[clientmod] Lol Mod [1.0] [anotherlolmod]</code>, then the folder must be renamed to <code>anotherlolmod</code>. | ||
+ | |||
+ | If one of the below mentioned directories does not exist, create it. | ||
+ | |||
+ | == Installation directory == | ||
+ | |||
+ | The common place to install them is <code>$path_user/clientmods/</code>. That is <code>minetest-install-directory/clientmods/</code> in the official Windows releases and on GNU/Linux with <code>RUN_IN_PLACE</code> enabled and '''<code>~/.minetest/clientmods/</code>''' in globally installed Minetest versions. | ||
+ | |||
+ | * Location of the clientmods 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. | ||
+ | |||
+ | <pre> | ||
+ | minetest/ | ||
+ | ├── bin/ | ||
+ | ├── builtin/ | ||
+ | ├── cache/ | ||
+ | ├── client/ | ||
+ | ├── clientmods/ | ||
+ | │ └── … (installed extra clientmods) | ||
+ | ├── 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) | ||
+ | </pre> | ||
+ | |||
+ | After extracting the Client-side mod there, you first need to tell it to load. This is done by adding <code>load_mod_<clientmodname> = true</code> in the mods.conf file in the clientmods directory. Next, you need to make sure Client-side modding is enabled. To do this, click on “Advanced Settings” in the “Settings” tab of the Main Menu. In the search-bar, type <code>client modding</code> and press “Search”. If “Client modding” is disabled, double-click it or press “Edit” and use the drop-down to enable it. | ||
+ | |||
+ | Note that Client-side mods are enabled for all worlds and servers. | ||
+ | |||
+ | == Example structure == | ||
− | + | In this example the Client-side mods “<code>colour_chat</code>”, “<code>csm_who_plus</code>”, and “<code>debugger</code>” are installed: | |
− | |||
− | + | <pre> | |
+ | clientmods/ | ||
+ | ├── colour_chat/ | ||
+ | │ ├── init.lua | ||
+ | │ └── README.md | ||
+ | ├── csm_who_plus/ | ||
+ | │ ├── init.lua | ||
+ | │ ├── LICENSE.md | ||
+ | │ ├── README.md | ||
+ | │ ├── screenshot.png | ||
+ | │ └── screenshot2.png | ||
+ | └── debugger/ | ||
+ | │ ├── doc/ | ||
+ | │ │ ├── screenshots | ||
+ | │ │ | └── … | ||
+ | │ │ └── form_editor.md | ||
+ | │ ├── textures/ | ||
+ | │ │ └── debugger_form_editor.png | ||
+ | │ ├── init.lua | ||
+ | │ ├── LICENSE | ||
+ | │ └── README.md | ||
+ | └── mods.conf | ||
+ | </pre> | ||
[[Category:Mods]] | [[Category:Mods]] | ||
+ | [[Category:Tutorials]] | ||
+ | |||
+ | <!--========================================================================================--> |
Revision as of 00:38, 8 June 2017
Language: | English • Bahasa Melayu |
---|
Security considerations
Prior to installing any Client-side mods, please make sure that you have received it from someone you trust. Malicious code can damage your computer, violate your privacy or cause your computer to take part in illegal activities.
Installing a Client-side mod
After downloading a Client-side mod (e.g. from the Client-side modding forum) you usually have a Zip archive. In order to get the mod running, you have to unpack it into the clientmods folder.
You may have to change the folder name to the “technical” mod name (e.g. rename colour_chat-master
to colour_chat
). You can usually find the mod name in the title of the forum topic—It is the last name within the square brackets in the topic title.
For example, if the title is [clientmod] Lol Mod [1.0] [anotherlolmod]
, then the folder must be renamed to anotherlolmod
.
If one of the below mentioned directories does not exist, create it.
Installation directory
The common place to install them is $path_user/clientmods/
. That is minetest-install-directory/clientmods/
in the official Windows releases and on GNU/Linux with RUN_IN_PLACE
enabled and ~/.minetest/clientmods/
in globally installed Minetest versions.
- Location of the clientmods 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/ ├── clientmods/ │ └── … (installed extra clientmods) ├── 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 Client-side mod there, you first need to tell it to load. This is done by adding load_mod_<clientmodname> = true
in the mods.conf file in the clientmods directory. Next, you need to make sure Client-side modding is enabled. To do this, click on “Advanced Settings” in the “Settings” tab of the Main Menu. In the search-bar, type client modding
and press “Search”. If “Client modding” is disabled, double-click it or press “Edit” and use the drop-down to enable it.
Note that Client-side mods are enabled for all worlds and servers.
Example structure
In this example the Client-side mods “colour_chat
”, “csm_who_plus
”, and “debugger
” are installed:
clientmods/ ├── colour_chat/ │ ├── init.lua │ └── README.md ├── csm_who_plus/ │ ├── init.lua │ ├── LICENSE.md │ ├── README.md │ ├── screenshot.png │ └── screenshot2.png └── debugger/ │ ├── doc/ │ │ ├── screenshots │ │ | └── … │ │ └── form_editor.md │ ├── textures/ │ │ └── debugger_form_editor.png │ ├── init.lua │ ├── LICENSE │ └── README.md └── mods.conf