Skip to content
KCKingdoms Connected Scripting APIScripting guides and API
Global objectServer APIGenerated

PlayerStat

const PlayerStat: object

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

Writable player stats, in native units. Use getStat and the server’s setStat.

readonly Exhaust: "exhaust"

Current energy reserve; higher means better rested.

readonly Health: "health"

Current health, in native units. Zero can kill.

readonly Hunger: "hunger"

Current nourishment; higher means better fed.

readonly Stamina: "stamina"

Current stamina; the game continues spending and regenerating it.