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 GuardianHudSystemV1To control who can change specific parts of the HUD, configure ACE permissions using the keys in your config.lua:
๐ Permissions in config.lua
config.luaConfig.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:
๐ 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