Skip to main content

execModDeploy

Deploy a mod build of yours to a grid you own: a new mod starts switched off; a running one restarts on the new version. Requires being the grid's current owner and 'write_server_code' on both the app tier and the grid.

execModDeploy(
appId: BigInt!
gridId: BigInt!
name: String!
buildId: String!
): ExecMod!

Arguments​

execModDeploy.appId ● BigInt! non-null scalar​

The app the grid is in.

execModDeploy.gridId ● BigInt! non-null scalar​

The grid the mod runs on.

execModDeploy.name ● String! non-null scalar​

The mod: 1-48 lowercase letters, digits, - or _.

execModDeploy.buildId ● String! non-null scalar​

A succeeded execModBuild of yours.

Type​

ExecMod object​

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.