Skip to content
KCD Multiplayer Docs
Search
Ctrl
K
Cancel
kcd-mp.com
Forum
Discord
Select theme
Dark
Light
Auto
Menu
Getting started
Overview
Setting up
AI assistants
Server configuration
Guides
Overview
Exporting the game's tables
Exporting the terrain
Exporting the navigation mesh
Exporting the collision geometry
Putting a server on the public list
Lua
Overview
Server API
Index by topic
Getting started
Combat
Constants
Parties
Callbacks
OnActorArrive
OnActorAttack
OnActorDamage
OnActorDeath
OnActorInjury
OnClientEvent
OnFightEnd
OnFightStart
OnGameModeExit
OnGameModeInit
OnPartyCreate
OnPartyDisband
OnPartyInvite
OnPartyInviteResponse
OnPartyLeaderChange
OnPlayerAuditViolation
OnPlayerCloseContainer
OnPlayerCommandText
OnPlayerConnect
OnPlayerDamage
OnPlayerDeath
OnPlayerDisconnect
OnPlayerDismount
OnPlayerDrop
OnPlayerDrunk
OnPlayerEnterZone
OnPlayerInjury
OnPlayerJoinParty
OnPlayerLeaveParty
OnPlayerLeaveZone
OnPlayerLogin
OnPlayerMount
OnPlayerOpenContainer
OnPlayerPickup
OnPlayerRequestSpawn
OnPlayerSpawn
OnPlayerText
OnPlayerUseDoor
OnPlayerUseItem
OnTick
Functions
AcceptPartyInvite
AddPlayerToParty
AddSpawnPoint
AreFighting
ArePartyMembers
Ban
BanAddress
BanName
ClaimBuffClasses
ClearPlayerBuffs
ClearSpawnPoints
CreateActor
CreateCircleZone
CreateDog
CreateHorse
CreateHudText
CreatePickup
CreateProp
CreateZone
DeclinePartyInvite
DestroyEntity
DestroyHudText
DestroyZone
DisbandParty
EndFight
FindBuffs
FindItems
FindMeshes
FindPath
FindSouls
FormatWorldTime
GameText
GameTextForAll
GetActorBleeding
GetActorHealth
GetActorInjuries
GetAdminNames
GetBodyPartName
GetBuffGuid
GetBuffInfo
GetClaimedBuffClasses
GetContainerItems
GetContainers
GetContainerUser
GetDefaultSpawn
GetDogMode
GetDoors
GetDoorState
GetEntities
GetEntityController
GetEntityData
GetEntityIdleTime
GetEntityKind
GetEntityName
GetEntityPos
GetEntityRider
GetEntityScale
GetEntityState
GetEntityStates
GetEntityTemplate
GetEntityVirtualWorld
GetGlobalState
GetGlobalStates
GetGroundZ
GetHorseSoul
GetHudText
GetHudTexts
GetItemClass
GetItemInfo
GetItemName
GetLevel
GetLevelName
GetMaxPlayers
GetMeshPath
GetNavmeshHeight
GetNearestEntity
GetParties
GetPartyData
GetPartyLeader
GetPartyMemberLabel
GetPartyMembers
GetPartyName
GetPartySize
GetPlayerAlcohol
GetPlayerAuditViolations
GetPlayerBleeding
GetPlayerBuffs
GetPlayerColor
GetPlayerColour
GetPlayerCount
GetPlayerData
GetPlayerDog
GetPlayerEquipment
GetPlayerHealth
GetPlayerHorse
GetPlayerId
GetPlayerInjuries
GetPlayerInventory
GetPlayerIP
GetPlayerMaxHealth
GetPlayerMaxStamina
GetPlayerMount
GetPlayerName
GetPlayerNameplate
GetPlayerOpponents
GetPlayerParty
GetPlayerPartyInvite
GetPlayerPing
GetPlayerPos
GetPlayers
GetPlayerSkill
GetPlayerStamina
GetPlayerStat
GetPlayerState
GetPlayerStates
GetPlayerTeam
GetPlayerVelocity
GetPlayerVirtualWorld
GetPlayerWeapon
GetPlayerYaw
GetPlayerZones
GetRain
GetRandomSpawnPoint
GetSavedData
GetSavedPlayer
GetServerData
GetServerTick
GetServerTime
GetSoulInfo
GetSpawnPoints
GetTerrainHeight
GetTimeRatio
GetWeather
GetWeatherPresets
GetWorldTime
GetZoneData
GetZoneInfo
GetZonePlayers
GetZones
GivePlayerBuff
GivePlayerItem
HasCollision
HasNavmesh
HasPlayerBuff
HealActor
HealPlayer
HideHudText
HideHudTextForAll
InviteToParty
IsActorBleeding
IsActorDead
IsActorInjured
IsActorMoving
IsBanned
IsEntityRigid
IsHudTextShown
IsLineOfSight
IsPartyFull
IsPlayerAdmin
IsPlayerBleeding
IsPlayerConnected
IsPlayerControllable
IsPlayerDead
IsPlayerDrunk
IsPlayerInjured
IsPlayerInWorld
IsPlayerInZone
IsPlayerLoggedIn
IsPlayerRegistered
IsPointInZone
IsReachable
Kick
KillTimer
Log
MountPlayer
MoveActor
NearestNavmeshPoint
PlaySound
RayCast
ReloadGameMode
RemovePlayerBuff
RemovePlayerFromParty
SendClientEvent
SendClientEventToAll
SendClientMessage
SendClientMessageToAll
SendPartyMessage
SetActorAnim
SetActorHealth
SetActorHostile
SetContainerItems
SetDogMode
SetDoorState
SetEntityController
SetEntityData
SetEntityPos
SetEntityState
SetEntityVirtualWorld
SetGameModeText
SetGlobalState
SetHudText
SetHudTextAlign
SetHudTextColour
SetHudTextPos
SetHudTextScale
SetPartyData
SetPartyLeader
SetPartyMemberLabel
SetPartyName
SetPlayerAdmin
SetPlayerAlcohol
SetPlayerColor
SetPlayerColour
SetPlayerData
SetPlayerHealth
SetPlayerNameplate
SetPlayerPos
SetPlayerSkill
SetPlayerStamina
SetPlayerStat
SetPlayerState
SetPlayerTeam
SetPlayerVirtualWorld
SetRain
SetSavedData
SetServerData
SetSpawnInfo
SetTimer
SetTimeRatio
SetWeather
SetWorldTime
SetZoneData
ShowHudText
ShowHudTextForAll
ShowPartyFrames
SpawnDecal
SpawnEffect
SpawnPlayer
sscanf
StartFight
StopActor
TogglePlayerControllable
TurnActor
Unban
Client API
Index by topic
Getting started
Functions
KcdMp.census
KcdMp.count
KcdMp.level
KcdMp.on_event
KcdMp.on_frame
KcdMp.on_state
KcdMp.player_pos
KcdMp.send_event
Properties
KcdMp.label_occlusion
KcdMp.on_any_event
KcdMp.on_party_change
KcdMp.on_state_change
KcdMp.party
KcdMp.player_id
KcdMp.state
Console commands
KcdMp_exec
KcdMp_log
KcdMp_net
KcdMp_say
C#
Overview
Server API
Reference
Overview
Items
Overview
Alchemy bases
Ammunition
Armour (1/2: B-F)
Armour (2/2: F-Z)
Crafting materials
Dice badges
Dice
Documents
Food and drink
Helmets
Herbs
Hoods
Item aliases
Keys
Key rings
Melee weapons and shields
Miscellaneous items
Bows, crossbows and guns
Money
NPC tools
Ointments and bandages
Pickable items
Poisons
Quick-slot containers
Souls
Overview
Boar
CattleBull
CattleCow
Dog
Hare
Hero
Horse
NPC (1/3: A-K)
NPC (2/3: K-S)
NPC (3/3: S-Z)
NPC_Female
Pig
Raven
RedDeerDoe
RedDeerStag
RoeDeerBuck
RoeDeerHind
SheepEwe
SheepRam
WildDog
Wolf
Buffs
Overview
Alcohol
Food Poison
ForcedDrunkenness
Hangover
Heal
Injury
Item Buff
Overeat
Perception
Perfume
Perk Buff
Plague
Poison
Potion
Punishment
Satisfaction
Script System
System Buff
Testing Combat Buff
Testing Stat Buff
Unconsciousness
Weapon Skill Buff
Meshes
Overview
animation_props
manmade/common_decorations
manmade/common_fixtures
manmade/common_furniture
manmade/common_illumination
manmade/common_tools
manmade/food
manmade/quest_specific_props
manmade/stashes
manmade/structures (1/2: O)
manmade/structures (2/2: O)
manmade/task_specific_props
manmade/vehicles
manmade/weapons
natural
quest_items
special
Consumables
Clothing presets
Overview
Female
Male (1/2: C-P)
Male (2/2: P-Z)
Undefined
Weapon presets
Stats and skills
Animations
Overview
ADLG
Camp
Combat
Free
Hit
Horse
Motion
Other families
Quest
Stand
Tournament
Particle effects
Overview
cinematics
collisions
firearms
particles_smithery
particles_water
particles_woodcutting
professions
ui
WH_Particels
WH_vranik
workBehaviors
Audio triggers
Overview
animals
cinematics (1/6: C)
cinematics (2/6: C)
cinematics (3/6: C)
cinematics (4/6: C)
cinematics (5/6: C)
cinematics (6/6: C-T)
combat
default_controls
dialog
foleys
footsteps
hoofsteps
music
music_blacksmith
music_cutscenes
quests
special
test
ui
voices
world
Decal materials
Levels, doors and containers
Overview
klaster: containers
klaster: doors
kutnohorsko: containers (1/2: A-S)
kutnohorsko: containers (2/2: S-Z)
kutnohorsko: doors
trosecko: containers
trosecko: doors
Weather
Chat commands
kcd-mp.com
Forum
Discord
Select theme
Dark
Light
Auto
GetPlayerColor
GetPlayerColor
is another name for
GetPlayerColour
; the two are the same function.