Skip to main content

Admin Access · ACE + License Fallback

Nord Inventory v1.6.11 supports two administrator authorization methods without exposing license identifiers to the client.

Access order

The server resolves admin access in this order:

  1. Console — server console commands are trusted.
  2. ACE — checks the configured ACE object.
  3. License fallback — checks the player's FiveM license: identifier against the private allowlist.

ACE configuration

The default ACE object is:

Config.AdminAce = 'nord_inventory.admin'
add_ace group.admin nord_inventory.admin allow

You can assign a license to a group through ACE if you prefer central permission management:

add_principal identifier.license:YOUR_LICENSE group.admin

Direct license fallback

Edit only:

nord_inventory/server/config.lua

Example:

Config.AdminAccess = {
    UseAce = true,
    Ace = Config.AdminAce or 'nord_inventory.admin',
    LicenseFallback = true,
    Licenses = {
        'license:0123456789abcdef0123456789abcdef01234567',
        '89abcdef0123456789abcdef0123456789abcdef', -- hash-only is accepted
    }
}

Security notes

  • server/config.lua is listed only under server_scripts.
  • Admin license identifiers are never loaded client-side.
  • Keep the license list out of shared config files and NUI JavaScript.
  • ACE remains the preferred method when you already manage staff groups centrally.
  • The fallback is useful when ACE is unavailable, misconfigured or intentionally not used.

Admin Studio

The default command is:

/norditems

Admin commands use the same access resolution, so ACE and license fallback apply consistently.