[QB][PAID] SG Graveyard πŸ’€

A script by Kwarktoetjee

No reviews yet.
[QB][PAID] SG Graveyard πŸ’€ main image

Full Description

Welcome to SG Graveyard! :skull:

Buy it now on Tebex!

SG Graveyard is a script that adds depth and emotion to the most solemn of places – graveyards. This script is a groundbreaking addition that transforms graveyards from mere scenery into interactive sanctuaries of remembrance and mystery.

This script is a multi-faceted script that enriches the player experience in FiveM servers by offering a range of interactions with gravestones in a graveyard. Firstly, it allows players to pay their respects in a realistic and heartfelt manner. Approach a grave, lay flowers or pay respects and feel the weight lift off your shoulders and relieve stress. But the script doesn’t stop there. Each grave holds secrets waiting to be uncovered. Utilizing the search function, players can scour graves for hidden items. Yet, where there is light, there must also be shadow. SG Graveyard introduces an element of risk and thrill with the ability to rob graves. Tempt fate as you delve into the unknown, but beware – every action carries consequences.

Preview :tv:

Features

  • Enable/disable the 4 interactions with gravestones: laying flower, paying respects, searching grave and the grave robbery;
  • Can interact with both ox-target and qb-target;
  • A lot of configurable actions for each interaction such as what you can get, how much you can get and design options such as target icons and colors;
  • Possbility to put the script in a lot of different languages (for example English, Dutch, French, Spanish and Italian) even including Arabic and Turkish;
  • Discord logging for all the 4 types of interactions;
  • Way more…

Configuration

Client-sided

return {

    Target = 'ox', -- Choose from 'ox' or 'qb'
    Props = {
        'prop_gravestones_01a',
        'prop_gravestones_02a',
        'prop_gravestones_02a'
    },

    -- Lay Flower
    LayFlower = {
        Enable = true,

        TargetIcon = 'fas fa-leaf',
        TargetIconColor = '#C7F6C7',
        Distance = 2.0,

        EnableStress = true,
        Stress = 30,

        Progress = 'circle', -- 'circle' or 'bar'
        Duration = 3000,
    },

    -- Pay Respects
    PayRespects = {
        Enable = true,

        TargetIcon = 'fas fa-hands-praying',
        TargetIconColor = '#C7F6C7',
        Distance = 2.0,

        EnableStress = true,
        Stress = 10,
        
        Progress = 'circle', -- 'circle' or 'bar'
        Duration = 3000,
    },

    -- Search Grave
    Search = {
        Enable = true,

        TargetIcon = 'fas fa-magnifying-glass',
        TargetIconColor = '#C7F6C7',
        Distance = 2.0,

        Progress = 'circle', -- 'circle' or 'bar'
        Duration = 3000,
    },

    -- Grave Robbery
    GraveRobbery = {
        Enable = true,

        TargetIcon = 'fas fa-person-digging',
        TargetIconColor = '#FAFAFA',
        Distance = 2.0,

        PoliceRequired = true,
        PoliceOnDutyRequired = 1,
        EnableDispatch = false,
        Dispatch = 'ps-dispatch', -- 'ps-dispatch' or 'qs-dispatch'

        StartTime = 19, -- Starts at 19:00
        EndTime = 4, -- Ends at 04:00
        Duration = 6000,
    },

    -- Shop
    Shop = {
        Enable = true,
        Coords = vec3(-1690.30, -265.38, 50.88),
        Sprite = 52,
        Color = 4,
        Scale = 0.8,
        Label = 'Gravekeeper',
    
        Model = 'a_m_y_smartcaspat_01',
        Heading = 326.61,
        Icon = 'fas fa-bone',
        IconColor = '#FAFAFA',
    
        BuyIcon = 'fas fa-shop',
        BuyIconColor = '#FAFAFA',
        SellIcon = 'fas fa-bone',
        SellIconColor = '#FAFAFA',
    }
}

Server-sided

return {

    Cooldown = 60,
    CooldownEntity = 60,

    DiscordWebhooks = {
        LayFlower = 'https://discord.com/api/webhooks/1226952772155609239/Z0jhUFxKqhImgcOGFdo2RRfQM6fTeQ0bkr4Iv30HwaEbJW4XpXD3rCyUlbfwhUjmT2Ga',
        PayRespects = 'https://discord.com/api/webhooks/1226952772155609239/Z0jhUFxKqhImgcOGFdo2RRfQM6fTeQ0bkr4Iv30HwaEbJW4XpXD3rCyUlbfwhUjmT2Ga',
        GraveRobbery = 'https://discord.com/api/webhooks/1226952772155609239/Z0jhUFxKqhImgcOGFdo2RRfQM6fTeQ0bkr4Iv30HwaEbJW4XpXD3rCyUlbfwhUjmT2Ga',
        Search = 'https://discord.com/api/webhooks/1226952772155609239/Z0jhUFxKqhImgcOGFdo2RRfQM6fTeQ0bkr4Iv30HwaEbJW4XpXD3rCyUlbfwhUjmT2Ga',
    },

    -- Search
    Search = {
        FindMoney = {
            Enable = false,
            Chance = 100,
            Min = 100,
            Max = 200,
        },
        FindNothing = {
            Enable = false,
            Chance = 40,
        },
        FindItems = {
            Enable = true,
            Chance = 100,
            Min = 1,
            Max = 3,
            Items = {
                'dirt',
                'skeletal_foot',
                'skeletal_hand',
            }
        }
    },

    -- Grave Robbery
    GraveRobbery = {
        PoliceJobNames = { 'police', 'sheriff' },
        EnableBreakChance = true, -- Shovel Break 
        BreakChance = 30,
        FindMoney = {
            Enable = false,
            Chance = 100,
            Min = 100,
            Max = 200,
            Notification = false,
        },
        FindNothing = {
            Enable = true,
            Chance = 30,
        },
        CommonItems = {
            Chance = 100,
            Min = 1,
            Max = 3,
            Items = {
                'dirt',
                'skeletal_foot',
                'skeletal_hand',
            },
            Notification = false,
        },
        UniqueItems = {
            Enable = true,
            Chance = 50,
            Min = 1,
            Max = 3,
            Items = {
                'skeletal_hips',
                'skeletal_lungs',
                'skeletal_spine',
            },
            Notification = false,
        },
        SpecialItems = {
            Enable = true,
            Chance = 20,
            Min = 1,
            Max = 2,
            Items = {
                'skeletal_head',
                'last_will',
            },
            Notification = false,
        },
    },

    -- Shop
    BuyItems = {
        { title = 'Bouquet - €15', icon = 'fas fa-leaf', iconColor = '#FAFAFA', description = 'Pay your respects to a grave with a bouquet!', item = 'bouquet', buyprice = 15 },
        { title = 'Shovel - €125', icon = 'fas fa-person-digging', iconColor = '#FAFAFA', description = 'Planning on doing something suspiscious?', item = 'shovel', buyprice = 125}
    },

    SellItems = {
        { title = 'Skeletal Hand', icon = 'fas fa-bone', iconColor = '#FAFAFA', description = 'Price: €50', item = 'skeletal_hand', sellprice = 50 },
        { title = 'Skeletal Foot', icon = 'fas fa-bone', iconColor = '#FAFAFA', description = 'Price: €100', item = 'skeletal_foot', sellprice = 100 },
        { title = 'Skeletal Spine', icon = 'fas fa-bone', iconColor = '#FAFAFA', description = 'Price: €150', item = 'skeletal_spine', sellprice = 150},
        { title = 'Skeletal Lungs', icon = 'fas fa-bone', iconColor = '#FAFAFA', description = 'Price: €150', item = 'skeletal_lungs', sellprice = 150},
        { title = 'Skeletal Hips', icon = 'fas fa-bone', iconColor = '#FAFAFA', description = 'Price: €150', item = 'skeletal_hips', sellprice = 150},
        { title = 'Skeletal Head', icon = 'fas fa-bone', iconColor = '#FAFAFA', description = 'Price: €300', item = 'skeletal_head', sellprice = 300},
        { title = 'Last Will', icon = 'fas fa-bone', iconColor = '#FAFAFA', description = 'Price: €500', item = 'last_will', sellprice = 500},
    },
}

Shared

return {

    Language = 'en', -- Choose from 'en', 'nl', 'de', 'fr', 'es', 'it', 'ar', 'tr'
    Notify = 'ox', -- Choose from 'okok', 'qb', 'ox' or 'mythic'

    -- Lay Flower
    LayFlower = {
        Item = 'bouquet',
    },

    -- Grave Robbery
    GraveRobbery = {
        ShovelItem = 'shovel',
    },
}
Code is accessible No
Subscription-based No
Lines (approximately) ~2000
Requirements QBCore/QBX, ox_lib
Support Yes

Config Merger
Have you tried Config Merger? Merge your configs easily