EconomyLite can do anything with SpongyChest?
SpongyChest doesn’t work yet, it is WIP. Secondly I have no idea what the above sentence means, if you mean is it compatible, then it will be, as it hooks into the Economy API
Release v0.4
Tested on SpongeForge 1286
First release of SpongyChest, more details here.
Txk
April 25, 2016, 10:45pm
24
When doing /spongychest
alone…
Release v0.4.1
Tested on SpongeForge 1286
Changes:
So from the video it seems that it does not support selling items yet, is that correct? Also, would it be possible for an argument of the command to create a sign that has a similar layout to the old ChestShop plugin instead and works in the same manner, as both I and many players of my server are more used to that style and feel it is more intuitive. So it would be up to shop creator which version they want, or it could be a config option for the entire server.
Thanks,
Meronat
Txk
April 25, 2016, 11:55pm
27
Found an issue with the ChestShop selling PokeBalls. I can throw as many as I want and other players can get them. The items that the players get, they are real PokeBalls. Can the item just delete from the chest rather going to 0?
Hm, must be a bug with how I am doing the inventory stuff, will look into this today.
You mean selling items to chests? No that is not a option yet, but it is a planned feature - I’ll make the option to use a sign instead Configurable later on.
Yeah, selling to chests. I am not able to test it right now, but it also seems you are not able to set an amount, is that a planned feature as well?
This would be great, it is rather odd reducing it to 0. I came across the problem as well in one of my plugins, but it can probably be fixed by something like checking if there is only one left before removing the item and if so, delete the item instead of decrementing the amount. There is probably a simpler way though in the InventoryAPI, not sure.
No. That is already possible, you just hold the amount you want to sell, when using /setshop
1 Like
Release v0.4.2
Tested on SpongeForge 1288
Changes:
Release v0.4.3
Tested on SpongeForge 1303
Changes:
ItemFrames for SpongyChest shops now are protected and are tied to the shop - meaning you can right click the frame to buy items, and left click to delete the shop.
So can you set it that you cant make a chest shop that is not against a wall or that people can look at the chest and see what it is selling? We kind of figured out you can make a shop in an open space and scam players with it. Because the itemframe doesnt appear unless there is a block it can attatch on. One solution we found is that can you force the itemframe to attatch to the chest because that would be a useful way to fix this issue.
I’ll fix that using your solution soon
11115
May 2, 2016, 12:56am
37
When right cilck. no itemframe display. how to solve ? Sponge 4.1.0-1212
Can I have more information on this error?
EDIT: Nevermind, I think it’s the same issue as:
opened 12:31AM - 19 May 16 UTC
closed 11:37PM - 25 May 16 UTC
bug
Using: SpongeVanilla 1.8.9-4.1.0-BETA-297
API: 4.1.0-SNAPSHOT-6fb4a43
One of my… players noticed that if you hold right click on a shop chest, it opens the chest. This only works if you have money, it is not an issue if you have 0 in your balance.
The item frames do no show up when the shop is created, this should be coupled with when performing the /spongychest setshop <price> command, it does not confirm the shop creation.
When performing the chest opening glitch this error is presented:
```
[20:32:08 ERROR] [Sponge]: Could not pass InteractBlockEvent$Secondary$Impl to Plugin{id=io.github.hsyyid.spongychest, name=SpongyChest, version=0.4.3, source=mods/SpongyChest-0.4.3.jar}
java.lang.NoClassDefFoundError: net/minecraftforge/items/CapabilityItemHandler
at io.github.hsyyid.spongychest.utils.ChestUtils.removeItems(ChestUtils.java:53) ~[ChestUtils.class:?]
at io.github.hsyyid.spongychest.listeners.InteractBlockListener.onPlayerInteractBlock(InteractBlockListener.java:72) ~[InteractBlockListener.class:?]
at org.spongepowered.common.event.listener.SecondaryListener_InteractBlockListener_onPlayerInteractBlock58.handle(Unknown Source) ~[?:?]
at org.spongepowered.common.event.RegisteredListener.handle(RegisteredListener.java:86) ~[RegisteredListener.class:1.8.9-4.1.0-BETA-297]
at org.spongepowered.common.event.SpongeEventManager.post(SpongeEventManager.java:258) [SpongeEventManager.class:1.8.9-4.1.0-BETA-297]
at org.spongepowered.common.event.SpongeEventManager.post(SpongeEventManager.java:269) [SpongeEventManager.class:1.8.9-4.1.0-BETA-297]
at org.spongepowered.common.SpongeImpl.postEvent(SpongeImpl.java:131) [SpongeImpl.class:1.8.9-4.1.0-BETA-297]
at org.spongepowered.common.event.SpongeCommonEventFactory.callInteractBlockEventSecondary(SpongeCommonEventFactory.java:606) [SpongeCommonEventFactory.class:1.8.9-4.1.0-BETA-297]
at org.spongepowered.common.event.SpongeCommonEventFactory.callInteractBlockEventSecondary(SpongeCommonEventFactory.java:601) [SpongeCommonEventFactory.class:1.8.9-4.1.0-BETA-297]
at net.minecraft.server.management.ItemInWorldManager.func_180236_a(SourceFile:102) [lg.class:?]
at net.minecraft.network.NetHandlerPlayServer.func_147346_a(SourceFile:532) [lm.class:?]
at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.func_148833_a(SourceFile:59) [ja.class:?]
at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.func_148833_a(SourceFile:10) [ja.class:?]
at org.spongepowered.common.network.PacketUtil.onProcessPacket(PacketUtil.java:107) [PacketUtil.class:1.8.9-4.1.0-BETA-297]
at net.minecraft.network.PacketThreadUtil$1.redirect$onProcessPacket$0(SourceFile:39) [fh$1.class:?]
at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13) [fh$1.class:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_91]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_91]
at net.minecraft.util.Util.func_181617_a(SourceFile:44) [g.class:?]
at net.minecraft.server.MinecraftServer.func_71190_q(SourceFile:143) [MinecraftServer.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(SourceFile:299) [ko.class:?]
at net.minecraft.server.MinecraftServer.func_71217_p(SourceFile:535) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.run(SourceFile:451) [MinecraftServer.class:?]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_91]`
The error is presented when creating a shop:
`[20:28:23 ERROR] [Sponge]: Could not pass InteractBlockEvent$Secondary$Impl to Plugin{id=io.github.hsyyid.spongychest, name=SpongyChest, version=0.4.3, source=mods/SpongyChest-0.4.3.jar}
java.lang.NoSuchMethodError: net.minecraft.util.EnumFacing.func_176739_a(Ljava/lang/String;)Lnet/minecraft/util/EnumFacing;
at io.github.hsyyid.spongychest.listeners.InteractBlockListener.onPlayerInteractBlock(InteractBlockListener.java:109) ~[InteractBlockListener.class:?]
at org.spongepowered.common.event.listener.SecondaryListener_InteractBlockListener_onPlayerInteractBlock58.handle(Unknown Source) ~[?:?]
at org.spongepowered.common.event.RegisteredListener.handle(RegisteredListener.java:86) ~[RegisteredListener.class:1.8.9-4.1.0-BETA-297]
at org.spongepowered.common.event.SpongeEventManager.post(SpongeEventManager.java:258) [SpongeEventManager.class:1.8.9-4.1.0-BETA-297]
at org.spongepowered.common.event.SpongeEventManager.post(SpongeEventManager.java:269) [SpongeEventManager.class:1.8.9-4.1.0-BETA-297]
at org.spongepowered.common.SpongeImpl.postEvent(SpongeImpl.java:131) [SpongeImpl.class:1.8.9-4.1.0-BETA-297]
at org.spongepowered.common.event.SpongeCommonEventFactory.callInteractBlockEventSecondary(SpongeCommonEventFactory.java:606) [SpongeCommonEventFactory.class:1.8.9-4.1.0-BETA-297]
at org.spongepowered.common.event.SpongeCommonEventFactory.callInteractBlockEventSecondary(SpongeCommonEventFactory.java:601) [SpongeCommonEventFactory.class:1.8.9-4.1.0-BETA-297]
at net.minecraft.server.management.ItemInWorldManager.func_180236_a(SourceFile:102) [lg.class:?]
at net.minecraft.network.NetHandlerPlayServer.func_147346_a(SourceFile:532) [lm.class:?]
at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.func_148833_a(SourceFile:59) [ja.class:?]
at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.func_148833_a(SourceFile:10) [ja.class:?]
at org.spongepowered.common.network.PacketUtil.onProcessPacket(PacketUtil.java:107) [PacketUtil.class:1.8.9-4.1.0-BETA-297]
at net.minecraft.network.PacketThreadUtil$1.redirect$onProcessPacket$0(SourceFile:39) [fh$1.class:?]
at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13) [fh$1.class:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_91]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_91]
at net.minecraft.util.Util.func_181617_a(SourceFile:44) [g.class:?]
at net.minecraft.server.MinecraftServer.func_71190_q(SourceFile:143) [MinecraftServer.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(SourceFile:299) [ko.class:?]
at net.minecraft.server.MinecraftServer.func_71217_p(SourceFile:535) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.run(SourceFile:451) [MinecraftServer.class:?]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_91]
```
Release v0.4.4
Tested on SpongeForge 1352
Changes:
Bug fixes with not being able to use SpongyChest in vanilla environments.
Are you going to update this so its compatible with 4.2.0?