You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 extensive documentation for an easy coding workflow
Provides event systems, entity handling, and utility functions
Provides easy registration for instantiated DB and logger
Quick Example
-- Create and Trigger a custom eventlocalmyCustomEvent=KCDUtils.Events.CreateEvent("MyMod.TestCustomEvent")
mod.TriggerCustomEvent=function(message)
myCustomEvent.Trigger({ message=message })
end