Do worlds have a minetest.conf?

User avatar
Wuzzy
Member
 
Posts: 2161
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Do worlds have a minetest.conf?

by Wuzzy » Thu Sep 25, 2014 16:16

Do worlds have a minetest.conf?

In other words: Do worlds store their own set of settings, independently from all other worlds in some way (for example by having a file called “minetest.conf”?
 

User avatar
CraigyDavi
Member
 
Posts: 565
Joined: Sat Aug 10, 2013 13:08
GitHub: davisonio
IRC: davisonio or CraigyDavi
In-game: davisonio or CraigyDavi

Re: Do worlds have a minetest.conf?

by CraigyDavi » Thu Sep 25, 2014 17:27

I don't think so. It's always something I have found annoying in the game...mapgen settings should be on a per-world basis and yet they get configured in a global file.
 

User avatar
Casimir
Member
 
Posts: 1101
Joined: Fri Aug 03, 2012 16:59

Re: Do worlds have a minetest.conf?

by Casimir » Thu Sep 25, 2014 18:20

Mapgen settings get saved in map_meta.txt when a world is created and don't change afterwards. Other then that there are no settings possible for a world.
 

User avatar
ExeterDad
Member
 
Posts: 1121
Joined: Sun Jun 01, 2014 20:00
In-game: ExeterDad

Re: Do worlds have a minetest.conf?

by ExeterDad » Thu Sep 25, 2014 20:57

I may be mistaken, but I believe subgames have a minetest.conf. Would that be helpful?
٩(̾●̮̮̃̾•̃̾)۶

Kibbie and I have a beautiful public server now! HOMETOWN
 

User avatar
Wuzzy
Member
 
Posts: 2161
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Re: Do worlds have a minetest.conf?

by Wuzzy » Thu Sep 25, 2014 22:37

Not if you have more than just 1 world per subgame. ;-)
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: Do worlds have a minetest.conf?

by Krock » Fri Sep 26, 2014 17:24

You can read settings from "map_meta.txt" if that's your target.

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
minetest.register_on_mapgen_init(function(mgparams)
   local foobar = mgparams["IluvFish"]
end)
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

User avatar
Wuzzy
Member
 
Posts: 2161
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Re: Do worlds have a minetest.conf?

by Wuzzy » Fri Sep 26, 2014 23:44

Well, let me explain: I want to store per-world settings (in general, not related to modding for now). Not just mapgen settings, but every minetest.conf setting.

For example, I want to know if I can store a per-world setting like time_speed in a world. World 1 could have a time_speed of 0, World 2, could have a time_speed of 72, etc.
And of course the same idea applies to many other settings.

Now is something along the lines of this even possible?
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: Do worlds have a minetest.conf?

by Krock » Sat Sep 27, 2014 05:57

Wuzzy wrote:World 1 could have a time_speed of 0, World 2, could have a time_speed of 72, etc.
And of course the same idea applies to many other settings.

Now is something along the lines of this even possible?

Yes, I also miss that while using static_spawn over multiple worlds.
Currently, there's no way for a world-seperate configuration. :(
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

User avatar
Wuzzy
Member
 
Posts: 2161
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Re: Do worlds have a minetest.conf?

by Wuzzy » Sat Sep 27, 2014 15:20

Bummer! I thought so. :-(

Well, thanks for the replies, folks!
 

ThatGraemeGuy
Member
 
Posts: 126
Joined: Thu Jul 31, 2014 11:02
GitHub: thatgraemeguy
IRC: ThatGraemeGuy
In-game: thatgraemeguy

Re: Do worlds have a minetest.conf?

by ThatGraemeGuy » Mon Sep 29, 2014 08:01

You can use the --config option for minetestserver to specify a config file when starting a server.
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: Do worlds have a minetest.conf?

by Krock » Tue Sep 30, 2014 16:02

ThatGraemeGuy wrote:You can use the --config option for minetestserver to specify a config file when starting a server.

Yes but how tu use that in the GUI?
An additional configuration file which is read automatically, would be better.
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

LazyJ
Member
 
Posts: 479
Joined: Wed Sep 12, 2012 12:29

Re: Do worlds have a minetest.conf?

by LazyJ » Tue Sep 30, 2014 19:41

It would be nice to have the option to have a custom minetest.conf (or similar) for each world for the reasons already mentioned. I would like to be able to have a way to set separate screenshot paths for each world.

World specific conf files would also be handy when working on and developing mods. I've had to swap out different minetest.conf because of this.
.: Minetest 0.4.14 ~ Linux Mint ~ A moka pot, a French press, a dirty coffee cup, and a spoiled-rotten kitty :.
Visit our Minetest server at: LinuxGaming2.com, port 30000
Screenshots, overview maps, and server info at: http://forum.minetest.net/viewtopic.php?f=10&t=5684
My blog: http://lazyjminetest.blogspot.com/
 

Sokomine
Member
 
Posts: 2980
Joined: Sun Sep 09, 2012 17:31

Re: Do worlds have a minetest.conf?

by Sokomine » Mon Oct 06, 2014 00:07

LazyJ wrote:It would be nice to have the option to have a custom minetest.conf (or similar) for each world for the reasons already mentioned. I would like to be able to have a way to set separate screenshot paths for each world.

Screenshots saved by servername_port_day_month_year.png would certainly be nice. Perhaps something like that can be accomplished? The devs seem pretty busy, but such a change might not be too much work.
A list of my mods can be found here.
 


Return to Minetest General

Who is online

Users browsing this forum: No registered users and 15 guests

cron