Guardian Hud System V1 - Installation
🛡️ Guardian HUD ACE Permissions Setup
📦 Step 1: Drop the Resource
Place the guardian_hud
folder inside your server’s resources
directory.
resources/
└── GuardianHudSystemV1/
Requirements: ox_lib
⚙️ Step 2: Add to server.cfg
Ensure it starts after any required dependencies:
ensure ox_lib
ensure GuardianHudSystemV1
To control who can change specific parts of the HUD, configure ACE permissions using the keys in your config.lua
:
🔐 Permissions in config.lua
config.lua
Config.Permissions = {
aop = "guardianhud.aop", -- Change Area of Patrol (AOP)
fz = "guardianhud.fz", -- Access to Fort Zancudo AOP
sg = "guardianhud.sg", -- Access to Sandy/Grapeseed AOP
la = "guardianhud.la", -- Access to Los Angeles AOP
paleto = "guardianhud.paleto", -- Access to Paleto/Roxwood AOP
devstatus = "guardianhud.devstatus" -- Access to developer/status debug commands
}
📜 How to Grant Permissions (in server.cfg
)
server.cfg
)You can assign these permissions to groups like admin
or individual users:
✅ Grant to a Group:
add_ace group.admin guardianhud.aop allow
add_ace group.admin guardianhud.fz allow
add_ace group.admin guardianhud.sg allow
add_ace group.admin guardianhud.la allow
add_ace group.admin guardianhud.paleto allow
add_ace group.admin guardianhud.devstatus allow
🔒 Permissions Logic
Only players with the corresponding permission can access or modify HUD data for restricted zones or developer functions. If a user attempts a restricted action without the permission, the system will block the command and show an error notification.
Last updated