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

Whitelisting Players

  • Purpose: Restricts access to the crafting system to specific players.

  • Enabling Whitelisting:

    1. Set Config.Whitelisted to true.

    2. Add players (by their FiveM license identifier) to the Config.WhitelistedPlayers table.

  • Example:

    Config.Whitelisted = true  -- Enables whitelisting
    Config.WhitelistedPlayers = {
        ["license:your_license_identifier_here"] = true, 
        -- Add more players as needed
    }
  • Adding Players to the Whitelist In-Game:

    1. Use the /addwhitelistcrafting [serverid] command in-game (replace [serverid] with the target player's server ID).

    2. This command will add the specified player's license identifier to the Config.WhitelistedPlayers table in your config.txt.

PreviousEXP EnabledNextWhitelisted Admins

Last updated 9 months ago