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

# Configuration

Every option in config.lua and shared/props.lua.

All options are in `config.lua`. The prop list is in `shared/props.lua`. Both files are open (not escrowed).

## Language

| Option          | Default | Description                                                                            |
| --------------- | ------- | -------------------------------------------------------------------------------------- |
| `Config.Locale` | `'en'`  | `'en'` or `'pl'`. Add your own language by copying the `en` table in `Config.Locales`. |

## Lifetime

| Option                | Default | Description                                               |
| --------------------- | ------- | --------------------------------------------------------- |
| `Config.Lifetime`     | `600`   | Seconds an item stays on the ground before it disappears  |
| `Config.ItemLifetime` | `{}`    | Per-item override, e.g. `['money'] = 120`                 |
| `Config.Persist`      | `true`  | Ground items survive restarts (saved in KVP, no database) |

## Props

| Option                  | Default                  | Description                                                                   |
| ----------------------- | ------------------------ | ----------------------------------------------------------------------------- |
| `Config.DefaultModel`   | `'prop_paper_bag_small'` | Model for items not listed in `shared/props.lua`                              |
| `Config.RenderDistance` | `50.0`                   | Distance at which ground items are visible                                    |
| `Config.IgnoreItems`    | `{}`                     | Items that should use the default ox\_inventory drop, e.g. `['money'] = true` |

## Holding, throwing and placing

| Option                                  | Default    | Description                                         |
| --------------------------------------- | ---------- | --------------------------------------------------- |
| `Config.ThrowForce`                     | `12.0`     | Throw velocity (m/s)                                |
| `Config.ThrowUpBias`                    | `0.15`     | Upward angle added to throws                        |
| `Config.ShowTrajectory`                 | `true`     | Draw the trajectory line while aiming               |
| `Config.MaxThrowDistance`               | `60.0`     | Max distance an item can travel                     |
| `Config.MaxPlaceDistance`               | `4.0`      | Max placing distance                                |
| `Config.MaxGiveDistance`                | `3.0`      | Max hand-over distance                              |
| `Config.HoldTimeout`                    | `120`      | Seconds before a held item returns to the inventory |
| `Config.Cooldown`                       | `1000`     | Milliseconds between actions                        |
| `Config.HandBone` / `Config.HandOffset` | right hand | Default hand prop position                          |
| `Config.HandOffsets`                    | `{}`       | Per-item hand position, e.g. for large props        |

## Marker and label

`Config.Marker` (marker above items) and `Config.Label` (3D item name) can be enabled, styled and given a visibility distance.

## Pickup and limits

| Option                  | Default         | Description                              |
| ----------------------- | --------------- | ---------------------------------------- |
| `Config.PickupDistance` | `2.0`           | ox\_target interaction distance          |
| `Config.TargetRadius`   | `0.45`          | ox\_target sphere radius around the item |
| `Config.Animations`     | `true`          | Throw / pickup animations                |
| `Config.MaxDrops`       | `500`           | Max items on the ground server-wide      |
| `Config.AdminGroup`     | `'group.admin'` | Who can use `/cleardrops`                |

## Prop list (`shared/props.lua`)

```lua
DropProps = {
    ['water']         = 'prop_ld_flow_bottle',
    ['WEAPON_PISTOL'] = 'w_pi_pistol',
    -- ...
}
```

Key = item name from ox\_inventory, value = prop model. Add, remove or change entries to match your server's items.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://rayn-scripts.gitbook.io/rayn-scripts-docs/rayn_itemdrops/configuration.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
