Envi Scripts Documentation
  • 👋Introduction
  • 🌉Envi-Bridge
  • ⚙️Compatibility
  • 🖨️Licensing
  • 📒Premium Scripts
    • ❔FAQ / COMMON ISSUES
    • ‼️FIRST STEPS (READ FIRST)
    • ⭐Useful Resources
    • 👀Envi FiveM Showcase Server
    • 📸Envi-Camera
      • ❗First Steps
      • Inventory Setup
      • Editable Functionality
      • Complete Lens Kit
      • Printing Photos
      • Ped Reactions
      • Exports
      • Config File
    • 🪚Envi-ChopShop
      • Inventory Setup
      • How to Chop
      • Props for AntiCheats
      • Editable Functionality
      • Config File
    • 🪣Envi-Dumpsters
      • Common Issues
      • Inventory Setup
      • Editable Functionality
      • Exports
      • Exclusive Zones
      • Survival Items
      • Shopping Carts
      • Hobo Bowling
      • Hobo Taxi
      • Rats and Racoons
      • Config File
      • V2 Config
    • 💺Envi-Ejector-Seats
      • Inventory Setup
      • How to Eject
      • Editable Functionality
      • Config File
    • 🔥Envi-Flamethrower (Standalone)
      • Common Issues
      • Inventory Setup
      • Refueling
      • Editable Functionality
      • Config File
    • 🪽Envi-Flight-Suits
      • Inventory Setup
      • Flight Suits
      • Config File
    • 🍜Envi-Food-Truck
      • ❗VooDoo Required
      • Common Issues
      • Inventory Setup
      • Adding Additional Grill Items
      • Unique Shops with Liveries
      • Spawning the Trucks
      • Using the Trucks
      • Exports
      • Config File
    • 💍Envi-Forever-Rings
      • Inventory Setup
      • Editable Functionality
      • Ring Shop MLO
      • Config File
    • 💻Envi-Hack-Minigames (Standalone)
      • The Worm
      • Password
      • Firewall
      • Node Runner
      • Config File
    • 🎞️Envi-HUD
      • ❗First Time Setup
      • Common Issues
      • Inventory Setup
      • Adding Custom Weapons
      • Change Logo
      • Custom Fonts
      • Converting Notifications
      • Converting Progress Bars
      • Editable Functionality
      • Settings Save Location
      • Exports and Events
      • Commands
      • Vehicle Control
      • Anti Muscle Spasm
      • Ragdoll
      • Config File
    • 🎇Envi-Items
      • Inventory Setup
      • Config File
    • 🚑Envi-Medic
      • Common Issues
      • Fully Disable Transport to Hospital
      • Failsafe
      • Ambulance Scripts
      • Vehicle Fuel
      • Vehicle Keys
      • Exports
      • Config File
    • ☄️Envi-MethVan
      • Common Issues
      • Inventory Setup
      • Cooking Process
      • Editable Functionality
      • Adding a Vehicle
      • Config File
    • 🍃Envi-Megablower9000 (Standalone)
      • Inventory Setup
      • Config File
    • 👯Envi-Population (Standalone)
      • ❗Initial Setup
      • Common Issues
      • Config File
    • 🗒️Envi-Prescriptions
      • Common Issues
      • Inventory Setup
      • Editable Functionality
      • Config File
    • 🔧Envi-Sabotage
      • ❗First Time Setup
      • Common Issues
      • Inventory Setup
      • Exports
    • 🛒Envi-Shops
      • Common Issues
      • Inventory Setup
      • Exports
      • Editable Functionality
      • Config File
    • 📱Envi-Trap-Phone
      • Common Issues
      • Inventory Setup
      • Commands
      • Exports
      • Adding Custom Drugs
      • Using the Phone
      • Disabling Extra Services
      • Config Files
        • config.lua
        • dialogueSettings.lua
        • extraServices.lua
        • gangZoneSettings.lua
        • personalitySettings.lua
        • specialContactSettings.lua
    • 👰Envi-Weddings
      • Inventory Setup
      • Starting Info
      • Manually Removing Data
      • Commands
      • Config File
    • 🎅Envi Xmas-Weapons (Standalone)
      • Inventory Setup
      • Config File
    • 🗡️Envi-Zombie-Weapons (Standalone)
      • Inventory Setup
    • 🧟‍♂️Envi-Zombies
Powered by GitBook
On this page
  1. Premium Scripts
  2. Envi-Shops

Config File

PreviousEditable FunctionalityNextEnvi-Trap-Phone

Last updated 21 days ago

This config file is very large, so a text preview won't work. You'll have to download this one to see the entire thing, but there will be some smaller sections available to see. Also, all items in the config are placeholders. Odds are you will not have them in your server, so don't expect this to be 100% plug-n-play without changing the items in the shops

Below is one store configured in the config file. There are 19 pre-configured stores by default.

['24/7 - Strawberry'] = {
    welcomeMessage = 'Welcome to 24/7! - Where dreams come true!',
    mainShopZone = { points = { vec3(33.8501, -1349.2050, 29.4970), vec3(23.2821, -1349.5566, 29.4970), vec3(23.9225, -1337.2926, 29.4970), vec3(34.0443, -1338.5358, 29.4970) } },
    shopKeeper = { location = vec3(24.4608, -1347.2600, 29.4970), heading = 266.0, model = 'mp_m_shopkeep_01', label = 'Shop Keeper', netID = nil },
    baskets = { location = vec3(30.88, -1348.46, 29.0), label = 'Grab/Return Basket', dimensions = { length = 0.5, width = 0.5, height = 1 } },
    maxNoBasketItems = 3, -- amount of items you can add to your basket without having a basket prop in your hand
    enabled = true,       -- THIS LINE IS NEW IN 1.1.0 - set to false to disable the shop (useful if you want to temporarily disable a shop without deleting the whole shop and needed for DisableShop export)
    blip = {
        name = '24/7',
        sprite = 59,
        colour = 25,
        scale = 0.8,
    },
    counter = {
        location = vec3(24.8423, -1346.4615, 29.4970),
        dimensions = { length = 1, width = 4.5, height = 1 },
        distance = 1.2,
        label = 'View Counter',
        anims = {
            checkedOut = {
                dict = 'gestures@m@car@std@casual@ps',
                anim = 'gesture_hello',
            },
            addCounterItem = {
                dict = 'gestures@m@car@std@casual@ps',
                anim = 'gesture_hand_left',
            }
        },
        stock = {
            rolling_paper = { label = 'Rolling Paper', price = 5, quantity = 20, metadata = {} },
            water = { label = 'Water Bottle', price = 2, quantity = 10, metadata = {} },
            coffee = { label = 'Coffee', price = 10, quantity = 10, metadata = {} },
        }
    },

    shelves = {
        ['Drink Shelf'] = {
            location = vec3(27.5508, -1345.3021, 29.4970), -- Ecole Sprunk can/bottles
            dimensions = { length = 1, width = 2, height = 1 },
            distance = 1.2,
            label = 'View Drinks',
            anims = {
                noBasket = {
                    dict = 'gestures@m@car@std@casual@ps',
                    anim = 'gesture_hand_right',
                },
                basket = {
                    dict = 'gestures@m@car@std@casual@ps',
                    anim = 'gesture_hand_left',
                }
            },
            stock = {
                water = { label = 'Water', price = 40, quantity = 50, metadata = { type = 'bottled'} },  -- EXAMPLE OF METADATA ITEM
            }
        },
        ['Savory Shelf'] = { --Rails/Crackles/Tuna/Chickenpot
            location = vec3(28.7508, -1345.3021, 29.4970),
            dimensions = { length = 1, width = 2, height = 1 },
            distance = 1.2,
            label = 'View Shelf',
            anims = {
                noBasket = {
                    dict = 'gestures@m@car@std@casual@ps',
                    anim = 'gesture_hand_right',
                },
                basket = {
                    dict = 'gestures@m@car@std@casual@ps',
                    anim = 'gesture_hand_left',
                }
            },
            stock = {
                twerks_candy = { label = 'Twerks Candy', price = 10, quantity = 10, metadata = {} },
                snikkel_candy = { label = 'Snikkel Candy', price = 10, quantity = 10, metadata = {} }
            }
        },
        ['Cans Shelf'] = { --Tomato/Vegetable soup/ Ketchup/Mayonnaise
            location = vec3(30.3508, -1345.3021, 29.4970),
            dimensions = { length = 1, width = 2, height = 1 },
            distance = 1.2,
            label = 'View Shelf',
            anims = {
                noBasket = {
                    dict = 'gestures@m@car@std@casual@ps',
                    anim = 'gesture_hand_right',
                },
                basket = {
                    dict = 'gestures@m@car@std@casual@ps',
                    anim = 'gesture_hand_left',
                }
            },
            stock = {
                sandwich = { label = 'Sandwich', price = 12, quantity = 20, metadata = {} },
            }
        },
        ['Beers Shelf'] = { -- Pride Brew/AM Beer
            location = vec3(31.6508, -1345.3021, 29.4970),
            dimensions = { length = 1, width = 2, height = 1 },
            distance = 1.2,
            label = 'View Shelf',
            anims = {
                noBasket = {
                    dict = 'gestures@m@car@std@casual@ps',
                    anim = 'gesture_hand_right',
                },
                basket = {
                    dict = 'gestures@m@car@std@casual@ps',
                    anim = 'gesture_hand_left',
                }
            },
            stock = {
                beer = { label = 'Beer', price = 30, quantity = 40, metadata = {} },

            }
        },
        ['Other Shelf'] = { -- Salsa/Chips/Cleaning products
            location = vec3(29.0147, -1342.5839, 29.4970),
            dimensions = { length = 2, width = 1, height = 1 },
            distance = 1.2,
            label = 'View Shelf',
            anims = {
                noBasket = {
                    dict = 'gestures@m@car@std@casual@ps',
                    anim = 'gesture_hand_right',
                },
                basket = {
                    dict = 'gestures@m@car@std@casual@ps',
                    anim = 'gesture_hand_left',
                }
            },
            stock = {
                cleaningkit = { label = 'Cleaning Kit', price = 100, quantity = 10, metadata = {} },
                repairkit = { label = 'Repair Kit', price = 180, quantity = 10, metadata = {} },
            }
        },
        ['Main Fridge'] = { -- Milk/Meat/Juice/Frozen
            location = vec3(32.3889, -1342.5952, 29.4970),
            dimensions = { length = 4, width = 0.5, height = 2 },
            distance = 1.2,
            label = 'Open Fridge',
            anims = {
                noBasket = {
                    dict = 'gestures@m@car@std@casual@ps',
                    anim = 'gesture_hand_right',
                },
                basket = {
                    dict = 'gestures@m@car@std@casual@ps',
                    anim = 'gesture_hand_left',
                }
            },
            stock = {
                sandwich = { label = 'Sandwich', price = 30, quantity = 30, metadata = {} },
            }
        },
        ['Beers Fridge'] = { -- Self Explanatory
            location = vec3(33.9137, -1346.6758, 29.4970),
            dimensions = { length = 0.5, width = 4, height = 2 },
            distance = 1.2,
            label = 'Browse Beers',
            anims = {
                noBasket = {
                    dict = 'gestures@m@car@std@casual@ps',
                    anim = 'gesture_hand_right',
                },
                basket = {
                    dict = 'gestures@m@car@std@casual@ps',
                    anim = 'gesture_hand_left',
                }
            },
            stock = {
                beer = { label = 'Beer', price = 30, quantity = 1000, metadata = {} },
            }
        },
        ['Fruit Stand'] = { -- Self Explanatory
            location = vec3(26.6646, -1348.5793, 29.4970),
            dimensions = { length = 2, width = 1, height = 2 },
            distance = 1.2,
            label = 'Browse Fruits',
            anims = {
                noBasket = {
                    dict = 'gestures@m@car@std@casual@ps',
                    anim = 'gesture_hand_right',
                },
                basket = {
                    dict = 'gestures@m@car@std@casual@ps',
                    anim = 'gesture_hand_left',
                }
            },
            stock = {
                grape = { label = 'Grape', price = 3, quantity = 20, metadata = {} },
            }
        },
        ['Drink Station'] = { -- Slush Machine
            location = vec3(26.8147, -1342.5839, 29.4970),
            dimensions = { length = 2, width = 1, height = 1 },
            distance = 1.2,
            label = 'Drink Station',
            anims = {
                noBasket = {
                    dict = 'gestures@m@car@std@casual@ps',
                    anim = 'gesture_hand_right',
                },
                basket = {
                    dict = 'gestures@m@car@std@casual@ps',
                    anim = 'gesture_hand_left',
                }
            },
            stock = {
                grapejuice = { label = 'Grape Juice', price = 55, quantity = 20, metadata = {} },
            }
        },
        ['Liquor Shelf'] = { -- Self Explanatory
            location = vec3(24.2241, -1343.5574, 29.4970),
            dimensions = { length = 1, width = 1, height = 2 },
            distance = 1.2,
            label = 'Browse Liquor',
            anims = {
                noBasket = {
                    dict = 'gestures@m@car@std@casual@ps',
                    anim = 'gesture_hand_right',
                },
                basket = {
                    dict = 'gestures@m@car@std@casual@ps',
                    anim = 'gesture_hand_left',
                }
            },
            stock = {
                vodka = { label = 'Vodka', price = 85, quantity = 20, metadata = {} },
                whiskey = { label = 'Whiskey', price = 85, quantity = 20, metadata = {} },
            }
        },
        ['Donut Stand'] = { -- Self Explanatory
            location = vec3(31.0737, -1347.0089, 29.4970),
            dimensions = { length = 1, width = 1, height = 1.5 },
            distance = 1.2,
            label = 'Browse Sweet Treats',
            anims = {
                noBasket = {
                    dict = 'gestures@m@car@std@casual@ps',
                    anim = 'gesture_hand_right',
                },
                basket = {
                    dict = 'gestures@m@car@std@casual@ps',
                    anim = 'gesture_hand_left',
                }
            },
            stock = {
                tosti = { label = 'Tosti', price = 20, quantity = 10, metadata = {} },
            }
        }
    }
},
📒
🛒
207KB
config.lua