Page 1 of 1

How to Install Mods on a Server?

PostPosted: Thu Dec 04, 2014 12:57
by ShowStopper
How do you install and enable mods on a server accessed through ssh and Filezilla?

Also, is there a way to install textures on a server as well?

Re: How to Install Mods on a Server?

PostPosted: Thu Dec 04, 2014 14:30
by kaeza
Hello, and welcome!

You just need to put the mods into the mods directory (`~/.minetest/mods` for system-wide installs, `<mtdir>/mods` for run-in-place builds).

You then need to enable them by editing `<worlddir>/world.mt`. If you have a mod named `foo`, then you add the following line to `world.mt`:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
load_mod_foo = true


Alternatively, install the mods into `<worlddir>/worldmods` and they will be available automatically without the need to enable them individually.

Re: How to Install Mods on a Server?

PostPosted: Thu Dec 04, 2014 17:35
by ShowStopper
Thank you very much! I'd looked high and low on the forums and wiki and just couldn't find that information. Plus for some reason the search excludes "mod" from the searches, so searching "install mod server" didn't do much good for me. Thank you again.

Re: How to Install Mods on a Server?

PostPosted: Thu Dec 04, 2014 19:23
by ExeterDad
About the textures.... texturepacks aren't supported for a server. But if you replace textures on your server in the mod folders... they will be served to the clients. Don't forget the textures within the default mod. Also if the players have texturepaks installed in their clients, your custom textures will not be used. It's a bit of a pain to maintain using this method.

Re: How to Install Mods on a Server?

PostPosted: Thu Dec 04, 2014 20:33
by ShowStopper
Okay, thanks for clearing that up.

Re: How to Install Mods on a Server?

PostPosted: Fri Dec 05, 2014 06:51
by Calinou
ExeterDad wrote:About the textures.... texturepacks aren't supported for a server. But if you replace textures on your server in the mod folders... they will be served to the clients. Don't forget the textures within the default mod. Also if the players have texturepaks installed in their clients, your custom textures will not be used. It's a bit of a pain to maintain using this method.


Texture packs do work on servers. You need to put textures in the “server” folder of the “textures” folder (create if needed).

Re: How to Install Mods on a Server?

PostPosted: Fri Dec 05, 2014 11:06
by ExeterDad
Calinou wrote:
ExeterDad wrote:About the textures.... texturepacks aren't supported for a server. But if you replace textures on your server in the mod folders... they will be served to the clients. Don't forget the textures within the default mod. Also if the players have texturepaks installed in their clients, your custom textures will not be used. It's a bit of a pain to maintain using this method.


Texture packs do work on servers. You need to put textures in the “server” folder of the “textures” folder (create if needed).

Well I'll be @!%# I stand corrected!
Miss VanessaE mislead me months ago when I was asking this same question! Where is this documented Calinou? I definitely want to do this.

Re: How to Install Mods on a Server?

PostPosted: Fri Dec 05, 2014 14:02
by ShowStopper
Calinou wrote:
ExeterDad wrote:About the textures.... texturepacks aren't supported for a server. But if you replace textures on your server in the mod folders... they will be served to the clients. Don't forget the textures within the default mod. Also if the players have texturepaks installed in their clients, your custom textures will not be used. It's a bit of a pain to maintain using this method.


Texture packs do work on servers. You need to put textures in the “server” folder of the “textures” folder (create if needed).


I'm glad to hear this. I just created ~.minetest/textures/server and then placed all the images in that and restarted minetestserver and it works perfectly.

Re: How to Install Mods on a Server?

PostPosted: Fri Dec 05, 2014 14:59
by ExeterDad
ShowStopper wrote:
Calinou wrote:
ExeterDad wrote:About the textures.... texturepacks aren't supported for a server. But if you replace textures on your server in the mod folders... they will be served to the clients. Don't forget the textures within the default mod. Also if the players have texturepaks installed in their clients, your custom textures will not be used. It's a bit of a pain to maintain using this method.


Texture packs do work on servers. You need to put textures in the “server” folder of the “textures” folder (create if needed).


I'm glad to hear this. I just created ~.minetest/textures/server and then placed all the images in that and restarted minetestserver and it works perfectly.

This is excellent to know! I can't wait to get home and rework our server. Thanks so much Calinou for jumping in here and setting things straight.