SetClusterValue
Sets a value every level of this server reads.
Faction scores, an event under way, a tax. OnClusterValueChange tells every level. Values live as long as the server runs: keep what must last in the database.
Syntax
Section titled “Syntax”SetClusterValue(key [, value])| Parameter | Type | |
|---|---|---|
key |
string | the value’s name |
value |
string | the value, turned into a string; nil removes it (optional) |
Example
Section titled “Example”SetClusterValue("war", "started")See also
Section titled “See also”GetClusterValue · OnClusterValueChange · the Regions group of the index
