Page cover

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!


  1. Chat

  2. GTA


In Game Preview
No Permission For Global Change Permission Preview

Discord Logging Preview


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

Last updated