ExecutionEnvironment
constExecutionEnvironment:object
Defined in: server/api.d.ts:8528
Runtime-side flags exposed as the global ExecutionEnvironment.
Type Declaration
Section titled “Type Declaration”frameworkVersion
Section titled “frameworkVersion”
readonlyframeworkVersion:string
Local Framework release version.
isClient
Section titled “isClient”
readonlyisClient:boolean
True in the sandboxed client scripting runtime.
isServer
Section titled “isServer”
readonlyisServer:boolean
True in the authoritative server scripting runtime.
modVersion
Section titled “modVersion”
readonlymodVersion:string
Local mod version from InstanceOptions.modVersion; empty when unset.