PixelCraft Official Docs
  • Welcome
  • Information
    • Discord Roles
    • How to update your asset
    • FiveM Asset Escrow System
  • Assets and Guides
    • PC-Crafting-V2
      • Installation
      • Configuration
        • Inventory System
        • Core Framework
        • Language
        • EXP Enabled
        • Whitelisting Players
        • Whitelisted Admins
        • Weapon Damage Multipliers
        • Weapon Parts Configuration
        • Crafting & Repair Experience
        • Crafting Locations
        • Database Setup
        • Custom Weapons
        • Crafting Recipes
        • Attachments
      • Troubleshooting
      • Commands
      • Support
    • PC-Security
      • Installation
      • Configuration
        • Job Routes
        • Level Thresholds
        • Level-Specific Configurations
        • Damage Threshold
        • Police Alert
        • Security Shop Items
        • Criminal Rewards
        • Blips
      • Support
Powered by GitBook
On this page
  1. Assets and Guides
  2. PC-Crafting-V2
  3. Configuration

Whitelisted Admins

  • Purpose: Restricts access to the admin panel and the UI to certain admins.

  • Enabling Whitelisting admins:

    1. Add players (by their FiveM license identifier) to the Config.WhitelistedAdmins

      table.

  • Example:

    Config.WhitelistedAdmins = {
        "license2:e029f99cc4975eebb22d974c762013772ebf5e07",
        "license:e029f99cc4975eebb22d974c762013772ebf5e08" --You can add more
        --Use licence2 in QBOX, just licence in Qbcore and for ESX, use character identifiers, eg.,char1:e029f99cc4975eebb22d974c762013772ebf5e07 
    }
PreviousWhitelisting PlayersNextWeapon Damage Multipliers

Last updated 2 months ago