# Sub Owners

<figure><img src="https://36113860-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1vEl4u37HzsUUsBP0oWM%2Fuploads%2FGtnVxPx8BbG4re1UqFV5%2Fimage.png?alt=media&#x26;token=e6b4ba53-8f55-4a56-b79c-f41eb8f60533" 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
```
