How to install a Client-side Mod

User avatar
GreenXenith
Member
Posts: 1356
Joined: Wed Oct 28, 2015 01:26
GitHub: GreenXenith
Location: UTC-8:00
Contact:

How to install a Client-side Mod

by GreenXenith » Post

Installing Client-Side Mods

This tutorial is done in Linux, but can be applied to Windows.
A more detailed tutorial can be found on the Minetest Wiki.

1) Navigate to the Client-Side Modding section (you should already be here), and find a mod you wish to install.

2) Navigate to your minetest directory (.minetest on Linux) and create a folder called clientmods if it does not exist.
Image

3) Download or clone the mod.
Spoiler
1) Download the mod to your clientmod folder.
2) Right-click the archive (.zip, usually) and extract it
3) If you downloaded the mod from a git source, the mod will have -master on the end of it. This doesn't need to be removed if the mod contains a mod.conf, but it should be removed anyway.
Spoiler
Note: These instructions are for Linux.
1) Install git, if you haven't already
In Debian-based distros this is done through sudo apt install git
2) Open a terminal in your clientmods folder
3) Run git clone <git link here> (the link should end with .git, common sources are GitHub and GitLab)
4) Create a text file called mods.conf inside the clientmods folder if it does not exist.

5) Open mods.conf in your favorite text editor and add load_mod_modname = true (where modname is the name of the client mod you downloaded). Save the file.
Image

6) Open Minetest and navigate to the Settings tab. Select Advanced Settings. Navigate to Client > Network > Enable Client Modding or search for "client". With Enable Client Modding selected, select the Edit button and change the displayed option to Enabled in the dropdown, or simply double-click the setting. Save your changes.
Image

Your client-side mod has been enabled!
Type .help all in chat to see what you can do!
Last edited by GreenXenith on Wed Aug 07, 2019 16:21, edited 4 times in total.
YouTube | Mods | Patreon | Minetest Discord @greenxenith

You should not be able to read this message.

Modern Hippie
Member
Posts: 115
Joined: Wed Oct 29, 2014 04:35

Re: How to install a Client-side Mod

by Modern Hippie » Post

Why?! Why are you doing this?!
These client mods are so bad (for example you can crash a server using a client mod) and now there is a 'How to', that everyone, who didn't know this since now has the know-how to use it? R.I.P. Minetest :(
No longer active with this account! Please PM me on my new account "Wolfshippie"!

User avatar
Linuxdirk
Member
Posts: 3218
Joined: Wed Sep 17, 2014 11:21
In-game: Linuxdirk
Location: Germany
Contact:

Re: How to install a Client-side Mod

by Linuxdirk » Post

Modern Hippie wrote:(for example you can crash a server using a client mod)
There are certain user names that can crash not updated servers running on Windows, so, yeah ... :D

User avatar
mnh48
Member
Posts: 310
Joined: Wed Nov 16, 2016 22:55
GitHub: mnh48
IRC: MNH48
In-game: mnh48
Location: Kuala Lumpur, Malaysia
Contact:

Re: How to install a Client-side Mod

by mnh48 » Post

If you're saying client mods could crash server then you understand its functions wrongly... or the server owner is not willing to update (they must always use updated version, regardless client mods is there or not)

red-001
Member
Posts: 205
Joined: Tue Jan 26, 2016 20:15
GitHub: red-001
IRC: red-001

Re: How to install a Client-side Mod

by red-001 » Post

in fairness literal anything can crash servers, but I haven't heard of CSM causing crashes.

Modern Hippie
Member
Posts: 115
Joined: Wed Oct 29, 2014 04:35

Re: How to install a Client-side Mod

by Modern Hippie » Post

red-001 wrote:in fairness literal anything can crash servers, but I haven't heard of CSM causing crashes.
Yes, that's right. But crashes caused by server mods can be fixed by the server admin. Crashes caused by client mods can't.

Yesterday I tried the Chest Inspector CSM on a server with the mailboxes from Homedecor. As I tried to take something out of it, the server crashed.
Everyone who has this CSM can do that.
No longer active with this account! Please PM me on my new account "Wolfshippie"!

red-001
Member
Posts: 205
Joined: Tue Jan 26, 2016 20:15
GitHub: red-001
IRC: red-001

Re: How to install a Client-side Mod

by red-001 » Post

That's a broken server-sided mod and it's the job of the mod author/server owner to fix that.

Modern Hippie
Member
Posts: 115
Joined: Wed Oct 29, 2014 04:35

Re: How to install a Client-side Mod

by Modern Hippie » Post

red-001 wrote:That's a broken server-sided mod and it's the job of the mod author/server owner to fix that.
Partly. What I don't understand is why they added the possibility to use csms so that server admins have more to do fixing loads of abused csms...? That's a fault by the devs too (not only, but too), I think... (Yes, I'm sure, that there will be really loads of them - not only the ones posted in the forum)
No longer active with this account! Please PM me on my new account "Wolfshippie"!

User avatar
Linuxdirk
Member
Posts: 3218
Joined: Wed Sep 17, 2014 11:21
In-game: Linuxdirk
Location: Germany
Contact:

Re: How to install a Client-side Mod

by Linuxdirk » Post

Modern Hippie wrote:
red-001 wrote:That's a broken server-sided mod and it's the job of the mod author/server owner to fix that.
Partly. What I don't understand is why they added the possibility to use csms so that server admins have more to do fixing loads of abused csms...?
The whole modding system is broken by design ...

No namespaces, no proper translation functionality, no runtime limitation, no background loading, not "hotpluggable" (which is annoying for mod developing), inconsistent and largely insufficiently documented or undocumented API calls, some API functions use have an absurdly complex and overcomplicated syntax, possibility for mods to override other mods without warning, messed up globals, mod name validation done by parsing the folder name, no built-in way to load user-set configuration OR default value, and so on.

Mods being able to crash the server is not the problem - it's the result of a LOT of modding-related problems (they basically just doubled now that CSM gone live without any security features considered beforehand).

User avatar
paramat
Developer
Posts: 3700
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat
IRC: paramat
Location: UK

Re: How to install a Client-side Mod

by paramat » Post

This is going off-topic, best to post your CSM concerns here viewtopic.php?f=53&t=17176 and/or in the Github thread https://github.com/minetest/minetest/issues/5915

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: How to install a Client-side Mod

by azekill_DIABLO » Post

thank you GreenDiamond!
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

BBmine
Member
Posts: 3476
Joined: Sun Jul 12, 2015 22:51
GitHub: BBmine
IRC: BBmine
In-game: Baggins
Location: USA

Re: How to install a Client-side Mod

by BBmine » Post

I want to revise that a bit. When you download it,

Code: Select all

cd .minetest/clientmods
git clone https://github.com/red-001/colour_chat
Then when you want to update it,

Code: Select all

cd .minetest/clientmods/colour_chat
git pull --all
But yeah, that's the kinda guide I shoulda had when I was getting started on CSMs.

User avatar
Andrey01
Member
Posts: 2574
Joined: Wed Oct 19, 2016 15:18
GitHub: Andrey2470T
In-game: Andrey01
Location: Russia, Moscow

Re: How to install a Client-side Mod

by Andrey01 » Post

For these Client-Side-Mods everyone access cheating on many servers as just test to.

User avatar
ManElevation
Member
Posts: 896
Joined: Tue Aug 02, 2016 22:04
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation
Location: Madrid,Spain

Re: How to install a Client-side Mod

by ManElevation » Post

Andrey01 wrote:For these Client-Side-Mods everyone access cheating on many servers as just test to.
Like?
My Public Mods! Discord: Rottweiler Games#3368

User avatar
GreenXenith
Member
Posts: 1356
Joined: Wed Oct 28, 2015 01:26
GitHub: GreenXenith
Location: UTC-8:00
Contact:

Re: How to install a Client-side Mod

by GreenXenith » Post

Not that it matters much, but I updated the first post to be a lot simpler.
YouTube | Mods | Patreon | Minetest Discord @greenxenith

You should not be able to read this message.

User avatar
Desour
Member
Posts: 1469
Joined: Thu Jun 19, 2014 19:49
GitHub: Desour
IRC: Desour
In-game: DS
Location: I'm scared that if this is too exact, I will be unable to use my keyboard.

Re: How to install a Client-side Mod

by Desour » Post

GreenDimond wrote:5) Open mods.conf in your favorite text editor and add enable_mod_modname = true (where modname is the name of the client mod you downloaded). Save the file.
Image
It has to be load_mod_modname = true, not enable_mod_modname = true.

(Perhaps it would be good to write something about csm restrictions and what should be done if the mod still doesn't work (eg. first read forum posts, use other minetest version, …).)
he/him; Codeberg; GitHub; ContentDB; public personal TODO list; "DS" is preferred (but often too short)

User avatar
GreenXenith
Member
Posts: 1356
Joined: Wed Oct 28, 2015 01:26
GitHub: GreenXenith
Location: UTC-8:00
Contact:

Re: How to install a Client-side Mod

by GreenXenith » Post

DS-minetest wrote:
GreenDimond wrote:... enable_mod_modname = true ...
Image
It has to be load_mod_modname = true, not enable_mod_modname = true.
Funny... I got it right in the screenshot :'D
YouTube | Mods | Patreon | Minetest Discord @greenxenith

You should not be able to read this message.

User avatar
DELTA_FORCE
Member
Posts: 165
Joined: Tue Oct 30, 2018 01:26
IRC: DELTA_FORCE
In-game: DELTA_FORCE
Location: ee

Re: How to install a Client-side Mod

by DELTA_FORCE » Post

I am gonna say that cheating in a server is much easier by modifying the client. As for the how-to for CSM's, many CSM's are useful and I am glad there is a simple tutorial for it.
check me out nowhere because i never do anything

u18398

Re: How to install a Client-side Mod

by u18398 » Post

GreenDimond wrote:

Installing Client-Side Mods

This is extremely helpful for people like me who never installed
a csm before. I would suggest to make this sticky on top of this
forum so everyone can easily find it and knows how things are done.

User avatar
GreenXenith
Member
Posts: 1356
Joined: Wed Oct 28, 2015 01:26
GitHub: GreenXenith
Location: UTC-8:00
Contact:

Re: How to install a Client-side Mod

by GreenXenith » Post

Fixed images (rip pasteboard).
Gundul wrote:This is extremely helpful for people like me who never installed
a csm before. I would suggest to make this sticky on top of this
forum so everyone can easily find it and knows how things are done.
That's up to the forum mods.
YouTube | Mods | Patreon | Minetest Discord @greenxenith

You should not be able to read this message.

u18398

Re: How to install a Client-side Mod

by u18398 » Post

GreenDimond wrote: That's up to the forum mods.
They made it. :) well done.
And now even better with the fixed pictures.

EdenExperience
New member
Posts: 2
Joined: Mon Sep 23, 2019 22:44
GitHub: edenprojectde
In-game: DasHaus

Re: How to install a Client-side Mod

by EdenExperience » Post

So any tips about how to get a git mod running in a Snap Enviroment?

I found the place to put the mod into but it seems Snap is making a virtual File System that can't be modified. And i can't really change write Permission in this folder.

Code: Select all

/snap/minetest/current/share/minetest/
Placing the mod in my home folder doesn't seem to be recognized by the Snap Package.

User avatar
Linuxdirk
Member
Posts: 3218
Joined: Wed Sep 17, 2014 11:21
In-game: Linuxdirk
Location: Germany
Contact:

Re: How to install a Client-side Mod

by Linuxdirk » Post

EdenExperience wrote:I found the place to put the mod into but it seems Snap is making a virtual File System that can't be modified. And i can't really change write Permission in this folder.
According to quick research its /home/<user>/snap/minetest/.

https://askubuntu.com/questions/762354/ ... wer-762405

EdenExperience
New member
Posts: 2
Joined: Mon Sep 23, 2019 22:44
GitHub: edenprojectde
In-game: DasHaus

Re: How to install a Client-side Mod

by EdenExperience » Post

Linuxdirk wrote:
EdenExperience wrote:I found the place to put the mod into but it seems Snap is making a virtual File System that can't be modified. And i can't really change write Permission in this folder.
According to quick research its /home/<user>/snap/minetest/.

https://askubuntu.com/questions/762354/ ... wer-762405
Okay found it, seems like the mod i tried to add isn't updated as of now, but at least i now know how and where it's done thanks!

User avatar
CupCake_
New member
Posts: 6
Joined: Sat Apr 17, 2021 10:42
IRC: CupCake_
In-game: CupCake_
Location: The Moon

Re: How to install a Client-side Mod

by CupCake_ » Post

Si cela ne vous dérange pas ... Pouvez-vous peut-être travailler sur un tutoriel sur la façon de créer un CSM?

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests