Installation

🛡️ Guardian HUD ACE Permissions Setup

📦 Step 1: Drop the Resource

Place the GuardianHudV2 folder inside your server’s resources directory.

resources/
└── GuardianHudV2/

Requirements: ox_libarrow-up-right


⚙️ Step 2: Add to server.cfg

Ensure it starts after any required dependencies:

ensure ox_lib
ensure GuardianHudV2

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",
    prio = "guardianhud.prio",
    settings = "guardianhud.settings",
}

📜 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