> For the complete documentation index, see [llms.txt](https://docs.otherplanet.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.otherplanet.dev/scripts/op-garages-v2/sub-owners.md).

# Sub Owners

<figure><img src="/files/ivpUYr2GQUaqqNfyr4V2" alt=""><figcaption><p>Select Player From Nearby list.</p></figcaption></figure>

## Configuration&#x20;

```lua
Config.SubOwners = {
    Allow = true, -- Disable/Enable sub owners feature.
    Command = "subowner", -- Command Name
    Price = 5000, -- Price of adding subowner
    -- You can add your custom pay method using server/editable/payForSubOwner.lua
    -- You can also set open menu function only for donators or whatever you want using: client/editable/restrictSubOwners.lua
}
```

***

## Restrict Usage

You can restrict usage for only donators or whatever you want.&#x20;

```
client/editable/restrictSubOwners.lua
```
