minetest.setting_get

From Minetest Developer Wiki
Jump to: navigation, search


This page has been marked for deletion for the following reason: Deprecated in favour of minetest.Settings


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