Skip to content
KCKingdoms Connected Scripting APIScripting guides and API
Data shapeServer APIGenerated

Appearance

Defined in: server/api.d.ts:907

How a player’s body looks: four of the game’s own character-component names, and the gender whose catalog they come from.

A part left out, or set to an empty string, means “leave that one alone” – the body keeps whatever it would have had. An appearance with every part empty is the default body, which is what everyone wears until something chooses otherwise.

beard: string

Defined in: server/api.d.ts:933

The beard. Male only – the female tree has none – and one of Appearances.beards(head), or empty.

Not every beard goes with every face: they are modelled per head, and a body asked for a pair that was never modelled refuses the whole appearance rather than quietly losing the beard.


body: string

Defined in: server/api.d.ts:916

The skin: complexion and build. One of Appearances.options("body", gender), or empty.


gender: "male" | "female"

Defined in: server/api.d.ts:911

Which half of the game’s character-component tree the four names come from. Not one of the four: a body’s gender comes from its soul, and a name from one tree means nothing under the other, so this travels with them and is applied first.


hair: string

Defined in: server/api.d.ts:926

The hairstyle, including its colour – the game ships each style recoloured rather than colouring one. One of Appearances.options("hair", gender), or empty.


head: string

Defined in: server/api.d.ts:921

The face. One of Appearances.options("head", gender), or empty.