Skip to content
KCKingdoms Connected Scripting APIScripting guides and API
Global objectClient APIGenerated

ExecutionEnvironment

const ExecutionEnvironment: object

Defined in: client/api.d.ts:4595

Runtime-side flags exposed as the global ExecutionEnvironment.

readonly frameworkVersion: string

Local Framework release version.

readonly isClient: boolean

True in the sandboxed client scripting runtime.

readonly isServer: boolean

True in the authoritative server scripting runtime.

readonly modVersion: string

Local mod version from InstanceOptions.modVersion; empty when unset.