Page 1 of 1

Default mods on headless server

PostPosted: Fri Feb 24, 2017 16:44
by mase
Hi!
I have set up a headless minetest server on debian. How can I enable a set of default mods when a
new world will be created? I think, editing the file world.mt after creation isn't very good in many
cases, for example with world creation mods.

Re: Default mods on headless server

PostPosted: Fri Feb 24, 2017 16:50
by burli
Create a subgame and put all mods into the subgame mods folder. They will all be loaded automatically. But be careful, the same mods in the common mod folder may cause problems

Re: Default mods on headless server

PostPosted: Wed Mar 01, 2017 04:21
by BBmine
burli wrote:Create a subgame and put all mods into the subgame mods folder. They will all be loaded automatically. But be careful, the same mods in the common mod folder may cause problems

It shouln't cause problems unless you enable mods in world.mt. Just leave EVERYTHING in world.mt "= false" for mods.

Re: Default mods on headless server

PostPosted: Wed Mar 01, 2017 08:49
by mase
I did so. I copied the default mods from the minetest game and some additional
mods. A good workaround, as there is always the same game running on my server.
And I am still able to modify the setup without losing the world.