Server mods

Tenr
New member
 
Posts: 5
Joined: Mon Mar 20, 2017 20:11

Server mods

by Tenr » Thu Mar 23, 2017 16:31

Hello.
How to install mods on server?
I can install any mod, or only mods developed to work in multilayer?
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: Server mods

by rubenwardy » Thu Mar 23, 2017 16:56

Nearly all mods will support multiplayer, due to how Minetest is designed. All games are actually multiplayer from the code's point of view, it's just that singleplayer only allows one player to join (with the name of "singleplayer")
 

Tenr
New member
 
Posts: 5
Joined: Mon Mar 20, 2017 20:11

Re: Server mods

by Tenr » Thu Mar 23, 2017 17:20

rubenwardy wrote:Nearly all mods will support multiplayer, due to how Minetest is designed. All games are actually multiplayer from the code's point of view, it's just that singleplayer only allows one player to join (with the name of "singleplayer")

Okay, then how to install mods on server?
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: Server mods

by rubenwardy » Thu Mar 23, 2017 17:30

the exact same way as on a client, except you'll need to manually enable them by adding:

load_mod_modname = true

to the world.mt of the server's world
 

Tenr
New member
 
Posts: 5
Joined: Mon Mar 20, 2017 20:11

Re: Server mods

by Tenr » Thu Mar 23, 2017 17:40

rubenwardy wrote:the exact same way as on a client, except you'll need to manually enable them by adding:

load_mod_modname = true

to the world.mt of the server's world

On client I have directory "mods", but linux package minetest-server have following structure:
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
/.
/etc
/etc/init.d
/etc/init.d/minetest-server
/etc/logrotate.d
/etc/logrotate.d/minetest-server
/etc/minetest
/etc/minetest/minetest.conf
/lib
/lib/systemd
/lib/systemd/system
/lib/systemd/system/minetest-server.service
/lib/systemd/system/minetest-server@.service
/usr
/usr/games
/usr/games/minetestserver
/usr/lib
/usr/lib/minetest
/usr/lib/minetest/minetestserver
/usr/share
/usr/share/doc
/usr/share/doc/minetest-server
/usr/share/doc/minetest-server/README.Debian
/usr/share/doc/minetest-server/changelog.Debian.gz
/usr/share/doc/minetest-server/changelog.gz
/usr/share/doc/minetest-server/copyright
/usr/share/man
/usr/share/man/man6
/usr/share/man/man6/minetestserver.6.gz

And directory with server map have
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
map_meta.txt
rollback.sqlite
map.sqlite
auth.txt
force_loaded.txt
world.mt
config.cfg
ipban.txt
players
env_meta.txt

Where I need to put mods?
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: Server mods

by rubenwardy » Thu Mar 23, 2017 17:45

/home/username/.minetest/mods

note that .minetest is a hidden directory
 

Tenr
New member
 
Posts: 5
Joined: Mon Mar 20, 2017 20:11

Re: Server mods

by Tenr » Thu Mar 23, 2017 18:31

Thanks, it works.
I also hear that I can install textures on server, and client automatically download and use them. Can I do that?
 

User avatar
cHyper
Member
 
Posts: 587
Joined: Fri May 06, 2011 08:49
IRC: cHyper
In-game: cHyper

Re: Server mods

by cHyper » Thu Mar 23, 2017 21:06

Tenr wrote:Thanks, it works.
I also hear that I can install textures on server, and client automatically download and use them. Can I do that?


i use /home/<username>/.minetest/textures folder for singleplayer gaming,
maybe it works for servers also?!!
 

Tenr
New member
 
Posts: 5
Joined: Mon Mar 20, 2017 20:11

Re: Server mods

by Tenr » Fri Mar 24, 2017 19:59

cHyper wrote:i use /home/<username>/.minetest/textures folder for singleplayer gaming,
maybe it works for servers also?!!

Maybe, but how to set this in config file?
 


Return to Minetest General

Who is online

Users browsing this forum: No registered users and 9 guests

cron