jordan4ibanez wrote:Minetest cannot write to the minetest.conf if it is compiled as server only it seems, or am I doing something wrong?
minetest.setting_save()ds-2k wrote:jordan4ibanez wrote:Minetest cannot write to the minetest.conf if it is compiled as server only it seems, or am I doing something wrong?
The server can write the configuration file if a mod calls
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.setting_save()
This was done this way instead of saving on exit to prevent losing modified settings if the server crashed. See the original pull request for details:
https://github.com/minetest/minetest/pull/391
prestidigitator wrote:Hmm. Have you installed from the actual Ubuntu/Debian package? Perhaps Minetest is trying to write to the /usr/share/minetest/... tree instead of saving a modified version under ~/.minetest/..., which WOULD be a problem. No normal user application should be able to write to the /usr tree.
Users browsing this forum: No registered users and 8 guests