> 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/share-key.md).

# Share Key

{% hint style="warning" %}
The room share is only for inventory without metadata. If you have the metadata just share your meta key.
{% endhint %}

{% hint style="info" %}
Key can be shared with nearby players. Command is "shareMotelKey" \[configurable]
{% endhint %}

{% hint style="info" %}

### You can configure the maximum number of people it can be shared with.

{% endhint %}

> mx-motels > shared > config.lua

```
roomSharingMaximum = 3,         -- Maximum room sharing
```

<div><figure><img src="/files/50x98iMkZnkBGphiVSHG" alt=""><figcaption></figcaption></figure> <figure><img src="/files/4xbl0vpBG0ES71Fqmv5t" alt=""><figcaption></figcaption></figure></div>

<div align="center"><figure><img src="/files/OYT2ehdA14xO5760KmZb" alt=""><figcaption></figcaption></figure></div>
