Integrations
Select notifications, hunger and thirst and how clothes are saved in ko/integrations.lua.
In ko/integrations.lua you select which resources the extra features work with. Every value is checked on start. An unknown value prints an error with the accepted values to the console.
| Option | Default | Accepted values | Description |
|---|---|---|---|
Integrations.Notify | 'ko_notify' | 'ko_notify', 'ox_lib', 'esx', 'custom' | Notifications of the extra features. If the selected resource is not started, ox_lib is used |
Integrations.Status | 'esx_status' | 'esx_status', 'none', 'custom' | Source for hunger and thirst. 'none' only shows health and armour |
Integrations.Appearance | 'auto' | 'auto', 'illenium-appearance', 'esx_skin' | Where clothes are saved. 'auto' takes illenium-appearance if started, otherwise esx_skin |
ox_inventory itself
ox_inventory's own messages keep using ox_lib, like the original.
If no appearance resource is started, the wardrobe rail only hides and shows pieces. No item is created and nothing is saved.
ko/integrations.lua
Integrations.Notify = 'ox_lib'
Integrations.Status = 'esx_status'
Integrations.Appearance = 'auto'How to connect your own systems ('custom') is on the "For developers" page.
Was this page helpful?
