Skip to main content

SetWorldData

This function sets world data but the data is only accessible by the server. It is not synced to any client.

Syntax

```csharp void NAPI.Data.SetWorldData(string key, object value); ```

Required Arguments

  • key: parameter input should be in string type.
  • value: parameter input should be in object type.

Usage example(s)

Example Description

```csharp NAPI.Data.SetWorldData("mykey", 1); ```