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 = true, -- 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)
        pauseCraftingOnExit = false, -- Pause the crafting process when the player exits the bench
        disableLevelSystem = false, -- Disable the levels for 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 using the bench (can only be false if allowMultipleUsers is disabled).
    • removeBlueprintOnCraft: Remove the blueprint from the player after crafting.
    • enableSpotlight: Enable the spotlight for the bench.
    • enablePortableBenches: Enable portable benches, allowing players to place the bench themselves with items.
    • enableBlueprintItems: Enable blueprint items, requiring players to have the blueprint item in their inventory to craft.
    • colors: Set the primary and neutral colors of 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: Enable or disable blueprint durability, with a default number of uses.
    • adminBenchAccess: Allow admins to use all benches.
    • kickPlayerOnDamage: Kick the player from the bench if they take damage.
    • blueprintStrictMode: Require players to have a blueprint for every item they want to craft (only works if enableBlueprintItems is enabled).
    • pauseCraftingOnExit: Pause the crafting process when the player exits the bench.
    • disableLevelSystem: Disable the levels for the bench.
  4. Save the file and restart the resource.

On this page