minetest.setting_get

From Minetest Developer Wiki
Jump to: navigation, search


Mbox warning.png 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

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")

See Also

Personal tools
Namespaces

Variants
Actions
Navigation
API
Toolbox