minetest.setting_get
From Minetest Developer Wiki
![]() |
This page has been proposed for deletion for the following reason: " Deprecated in favour of minetest.Settings" If you don't think that this page should be deleted, please explain why on the talk page. |
Contents |
Syntax
minetest.setting_get("name")
Description
Returns the value of an option stored in minetest.conf as a string.
Note that you can use settingtypes.txt to add your own settings to the configuration in the main menu.
Example
local player_name = minetest.setting_get("name")