Skip to main content

TerritoryPolicy

A country, or a region of one, that Crowded Kingdoms lists: 'blocked' refuses its players (TERRITORY_NOT_SUPPORTED), and minAge raises the youngest age admitted there. A country not listed is open at the platform's minimum. A country with a region listed is checked by region: a connection from it whose region cannot be told is refused, and so is an organization's player there sent without a region.

type TerritoryPolicy {
countryCode: String!
regionCode: String
status: String!
minAge: Int!
}

Fields​

TerritoryPolicy.countryCode ● String! non-null scalar​

ISO 3166-1 alpha-2 country code, such as KR.

TerritoryPolicy.regionCode ● String scalar​

ISO 3166-2 code of the region this rule is for, such as UA-43; null for the country's own rule.

TerritoryPolicy.status ● String! non-null scalar​

'open' or 'blocked'.

TerritoryPolicy.minAge ● Int! non-null scalar​

The youngest age admitted in the country (13 to 18); the platform's and the app's minimums still apply when higher.

Returned By​

setTerritoryPolicy mutation ● territoryPolicies query