VoidExpanse/scope-config
GetFlag | ||
---|---|---|
Arguments | Returns | Example |
|
Boolean - whether the flag is set or not. |
|
Description | ||
Returns a boolean server flag value by name. Basically used to read server config options. |
var a = config.GetFlag("some_var");
GetValue | ||
---|---|---|
Arguments | Returns | Example |
|
Mixed - a particular value of config. |
|
Description | ||
Returns a server variable value by name. Basically used to read server config options. Standard return types are string, integer, float, etc. |