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_libarrow-up-right


โš™๏ธ 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.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)

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