Buying through GUI doesn't work #6

Closed
opened 2025-05-05 17:59:07 +02:00 by chowiekomba · 18 comments

I can do /sell and it will sell it, but with the gui, it says "this (emerald) is not available to buy" it happens with every item I add.

I can do /sell <item> and it will sell it, but with the gui, it says "this (emerald) is not available to buy" it happens with every item I add.
Author

Update: The auction works (I think it worked from the beginning) and buying cobblestone works. Nothing else does though.

Update: The auction works (I think it worked from the beginning) and buying cobblestone works. Nothing else does though.

I installed the mod yesterday and i've run into the same issue as mentioned above

I installed the mod yesterday and i've run into the same issue as mentioned above
Owner

I am not able to replicate it right now in the normal shop.
Can we get in contact about it?

I am not able to replicate it right now in the normal shop. Can we get in contact about it?
Author

Sure, do you want me to send a video on how I'm adding items to the shop and how its not working?

Sure, do you want me to send a video on how I'm adding items to the shop and how its not working?
Owner

You can if you want to.

You can if you want to.
Author

Here's the mods that are on the server.

Here's the mods that are on the server.
Author

Here's the video. (I don't know why I couldn't send the image and video at the same time)

Here's the video. (I don't know why I couldn't send the image and video at the same time)
Owner

oh, using sethand.
Looking into this

oh, using sethand. Looking into this
Author

using sethand and set both still have the same issue. Its on a self-hosted 1.21.5 server btw.

using sethand and set both still have the same issue. Its on a self-hosted 1.21.5 server btw.
Owner

Could you try the 1.5.6?
I removed the display_tooltip component from everything(hopefully it does not break any setup)

Could you try the 1.5.6? I removed the display_tooltip component from everything(hopefully it does not break any setup)
Author

Thank you so much! It works now! The only thing, is I have to delist and relist every item that was added in the previous version, but that shouldn't be too hard.

Thank you so much! It works now! The only thing, is I have to delist and relist every item that was added in the previous version, but that shouldn't be too hard.
Owner

No problem. I can automate it if needed. Tell me if needed.

No problem. I can automate it if needed. Tell me if needed.
Author

so, for some items, they can't be delisted and relisted. If I try listing it again, there's two of them. (I remember this was in the previous version too) should I just delete the config files and start from scratch?

so, for some items, they can't be delisted and relisted. If I try listing it again, there's two of them. (I remember this was in the previous version too) should I just delete the config files and start from scratch?
Owner

There is another option.
You can use a NBT editing tool on the prices.dat file.

There is another option. You can use a NBT editing tool on the prices.dat file.
Author

That fixed the stone issue, but any item that hasn't been delisted and relisted is still not buyable.

That fixed the stone issue, but any item that hasn't been delisted and relisted is still not buyable.
Owner
Try this build: https://modrinth.com/mod/servershop/version/ykmq9CXy
Author

Everything but the wooden pickaxe works and I can't get rid of it. I'm going to try to remove it through the .dat file.

Everything but the wooden pickaxe works and I can't get rid of it. I'm going to try to remove it through the .dat file.
Author

Okay, everything seems to work properly now. Thank you so much for your time!

Okay, everything seems to work properly now. Thank you so much for your time!
Sign in to join this conversation.
No Label
3 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: BRNSystems/ServerShop#6
No description provided.