This mod adds an engaging and configurable food stall job where players can experience managing their own snack shack. Easy to customize and fun to play, this script guarantees to enhance your FiveM server by providing a new role-playing opportunity for players. It is based on the popular wxyz-crafting script, ensuring reliability and performance.

Preview


About the Mod

The Snack Shack Job Script brings a new “food stall owner” role to your RP server. Here’s what makes this script exciting:

  • Configurable: You have control over the menu items, prices, and job requirements.
  • Interactive Gameplay: Players can prepare and sell a variety of snacks to other players.
  • Based on Proven Script: The script builds on the wxyz-crafting framework, known for its efficiency and flexibility.
  • Role-Playing Fun: Adds depth and variety to the server, making role-playing more engaging and interactive.

Download Mirror


Installation Instructions

Installing the Snack Shack Job Script is simple. Follow these steps:

  1. Download the Script: Click here to download the Snack Job Script.
  2. Extract the Files: Once downloaded, extract the .zip file to a folder on your computer.
  3. Upload to Server: Use an FTP client to upload the extracted files to your FiveM server’s resources directory.
  4. Update Server Config: Add ensure snack_shack to your server configuration file (server.cfg).
  5. Restart Server: Restart your FiveM server to apply the changes and activate the new job.

Adding the items to shared/items.lua

-- Add this to qb-core/shared/items.lua
    -- snack shack Drinks
    ["juice"] = {["name"] = "juice", ["label"] = "Strawberry Juice", ["weight"] = 1, ["type"] = "item", ["image"] = "cocktail.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Strawberry Juice"},

    -- snack shack Food
    ["burger"] = {["name"] = "burger", ["label"] = "Cheese Burger", ["weight"] = 1, ["type"] = "item", ["image"] = "burger.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Yummy Chessy Burger"},

    -- snack shack Ingridients
    ["onion"] = {["name"] = "onion", ["label"] = "Onion", ["weight"] = 1, ["type"] = "item", ["image"] = "onion.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "onion"},
    ["cheese"] = {["name"] = "cheese", ["label"] = "Cheese", ["weight"] = 1, ["type"] = "item", ["image"] = "cheese.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "cheese"},
    ["cookingoil"] = {["name"] = "cookingoil", ["label"] = "Cooking Oil", ["weight"] = 1, ["type"] = "item", ["image"] = "cookingoil.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "cookingoil"},
    ["bun"] = {["name"] = "bun", ["label"] = "Bun", ["weight"] = 1, ["type"] = "item", ["image"] = "bun.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Burger Bun"},
    ["patty"] = {["name"] = "patty", ["label"] = "Patty", ["weight"] = 1, ["type"] = "item", ["image"] = "patty.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "patty"},
    ["ketchup"] = {["name"] = "ketchup", ["label"] = "Ketchup", ["weight"] = 1, ["type"] = "item", ["image"] = "ketchup.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Tomato ketchup"},        
    ["strawberry"] = {["name"] = "strawberry", ["label"] = "Strawberry", ["weight"] = 1, ["type"] = "item", ["image"] = "strawberry.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "strawberry"},

Smallresources Config.lua

-- Eat
['burger'] = math.random(90, 95),
-- Drink
['cocktail'] = math.random(90, 95),

Add this to Jobs.lua

snack = {
	label = 'Snack Shack',
	defaultDuty = true,
	offDutyPay = false,
	grades = {
        ['0'] = { name = 'Trainee', payment = 50 },
		['1'] = { name = 'Employee', payment = 100 },
		['2'] = { name = 'Owner', isboss = true, payment = 150 },
	},
},
  1. Extract Images: Extract img.rar and add images to the qb-inventory folder.
  2. Add Resource: Add wxyz-snackshackjob to your resources folder.
  3. Ensure Resource: Add ensure wxyz-snakcshackjob to your server configuration file.
  4. Restart Server: Restart your FiveM server to apply the changes and activate the new job.

Compatibility

This mod is fully compatible with servers running QBCore framework.

Credits and Acknowledgments

  • CreatorWxyzOfficial
  • Framework: Based on wxyz-crafting script.

For more exciting mods, scripts, and MLOs to elevate your FiveM server, check out the links below:

Happy gaming!