Skip to main content

SignInWithMinecraftInput

A Minecraft player signing in to one of Crowded Kingdoms’ own apps (signInWithMinecraft).

input SignInWithMinecraftInput {
appId: BigInt!
username: String!
serverId: String!
birthDate: String!
country: String!
parentalConfirmation: Boolean
acceptedDocuments: [AcceptedDocumentInput!]!
}

Fields​

SignInWithMinecraftInput.appId ● BigInt! non-null scalar​

The app (BigInt as a decimal string): the one minecraftChallenge was asked for.

SignInWithMinecraftInput.username ● String! non-null scalar​

The Minecraft account name the client is signed in with (1-16 letters, digits and underscores).

SignInWithMinecraftInput.serverId ● String! non-null scalar​

The serverId from minecraftChallenge, after the client joined it through Mojang’s session service.

SignInWithMinecraftInput.birthDate ● String! non-null scalar​

The player’s birth date, YYYY-MM or YYYY-MM-DD, from the mod’s age screen; the age is counted from the last day of the month. Only the year and month of the first admitted sign-in are kept, and they decide the account’s age from then on: a later sign-in’s birthDate is not used.

SignInWithMinecraftInput.country ● String! non-null scalar​

The country the player lives in: ISO 3166-1 alpha-2, such as US.

SignInWithMinecraftInput.parentalConfirmation ● Boolean scalar​

True when a player under 18 confirms that a parent or guardian agreed. Required true under 18; ignored at 18 or over.

SignInWithMinecraftInput.acceptedDocuments ● [AcceptedDocumentInput!]! non-null input​

The documents the player accepted in game: every one playerLegalDocuments and appRequiredDocuments(appId) name, at those versions. They are recorded with method IN_GAME.

Member Of​

signInWithMinecraft mutation