I am going to try and fix it now.
@McGangsterFresh
You could have just reverted back a version and popped in your old shop files that youā¦ backed upā¦
Donāt rush Hassan just because you donāt know how to function xD
Itās cool I fixed it already.
Release v1.6c
Tested on SpongeForge 1212
Changes:
- Major bug fixes regarding reading invalid shops from the config (those with missing fields, specifically
signLocation
)
Enjoy!
Hey, you didnt by chance happen to work on a fix for items not showing up when you buy them, like pixelmon items, etc?
Or is that a sponge issue?
SpongeCommon issue as InventoryAPI is not fully or properly implemented.
Ahhh, ok. Hopefully it is fixed soon then Thanks hassan, your plugins are awesome.
again and again xD
Release v1.7
Tested on SpongeForge 1213
Changes:
- Added the ability to automatically create item frames above the shop sign, if the sign is on a wall. This is a configurable option in the config.
Enjoy!
Very nice idea and works like a charm. Thanks, man
May I ask what happens when the shops convert?
My adminshop files that were originally in the main directory are gone and my old signs are saying the items were purchased, yet no item is in my inventory and yes I have scrolled and clicked every box.
Shops = null in the data folderā¦
Doesnāt look or act as if it was successfully transferred.
26.03 18:22:48 [Server] Server thread/INFO [io.github.hsyyid.adminshop]: Reading Shopsā¦
26.03 18:22:48 [Server] Server thread/INFO [io.github.hsyyid.adminshop]: Reading Legacy AdminShopsā¦
26.03 18:22:48 [Server] Server thread/INFO [io.github.hsyyid.adminshop]: Read Legacy AdminShops.
26.03 18:22:48 [Server] Server thread/INFO [io.github.hsyyid.adminshop]: Reading Legacy BuyAdminShopsā¦
26.03 18:22:48 [Server] Server thread/INFO [io.github.hsyyid.adminshop]: Read Legacy BuyAdminShops.
26.03 18:22:48 [Server] Server thread/INFO [io.github.hsyyid.adminshop]: Finished reading Shops.
No shops are working though
Transferring reads the AdminShops from your .json
files, and then converts them into the new Shop
format. It then saves these into the conf
in the data
folder. If they are missing there may be a bug, Iāll check it out now. Note, that they are written once the server is stopped or when you add/modify an existing shop.
It is reading the old shops on the signs in game and claims that said item was purchased.
Just the items are no where to be found and thereās no data about the shops in any of the new files/folders
I restarted the server and had the itemsā¦ let me do some more testing.
Have you restarted the server at all since you have updated?
If not, do so, and then close and reopen your data folder.
Once you get the item, try relogging and see if it appears, may be a Sponge desync issue again.
Correct.
You purchase the items and the only way you can get them is to relog every time
Sponge 1220 btw
Updating to 1222 and seeing if there are any changes.
@HassanS6000
forgive me for being a fucking idiot, but how in the world do you sell items?
[Sell]
{whatever text}
/setshop {price} just makes it a buy shop.
https://gyazo.com/c97472276a90c6594ece115ca0954f6c.png
Tab doesnāt give me an option to change to a sell shop, etc.
^^ Nevermind got it - might want to update your description above. You state āto make a buy shop use /setshop # trueā.
Also making and breaking shop signs lag the server a great deal.
Upon breaking or placing the sign you have to wait 15 or so seconds before you can do anything else.
^^ I decided to just remove all of the shops and redo them since its so easy. There is no more sign lag when breaking and creating shops
You may find that when you right-click a chest the items you purchased appear in your inventory. As @HassanS6000 suggested, its probably a Sponge inventory problem.
Yea I figured that one out thanks!