Skip to content

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.

SetClusterValue(key [, value])
Parameter Type
key string the value’s name
value string the value, turned into a string; nil removes it (optional)
SetClusterValue("war", "started")

GetClusterValue · OnClusterValueChange · the Regions group of the index