Config Controller

Introduction

The Config Controller is a great way to save user preferences or server configuration files. These files are easily editable and viewable.

Methods

Method

Description

GetSettingFromFile

Returns the value of a setting in the specified path

GetSetting

Returns the value of a setting from content

TryGettingSettingFromFile

Returns true if it manages to get the value of a setting in the specified path

TryGettingSetting

Returns true if it manages to get the value of a setting from content

SetSetting

Changes the value of a setting in content

SetSettingFromFile

Changes the value of a setting in the specified path

Repair

Creates a file according to the template

CreateOptionList

Creates a list of settings and values separated with ':'

Last updated