![Shop everywhere | Player-owned shops/markets [ESX] main image](https://forum-cfx-re.akamaized.net/optimized/5X/f/2/0/1/f201d5f0c5a3c7151b2c3a0d18df10d1be57b435_2_690x380.jpeg)
![Shop everywhere | Player-owned shops/markets [ESX] thumbnail 1](https://forum-cfx-re.akamaized.net/optimized/5X/f/2/0/1/f201d5f0c5a3c7151b2c3a0d18df10d1be57b435_2_690x380.jpeg)
![Shop everywhere | Player-owned shops/markets [ESX] thumbnail 2](https://img.youtube.com/vi/YXo4jTqX57Y/maxresdefault.jpg)
![Shop everywhere | Player-owned shops/markets [ESX] thumbnail 3](https://forum-cfx-re.akamaized.net/optimized/5X/a/c/5/5/ac55f2d8fa20546e0c2bb7077204dbef4ccc57a4_2_690x387.jpeg)
![Shop everywhere | Player-owned shops/markets [ESX] thumbnail 4](https://forum-cfx-re.akamaized.net/optimized/5X/9/8/e/e/98ee3beebe4e13a448125d97798dbe27dbfa5dca_2_455x500.jpeg)
![Shop everywhere | Player-owned shops/markets [ESX] thumbnail 5](https://forum-cfx-re.akamaized.net/optimized/5X/4/0/4/8/40481df42a9f7ebb487e23c7d8b983dc4a1baa3a_2_542x499.jpeg)
![Shop everywhere | Player-owned shops/markets [ESX] thumbnail 6](https://forum-cfx-re.akamaized.net/optimized/5X/d/2/7/a/d27a37f00dca292050fcba15b3285ba4dd925e3d_2_690x387.jpeg)
Price
$20.00A script by kFxDaKing
Price
$20.00Shop everywhere A dynamic player-driven shop system for FiveM, inspired by classic MMORPGs
Core Features
Advanced Shop Creation and Management Your players can establish their own shops anywhere in the world with extensive control:
Comprehensive Item Management Shop owners have complete control over their inventory:
Advanced Money Handling
Extensive Admin Controls Comprehensive tools for server management:
/ashop - Shows all shops with their IDs and owners
/ashop nearest - Closes the nearest shop to admin
/ashop name [shopname] - Manages shop by name
/ashop id [shop_id] - Manages shop by ID
Configuration
Everything is easily customizable through the config file:
Config = {}
-- Shop Creation Settings
Config.ShopCreation = {
Command = 'createshop',
MaxShopsPerPlayer = 3,
Cost = 5000, -- Cost to create a shop
SpawnOffset = {
x = 2.0,
y = 0.0,
z = -0.93
}
}
Config.AdminCommand = {
CloseShop = 'ashop', -- Shorter command name for easier use
AllowedGroups = {'admin', 'superadmin', 'owner', 'god'}
}
-- /ashop - Displays a list of all shops with their IDs and owners
-- /ashop nearest - Deletes the nearest shop to the admin
-- /ashop name Pepův obchod - Deletes a shop by name
-- /ashop id player_shop_1 - Deletes a shop by ID
-- Shop Properties
Config.Shop = {
DefaultSlots = 50,
DefaultWeight = 100000,
PropModel = 'prop_pier_kiosk_02',
InteractionDistance = 4.0,
Text3DDistance = 15.0,
ShowName = true, -- Allow/Disallow display of the shop name
EnableBlips = true, -- Allow/Disallow blips
BlacklistedItems = { -- Items that cannot be sold
'weapon_pistol',
'money',
-- Add more banned items
}
}
-- Blip Settings
Config.Blip = {
Sprite = 52,
Color = 2,
Scale = 0.8,
ShortRange = true,
DisplayName = true
}
-- Notification Settings
Config.Notifications = {
Success = {
ShopCreated = 'Shop was successfully created!',
ItemAdded = 'Item was successfully added to the shop!',
ShopDeleted = 'Shop was successfully deleted!'
},
Error = {
AlreadyHasShop = 'You already have a created shop!',
ShopNotFound = 'Shop not found!',
NoPermission = 'You do not have permission to manage this shop!',
InsufficientItems = 'You do not have enough items!',
FailedToRemoveItems = 'Failed to remove items from inventory!',
FailedToAddItems = 'Failed to add item to the shop!'
}
}
-- Menu Settings
Config.Menu = {
Shop = {
Title = 'Shop Management',
AddItems = {
Title = 'Add Items',
Description = 'Add new items to the shop'
},
ManageItems = {
Title = 'Manage Items',
Description = 'Manage items in the shop'
},
CloseShop = {
Title = 'Close Shop',
Description = 'Close this shop',
ConfirmHeader = 'Confirmation',
ConfirmContent = 'Are you sure you want to close this shop? All items will be returned to your inventory.'
}
},
Target = {
ManageIcon = 'fas fa-cog',
ManageLabel = 'Manage Shop',
BuyIcon = 'fas fa-shopping-basket',
BuyLabel = 'Buy Items'
}
}
-- Text Display Settings
Config.Text3D = {
Scale = 0.40,
Font = 4,
BackgroundOpacity = 150,
BackgroundColor = {r = 0, g = 0, b = 0},
TextColor = {r = 255, g = 255, b = 255, a = 255},
WidthMultiplier = 1.5,
HeightOffset = 2.0,
BoxHeight = 0.03
}
-- Shop Zone Restrictions
Config.ZoneRestrictions = {
Mode = 'none', -- 'none', 'blacklist', 'whitelist'
Zones = {
-- Example zones:
-- ['legion_square'] = {
-- center = vector3(195.17, -934.0, 30.69),
-- radius = 50.0,
-- name = "Legion Square"
-- }
}
}
-- Shop Distance Restrictions
Config.ShopDistanceRestrictions = {
MinimumDistance = 3.0, -- Minimum distance between shops in units
Enabled = true -- Enable/Disable distance check
}
Config.Discord = {
Enabled = false,
Webhooks = {
ShopCreation = "",
ShopDeletion = "",
Transactions = "",
ItemManagement = "",
Errors = ""
},
Colors = {
Success = 3066993, -- Green
Error = 15158332, -- Red
Info = 3447003, -- Blue
Warning = 15105570 -- Yellow
},
ServerName = "Your Server",
FooterText = "Player Shop Logs",
FooterIcon = "" -- URL icon for the footer
}
return Config
Installation
ensure mn_shops
to server.cfgVideo Preview
Photo Preview
Code is accessible | No, only some parts |
Subscription-based | No |
Lines (approximately) | 1700 |
Requirements | ESX Legacy, ox_lib, ox_inventory, oxmysql |
Support | Yes |
No approved reviews found for this script yet.