ShopChest icon indicating copy to clipboard operation
ShopChest copied to clipboard

1.14 | ShopChest throws message "Not Enough Items" to players using an Admin Shop

Open steampunko opened this issue 6 years ago • 5 comments

So I'm currently trying to sell an item with nbt attached to it through an admin shopchest, but when non-opped players attempt to purchase it, it tells them "Not enough items.". I don't receive this message with any regular items.

steampunko avatar Aug 08 '19 20:08 steampunko

Can you tell me the exact item? If possible, open the database, and in the shopchest_shops table copy the "product" value of that shop.

EpicEricEE avatar Aug 08 '19 20:08 EpicEricEE

How would I go about opening the database file?

steampunko avatar Aug 09 '19 02:08 steampunko

Nevermind, I found a program that opens it. Here's the product value

aToKICA9PTogb3JnLmJ1a2tpdC5pbnZlbnRvcnkuSXRlbVN0YWNrCiAgdjogMTk3NgogIHR5cGU6IE5FVEhFUl9CUklDSwogIG1ldGE6CiAgICA9PTogSXRlbU1ldGEKICAgIG1ldGEtdHlwZTogVU5TUEVDSUZJQwogICAgZGlzcGxheS1uYW1lOiBCbGFuayBNdXNpYyBEaXNjCiAgICBsb3JlOgogICAgLSDCpzdVc2VkIHRvIGNyYWZ0IG90aGVyIE11c2ljIERpc2NzCiAgICBjdXN0b20tbW9kZWwtZGF0YTogMQogICAgSXRlbUZsYWdzOgogICAgLSBISURFX0VOQ0hBTlRTCiAgICAtIEhJREVfQVRUUklCVVRFUwogICAgLSBISURFX1BPVElPTl9FRkZFQ1RTCg==

Edit: The item was a nether brick, with a custom model applied, as well as a custom name and lore set.

steampunko avatar Aug 09 '19 02:08 steampunko

I can't seem to reproduce this issue. How can players obtain the item besides the shop? When you buy an item from the shop, are you able to immediately sell it back?

EpicEricEE avatar Aug 11 '19 22:08 EpicEricEE

They can craft it using a custom crafting plugin, but I have it in the store in case they don't have the materials necessary to craft. I can both purchase and sell it fine, it's just non-opped players that can't

steampunko avatar Aug 15 '19 01:08 steampunko