Thanks, I will give that a go, what does the /cleardata command do then?
Merged post
No luck, unloaded GUIShop, deleted limits.json re-loaded GUIShop and attempted the buy, still says "Buy Limit of 1 reached"
"Shop - Shop List": {
"Baby Pack": {
"DisplayName": "Baby Pack",
"CraftAsDisplayName": false,
"Shortname": "backpack1row",
"MakeBlueprint": false,
"AllowSellOfUsedItems": false,
"Condition": 0.0,
"EnableBuy": true,
"EnableSell": false,
"Image": "https://www.innsmouthcharnel.com/wp-content/uploads/2022/02/1.png",
"SellPrice": 0.0,
"BuyPrice": 25000.0,
"BuyCooldown": 0,
"SellCooldown": 0,
"BuyQuantity": [],
"SellQuantity": [],
"BuyLimit": 1,
"BuyLimitResetCoolDown": 0,
"SellLimit": 0,
"SellLimitResetCoolDown": 0,
"KitName": null,
"Command": [
"oxide.grant user $player.id backpacks.use",
"oxide.grant user $player.id backpacks.gui",
"oxide.grant user $player.id backpacks.use.1",
"oxide.revoke user $player.id backpacks.use.2",
"oxide.revoke user $player.id backpacks.use.3",
"oxide.revoke user $player.id backpacks.use.4",
"oxide.revoke user $player.id backpacks.use.5",
"oxide.revoke user $player.id backpacks.use.6",
"oxide.revoke user $player.id backpacks.use.7",
"oxide.reload Backpacks"
],
"RunCommandAndCustomShopItem": false,
"GeneTypes": [],
"SkinId": 0
After I made the attempt at purchase this was entered into Limits.json
"BLimit": {
"backpack1row": 1,
"backpack2row": 1,
"backpack3row": 1,
"backpack4row": 1,
"backpack5row": 1,
"backpack6row": 1,
"backpack7row": 1
},
"SLimit": {}
Perhaps I'm just missing something obvious.
Merged postIs there something I've done wrong in this bit of code, as I'm still not able to get it to work correctly.