Price
$1,000.00A script by HeroJackBauer
Price
$1,000.00Purpose
It enables players to purchase and access storage containers in the game world. These storages can be: Regular (available to all players) VIP (restricted access via Discord roles or specific in-game items)
VIP Restriction System
VIP storage access can be controlled via: Discord roles (zdiscord or Badger_Discord_API) or a special item (e.g., coin)
Storage Purchase Flow
Player interacts with a designated ped (Storage Seller) Payment is processed and item is removed or Discord role can be removed if configured. Player is notified a blip added to their map and ownership saved in the database
Let regular players buy extra inventory space and/or offers exclusive VIP storage as a perk for Tebex purchases on your store.
TLDR - you can use this a storage container scipt for any players to purchase or you can set up some containers to sell on your Tebex store. On your Tebex Store offer Storage containers for sale for your server, use hjb-vipstorage to check if they have the item or role given by your tebex then remove the item or role based on how you configure the config to purchase vip storage containers on your server.
Config = {}
Config.Debug = true -- prints errors to server log (useful when you are first setting up the script as it checks your config for some possible mistakes)
Config.BlipCommand = 'showstorage' -- command for owned storage blips to be shown for 5 mins.
Config.Framework = 'qbx' -- qb|qbx
Config.Inventory = 'ox' -- qb|ox
Config.Target = 'ox' -- qb|ox
Config.UseDiscord = false -- if false ignore Config.DiscordScript and discordRole | true will use the DiscordScript and roles to give access to VIP storage locations
Config.DiscordScript = 'zdiscord' -- zdiscord|Badger_Discord_API -- You can leave this blank if you are not using a Discord Script
Config.StorageBuy = {
ped = 'a_m_y_business_01',
pedAction = 'WORLD_HUMAN_CLIPBOARD',
pedLocation = vector4(871.84, -3096.02, 5.9, 272.57),
sprite = 478,
colour = 3,
scale = 0.8,
label = "Storage Seller"
}
Config.Blip = { -- for purchased Storage Containers
sprite = 478,
colour = 5,
scale = 0.9,
label = "Storage Container"
}
Config.Storage = {
["Paleto"] = { -- Name of Storage
label = 'Paleto Storage',
vip = false, -- if false you can sell extra storage to everyone in game (anyone can purchase this location)
price = 10000,
itemName = '', -- leave this blank if Config.UseDiscord = true or if vip = false (anyone can purchase this location)
discordRole = '', -- leave this blank if Config.UseDiscord = true or if vip = false (anyone can purchase this location)
location = vector4(41.95, 6546.12, 31.49, 129.5),
maxWeight = 100,
slots = 20,
},
["Sandy Shores"] = { -- Name of Storage
label = 'Sandy Shores Storage',
vip = true,
price = 20000,
itemName = '', -- This item will be removed after they purchase the storage location if Config.UseDiscord = false and vip = true
discordRole = '1003808594568937533', -- One role per VIP storage if Config.UseDiscord = true otherwise leave it blank
location = vector4(1767.57, 3689.84, 34.29, 207.54),
maxWeight = 200,
slots = 40,
},
-- add more below (as many as you want)
}
---- Dependencies ----
Framework - qb-core or Qbox
Inventory - qb-inventory or ox_inventory
Target - qb-target or ox_target
ox_lib
oxmysql
Optional but highly recommended
zdiscord or Badger_Discord_API
Purchase it here:
Purchase
Support and if you have any questions:
Discord
| Code is accessible | No |
| Subscription-based | No |
| Lines (approximately) | 1000+ |
| Requirements | qb-core or Qbox-core, qb-target or ox_target, ox_lib |
| Support | Yes |
See what others are saying about this script.
Share your experience and help others.