Minetest not generating/reading minetest.conf

Post Reply
User avatar
daniovision
Member
Posts: 13
Joined: Thu Oct 18, 2012 16:20
In-game: daniovision

Minetest not generating/reading minetest.conf

by daniovision » Post

Hello,
I'm experiancing a problem, where minetest does not generate minetest.conf in "/home/{username}/.minetest".
In fact, the only thing there is the world. No mods, no configuration, no nothing.
Minetest Version: 0.4.10
Operating System: Ubuntu 14.04 Server
VPS Specs: 1GB of ram, 10GB of disk space (922MB available)

Is anyone experiancing the same problem, and is it fixable?
Last edited by daniovision on Tue Oct 14, 2014 16:20, edited 2 times in total.

Minetestforfun
Member
Posts: 940
Joined: Tue Aug 05, 2014 14:09
GitHub: MinetestForFun
IRC: MinetestForFun
In-game: MinetestForFun
Location: On earth
Contact:

Re: Minetest not generating minetest.conf

by Minetestforfun » Post

Hi,

just generate it manually, copy the minetest.conf.example and rename it minetest.conf, edit it, and start your server

User avatar
rubenwardy
Moderator
Posts: 6978
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

Re: Minetest not generating minetest.conf

by rubenwardy » Post

Make sure that you are using a non-run in place version.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
daniovision
Member
Posts: 13
Joined: Thu Oct 18, 2012 16:20
In-game: daniovision

Re: Minetest not generating minetest.conf

by daniovision » Post

Minetestforfun wrote:Hi,

just generate it manually, copy the minetest.conf.example and rename it minetest.conf, edit it, and start your server
Yeah, but it refuses to read that. Even doing "--config /home/{username}/.minetest/minetest.conf" doesn't help.
rubenwardy wrote:Make sure that you are using a non-run in place version.
I'm guessing not, but I might be wrong. I installed it using apt-get, from the Ubuntu ppa (https://code.launchpad.net/~minetestdev ... ntu/stable).

User avatar
daniovision
Member
Posts: 13
Joined: Thu Oct 18, 2012 16:20
In-game: daniovision

Re: Minetest not generating minetest.conf

by daniovision » Post

My minetest.conf, in case any of you could find it useful:

Code: Select all

address = **.**.***.***
name = daniovision
remote_port = 30000
server_dedicated = false
public_serverlist = true
server_name = Test server
server_description = Test server?
motd = Test server!
max_users = 10

User avatar
daniovision
Member
Posts: 13
Joined: Thu Oct 18, 2012 16:20
In-game: daniovision

Re: Minetest not generating minetest.conf

by daniovision » Post

Update: Minetest isn't reading mods either.

User avatar
Krock
Developer
Posts: 4650
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker
Location: Switzerland
Contact:

Re: Minetest not generating minetest.conf

by Krock » Post

daniovision wrote:Update: Minetest isn't reading mods either.
You need to enable the in the GUI or alternatively edit minetest\worlds\yourworld\world.mt
Dummy content:

Code: Select all

gameid = minetest
backend = sqlite3
load_mod_foo = true
load_mod_bar = false
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

User avatar
daniovision
Member
Posts: 13
Joined: Thu Oct 18, 2012 16:20
In-game: daniovision

Re: Minetest not generating minetest.conf

by daniovision » Post

Thanks, mods are now working, but I still can't load the config file. :/
Not even after a complete ubuntu reinstall.
The minetest.conf is at "/home/{user}/.minetest/minetest.conf", I'm guessing this is the correct directory.

User avatar
daniovision
Member
Posts: 13
Joined: Thu Oct 18, 2012 16:20
In-game: daniovision

Re: Minetest not generating/reading minetest.conf

by daniovision » Post

*bump?*

User avatar
rubenwardy
Moderator
Posts: 6978
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

Re: Minetest not generating/reading minetest.conf

by rubenwardy » Post

It may be possible that the conf file is at ~/.config/minetest.conf
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
ExeterDad
Member
Posts: 1717
Joined: Sun Jun 01, 2014 20:00
In-game: ExeterDad
Location: New Hampshire U.S.A

Re: Minetest not generating/reading minetest.conf

by ExeterDad » Post

When you use the gui to adjust settings, run a singleplayer game and close minetest. Then open minetest once again... do your new settings stick? If not, you must be correct that one isn't generated. If they do stick, there is a minetest.conf somewhere.
Running a search in your home dir may turn it up?

Edit: Nevermind. I didn't notice you were running from a VPS. I'm assuming not a local box.

User avatar
daniovision
Member
Posts: 13
Joined: Thu Oct 18, 2012 16:20
In-game: daniovision

Re: Minetest not generating/reading minetest.conf

by daniovision » Post

rubenwardy wrote:It may be possible that the conf file is at ~/.config/minetest.conf
Not there, creating that directory and putting the config in there doesn't work either. :(
Could it be that I'm running the Server edition of Ubuntu 14.04?

Post Reply

Who is online

Users browsing this forum: No registered users and 14 guests