FiveStar Development
YoutubeCFX forumTebexDiscord
  • ๐Ÿ‘จโ€๐Ÿ’ปAbout Us
  • ๐Ÿ˜ŠControl Panel โฝแถ แต’สณ แถœแต˜หขแต—แต’แตแต‰สณหข แต’แถ  แต—สฐแต‰ แต’แถ แถ แถฆแถœแถฆแตƒหก หขแถฆแต—แต‰โพ
    • ๐Ÿ“ฒActive Redeem Code
    • โฌ‡๏ธDownload Script
    • ๐Ÿ‘พCreate License
    • ๐Ÿ“…Expiration date
    • โฌ…๏ธReset Data License
  • ๐ŸงพScripts
    • ๐Ÿ†˜FiveStar-HelpMenu
      • ๐Ÿง How to Install
      • โญ๏ธConfig Script
    • ๐Ÿ›ก๏ธFiveStar-Paintball
      • ๐Ÿ˜˜[ESX]
        • ๐Ÿง How to Install
        • โญ๏ธConfig Script
      • ๐Ÿฅฐ[QB]
        • ๐Ÿง How to Install
        • โญ๏ธConfig Script
    • ๐Ÿ”ซFiveStar-WeaponShop
      • ๐Ÿ˜˜[ESX]
        • ๐Ÿง How to Install
        • โญ๏ธConfig Script
      • ๐Ÿฅฐ[QB]
        • ๐Ÿง How to Install
        • โญ๏ธConfig Script
    • ๐Ÿ”FiveStar-Security [FREE FOR CUSTOMER]
      • ๐Ÿง How to Install
      • โญ๏ธConfig Script
    • ๐ŸŽŸ๏ธFiveStar-MissionClub
      • ๐Ÿ˜˜[ESX]
        • ๐Ÿง How to Install
        • โญ๏ธConfig Script
      • ๐Ÿฅฐ[QB]
        • ๐Ÿง How to Install
        • โญ๏ธConfig Script
    • ๐Ÿ›’FiveStar-VehicleShop
      • ๐Ÿ˜˜[ESX]
        • ๐Ÿง How to Install
        • โญ๏ธConfig Script
      • ๐Ÿฅฐ[QB]
        • ๐Ÿง How to Install
        • โญ๏ธConfig Script
    • ๐Ÿ’ธFiveStar-Subscribe
      • ๐Ÿ˜˜[ESX]
        • ๐Ÿง How to Install
        • โญ๏ธConfig Script
      • ๐Ÿฅฐ[QB]
        • ๐Ÿง How to Install
        • โญ๏ธConfig Script
    • ๐Ÿš˜FiveStar-Garage
      • ๐Ÿ˜˜[ESX]
        • ๐Ÿง How to Install
        • โญ๏ธConfig Script
      • ๐Ÿฅฐ[QB]
        • ๐Ÿง How to Install
        • โญ๏ธConfig Script
    • ๐Ÿ’‹FiveStar-Speedometer [FREE]
      • ๐Ÿง How to Install
Powered by GitBook
On this page

Was this helpful?

  1. Scripts
  2. FiveStar-Subscribe
  3. [QB]

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"
        }
    }
}
PreviousHow to InstallNextFiveStar-Garage

Last updated 1 year ago

Was this helpful?

๐Ÿงพ
๐Ÿ’ธ
๐Ÿฅฐ
โญ๏ธ
Page cover image