# NPC Manager

The **NPC Manager Script** for FiveM is the one-stop solution for managing NPCs via in game, this script supports client sided changing, as well a global sided changing, This script has built in discord logging via webhooks (Optional) and has Ace Permissions!

***

<figure><img src="https://1417723968-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRh5ewdSY4npjj2afCrn%2Fuploads%2FG7Ppyqch4zt8DljqHQgy%2Fimage.png?alt=media&#x26;token=8f310974-d6cb-4b38-9f82-09a8efba2c27" alt=""><figcaption></figcaption></figure>

1. [VeniceNotify](https://forum.cfx.re/t/codem-advancednotifysystem/4812202)
2. [OkOkNotify](https://forum.cfx.re/t/okoknotify-standalone-paid/3907758)
3. [Ox\_lib](https://github.com/overextended/ox_lib)
4. Chat
5. GTA

***

<figure><img src="https://1417723968-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRh5ewdSY4npjj2afCrn%2Fuploads%2FcjHtQH2wOzZHLKnlKate%2FPreview.png?alt=media&#x26;token=5ffabc92-3a40-471e-9e58-daa4e56f7c4b" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1417723968-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRh5ewdSY4npjj2afCrn%2Fuploads%2FfvwoXRmL0L9j5jyxdbCb%2Fimage.png?alt=media&#x26;token=dcd52358-062e-4a52-b7c0-60a3abb1fe04" alt=""><figcaption><p>In Game Preview</p></figcaption></figure>

<div align="center"><figure><img src="https://1417723968-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRh5ewdSY4npjj2afCrn%2Fuploads%2Fy9AcdkXHsA7lzrEzLZHQ%2Fimage.png?alt=media&#x26;token=a554cd30-f466-49d9-88ae-ffb1a26bfe87" alt=""><figcaption><p>No Permission For Global Change Permission Preview</p></figcaption></figure></div>

<figure><img src="https://1417723968-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRh5ewdSY4npjj2afCrn%2Fuploads%2FxeyomsUli36jV4qboyEM%2Fimage.png?alt=media&#x26;token=f91cc13a-e7ae-45de-84a6-c57ffe173d99" alt=""><figcaption></figcaption></figure>

<p align="center">Discord Logging Preview</p>

***

```lua
Config = {
-----------------------------------------------------------------------------------------------------
-- Default NPC Configurations
-----------------------------------------------------------------------------------------------------
pedFrequency = 1.0, -- Default Pedestrian Density
trafficFrequency = 1.0, -- Default Traffic Density
-----------------------------------------------------------------------------------------------------
-- Notification Configurations
-----------------------------------------------------------------------------------------------------
NotifyType = 'Ox_lib', -- Options: VeniceNotify, OkOkNotify, ADNotify, Ox_lib, Chat, GTA
notifyTime = 10000, -- Default notification time in milliseconds
-----------------------------------------------------------------------------------------------------
-- ACE Permission Configurations
-----------------------------------------------------------------------------------------------------
UseAcePermission = false, -- Enable/Disable ACE permissions
npcPermission = "", -- ACE permission for the NPC command
globalChangePermission = "", -- ACE permission for the Global NPC Change
-----------------------------------------------------------------------------------------------------
-- Discord Role Locking Configurations
-----------------------------------------------------------------------------------------------------
UseDiscordRoleLocking = true, -- Enable/Disable Discord role-based permissions via Badger Perms API
DiscordRoleMenuPermission = "DISCORDROLEID", -- Discord role ID for NPC menu access
DiscordRoleGlobalPermission = "DISCORDROLEID", -- Discord role ID for global config changes
-----------------------------------------------------------------------------------------------------
-- Discord Logging Configurations
-----------------------------------------------------------------------------------------------------
WebHookLogging = true, -- Enable/Disable Discord WebHook Logging
WebHookURL = "Your webhook link" -- The URL for the Discord webhook
}

return Config
```

{% hint style="success" %}
Downloads

\[FREE] [Free Version](https://arcticdevelopment.tebex.io/package/6574718)

\[PAID] [Open Source Version](https://arcticdevelopment.tebex.io/package/6575766)
{% endhint %}
