Complete installation, death system, NPC, theme, revive, and API reference.
fnx-pvp-panel is the core profile, settings, plugin, death, and revive service used by the PVP suite.
First installation
First setup
Editsettings/public/client/cfg.lua and settings/public/server/cfg.lua. Configure access, death behavior, only the NPC sets used by your lobby, admin permissions, spawn lobby, and revive integration.
Client configuration
Access
Death defaults
Plugin
ClientCfg.Death tables override matching fields and inherit the rest.
NPC action schema
ClientCfg.PedActions is an array. Every entry supports:
The included list contains separate NPC groups for spawnlobby v1, v2, and v3. Disable or remove groups you do not use.
Advertisements
Server configuration
Spawn lobby
Bridge events
ServerCfg.BridgeEvents lets standalone or custom-framework servers forward their own load/unload events into the panel/community bridge lifecycle.
Use this only when the normal bridge/framework load and unload events are not available.
Command schema
BothgiveNicknameChange and giveImageChange use these keys:
Shared files and automatic revive
shared/public/_main.lua selects one revive event when the panel starts. Selection priority is:
Detection happens while the shared file loads. Start the medical resource before the panel or restart the panel after changing medical resources.
Theme system
The current cfg values
FF1638F9 and FF3CFBF1 are not standard CSS hex strings because they lack #. Use values such as #1638F9 or an explicit rgba() value.
Developer info
Client exports
Server exports
Shared exports
Common issues
Panel does not open
Check start order,Access.enabled, command name, and the player’s FiveM key mapping.
Wrong medical event is selected
Start the intended medical resource before the panel. When multiple supported resources run, the first match in the documented priority wins.NPC is missing
Check enabled state, resource requirements, coordinates, model, and draw distance.Theme accent is ignored
Use valid CSS strings. Add# to hexadecimal values.
