WorldManifest

csharp
public sealed class WorldManifest

Namespace NodeWorld.SDK.Shared.

The manifest.json of a published world: its format version, identity, creator's public key, FL# module and every file of the package with its size and SHA-256. Signed whole by the creator's key (manifest.sig). Written by the World Publisher, read by the server and the game.

Constants

CurrentSchemaVersion

csharp
public const int CurrentSchemaVersion = 3

The format written by this SDK: 3, signed manifest with the creator's key and the list of files.

Fields

schemaVersion

csharp
public int schemaVersion

Version of the manifest format (WorldPackageCheck.OldestSchemaVersion to WorldPackageCheck.NewestSchemaVersion for this game), written by the World Publisher. No default value: JsonUtility keeps it for a field the JSON lacks, and a manifest from before this field must read 0, too old.

worldId

csharp
public string worldId

The world's ID (the name of its folder on servers).

displayName

csharp
public string displayName

The name players see.

description

csharp
public string description

The description players see.

version

csharp
public string version

The world's version, set at publication.

adult

csharp
public bool adult

The world is 18+ (set in the World Publisher): the server tells the central API with each heartbeat.

creatorPublicKey

csharp
public string creatorPublicKey

The public key of the creator who signed the package: its SubjectPublicKeyInfo (DER) in base64.

scriptLanguage

csharp
public string scriptLanguage

Language of the world's scripts (FL#).

source

csharp
public WorldManifestSourceArtifacts source

The FL# sources of the world.

intermediate

csharp
public WorldManifestIntermediateArtifacts intermediate

The intermediate WebAssembly module of the world's scripts.

media

csharp
public WorldManifestMedia media

Media of the world (pictures are given on the website, not in the manifest).

platforms

csharp
public WorldManifestPlatform[] platforms

The files of each platform.

files

csharp
public WorldManifestFile[] files

Every file of the package (each platform's bundles and FL# module, the scene for the server), with its size and SHA-256.