> For the complete documentation index, see [llms.txt](https://ayznnn.gitbook.io/waveshield/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ayznnn.gitbook.io/waveshield/documentation/configuration/whitelisting-entities.md).

# WhiteListing Entities

When you log into your server for the first time you should get a lot of `Unauthorized resource` & `BlackListed Entity` bans. But don't worry, thats absolutely normal. So how we fix this?

{% tabs %}
{% tab title="Client Config File" %}
Find `EntitiesSettings` in the `config_cl.lua` file.

{% code title="config\_cl.lua" %}

```lua
EntitiesSettings = {
    Props = {
        CheckScript = true,
        AllowedScripts = {
            ["es_extended"] = true,
            ["qb-core"] = true,
        },
    },
    Peds = {
        CheckScript = true,
        AllowedScripts = {
            ["es_extended"] = true,
            ["qb-core"] = true,
        },

    },
    Vehicles = {
        CheckScript = true,
        AllowedScripts = {
            ["es_extended"] = true,
            ["qb-core"] = true,
        },
    }
},
```

{% endcode %}

Like the template above, here you must allow your scripts that spawn props, peds, or vehicle by following the example: `["resourceName"] = true,` .\
\
You can find these scripts either in the **Discord Logs when you get banned**, or because it **seems logical** (a vehicle garage for example) or by looking for the natives `CreateVehicle, CreatePed, CreateObject`
{% endtab %}

{% tab title="Server Config File" %}
Find `EntitiesSettings` in the `config_sv.lua` file.

{% code title="config\_sv.lua" %}

```lua
EntitiesSettings = {
    Props = {
        EnableWhiteList = true,
        WhiteListedProps = {
            "prop_ballistic_shield",
            260873931,
        },
        EnablePropsLimiter = true,
        PropsLimitIn5Seconds = 10,
    },
    Peds = {
        EnableWhiteList = true,
        WhiteListedPeds = {
            "a_m_y_business_03",
            --etc
        },
        EnablePedsLimiter = true,
        PedsLimitIn5Seconds = 10,
    },
    Vehicles = {
        EnableBlackList = true,
        BlackListedVehicles = {
            "jet",
            "voltic",
            --etc
        },
        EnableVehiclesLimiter = true,
        VehiclesLimitIn5Seconds = 8,
        EnableDeleteVehicleLimiter = true,
        DeleteVehiclesLimitIn5Seconds = 3,
    },
},
```

{% endcode %}

####

#### Props

Here you have to insert the props you want to allow on your server by entering either its model number (hash) or its name in quotes like the examples above.

You can find them either in the Discord logs when you get banned, or in your scripts directly.

#### Peds

In the same way as for the props, you have to insert the peds you want to allow on your server (not the ambient peds, nor those of your players) but the ones you make appear manually.

#### Vehicles

The simplest way is to insert here only the name of the vehicles that you do not want on your server.
{% endtab %}
{% endtabs %}
