execModSetEnabled
Switch a mod on your grid on or off. On, it runs as you once the app's code admission admits it. Requires being the grid's current owner and 'run_server_code' on both the app tier and the grid.
execModSetEnabled(
appId: BigInt!
gridId: BigInt!
name: String!
enabled: Boolean!
): ExecMod!
Arguments
execModSetEnabled.appId ● BigInt! non-null scalar
The app the grid is in.
execModSetEnabled.gridId ● BigInt! non-null scalar
The grid the mod runs on.
execModSetEnabled.name ● String! non-null scalar
The mod: 1-48 lowercase letters, digits, - or _.
execModSetEnabled.enabled ● Boolean! non-null scalar
On (true) or off (false).
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.