minetest.conf

Description
is a file that is saved after each shutdown and read at startup if existing. It contains a list of settings. If settings that are needed in the engine are not present in this file, the values that are stored in  are used.

This file is read by default from  or. Any other path can be chosen by passing the path as a parameter to the program, e.g: A list of settings used by minetest is stored at minetest.conf.example.

File Format
The file is saved as a plain text file, containing a list of  pairs.

Blank lines are ignored. Comments may be inserted by starting the line with the pound symbol and continue to the end of the line, and are effectively ignored by the config parser.

Access
The API contains several functions to access the settings: