Skip to main content

Configuration

The configuration files are located in the loaf_housing/shared folder. The main files you will most likely edit are:

  • config.lua - Where you configure the script for your liking & server
  • language.lua - If you want to translate the script to another language
  • houses.lua - Where all houses are defined, unless you use my realtor script
  • furniture.lua - Where all furniture objects are defined

Framework

By default the script automatically detects your framework, but if you want to force a framework you can do so in config.lua by changing Framework to one of the following:

  • esx
  • qb

Inventory

By default the script automatically detects your inventory, but if you want to force an inventory you can do so in config.lua by changing Inventory to one of the following:

  • default - qb-inventory or menu based ESX inventory
  • ox - Highly recommended
  • chezza
  • modfreakz
  • qs - quasar

Logs

The script supports logging via Discord. To use this, set your webhook links in loaf_housing/server/config.lua