> For the complete documentation index, see [llms.txt](https://documentation.rcore.cz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.rcore.cz/paid-resources/rcore_housing/configuration/general.md).

# General

Edit `rcore_housing/configs/config.general.lua` to tune spatial streaming, exterior LOD, and network rate limits.

## 🗺️ Grid

```lua
Config.Grid = {
    CellSize     = 150.0,
    PollInterval = 1500,
}
```

| Option         | Default | Description                                                             |
| -------------- | ------- | ----------------------------------------------------------------------- |
| `CellSize`     | `150.0` | Size of each grid cell (GTA units) used for spatial property streaming. |
| `PollInterval` | `1500`  | How often (ms) the client re-evaluates which grid cell it is in.        |

Raise `PollInterval` if you see CPU pressure from busy areas. Lower `CellSize` for dense MLO blocks where players need finer streaming granularity.

## 🌆 Exterior

```lua
Config.Exterior = {
    LOD_DISTANCE = 200.0,
}
```

`LOD_DISTANCE` is the maximum distance at which shell exteriors are rendered. Set higher for visibility on hilltop properties, lower for performance.

## 🌐 Data

```lua
Config.Data = {
    RateLimiterClient = 400,
    BPS = 5000,
}
```

| Option              | Default | Description                                                     |
| ------------------- | ------- | --------------------------------------------------------------- |
| `RateLimiterClient` | `400`   | Minimum milliseconds between client-initiated network requests. |
| `BPS`               | `5000`  | Max bytes per second allowed through the network bridge.        |

## 🎯 Proximity Check

```lua
Config.CheckDistanceServer = 5.0
```

Maximum distance (GTA units) the server allows when validating that a client action happened next to the right entity.

{% hint style="warning" %}
Loosening `CheckDistanceServer` opens you up to spoofed-position exploits. Only raise it if you see legitimate proximity rejections in your logs.
{% endhint %}
