> For the complete documentation index, see [llms.txt](https://physix-engineering.gitbook.io/physix-engineering-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://physix-engineering.gitbook.io/physix-engineering-documentation/p6-spawner/configuration.md).

# Configuration

The file `custom/shared/config.lua` file serves as the central hub for configuring the script. Each setting is accompanied by a detailed explanation of its purpose and is preloaded with default values for ease of use.

## **Adding or Modifying Object/Prop Categories**

The script automatically detects available categories by reading the folder structure inside:\
📂 `ui/img/object/`

You can **rename, delete, or create new categories** within this directory, and they will be automatically recognized.

💡 **Important:**

* If you **rename** or **create** a new category, make sure to add its corresponding translation in the **locales file** to ensure proper language support.
* If no translation is provided, the folder name will be used as the default category label.

## **Adding Custom Objects & Props**

To include new objects or props in the spawner, follow these simple steps:\
1️⃣ Upload an image representing the object/prop to **`ui/img/object/`**, placing it inside an existing or newly created category.\
2️⃣ Ensure the image is in **WEBP format** for compatibility.\
3️⃣ Name the image file exactly as the **object/prop name** that should be spawned.

🚀 Once added, the new objects and props will be available in the spawner menu, ready for use!
