Configuration

Bench Options

Learn how to configure the bench options.

Configuring Bench Options

  1. Open config.lua in the resource folder.

  2. Find the BenchOptions section:

    BenchOptions = {
         allowMultipleUsers = false, -- Allow multiple users to use the same bench at the same time
         isInvincible = false, -- Make the player invincible while using the bench (can only be false if allowMultipleUsers is disabled)
         removeBlueprintOnCraft = false, -- Remove the blueprint from the player after crafting
         enableSpotlight = true, -- Enable the spotlight for the bench
         enablePortableBenches = true, -- Enable portable benches. This will allow the player to place the bench themselves with items. (this needs to be setted up, check out the documentation)
         enableBlueprintItems = false, -- Enable the blueprint items. The player will need to have the blueprint item in their inventory to craft the item. (this needs to be setted up, check out the documentation)
         colors = {
             primary = '#00d9ff', -- The primary color of the bench
             neutral = 'hsl(20, 14.3%, 4.1%)' -- The neutral color of the bench
         },
         hideUnavailableRecipes = false, -- Hide the recipes that the player can't craft
         filterMissingBlueprintRecipes = false, -- Filter out the recipes that the player doesn't have the blueprint for
         blueprintDurability = { -- Only works if enableBlueprintItems and removeBlueprintOnCraft is enabled
             isEnabled = false, -- Enable or disable blueprint durability
             defaultUses = 5 -- The default uses of the blueprint
         },
         adminBenchAccess = true, -- Allow admins to use all benches
         kickPlayerOnDamage = false, -- Kick the player from the bench if they take damage
         blueprintStrictMode = false, -- The player must have a blueprint for every item they want to craft. (only works if enableBlueprintItems is enabled)
         persistentQueue = false, -- Saves the queue for the player, so they can continue crafting after exiting the bench
    }
  3. Modify the options as needed. Available options include:

    • allowMultipleUsers: Allow multiple users to use the bench simultaneously.
    • isInvincible: Make the player invincible while crafting (only works if allowMultipleUsers is false).
    • removeBlueprintOnCraft: Remove the blueprint from the player after crafting.
    • enableSpotlight: Enable spotlight effects for the bench.
    • enablePortableBenches: Enable portable benches, allowing players to place them with specific items.
    • colors: Customize the primary and neutral colors for the bench.
    • hideUnavailableRecipes: Hide recipes that the player can't craft.
    • filterMissingBlueprintRecipes: Filter out recipes that the player doesn't have the blueprint for.
    • blueprintDurability: Set blueprint item durability options. Only works if enableBlueprintItems and removeBlueprintOnCraft are enabled.
    • adminBenchAccess: Allow admins to use all benches.
    • kickPlayerOnDamage: Kick the player from the bench if they take damage.
    • blueprintStrictMode: Require a blueprint for every item the player wants to craft. Only works if enableBlueprintItems is enabled.
    • persistentQueue: Save the queue for the player, allowing them to continue crafting after exiting the bench.
  4. Save the file and restart the resource.

On this page