Page cover

⏭️Config Script

FiveStar Script

File: Config.lua

-- ! ███████╗██╗██╗   ██╗███████╗███████╗████████╗ █████╗ ██████╗ 
-- ! ██╔════╝██║██║   ██║██╔════╝██╔════╝╚══██╔══╝██╔══██╗██╔══██╗
-- ! █████╗  ██║██║   ██║█████╗  ███████╗   ██║   ███████║██████╔╝
-- ! ██╔══╝  ██║╚██╗ ██╔╝██╔══╝  ╚════██║   ██║   ██╔══██║██╔══██╗
-- ! ██║     ██║ ╚████╔╝ ███████╗███████║   ██║   ██║  ██║██║  ██║
-- ! ╚═╝     ╚═╝  ╚═══╝  ╚══════╝╚══════╝   ╚═╝   ╚═╝  ╚═╝╚═╝  ╚═╝
-- ! 		   Copyright ® 2023 Lorem All rights FiveStar
-- ! 		    5star.tebex.io | Discord.gg/HdEzqEJBdh
Config = {}

-- * If an update is released for the script, it will not allow the script to start and will cause the server to shut down
Config.CheckVersion = true

--- @param If your are using ESX 1.8.5 or higher put in exports
Config.FrameworkConnection = "event"--- @param exports or event

Config.getSharedObject = 'esx:getSharedObject' --- @param Configure your framework here.

function FrameworkExport() --- @param Add the export here, as in the following example.
    return exports['es_extended']:getSharedObject() --- @return ESX
end

Config.main = {
    PaymentMenu = {
        UseCommand = true,
        Currency = "EUR", -- ! Visual guide https://cdn.discordapp.com/attachments/681822863967256633/1095649892250165339/Screenshot_2023-04-12_143104.png
        ServerLogo = "image/logo_server.png",
        TitleText = "Peyment",
        TextBelowTheCharacter = "Subscribe",
        Purchase = {
            Title = "Purchase information",
            ProcessingStage = {
                Texts = {
                    [1] = "Price Subscribe:",
                    [2] = "Discount:",
                    [3] = "The final price:"
                }
            },
            PeymentMethod = {
                Title = "Peyment Method:",
                text = "Payment methods are supported",
                Payments = {
                    [1] = "peypal_method",
                    [2] = "visa_method",
                    [3] = "master_method",
                    [4] = "razerpin_method",
                },
            },
            DiscountCode = {
                Title = "Discount Code",
                text = "Enter Your Discount Code"
            },
            Textclick = "BUY"
        }
    },
    TextDown = "All Subscriptions Are For 1 Month"
}

Config.Category = {
    ["Gold"] = {
        PackageID = 5629482, --? Visual guide https://cdn.discordapp.com/attachments/681822863967256633/1095758492511506502/Screenshot_2023-04-12_214231.png
        MainTitle = "Gold Subscribe",
        MainLogo = "image/Logo_cs.png",
        Package = {
            Title = "Subscribe information",
            Data = {
                Texts = {
                    [1] = "Fast connecting to the server",
                    [2] = "20% reduction in your penalty cost less $5000",
                    [3] = "Remove ads",
                    [4] = "20% reduction in your jail time",
                    [5] = "Less tax",
                    [6] = "You get bronze subscription and Donator roles"
                },
                TickAndCross = {
                    [1] = "Tick",
                    [2] = "Tick",
                    [3] = "Tick",
                    [4] = "Tick",
                    [5] = "Tick",
                    [6] = "Tick"
                }
            },
            Textclick = "BUY",
            TextDown = "Gold subscription will be automatically activated"
        }
    },
    ["Bronze"] = {
        PackageID = 5583743, --? Visual guide https://cdn.discordapp.com/attachments/681822863967256633/1095758492511506502/Screenshot_2023-04-12_214231.png
        MainTitle = "Bronze Subscribe",
        MainLogo = "image/Logo_b.png",
        Package = {
            Title = "Subscribe information",
            Data = {
                Texts = {
                    [1] = "Fast connecting to the server",
                    [2] = "20% reduction in your penalty cost less $5000",
                    [3] = "Remove ads",
                    [4] = "20% reduction in your jail time",
                    [5] = "Less tax",
                    [6] = "You get bronze subscription and Donator roles"
                },
                TickAndCross = {
                    [1] = "Cross",
                    [2] = "Tick",
                    [3] = "Tick",
                    [4] = "Tick",
                    [5] = "Cross",
                    [6] = "Tick",
                    
                }
            },
            Textclick = "BUY",
            TextDown = "Bronze subscription will be automatically activated"
        }
    }, 
    ["Silver"] = {
        PackageID = 5584583, --? Visual guide https://cdn.discordapp.com/attachments/681822863967256633/1095758492511506502/Screenshot_2023-04-12_214231.png
        MainTitle = "Silver Subscribe",
        MainLogo = "image/logo_Subscribe_c.png",
        Package = {
            Title = "Subscribe information",
            Data = {
                Texts = {
                    [1] = "Fast connecting to the server",
                    [2] = "20% reduction in your penalty cost less $5000",
                    [3] = "Remove ads",
                    [4] = "20% reduction in your jail time",
                    [5] = "Less tax",
                    [6] = "You get bronze subscription and Donator roles"
                },
                TickAndCross = {
                    [1] = "Cross",
                    [2] = "Cross",
                    [3] = "Tick",
                    [4] = "Cross",
                    [5] = "Cross",
                    [6] = "Tick"
                }
            },
            Textclick = "BUY",
            TextDown = "Silver subscription will be automatically activated"
        }
    }
}

Last updated

Was this helpful?