Skip to main content

playerComputeSetSwitch

Throw or release a player-compute kill switch at player, grid, app, or listing scope (the 03 §7 kill ladder). Throwing a switch stops the covered modules on the next scheduler pass; quota state is retained, and releasing resumes normally. LISTING scope (P4a) disables every install of a marketplace listing fleet-wide — pass the listing UUID in listingRef; pair it with the management-side catalog kill to also stop new acquisitions. Module-level disable is playerComputeSetEnabled. Requires the org 'manage_compute' permission.

playerComputeSetSwitch(
appId: BigInt!
scope: String!
disabled: Boolean!
scopeRef: BigInt
reason: String
listingRef: String
): Boolean!

Arguments

playerComputeSetSwitch.appId ● BigInt! non-null scalar

App the switch applies to.

playerComputeSetSwitch.scope ● String! non-null scalar

Switch scope: 'player', 'grid', 'app', or 'listing'.

playerComputeSetSwitch.disabled ● Boolean! non-null scalar

True to stop execution at this scope; false to release.

playerComputeSetSwitch.scopeRef ● BigInt scalar

The player user id (player scope) or grid id (grid scope); omit for app and listing scopes.

playerComputeSetSwitch.reason ● String scalar

Operator note recorded on the switch row.

playerComputeSetSwitch.listingRef ● String scalar

The marketplace listing UUID (listing scope only); omit otherwise.

Type

Boolean scalar

The Boolean scalar type represents true or false.