⚙️Configuration
Check the instructions below.
Set your sql script
Config.SQLScript = "oxmysql" -- oxmysql // ghmattimysql // mysql-async
Set your menu open command
Config.ShopCommand = "tebexshop"
Set your no avatar image (Image to display when no image is found)
Config.NoImage = "https://cdn.discordapp.com/attachments/736562375062192199/995301291976831026/noimage.png", -- Image to display when no image is found
Set packages will be shown at homepage
`id` must be unique
`name` is the label will be displayed on the homepage
`price` is the coin price of package
`icon` is the image will be shown on the package box
`hours` is the amount that how long will the xp boost remain
`visible` is for the visibility of package
{ id = 1, name = "Boost 1", price = 100, icon = "tebexshop-icon4.png", hours = 1, visible = true },
For coins:
Nearly same with boost. There is one difference.
`link` you can set the redirection link here. When player clicks to package the url will be opened at the players default browser.
{ id = 1, amount = "500", icon = "tebexshop-icon3.png", link = "https://gfx.tebex.io" , visible = true },
For Tiers:
`id` must be unique
`tier` i suggest you to not change here
`name` is the label will be displayed on the tier card
`color` is the theme color of tier card (red, yellow, blue)
Warning: If you need to add more colors you have to get open source and build the source file.
`description` is the cards description
`price` is the coin price of package
`items` is the each sentence will shown on the card's features part
`visible` is for the visibility of package
{ id = 1, tier = "bronze", name = 'Bronze', color = 'blue', description = 'Basic Tier', price = 500, items = { { id = 1, text = 'Speed Running' }, { id = 2, text = 'Extra Stash' }, { id = 3, text = '1 Vehicle' } }, visible = true },
For Skins:
`id` must be unique
`name` is the label will be displayed on the tier card
`weapon` is the weapon that skin will be applied
`weaponLabel` is the label of the weapon (it will only shown at transactions page)
`skin` is the component name of the skin
`owned` make this option true if you want to add the weapon skin as default
`equipped` make this option true if you want to add the weapon skin as default
`price` price of the skin
`image` image link or path of the skin
`visible` is for the visibility of skin
{ id = 1, name = "M4 Default", weapon = "weapon_assaultrifle", weaponLabel = "M4", skin = "default", owned = true, equipped = true, price = 0, image = "https://cdn.discordapp.com/attachments/610776060744957953/1208775644809535498/weapon_carbinerifle_mk2.png?ex=65e4830b&is=65d20e0b&hm=64c8807e77f84f5dee7f0de537a6a8fc917d49a1db96d8e265ac3f6d99305066&", visible = true },
Last updated