[Release][Paid] Server Shop System [ESX]

A script by Bikers_K

No reviews yet.
[Release][Paid] Server Shop System [ESX] main image

Price

Unknown

Full Description

Summary
This resource allows users to buy crates and money through a new currency. Crates gives random items.

Commands

  • “biker_shop” : This command opens the server shop.( Is changeable in Config.lua)
  • “setshopcredits” : This command sets a user credits
  • “giveshopcredits” : This command gives a user credits

Preview : Preview Video

TEBEX : https://bikers-warehouse-webstore.tebex.io/category/2061194

Image:

FAQ:

Q- Will it only work on cars?
A- No, it is designed to work with cars, items as well as weapons.

Q- Can I change images of crates and money crates?
A- Yes, you can do that in Config by changing url to your desired one.

Q- Does it have dependence on SQL?
A- Yes, sql is given with resource when bought.

Q- Can iI add unlimited amount of crates?
A- Yes, no restrictions on amount of crates.

Q- Is QBcore version available?
A- Will be soon available!

Config.lua

Config = {}

Config.QBcore = false   --Runs on qbcore base **Will be avalble soon**
Config.ESX = true       --Runs on ESX base
Config.oldlegacy = false  --Adaptive on both new and old legacy versions
Config.customcommand = 'biker_shop' --On which command will the shop open.  /setshopcredits = "Sets players server shop credits"  /giveshopcredits = "gives players server shop credits"

Config.serverinfo = {
    servername ='ESX Roleplay',     serverrank='100+',      totalmembers='150', discord='discord.gg/invite',
    serverowner='Biker',     wordsfromowner='Step into the immersive world of our GTA roleplay server and unleash your creativity and character in boundless possibilities!'
}

Config.crates = {
    [0] = { name = 'Premium Car Crate',     price = '500',                description = 'Roll your luck, have a higher chance of winning a premium Car',      url='https://img.icons8.com/external-xnimrodx-lineal-gradient-xnimrodx/64/external-crate-warehouse-xnimrodx-lineal-gradient-xnimrodx.png'},
    [1] = { name = 'Car Crate',             price = '250',                description = 'Give it a chance you win a valuable item.'                     ,     url='https://img.icons8.com/external-smashingstocks-isometric-smashing-stocks/55/external-crate-logistic-smashingstocks-isometric-smashing-stocks.png'},
    [2] = { name = 'Premium Bike Crate',    price = '500',                description = 'Roll your luck, have a higher chance of winning a premium Car'  ,    url='https://img.icons8.com/external-xnimrodx-lineal-gradient-xnimrodx/64/external-crate-warehouse-xnimrodx-lineal-gradient-xnimrodx.png'},
    [3] = { name = 'Bike Crate',            price = '250',                description = 'Give it a chance you win a valuable item.'                       ,   url='https://img.icons8.com/external-smashingstocks-isometric-smashing-stocks/55/external-crate-logistic-smashingstocks-isometric-smashing-stocks.png'},
    [4] = { name = 'Premium Helicopter Crate', price = '2000',               description = 'Roll your luck, have a higher chance of winning a premium Vehicle',  url='https://img.icons8.com/badges/48/dual-helicopter.png'},
    [5] = { name = 'Weapons Crate',      price = '250',                description = 'Give it a chance you win a valuable item.'                       ,   url='https://img.icons8.com/dotty/80/submachine-gun--v2.png'},
    [6] = { name = 'Items Crate',         price = '50',                 description = 'Give it a chance you win a valuable item.',                          url=''},
}

Config.crate0 = {
    [1] = { class = 'vehicle',     model = 'cyclone',     UIname = 'Cyclone',   url='https://media.discordapp.net/attachments/758555303918305311/1132894991094648982/download.jpg'},
    [2] = { class = 'vehicle',     model = 'visione',     UIname = 'Visione',   url='https://media.discordapp.net/attachments/758555303918305311/1132895160473243769/download_1.jpg'},
    [3] = { class = 'vehicle',     model = 'comet5',        UIname = 'Comet SR',   url='https://media.discordapp.net/attachments/758555303918305311/1132895345471410206/8775-GTA5-2018-05-14-12-58-16-31.jpg?width=1193&height=671'},
    [4] = { class = 'vehicle',     model = 'pariah',        UIname = 'Pariah',   url='https://media.discordapp.net/attachments/758555303918305311/1132895501038133298/download_2.jpg'},
}
Config.crate1 = {
    [1] = { class = 'vehicle',      model = 'blista',     UIname = 'blista',   url='https://media.discordapp.net/attachments/758555303918305311/1132896075502587985/blista.jpg.jpg'},
    [2] = { class = 'vehicle',      model = 'issi3',     UIname = 'Issi Classic',   url='https://media.discordapp.net/attachments/758555303918305311/1132896270026035360/issi-classic.jpg'},
    [3] = { class = 'vehicle',      model = 'asbo',        UIname = 'Asbo',   url='https://media.discordapp.net/attachments/758555303918305311/1132896421880791050/download_3.jpg'},
    [4] = { class = 'vehicle',      model = 'weevil',        UIname = 'Weevil',   url='https://media.discordapp.net/attachments/758555303918305311/1132896594212175883/download_4.jpg'},
}
Config.crate2 = {
    [1] = { class = 'vehicle',      model = 'bati',      UIname = 'Bati',   url='https://media.discordapp.net/attachments/758555303918305311/1132896959246635150/bati-801.jpg'},
    [2] = { class = 'vehicle',      model = 'bati2',     UIname = 'Bati 801RR',   url='https://media.discordapp.net/attachments/758555303918305311/1132897286574309376/bati-801rr.jpg'},
    [3] = { class = 'vehicle',      model = 'hakuchou',        UIname = 'Hakuchou',   url='https://media.discordapp.net/attachments/758555303918305311/1132897532528296026/hakuchou.jpg'},
    [4] = { class = 'vehicle',      model = 'hakuchou2',        UIname = 'Hakuchou Drag',   url='https://media.discordapp.net/attachments/758555303918305311/1132897532285046884/5d690c0611092463e056bedf5b7eff71.jpg'},
}
Config.crate3 = {
    [1] = { class = 'vehicle',       model = 'faggio3',     UIname = 'Faggio',   url='https://media.discordapp.net/attachments/758555303918305311/1132898038906622012/faggio.jpg'},
    [2] = { class = 'vehicle',       model = 'faggio2',     UIname = 'Faggio Custom',   url='https://media.discordapp.net/attachments/758555303918305311/1132898038696902656/download_5.jpg'},
    [3] = { class = 'vehicle',       model = 'faggio',        UIname = 'Faggio Sports',   url='https://media.discordapp.net/attachments/758555303918305311/1132898038420086814/faggio-sport.jpg'},
    [4] = { class = 'vehicle',       model = 'ratbike',        UIname = 'Ratbike',   url='https://media.discordapp.net/attachments/758555303918305311/1132898249498443817/rat-bike.jpg'},
}
Config.crate4 = {
    [1] = { class = 'vehicle',       model = 'havok',     UIname = 'Havok' ,   url='https://media.discordapp.net/attachments/758555303918305311/1132812685130612787/havok.jpg'},
    [2] = { class = 'vehicle',       model = 'seasparrow2',        UIname = 'Sea Sparrow',   url='https://cdn.discordapp.com/attachments/758555303918305311/1132894281271615508/249427-GTA5_2018-03-24_17-17-03-36.jpg'},
}
Config.crate5 = {
    [1] = { class = 'weapon',       model = 'weapon_assaultrifle',     UIname = 'Assaultrifle'},   url='https://media.discordapp.net/attachments/758555303918305311/1132898790458793994/download_6.jpg',
    [2] = { class = 'weapon',       model = 'weapon_pistol',     UIname = 'Pistol',   url='https://media.discordapp.net/attachments/758555303918305311/1132898790194565210/pistol.png'},
    [3] = { class = 'weapon',       model = 'weapon_pumpshotgun',        UIname = 'Shotgun',   url='https://media.discordapp.net/attachments/758555303918305311/1132898987515592744/pump-shotgun.png'},
    [4] = { class = 'weapon',       model = 'weapon_smg',        UIname = 'Smg',   url='https://media.discordapp.net/attachments/758555303918305311/1132899110442254346/download_7.jpg'},
}
Config.crate6 = {
    [1] = { class = 'item',       model = 'bread',     UIname = 'bread', amount='100',   url='https://media.discordapp.net/attachments/758555303918305311/1132899458074562590/images.jpg'},
    [2] = { class = 'item',       model = 'bread',     UIname = 'bread', amount='50',   url='https://media.discordapp.net/attachments/758555303918305311/1132899458074562590/images.jpg' },
    [3] = { class = 'item',       model = 'bread',        UIname = 'bread', amount='25',   url='https://media.discordapp.net/attachments/758555303918305311/1132899458074562590/images.jpg'},
    [4] = { class = 'item',       model = 'bread',        UIname = 'bread', amount='12',   url='https://media.discordapp.net/attachments/758555303918305311/1132899458074562590/images.jpg'},
}

Config.moneycrates = {
    [0] = { name = 'Money Truck',     price = '500',   Winamount= '1400000'  ,description = 'Instantly Gain: 1,400,000$',  url='https://img.icons8.com/cotton/64/truck--v3.png'},
    [1] = { name = 'Money Crate',     price = '250',   Winamount= '600000'  ,description = 'Instantly Gain: 600,000$',  url='https://img.icons8.com/cotton/64/suitcase-rolling--v2.png'},
    [2] = { name = 'Money Bundles',   price = '100',   Winamount= '300000' ,description = 'Instantly Gain: 300,000$',  url='https://media.discordapp.net/attachments/758555303918305311/1132899722647060530/360_F_85202203_jdGfm0lQWQx7sgU7GmAt7W8bpOkAKjNu.jpg'},
}


Config.PlateLetters  = 3
Config.PlateNumbers  = 3
Config.PlateUseSpace = true
Code is accessible No
Subscription-based No
Lines (approximately) 500+ easily
Requirements ESX,mysql
Support Yes

(For releases without code the not applicable fields can be written as N/A)