> For the complete documentation index, see [llms.txt](https://docs.moxha.dev/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.moxha.dev/documentation/paid-scripts/motels/introduction/auto-system.md).

# Auto System

{% hint style="success" %}
You can make the any motel automatic. So players can rent rooms for themselves.
{% endhint %}

{% hint style="info" %}
Automatic Rent Menu
{% endhint %}

<figure><img src="/files/lHYgQHHm1vIRIsID1HkM" alt=""><figcaption></figcaption></figure>

<div><figure><img src="/files/mBu0y2SSl5WywyOp7Tpk" alt=""><figcaption></figcaption></figure> <figure><img src="/files/KMkywmsXv2YsSy2iOl0c" alt=""><figcaption></figcaption></figure></div>

## You Can Configure Price Per Minute.

{% hint style="info" %}
mx-motels > server > motels.lua
{% endhint %}

```lua
expense = 50,                              -- One minute rent price. 
```

## The Room Management Menu Changes Slightly.

<figure><img src="/files/Y4FMkeIgA5lnO9a1jOkL" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}

```
Create Key is only available for metadata inventories.

ox_inventory, qb-inventory, qs-inventory
```

{% endhint %}
