How to install a Client-side Mod

Post Reply
User avatar
GreenXenith
Member
Posts: 1329
Joined: Wed Oct 28, 2015 01:26
GitHub: GreenXenith
IRC: GreenXenith
In-game: GreenXenith
Location: The singularity
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
+ Spoiler
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.
Y▹uTube | Mods | Patre●n | Twitter | Minetest Discord | GreenXenith#3232

Hey, you. You're finally awake.
You were trying to view their profile, right? Found the rest of their signature, same as us, and that guest over there.

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: 2662
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

muhdnurhidayat
Member
Posts: 302
Joined: Wed Nov 16, 2016 22:55
GitHub: mnh48
IRC: muhdnurhidayat
In-game: muhdnurhidayat
Location: Wangsa Maju, Kuala Lumpur, Malaysia
Contact:

Re: How to install a Client-side Mod

by muhdnurhidayat » 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)
[ Full signature ] - UTC+8 here, I'm muhdnurhidayat in most Minetest servers. / Twitter ✂️- - - - -

Contributes to Minetest Wiki.
Also uses MT Offtopic forum.
You just read my profile, right?
Because these few texts of signature only appear on profile page as the texts are cut in signature. xD

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: 2662
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: 3699
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: 7497
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!

BBmine
Member
Posts: 3475
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: 2440
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: 1329
Joined: Wed Oct 28, 2015 01:26
GitHub: GreenXenith
IRC: GreenXenith
In-game: GreenXenith
Location: The singularity
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.
Y▹uTube | Mods | Patre●n | Twitter | Minetest Discord | GreenXenith#3232

Hey, you. You're finally awake.
You were trying to view their profile, right? Found the rest of their signature, same as us, and that guest over there.

User avatar
DS-minetest
Member
Posts: 1144
Joined: Thu Jun 19, 2014 19:49
GitHub: Desour
IRC: DS-minetest
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 DS-minetest » 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, …).)
Note that I've recently renamed myself on github and co. to "Desour". (I'm bad at naming things.)
Feel free to call me DS.

User avatar
GreenXenith
Member
Posts: 1329
Joined: Wed Oct 28, 2015 01:26
GitHub: GreenXenith
IRC: GreenXenith
In-game: GreenXenith
Location: The singularity
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
Y▹uTube | Mods | Patre●n | Twitter | Minetest Discord | GreenXenith#3232

Hey, you. You're finally awake.
You were trying to view their profile, right? Found the rest of their signature, same as us, and that guest over there.

DELTA_FORCE
Member
Posts: 132
Joined: Tue Oct 30, 2018 01:26
IRC: DELTA_FORCE
In-game: DELTA_FORCE
Location: Somewhere in the Atlantic

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.
MT5.3.0 for the win!

Gundul
Member
Posts: 1064
Joined: Thu Aug 27, 2015 10:55
GitHub: berengma
IRC: Gundul
Location: Europe/Asia

Re: How to install a Client-side Mod

by Gundul » 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.
My servers: Jungle, Lilly in the valley

User avatar
GreenXenith
Member
Posts: 1329
Joined: Wed Oct 28, 2015 01:26
GitHub: GreenXenith
IRC: GreenXenith
In-game: GreenXenith
Location: The singularity
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.
Y▹uTube | Mods | Patre●n | Twitter | Minetest Discord | GreenXenith#3232

Hey, you. You're finally awake.
You were trying to view their profile, right? Found the rest of their signature, same as us, and that guest over there.

Gundul
Member
Posts: 1064
Joined: Thu Aug 27, 2015 10:55
GitHub: berengma
IRC: Gundul
Location: Europe/Asia

Re: How to install a Client-side Mod

by Gundul » Post

GreenDimond wrote: That's up to the forum mods.
They made it. :) well done.
And now even better with the fixed pictures.
My servers: Jungle, Lilly in the valley

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: 2662
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!

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest