> For the complete documentation index, see [llms.txt](https://arivia.rlib.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://arivia.rlib.io/developers/entities/prestige.md).

# ▸prestige

## Alias

&#x20;           *`prestige, prest`*

## Source

&#x20;           *`added in Arivia v3`*

## Requires

&#x20;           *`compatible prestige addon`*

## Type

&#x20;           *`integer`*

## Info

Providing the **prestige** field to an entity will force players to be that particular prestige amount before they can buy the item.

## Example

{% tabs %}
{% tab title="addentities.lua" %}

```lua
DarkRP.createEntity( 'Tip Jar',
{
    ent         = 'darkrp_tip_jar',
    model       = 'models/props_lab/jar01a.mdl',
    price       = 5,
    max         = 2,
    cmd         = 'tipjar',
    level       = 1,
    prestige    = 2,
} )
```

{% endtab %}

{% tab title="alias" %}

```lua
DarkRP.createEntity( 'Tip Jar',
{
    ent         = 'darkrp_tip_jar',
    model       = 'models/props_lab/jar01a.mdl',
    price       = 5,
    max         = 2,
    cmd         = 'tipjar',
    lvl         = 1,
    prest       = 2,
} )
```

{% endtab %}
{% endtabs %}

## Output

If a player views an entity with a prestige requirement that the player does not meet; the entity will be faded in the menu:

![Example of entity when player does not have needed prestige requirement](/files/-MK-lGdCp89cFw9MxnJN)

The player will also be given an error message:

![Example of selected entity when player does not have needed prestige requirement](/files/-MK-lLhPIb68zwZ9a6rZ)

## Notes

If you wish to enable or disable the prestige plugin all-together on Arivia; you must open **lua\modules\arivia\cfg\sh\_13\_plugins.lua** and modify `cfg.plugins.prestige`
