RISK SCRIPTS
TEBEXDISCORD
  • Welcome to RISK DOCUMENTAION
  • Discord Integration
    • Discord Webhooks
    • Discord Bot Token
  • SCRIPTS
    • 🔔Notify
      • ⚙️Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ & Troubleshooting
    • 🚚Cargo Job
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ & Troubleshooting
    • 🖼️Loadingscreen
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • Driving-School
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ & Troubleshooting
    • 🎣FREE AFK Fishing Script
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🚘Vehicle Shop
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🐝Beekeeping Script
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🔎Advanced Metal Detector Script
      • 📝Editable
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🛍️24/7 Market
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🛍️Weapon Market
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🛍️Black Market Script
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🚗Simple Garage
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🎲4 in Row Script
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🎒Outfit Bag Script
      • 💡Installation
      • ⚙️Configuration
      • ⚙️Usage
      • ❔FAQ / Troubleshooting
    • 🔘Radial Menu
      • 💡Installation
      • ⚙️Commands & Event Triggers
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🗒️TicTacToe / X and O
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🏦Simple Banking System
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • ⚙️Advanced Crafting System
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🚜Farming System
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🍕Pizza Delivery Script
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🍾Spin the Bottle
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🎇Firework Script
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 📦Blindfold
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
Powered by GitBook
On this page
  1. SCRIPTS
  2. Beekeeping Script

Configuration

Config = {

    Debug                   = false,                                             --  Enables/Disables debug mode
    IdentifierType          = "license",                                         --  Alternatively: "steam"

    BeeKeeper = {

        ClothingEnabled     = true,                                             --  Whether the protective suit is enabled
        SingleSuitItem      = "beekeeper_suit",                                 --  Name of the beekeeper suit item
        HiveDangerDistance  = 5.0,                                              --  Distance at which bees start to sting
        DamageInterval      = 3000,                                             --  Time in ms between stings
        DamageAmount        = 5,                                                --  Damage per sting
        MinimumHealth       = 102,                                              --  Health won't go below this


        SequenceStepsMale = {
            { dict = "clothingshoes",        anim = "try_shoes_positive_d",    duration = 1400, applyComponent = true, componentId = 6,  drawable = 72, texture = 9  },
            { dict = "clothingtrousers",     anim = "try_trousers_neutral_c",  duration = 1400, applyComponent = true, componentId = 4,  drawable = 40, texture = 0  },
            { dict = "clothingshirt",        anim = "try_shirt_positive_d",    duration = 1400, applyComponent = true, componentId = 11, drawable = 67, texture = 0  },
            { dict = "clothingshirt",        anim = "try_shirt_positive_d",    duration = 1200, applyComponent = true, componentId = 3,  drawable = 77, texture = 0  },
            { dict = "missheist_agency2ahelmet", anim = "take_off_helmet_stand", duration = 1000, removeHelmet = true },
            { dict = "mp_masks@on_foot",     anim = "put_on_mask",             duration = 800,  applyComponent = true, componentId = 1,  drawable = 53, texture = 2  },
            { dict = "clothingspecs",        anim = "take_off",                duration = 800,  applyGlasses   = true, propId = 1,       drawable = 41, texture = 2  },
        },

        SequenceStepsFemale = {
            { dict = "clothingshoes",        anim = "try_shoes_positive_d",    duration = 1400, applyComponent = true, componentId = 6,  drawable = 65, texture = 6  },
            { dict = "clothingtrousers",     anim = "try_trousers_neutral_c",  duration = 1400, applyComponent = true, componentId = 4,  drawable = 40, texture = 0  },
            { dict = "clothingshirt",        anim = "try_shirt_positive_d",    duration = 1400, applyComponent = true, componentId = 8,  drawable = 15, texture = 0  },
            { dict = "clothingshirt",        anim = "try_shirt_positive_d",    duration = 1200, applyComponent = true, componentId = 11, drawable = 61, texture = 0  },
            { dict = "clothingshirt",        anim = "try_shirt_positive_d",    duration = 1200, applyComponent = true, componentId = 3,  drawable = 88, texture = 0  },
            { dict = "missheist_agency2ahelmet", anim = "take_off_helmet_stand", duration = 1000, removeHelmet = true },
            { dict = "mp_masks@on_foot",     anim = "put_on_mask",             duration = 800,  applyComponent = true, componentId = 1,  drawable = 53, texture = 2  },
            { dict = "clothingspecs",        anim = "take_off",                duration = 800,  applyGlasses   = true, propId = 1,       drawable = 43, texture = 2  },
        },
    },


    Seller = {

        Location            = vector3(802.9879, 2175.2734, 52.0708),            --  Seller's location
        MarkerRadius        = 2.0,                                              --  Radius for marker interaction
        ShowDistance        = 10.0,                                             --  Distance from which the marker is visible

        OpenKey             = 38,                                               --  The open key (default: E)
        OpenKeyDisplay      = "E",                                              --  Display name of the key
        HelpText            = "PRESS TO TALK TO THE SELLER",                     --  Help text

        MarkerType          = 21,                                               --  Marker type
        MarkerScale         = { x = 1.0, y = 1.0, z = 1.0 },                     --  Marker scale
        MarkerColor         = { r = 255, g = 215, b = 0, a = 25 },               --  Marker color (RGBA)
        MarkerOffsetZ       = 0.0,                                              --  Vertical offset
        MarkerRotate        = false,                                            --  Whether the marker rotates

        Blip = {
            enable          = true,
            sprite          = 605,
            color           = 5,
            scale           = 0.8,
            text            = "Honey Seller",
        },

        NPC = {
            enable          = true,
            model           = "a_m_m_farmer_01",
            coords          = vector4(802.9879, 2175.2734, 53.0708, 246.0740),
            scenario        = "WORLD_HUMAN_CLIPBOARD",
        },

        ItemsToSell = {
            { label = "Honey Jar",   item = "honeyjar",   pricePerUnit = 50 },
            { label = "Clean Honey", item = "cleanhoney", pricePerUnit = 25 },
            { label = "Dirty Honey", item = "dirtyhoney", pricePerUnit = 10 },
        },

        SellAmount          = 5,                                                --  Number of items to sell per click
        PaymentMethods = {
            { label = "Cash <i class=\"fa-solid fa-money-bill\" style=\"margin-left:7px\"></i>",  type = "cash" },
            { label = "Bank <i class=\"fa-solid fa-money-check-dollar\" style=\"margin-left:7px\"></i>", type = "bank" },
        },

        SellNotifyTitle     = "Seller",                                         --  Notification title
        SellSuccess         = "Successfully sold {count}x {item} for ${money}", --  Success message
        SellNotEnoughItems  = "You do not have enough {item}",                  --  Error if not enough items
        SellNoItemSelected  = "No item selected",                               --  Error if no item selected
        SellNoMethodSelected= "No payment method selected",                     --  Error if no payment method
    },


    Market = {

        Location            = vector3(1532.0930, 1728.2382, 108.9176),          --  Market location
        MarkerRadius        = 2.0,                                              --  Radius for interaction
        HelpDistance        = 2.5,                                              --  Distance for help text
        ShowDistance        = 10.0,                                             --  Distance from which the marker is visible

        OpenKey             = 38,                                               --  Key to open (default: E)
        OpenKeyDisplay      = "E",                                              --  Display name of the key
        HelpText            = "PRESS TO PERFORM AN ACTION",                     --  Help text

        MarkerType          = 21,                                               --  Marker type
        MarkerScale         = { x = 1.0, y = 1.0, z = 1.0 },                     --  Marker scale
        MarkerOffsetZ       = 1.0,                                              --  Vertical offset
        MarkerColor         = { r = 255, g = 215, b = 0, a = 0 },               --  Marker color (RGBA)
        MarkerRotation      = { x = 0, y = 0, z = 90 },                          --  Rotation angle
        MarkerBobUpAndDown  = false,                                            --  Whether the marker bobs
        MarkerRotate        = true,                                             --  Whether the marker rotates

        Items = {
            {
                name        = "Hive Tool",
                item        = "scraper",
                price       = "$50",
                description = "A multipurpose tool used for scraping wax and propolis from the honeycomb.",
                image       = "fork.png",
            },
            {
                name        = "Beehive",
                item        = "hive",
                price       = "$30",
                description = "A wooden beehive where bees can live and produce honey.",
                image       = "haus.png",
            },
            {
                name        = "Placement Scanner",
                item        = "forestscanner",
                price       = "$100",
                description = "Scans the environment to find suitable locations for placing a beehive.",
                image       = "map.png",
            },
            {
                name        = "Empty Honey Jar",
                item        = "emptyhoneyjar",
                price       = "$5",
                description = "A clean glass jar ready to be filled with fresh honey.",
                image       = "honeyjar.png",
            },
            {
                name        = "Beehive Frame",
                item        = "beehiveframe",
                price       = "$15",
                description = "A wooden frame used in a beehive where bees build honeycomb.",
                image       = "beeframe.png",
            },
            {
                name        = "Beekeeper Suit",
                item        = "beekeeper_suit",
                price       = "$500",
                description = "A full protective suit to prevent bee stings while tending to the hive.",
                image       = "suit.png",
            },
            {
                name        = "Bees",
                item        = "bees",
                price       = "$50",
                description = "A small colony of bees to populate your hive.",
                image       = "bees.png",
            },
        },

        Blip = {
            enable          = true,
            sprite          = 52,
            color           = 5,
            scale           = 0.8,
            text            = "Market",
        },

        NPC = {
            enable          = true,
            model           = "a_m_m_business_01",
            coords          = vector4(1532.0930, 1728.2382, 109.9176, 91.6576),
            scenario        = "WORLD_HUMAN_STAND_IMPATIENT",
        },
    },


    Collector = {

        MarkerRadius        = 2.0,                                              --  Radius for collector interaction
        HelpDistance        = 2.5,                                              --  Distance for help text
        ShowDistance        = 10.0,                                             --  Distance from which the marker is visible

        OpenKey             = 38,                                               --  The open key (default: E)
        OpenKeyDisplay      = "E",                                              --  Display name of the key
        HelpText            = "PRESS E to confirm placement",                   --  Help text

        MarkerRotate        = false,                                            --  Whether the marker rotates
        RewardItem          = "dirtyhoney",                                     --  The item rewarded
        RewardQuantity      = 10,   --Leave it trust me:D                       --  Amount of the reward
        PlaceableItem       = "hive",                                           --  Item needed for placement
        Scenario            = "WORLD_HUMAN_HAMMERING",                          --  Animation scenario
        ScenarioDuration    = 1500,                                             --  Duration of animation (ms)
        PropModel           = "bzzz_props_beehive_box_001",                     --  Model name
        PropAlpha           = 255,                                              --  Transparency
        BeesWaitTime        = 500,                                              --  Time (sec) until bees are done
        ProgressText        = "PLACING THE BEEHIVE...",                         --  Progress text

        EnableHiveBlip      = true,                                             --  Whether a blip is added
        HiveBlipSprite      = 783,                                              --  Blip icon
        HiveBlipName        = "Beehive",                                        --  Blip text
        HiveBlipScale       = 0.7,                                              --  Blip scale
        HiveBlipColor       = 5,                                                --  Blip color

        RequiredFramesItem  = "beehiveframe",                                   --  Required item (bee frames)
        RequiredFramesCount = 5,                                                --  Number of frames needed
        BeeItem             = "bees",                                           --  Bee item
    },


    Cleaner = {

        MarkerType          = 21,
        MarkerRotate        = false,

        Location            = vector3(-796.7173, 185.6047, 72.6054),
        MarkerRadius        = 2.0,
        HelpDistance        = 2.5,
        ShowDistance        = 10.0,

        OpenKey             = 38,
        OpenKeyDisplay      = "E",
        HelpText            = "PRESS TO CLEAN HONEYCOMB",

        Blip = {
            enable          = true,
            sprite          = 52,
            color           = 5,
            scale           = 0.8,
            text            = "Honey Cleaner",
        },

        RewardItem          = "cleanhoney",
        RewardQuantity      = 5,
        RequiredHoneyItem   = "dirtyhoney",
        RequiredHoneyCount  = 10,
        RequiredToolItem    = "spatula",

        Prop = {
            enable          = false,
            model           = "prop_plate_02",
            coords          = vector4(-796.0118, 184.8678, 72.6032, 297.9869),
        },
    },


    Mixer = {

        MarkerType          = 21,
        Location            = vector3(1217.0969, 1905.1538, 76.8086),
        MarkerRadius        = 2.0,
        HelpDistance        = 2.5,
        ShowDistance        = 10.0,

        OpenKey             = 38,
        OpenKeyDisplay      = "E",
        HelpText            = "PRESS TO MIX YOUR HONEY",

        MarkerRotate        = false,

        Blip = {
            enable          = true,
            sprite          = 52,
            color           = 5,
            scale           = 0.8,
            text            = "Honey Mixer",
        },

        RequiredHoneyItem   = "cleanhoney",
        RequiredHoneyCount  = 4,
        RewardItem          = "honeyjar",
        RewardCount         = 1,
        RequiredEmptyJarItem= "emptyhoneyjar",

        Prop = {
            enable          = true,
            model           = "prop_table_07",
            coords          = vector4(1217.0969, 1905.1538, 76.8086, 129.8678),
        },
    },


    ForestScanZones = {
        { center = vector3(1353.7408, 1477.2067, 102.3420), radius = 100, color = 46, alpha = 100 },
        { center = vector3(-250, 3500, 50),                  radius = 500, color = 46, alpha = 100 },
    },

    ForestScannerItem   = "forestscanner",                                  --  Item name for the forest scanner


    Notifications = {

        marketTitle        = "Market",                                       
        notEnoughMoney     = "Not enough money",                            
        honeyCollected     = "You have collected {quantity} honeycombs",    
        honeyTitle         = "Beehive",                                     

        beesCollecting     = "Your bees are collecting honey. Come back in {minutes} minutes!",
        beesNotReady       = "Your bees haven't collected enough yet! Come back in {minutes} minutes!",
        beesFinished       = "Your bees are ready! You can now open the beehive!",

        notInZone          = "You can't place the beehive here! Please go to a forest area.",
        forestScanUsed     = "You can now see forest areas on your map!",
        forestScanHide     = "You have hidden the forest areas on your map!",
        notYourHive        = "This is not your beehive!",

        cleanerMissingHoney= "You need at least {count}x {item} to clean the honey!",
        cleanerMissingSpatula = "You need a spatula to clean the honey!",
        mixerMissingHoney  = "You need at least {count}x {item} to mix the honey!",
        stungDamage        = "Bees are stinging you! Wear your beekeeper suit!",
        collectorMissingFrames= "You need {count}x Beehive Frame to place the hive!",
        mixerMissingJar    = "You need at least 1 Empty Honey Jar to start mixing!",
        missingBeeItem     = "You need a bee item to place bees in the beehive!",

        placeBeesSuccess   = "Your bees are now collecting honey. Come back in {minutes} minutes!",
        placeBeesEmote     = "You have successfully placed the bees in the beehive!",
        placeHiveReminder  = "Please place bees in your beehive!",
		
		inventoryFull      = "Your inventory is full",
    },
}

BeeKeeper

  • ClothingEnabled: If true, players wear a custom beekeeping suit via animations.

  • HiveDangerDistance: Distance at which players without suits start taking bee-sting damage.

  • DamageInterval & DamageAmount: Frequency and severity of sting damage.

  • SequenceStepsMale/SequenceStepsFemale: Detailed steps for applying clothing items, with each step dictating an animation and which component to equip.

Seller

  • Location: Where the honey seller stands (vector3 coords).

  • NPC: If enabled, spawns a custom NPC model performing a scenario (e.g., reading a clipboard).

  • ItemsToSell: A list of items the seller buys, each with a pricePerUnit.

  • PaymentMethods: Payment types (cash, bank, etc.).

  • SellNotifyTitle, SellSuccess, etc.: Custom messages for successful or failed sales.

Market

  • Location: A shop location (marker, help text, etc.) for players to purchase beekeeping items (e.g., hive, beekeeper_suit, etc.).

  • Items: The listing of products, each with a name, item, price, description, and image.

  • Blip & NPC sections: Controls map icons and an optional NPC for the market.

Collector

  • PlaceableItem: The item required to place a beehive (e.g., hive).

  • PropModel: The actual beehive prop (spawned in the world).

  • RequiredFramesItem & RequiredFramesCount: Additional items needed before a hive can be placed (e.g., beehive frames).

  • RewardItem & RewardQuantity: What players get upon retrieving honey from a hive (dirtyhoney, for example).

Cleaner & Mixer

  • Specific locations and logic for turning dirtyhoney into cleanhoney, and eventually mixing it into a final honeyjar.

  • Each step can require certain items (RequiredHoneyItem, RequiredToolItem) and yields a reward (RewardItem).

ForestScanZones

  • Define areas on the map that players can detect with a forestscanner item, guiding them to suitable hive-placing zones.

Notifications

  • notEnoughMoney, missingBeeItem, etc.: Localized text strings for every beekeeping action (insufficient tools, stung by bees, etc.).

PreviousInstallationNextUsage

Last updated 15 days ago

🐝
⚙️