Accessible files
config.lua
Config = {}
Config.SQL = "oxmysql"
Config.Display = {
command = "casemenu"
}
Config.Notify = {
Texts = {
["BalanceNotEnough"] = "Your balance or points is not enough for this case!",
["DataError"] = "If your problem persists when you open the menu again. The server owner may not have installed SQL properly.",
["NoChoosen"] = "You haven't won any item from the spin, or you have already received it!",
["Claimed"] = "You have successfully claimed: %s.",
["CodeNotFound"] = "The reedem code you entered was not found",
["AlreadyUsed"] = "This code has already been used by someone else!",
["OnlyCanUseInServerCMD"] = "This command can only be executed from the server cmd.",
["Selled"] = "You have successfully selled: %d.",
["CurrentlyNotAvailable"] = "Since you have already used the safe within 24 hours, you cannot reuse it!",
["AwardGetted"] = "Award getted! Points: %d."
}
}
Config.Tasks = {
{name = "Open 20 Standart Case", case = "STANDART", type="1", count=20, award=50, description="Lorem ipsum dolor sit amet consectetur. Diam lectus senectus pellentesque aliquam. Congue vulputate mauris odio mattis non pulvinar mauris arcu. Tincidunt praesent ultricies cursus varius"},
{name = "Open 50 Standart Case", case = "STANDART", type="2", count=50, award=125, description="Lorem ipsum dolor sit amet consectetur. Diam lectus senectus pellentesque aliquam. Congue vulputate mauris odio mattis non pulvinar mauris arcu. Tincidunt praesent ultricies cursus varius"},
{name = "Open 100 Standart Case", case = "STANDART", type="3", count=100, award=250, description="Lorem ipsum dolor sit amet consectetur. Diam lectus senectus pellentesque aliquam. Congue vulputate mauris odio mattis non pulvinar mauris arcu. Tincidunt praesent ultricies cursus varius"},
{name = "Open 20 VIP Case", case = "VIP", type="1", count=20, award=500, description="Lorem ipsum dolor sit amet consectetur. Diam lectus senectus pellentesque aliquam. Congue vulputate mauris odio mattis non pulvinar mauris arcu. Tincidunt praesent ultricies cursus varius"},
{name = "Open 50 VIP Case", case = "VIP", type="2", count=50, award=1250, description="Lorem ipsum dolor sit amet consectetur. Diam lectus senectus pellentesque aliquam. Congue vulputate mauris odio mattis non pulvinar mauris arcu. Tincidunt praesent ultricies cursus varius"},
{name = "Open 100 VIP Case", case = "VIP", type="3", count=100, award=2500, description="Lorem ipsum dolor sit amet consectetur. Diam lectus senectus pellentesque aliquam. Congue vulputate mauris odio mattis non pulvinar mauris arcu. Tincidunt praesent ultricies cursus varius"},
}
Config.PriceTable = {
{points = 1000, price=5, redirect_url = "https://gen.tebex.io"},
{points = 2000, price=9, redirect_url = "https://gen.tebex.io"},
{points = 4000, price=17, redirect_url = "https://gen.tebex.io"},
{points = 6000, price=25, redirect_url = "https://gen.tebex.io"},
{points = 8000, price=32, redirect_url = "https://gen.tebex.io"},
{points = 10000, price=38, redirect_url = "https://gen.tebex.io"},
{points = 12000, price=43, redirect_url = "https://gen.tebex.io"},
{points = 14000, price=47, redirect_url = "https://gen.tebex.io"},
{points = 16000, price=50, redirect_url = "https://gen.tebex.io"},
{points = 18000, price=52, redirect_url = "https://gen.tebex.io"},
}
Config.Cases = {
["Weapon Case"] = {
image = "img/Cases/Case1.png",
imageback = "img/Cases/Case1Back.png",
type = "VIP",
price = 1145,
items = {
{
name = "weapon_pistol",
label = "Classic Pistol",
image = "img/CaseItems/weapon_pistol.png",
chanceperc = 10,
sellprice = 200,
state = "master",
type = "item"
},
{
name = "weapon_pistol_mk2",
label = "Pistol MK2",
image = "img/CaseItems/weapon_pistol_mk2.png",
chanceperc = 10,
sellprice = 200,
state = "exotic",
type = "item"
},
{
name = "weapon_combatpistol",
label = "Combat Pistol",
image = "img/CaseItems/weapon_combatpistol.png",
chanceperc = 5,
sellprice = 200,
state = "legendary",
type = "item"
},
{
name = "pistol_ammo",
label = "Pistol Ammo",
image = "img/CaseItems/pistol_ammo.png",
chanceperc = 35,
sellprice = 200,
state = "common",
type = "item"
},
{
name = "weapon_carbinerifle_mk2",
label = "Carbine Rifle Mk II",
image = "img/CaseItems/weapon_carbinerifle_mk2.png",
chanceperc = 5,
sellprice = 200,
state = "legendary",
type = "item"
},
{
name = "weapon_assaultrifle",
label = "Assault Rifle",
image = "img/CaseItems/weapon_assaultrifle.png",
chanceperc = 5,
sellprice = 200,
state = "legendary",
type = "item"
},
{
name = "weapon_knife",
label = "Knife (Small)",
image = "img/CaseItems/weapon_knife.png",
chanceperc = 30,
sellprice = 200,
state = "rare",
type = "item"
},
{
name = "pistol_extendedclip",
label = "Extended Clip (Pistol)",
image = "img/CaseItems/pistol_extendedclip.png",
chanceperc = 20,
sellprice = 200,
state = "common",
type = "weapon"
}
}
},
["Vehicle Case"] = {
image = "img/Cases/Case2.png",
imageback = "img/Cases/Case2Back.png",
type = "VIP",
price = 3000,
items = {
{
name = "imorgon",
label = "Imorgon",
image = "img/CaseItems/imorgon.webp",
chanceperc = 15,
sellprice = 154,
state = "master",
type = "vehicle"
},
{
name = "fmj",
label = "FMJ",
image = "img/CaseItems/fmj.webp",
chanceperc = 15,
sellprice = 422,
state = "master",
type = "vehicle"
},
{
name = "diablous2",
label = "Diabolus Custom",
image = "img/CaseItems/diablous2.webp",
chanceperc = 40,
sellprice = 123,
state = "exotic",
type = "vehicle"
},
{
name = "panto",
label = "Panto Vehicle",
image = "img/CaseItems/panto.webp",
chanceperc = 30,
sellprice = 32,
state = "rare",
type = "vehicle"
},
{
name = "bf400",
label = "BF400 Moto",
image = "img/CaseItems/bf400.webp",
chanceperc = 20,
sellprice = 50,
state = "common",
type = "vehicle"
},
}
},
["Defence Case"] = {
image = "img/Cases/Case3.png",
imageback = "img/Cases/Case3Back.png",
type = "VIP",
price = 2500,
items = {
{
name = "armor",
label = "Armor",
image = "img/CaseItems/armor.png",
chanceperc = 20,
sellprice = 200,
state = "master",
type = "item"
},
{
name = "bandage",
label = "Bandage Kit",
image = "img/CaseItems/bandage.png",
chanceperc = 40,
sellprice = 200,
state = "exotic",
type = "item"
},
{
name = "firstaid",
label = "First Aid",
image = "img/CaseItems/firstaid.png",
chanceperc = 40,
sellprice = 200,
state = "exotic",
type = "item"
},
{
name = "painkillers",
label = "Painkillers",
image = "img/CaseItems/painkillers.png",
chanceperc = 40,
sellprice = 200,
state = "legendary",
type = "item"
},
{
name = "vodka",
label = "Vodka",
image = "img/CaseItems/vodka.png",
chanceperc = 30,
sellprice = 200,
state = "rare",
type = "item"
},
{
name = "grapejuice",
label = "Grape Juice",
image = "img/CaseItems/grapejuice.png",
chanceperc = 20,
sellprice = 200,
state = "common",
type = "item"
},
{
name = "joint",
label = "Joint",
image = "img/CaseItems/joint.png",
chanceperc = 20,
sellprice = 200,
state = "common",
type = "item"
},
{
name = "rolex",
label = "Golden Watch",
image = "img/CaseItems/rolex.png",
chanceperc = 15,
sellprice = 200,
state = "exotic",
type = "item"
},
}
},
["Anarchy Case"] = {
image = "img/Cases/Case4.png",
imageback = "img/Cases/Case4Back.png",
type = "VIP",
price = 1500,
items = {
{
name = "phone",
label = "Phone",
image = "img/CaseItems/phone.png",
chanceperc = 30,
sellprice = 200,
state = "common",
type = "item"
},
{
name = "radio",
label = "Radio",
image = "img/CaseItems/radio.png",
chanceperc = 40,
sellprice = 200,
state = "exotic",
type = "item"
},
{
name = "fitbit",
label = "Fitbit",
image = "img/CaseItems/fitbit.png",
chanceperc = 30,
sellprice = 200,
state = "rare",
type = "item"
},
{
name = "iphone",
label = "iPhone 15 Pro Max",
image = "img/CaseItems/iphone.png",
chanceperc = 20,
sellprice = 200,
state = "common",
type = "weapon"
},
}
},
["Jungle Case"] = {
image = "img/Cases/Case5.png",
imageback = "img/Cases/Case5Back.png",
type = "VIP",
price = 1500,
items = {
{
name = "rolex",
label = "Golden Watch",
image = "img/CaseItems/rolex.png",
chanceperc = 10,
sellprice = 500,
state = "legendary",
type = "item"
},
{
name = "diamond_ring",
label = "Diamond Ring",
image = "img/CaseItems/diamond_ring.png",
chanceperc = 15,
sellprice = 400,
state = "master",
type = "item"
},
{
name = "diamond",
label = "Diamond",
image = "img/CaseItems/diamond_ring.png",
chanceperc = 25,
sellprice = 300,
state = "exotic",
type = "item"
},
{
name = "goldchain",
label = "Golden Chain",
image = "img/CaseItems/goldchain.png",
chanceperc = 40,
sellprice = 200,
state = "rare",
type = "weapon"
},
{
name = "10kgoldchain",
label = "10K Gold Chain",
image = "img/CaseItems/10kgoldchain.png",
chanceperc = 65,
sellprice = 150,
state = "common",
type = "weapon"
},
{
name = "heavyarmor",
label = "Heavy Armor",
image = "img/CaseItems/armor.png",
chanceperc = 10,
sellprice = 500,
state = "legendary",
type = "item"
},
{
name = "moneybag",
label = "Money Bag",
image = "img/CaseItems/moneybag.png",
chanceperc = 15,
sellprice = 450,
state = "master",
type = "item"
},
{
name = "labkey",
label = "Key",
image = "img/CaseItems/labkey.png",
chanceperc = 25,
sellprice = 330,
state = "exotic",
type = "item"
},
{
name = "drill",
label = "Drill",
image = "img/CaseItems/drill.png",
chanceperc = 40,
sellprice = 100,
state = "rare",
type = "weapon"
}
}
},
--Standart & Free cases
["Daily Case"] = {
image = "img/Cases/Case6.png",
imageback = "img/Cases/Case6Back.png",
type = "FREE",
period = 86400, -- if a player opens this case at 11:00 PM on Monday, they will be able to reopen it at 11:00 PM on Tuesday. 1 Day equals 86,400 seconds.
price = "Daily",
items = {
{
name = "tosti",
label = "Grilled Cheese Sandwich",
image = "img/CaseItems/tosti.png",
chanceperc = 10,
sellprice = 500,
state = "legendary",
type = "item"
},
{
name = "twerks_candy",
label = "Twerks",
image = "img/CaseItems/twerks_candy.png",
chanceperc = 15,
sellprice = 400,
state = "master",
type = "item"
},
{
name = "sandwich",
label = "Sandwich",
image = "img/CaseItems/sandwich.png",
chanceperc = 25,
sellprice = 300,
state = "exotic",
type = "item"
},
{
name = "coffee",
label = "Coffee",
image = "img/CaseItems/coffee.png",
chanceperc = 40,
sellprice = 200,
state = "rare",
type = "item"
},
{
name = "water_bottle",
label = "Bottle of Water",
image = "img/CaseItems/water_bottle.png",
chanceperc = 65,
sellprice = 150,
state = "common",
type = "item"
},
{
name = "kurkakola",
label = "Cola",
image = "img/CaseItems/kurkakola.png",
chanceperc = 10,
sellprice = 500,
state = "legendary",
type = "item"
},
{
name = "beer",
label = "Beer",
image = "img/CaseItems/beer.png",
chanceperc = 15,
sellprice = 450,
state = "master",
type = "item"
},
{
name = "whiskey",
label = "Whiskey",
image = "img/CaseItems/whiskey.png",
chanceperc = 25,
sellprice = 330,
state = "exotic",
type = "item"
},
{
name = "joint",
label = "Joint",
image = "img/CaseItems/joint.png",
chanceperc = 40,
sellprice = 100,
state = "rare",
type = "item"
}
}
},
["Death Case"] = {
image = "img/Cases/Case7.png",
imageback = "img/Cases/Case7Back.png",
type = "STANDART",
price = 12000,
items = {
{
name = "joint",
label = "Joint",
image = "img/CaseItems/joint.png",
chanceperc = 10,
sellprice = 500,
state = "legendary",
type = "item"
},
{
name = "cokebaggy",
label = "Bag of Coke",
image = "img/CaseItems/cokebaggy.png",
chanceperc = 15,
sellprice = 400,
state = "master",
type = "item"
},
{
name = "crack_baggy",
label = "Bag of Crack",
image = "img/CaseItems/crack_baggy.png",
chanceperc = 25,
sellprice = 300,
state = "exotic",
type = "item"
},
{
name = "xtcbaggy",
label = "Bag of XTC",
image = "img/CaseItems/xtcbaggy.png",
chanceperc = 40,
sellprice = 200,
state = "rare",
type = "item"
},
{
name = "coke_brick",
label = "Coke Brick",
image = "img/CaseItems/coke_brick.png",
chanceperc = 65,
sellprice = 150,
state = "common",
type = "item"
},
{
name = "weed_brick",
label = "Weed Brick",
image = "img/CaseItems/weed_brick.png",
chanceperc = 10,
sellprice = 500,
state = "legendary",
type = "item"
},
{
name = "coke_small_brick",
label = "Coke Package",
image = "img/CaseItems/coke_small_brick.png",
chanceperc = 15,
sellprice = 450,
state = "master",
type = "item"
},
{
name = "meth",
label = "Meth",
image = "img/CaseItems/meth.png",
chanceperc = 25,
sellprice = 330,
state = "exotic",
type = "item"
},
{
name = "rolling_paper",
label = "Rolling Paper",
image = "img/CaseItems/rolling_paper.png",
chanceperc = 40,
sellprice = 100,
state = "rare",
type = "item"
}
}
},
["Master Case"] = {
image = "img/Cases/Case8.png",
imageback = "img/Cases/Case8Back.png",
type = "STANDART",
price = 15000,
items = {
{
name = "lockpick",
label = "Lock Pick",
image = "img/CaseItems/lockpick.png",
chanceperc = 10,
sellprice = 500,
state = "legendary",
type = "item"
},
{
name = "advancedlockpick",
label = "Advanced Lockpick",
image = "img/CaseItems/advancedlockpick.png",
chanceperc = 15,
sellprice = 400,
state = "master",
type = "item"
},
{
name = "electronickit",
label = "Electronic Kit",
image = "img/CaseItems/electronickit.png",
chanceperc = 25,
sellprice = 300,
state = "exotic",
type = "item"
},
{
name = "gatecrack",
label = "Gatecrack",
image = "img/CaseItems/gatecrack.png",
chanceperc = 40,
sellprice = 200,
state = "rare",
type = "item"
},
{
name = "thermite",
label = "Thermite",
image = "img/CaseItems/thermite.png",
chanceperc = 65,
sellprice = 150,
state = "common",
type = "item"
},
{
name = "trojan_usb",
label = "Trojan USB",
image = "img/CaseItems/trojan_usb.png",
chanceperc = 10,
sellprice = 500,
state = "legendary",
type = "item"
},
{
name = "coke_small_brick",
label = "Coke Package",
image = "img/CaseItems/coke_small_brick.png",
chanceperc = 15,
sellprice = 450,
state = "master",
type = "item"
},
{
name = "drill",
label = "Drill",
image = "img/CaseItems/drill.png",
chanceperc = 25,
sellprice = 330,
state = "exotic",
type = "item"
},
{
name = "walkstick",
label = "Walking Stick",
image = "img/CaseItems/walkstick.png",
chanceperc = 40,
sellprice = 100,
state = "rare",
type = "item"
}
}
},
["Water Case"] = {
image = "img/Cases/Case9.png",
imageback = "img/Cases/Case9Back.png",
type = "STANDART",
price = 4500,
items = {
{
name = "whiskey",
label = "Whiskey",
image = "img/CaseItems/whiskey.png",
chanceperc = 10,
sellprice = 500,
state = "legendary",
type = "item"
},
{
name = "vodka",
label = "Vodka",
image = "img/CaseItems/vodka.png",
chanceperc = 15,
sellprice = 400,
state = "master",
type = "item"
},
{
name = "grape",
label = "Grape",
image = "img/CaseItems/grape.png",
chanceperc = 25,
sellprice = 300,
state = "exotic",
type = "item"
},
{
name = "wine",
label = "Wine",
image = "img/CaseItems/wine.png",
chanceperc = 40,
sellprice = 200,
state = "rare",
type = "item"
},
{
name = "grapejuice",
label = "GrapeJuice",
image = "img/CaseItems/grapejuice.png",
chanceperc = 65,
sellprice = 150,
state = "common",
type = "item"
},
{
name = "plastic",
label = "Plastic",
image = "img/CaseItems/plastic.png",
chanceperc = 10,
sellprice = 500,
state = "legendary",
type = "item"
},
{
name = "jerry_can",
label = "Jerry Can",
image = "img/CaseItems/jerry_can.png",
chanceperc = 15,
sellprice = 450,
state = "master",
type = "item"
}
}
},
["Lovely Case"] = {
image = "img/Cases/Case10.png",
imageback = "img/Cases/Case10Back.png",
type = "STANDART",
price = 2500,
items = {
{
name = "armor",
label = "Armor",
image = "img/CaseItems/armor.png",
chanceperc = 20,
sellprice = 200,
state = "master",
type = "item"
},
{
name = "bandage",
label = "Bandage Kit",
image = "img/CaseItems/bandage.png",
chanceperc = 40,
sellprice = 200,
state = "exotic",
type = "item"
},
{
name = "casinochips",
label = "Casino Chips",
image = "img/CaseItems/casinochips.png",
chanceperc = 30,
sellprice = 200,
state = "rare",
type = "item"
},
{
name = "weapon_pistol",
label = "Classic Pistol (9mm)",
image = "img/CaseItems/weapon_pistol.png",
chanceperc = 20,
sellprice = 200,
state = "common",
type = "weapon"
},
}
},
}
Last updated