Skip to main content

gameModelDefineFeature

Define an app feature key that access tiers can be granted. ck-exec code reads the keys a player's tier grants with ctx.players().features(player) (scope players.read) and gates on them itself. The gameModel prefix is a legacy name. Idempotent on (app, featureKey). Requires app-admin ('manage_apps').

gameModelDefineFeature(
input: DefineAppFeatureInput!
): GmAppFeature!

Arguments​

gameModelDefineFeature.input ● DefineAppFeatureInput! non-null input​

The app, the feature key, and an optional description.

Type​

GmAppFeature object​

An app feature key that access tiers can grant. ck-exec code reads the keys a player's tier grants with ctx.players().features(player).