Skip to main content

ExecMod

A mod: a player’s code on a grid they own, run by ck-exec as the hub mod:<name> keyed by the grid id, in its owner’s own sandbox.

type ExecMod {
modId: String!
gridId: BigInt!
name: String!
ownerId: BigInt!
version: Int!
digest: String!
enabled: Boolean!
listingId: BigInt
blocked: String
running: Boolean!
updatedAt: DateTime!
}

Fields​

ExecMod.modId ● String! non-null scalar​

ExecMod.gridId ● BigInt! non-null scalar​

ExecMod.name ● String! non-null scalar​

1-48 lowercase letters, digits, - or _.

ExecMod.ownerId ● BigInt! non-null scalar​

The player it runs as: the grid’s owner when it was deployed, or when the grid last changed hands.

ExecMod.version ● Int! non-null scalar​

ExecMod.digest ● String! non-null scalar​

SHA-256 of its module, hex.

ExecMod.enabled ● Boolean! non-null scalar​

Its owner switched it on. It runs only while this holds and blocked is null.

ExecMod.listingId ● BigInt scalar​

The marketplace listing it was installed from.

ExecMod.blocked ● String scalar​

Why an enabled mod will not run: a switch of the app’s kill ladder, or the app’s own switch.

ExecMod.running ● Boolean! non-null scalar​

Whether an instance of it runs now.

ExecMod.updatedAt ● DateTime! non-null scalar​

Returned By​

execAppMods query ● execModDeploy mutation ● execModInstall mutation ● execMods query ● execModSetEnabled mutation ● execMyMods query