LuaSettings

Runtime settings can be changed through console commands and by the mod that owns the settings.

class LuaSettings - sort
get_player_settings(player) → CustomDictionary string → ModSetting
object_name :: string [R] This objects name.
startup :: CustomDictionary string → ModSetting [R]
global :: CustomDictionary string → ModSetting [R]
player :: CustomDictionary string → ModSetting [R]
get_player_settings(player) → CustomDictionary string → ModSetting

Parameters
player :: LuaPlayer
Note: This can become invalid if during operation if the given player becomes invalid.
object_name :: string [Read-only]

This objects name.

startup :: CustomDictionary string → ModSetting [Read-only]

global :: CustomDictionary string → ModSetting [Read-only]

player :: CustomDictionary string → ModSetting [Read-only]