Skip to content
Destuur edited this page Sep 11, 2025 · 11 revisions

KCDUtils

KCDUtils is a utility library for Kingdom Come: Deliverance 2 modding.

Purpose

  • Simplifies common modding tasks
  • Provides easy mod registration for instantiated DB and logger
  • Provides event systems, entity handling, and utility functions

Quick Example

-- Trigger a custom event
KCDUtils.Core.EventBus:Trigger("MyEvent", { data = 123 })

Clone this wiki locally