So im sure this mod is really awesome but i legit cant use it at all. I installed this to my spigot server (1.18.1) and it refused to work. Idk how to get it to work but if i can i will change my review
Hey! This feature is actually somehow implemented, you can enable/disable the plugin via permissions commands (revoke your perm to create chests to disable it, grant yourself the perm to enable it), also you can set a required enchantment like Silk Touch so the plugin will work only if you are handling the correct tool.
Thanks for the comment though ♥
Version: 1.5.0
DO NOT USE THIS! After breaking a chest, I got a io.nettler.codec.EncoderException and got kicked. I CANNOT EVEN LOG BACK IN AGAIN! Tried to remove the plugin, still nothing. I HAD TO RECREATE THE WORLD TO GET IT WORKING AGAIN - WTF?!
[16:50:52 ERROR]: Packet encoding of packet ID 77 threw (skippable? false)
io.netty.handler.codec.EncoderException: java.io.UTFDataFormatException: encoded string ('0':
=...: CHEST
) too long: 107018 bytes
at net.minecraft.network.FriendlyByteBuf.writeNbt(FriendlyByteBuf.java:451) ~[?:?]
at net.minecraft.network.FriendlyByteBuf.writeItem(FriendlyByteBuf.java:514) ~[?:?]
at net.minecraft.network.syncher.EntityDataSerializers$7.write(EntityDataSerializers.java:137) ~[?:?]
at net.minecraft.network.syncher.EntityDataSerializers$7.write(EntityDataSerializers.java:134) ~[?:?]
at net.minecraft.network.syncher.SynchedEntityData.writeDataItem(SynchedEntityData.java:231) ~[?:?]
at net.minecraft.network.syncher.SynchedEntityData.pack(SynchedEntityData.java:168) ~[?:?]
at net.minecraft.network.protocol.game.ClientboundSetEntityDataPacket.write(ClientboundSetEntityDataPacket.java:34) ~[?:?]
at net.minecraft.network.PacketEncoder.encode(PacketEncoder.java:44) ~[patched_1.17.1.jar:git-Paper-92]
at net.minecraft.network.PacketEncoder.encode(PacketEncoder.java:15) ~[patched_1.17.1.jar:git-Paper-92]
at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:107) ~[patched_1.17.1.jar:git-Paper-92]
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:717) ~[patched_1.17.1.jar:git-Paper-92]
at io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:764) ~[patched_1.17.1.jar:git-Paper-92]
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:790) ~[patched_1.17.1.jar:git-Paper-92]
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:758) ~[patched_1.17.1.jar:git-Paper-92]
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:808) ~[patched_1.17.1.jar:git-Paper-92]
at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:1025) ~[patched_1.17.1.jar:git-Paper-92]
at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:306) ~[patched_1.17.1.jar:git-Paper-92]
at net.minecraft.network.Connection.a(Connection.java:315) ~[?:?]
at net.minecraft.network.Connection.lambda$sendPacket$4(Connection.java:295) ~[?:?]
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164) ~[patched_1.17.1.jar:git-Paper-92]
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472) ~[patched_1.17.1.jar:git-Paper-92]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500) ~[patched_1.17.1.jar:git-Paper-92]
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) ~[patched_1.17.1.jar:git-Paper-92]
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[patched_1.17.1.jar:git-Paper-92]
at java.lang.Thread.run(Thread.java:831) [?:?]
Caused by: java.io.UTFDataFormatException: encoded string ('0':
=...: CHEST
) too long: 107018 bytes
at java.io.DataOutputStream.writeUTF(DataOutputStream.java:368) ~[?:?]
at java.io.DataOutputStream.writeUTF(DataOutputStream.java:332) ~[?:?]
at io.netty.buffer.ByteBufOutputStream.writeUTF(ByteBufOutputStream.java:143) ~[patched_1.17.1.jar:git-Paper-92]
at net.minecraft.nbt.StringTag.write(StringTag.java:65) ~[?:?]
at net.minecraft.nbt.CompoundTag.writeNamedTag(CompoundTag.java:422) ~[?:?]
at net.minecraft.nbt.CompoundTag.write(CompoundTag.java:77) ~[?:?]
at net.minecraft.nbt.CompoundTag.writeNamedTag(CompoundTag.java:422) ~[?:?]
at net.minecraft.nbt.CompoundTag.write(CompoundTag.java:77) ~[?:?]
at net.minecraft.nbt.NbtIo.writeUnnamedTag(NbtIo.java:206) ~[?:?]
at net.minecraft.nbt.NbtIo.write(NbtIo.java:199) ~[?:?]
at net.minecraft.network.FriendlyByteBuf.writeNbt(FriendlyByteBuf.java:449) ~[?:?]
... 24 more
[16:50:52 INFO]: glock6993 lost connection: Internal Exception: io.netty.handler.codec.EncoderException: java.io.UTFDataFormatException: encoded string ('0':
=...: CHEST
) too long: 107018 bytes
Hello, i'm sorry for your issue but it seems like something went wrong with your chest's content. It is probably related to other plugins installed in your server since nobody else has reported the same issue so far and i tested it myself with various configurations (but not all possible configurations ofcourse).
SInce the plugin is using the game's persistent memory, any error in a container's content is being saved with the world as well, causing your server to require a rollback in case something goes wrong with that. If you could provide me the configuration of the chest which caused the issue and a list of the plugins installed in your server i could try to understand the cause and fix it.
All i see from the report you showed here is that the chest's content was too long to be encoded/decoded (107018 bytes) which is not so helpful right now but already shows an unexpected configuration of the chest's content.
P.S.: Thanks for the report but dropping a 1 star comment saying "DO NOT USE THIS" is really NOT helpful for new developers. As you can see in the discussion section i'm actively updating the plugin to fix any bug/request being reported there, prioritizing critical ones.
Version: 1.4.0
Excellent plugin, searched so long for something like this and it works flawlessly thank you!!!