the question is:Settings: An interface to read config files in the format of minetest.conf
- Can be created via Settings(filename)
methods:
- get(key) -> value
- get_bool(key) -> boolean
- set(key, value)
- remove(key) -> success
- get_names() -> {key1,...}
- write() -> success
^ write changes to file
- to_table() -> {[key1]=value1,...}
I can query a file type. "conf", called, for example: "player_radar.conf", which is located in "/ minetest / games / mod / player_radar / player_radar.conf"?
Perhaps I misunderstand this API, I thought I could use
local radar_configuration minetest.Settings = ("/ minetest / games / mod / player_radar / player_radar.conf")
since the API says:
I'm wrong? what?"Can be created via Settings (filename)"