noticed in custom tabs when adding a shop item/command the image shown is all the same
Custom tabsNot An Issue
If a custom shop item does not have a made-up shortname set then the custom image never gets applied to the item.
It uses a default image if one is not set accordingly. It also requires you have an API key inside the image library plugin to work.
yeah the images work it only adds 1 of the 2 images i added through config and shows the 2nd item with the image of the 1st item (command)
example below shows the test in config on a diffrent tab allso showing that image even if not setup
"Easy ($10k)": {
"DisplayName": "Easy ($10k)",
"Shortname": "",
"EnableBuy": true,
"EnableSell": false,
"Image": "https://i.ibb.co/Lr2k7Sm/c4-green.png",
"SellPrice": 0.0,
"BuyPrice": 0.0,
"BuyCooldown": 0,
"SellCooldown": 0,
"BuyQuantity": [
1
],
"SellQuantity": [],
"KitName": null,
"Command": [
"buyraid easy $player.id"
],
"SkinId": 0
},
"Medium ($15k)": {
"DisplayName": "Medium ($15k)",
"Shortname": "",
"EnableBuy": true,
"EnableSell": false,
"Image": "https://i.ibb.co/n835YjV/c4-blue.png",
"SellPrice": 0.0,
"BuyPrice": 0.0,
"BuyCooldown": 0,
"SellCooldown": 0,
"BuyQuantity": [
1
],
"SellQuantity": [],
"KitName": null,
"Command": [
"buyraid medium $player.id"
],
"SkinId": 0
},
"Test": {
"DisplayName": "Test",
"Shortname": "",
"EnableBuy": true,
"EnableSell": false,
"Image": "",
"SellPrice": 0.0,
"BuyPrice": 0.0,
"BuyCooldown": 0,
"SellCooldown": 0,
"BuyQuantity": [
1
],
"SellQuantity": [],
"KitName": null,
"Command": null,
"SkinId": 0
}, ? I don't think you are understanding
Unless you make up a shortname (in other words do not leave the field blank)
"Shortname": "",
It is literally designed to do that.
If you want your custom Image links to work and show up properly like I stated before you need to simply make a name to put in that field.
"Shortname": "dingus",
"Easy ($10k)": {
"DisplayName": "Easy ($10k)",
"Shortname": "filledin",
"EnableBuy": true,
"EnableSell": false,
"Image": "https://i.ibb.co/Lr2k7Sm/c4-green.png",
"SellPrice": 0.0,
"BuyPrice": 0.0,
"BuyCooldown": 0,
"SellCooldown": 0,
"BuyQuantity": [
1
],
"SellQuantity": [],
"KitName": null,
"Command": [
"buyraid easy $player.id"
],
"SkinId": 0
},
"Medium ($15k)": {
"DisplayName": "Medium ($15k)",
"Shortname": "dingus",
"EnableBuy": true,
"EnableSell": false,
"Image": "https://i.ibb.co/n835YjV/c4-blue.png",
"SellPrice": 0.0,
"BuyPrice": 0.0,
"BuyCooldown": 0,
"SellCooldown": 0,
"BuyQuantity": [
1
],
"SellQuantity": [],
"KitName": null,
"Command": [
"buyraid medium $player.id"
],
"SkinId": 0
} Locked automatically