Compatibility with Enchanted Items (Metaphysics)Solved

is it possible to add inn custom image for each items like a imgur link to show the item icon since i want to have different items like coal :(.
but i dont want there to be a image of coal on the shop but rather a item that it is gona become? because i have a plugin that changes coal :( into a attire/weapon/tool.
and also the display change the name of the item inside vending machine. i have glue there with display name (Magical Scrap) but it does stil say glue, but when i buy it it has the right name in my inventory.

For the icon, you can just enable the skin overlays in the config. It will work as long as the sold item has a set skin. There is also a limitation where the plugin cannot show custom images for vending machines in the drone marketplace, which isn't really feasible to solve.

Custom name display is something I'll probably add eventually. This also isn't feasible to solve for the drone marketplace.

 ohh nice :D will it come in the next update?

The skin overlay feature is already supported.

I don't have an ETA for the display name feature.

am i doing something wrong then? it says out of stock and it dont display the skin image

{
"ShopName": "Gelandriel The Enchanter",
"Monument": "assets/bundled/prefabs/autospawn/monument/medium/compound.prefab",
"Position": {
"x": -31.3940239,
"y": 0.869333267,
"z": 35.5626831
},
"Offers": [
{
"SellItem": {
"ShortName": "coal",
"DisplayName": "HotRod RailGun",
"Amount": 1,
"Skin": 809896189
},
"CurrencyItem": {
"ShortName": "glue",
"DisplayName": "Magic Scrap",
"Amount": 1,
"Skin": 2861145385
},
"RefillMax": 100,
"RefillDelay": 1,
"RefillAmount": 100
}
]
},



Merged post

and i get this error in console.!

Merged post

[Custom Vending Setup] Unable to add 100 'coal' because the vending machine container rejected it.

I just tested with your above config and I was not able to reproduce the issue where the vending machine rejected the item. I checked the vending machine storage using another plugin and verified that it contained a stack of 100 "HotRod NailGun" items (skinned coal). The skin of that item didn't display in the shop UI at first, because the skin was still loading, but the skin eventually loaded and displayed correctly. The most likely reason that the coal didn't display the skin for you, is that there was no coal in the vending machine (another plugin probably replaced the coal with a different item). I did reproduce the glue skin not displaying, but that is because the 2861145385 skin doesn't exist.

The most common reason that the vending machine rejects an item is because the vending machine storage is full, for which the most common reason is that another plugin is altering the item when it is added to the vending machine. When the item is altered, Custom Vending Setup will not recognize the existing item when restocking, so it will create a new item. Custom Vending Setup is probably restocking that item until the vending machine container is full, eventually leading to the "Unable to add 100 'coal' ..." error. You probably have a plugin which is altering the item when it is added to the vending machine container. Do you know why your plugin would be doing that? Is that a plugin I can find publicly available on the web?

i do have a purchased plugin that changes the coal :( into a enchanted rocket launcher

Please share the name of that plugin.

I imagine that plugin could allow enchanting the item simply according to the skin ID. If not, we can talk to the author to see what can be done.

sending you the info on pm.

Locked automatically