guarmanda / lootchest Goto Github PK
View Code? Open in Web Editor NEWPlugin to reload chest with hologram, particles, and editing menu
License: GNU General Public License v3.0
Plugin to reload chest with hologram, particles, and editing menu
License: GNU General Public License v3.0
Hi, I want to make a chest and have it automatically updated every hour. I put 1 minute for the test. When I take all the things from the chest, things are not updated. What could be the problem?
please add a delay before the player can open the chest, I have come up with 2 modes for this
1 - delay after landing the chest
2 - after the player tries to open the chest, the timer will start, and as soon as it expires, the chest can be opened
I would also like the items to spawn on random slots in the chest and so that the chest sizes can be edited.
Hello Guarmanda !
This plugin is very cool !
But when I'm looking at a chest, I can't know what's his name so is it possible to add a command like "/lc name" to display the name of the chest I'm looking at ?
The title is pretty self explanatory. Just adding a field to add a command that is run when the chest spawns, with some placeholders we can use to fill in the information.
With this the user could use commands like DiscordSRV's /discord broadcast <text>
to send a message in their discord server announcing the respawn of the chest.
Hi, can I move "LootChest" to the MCBBS forum? I have added Chinese language for this addon and want to share it with our Chinese Minecraft players, I will point to a link to spigotmc,MCBBS is currently the largest minecraft forum in China.
MCBBS Link:https://www.mcbbs.net/
//paper
.... [13:16:24 INFO]: Amitexingg issued server command: /lc create 1
.... [13:16:24 ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing command 'lc' in plugin LootChest v2.2.0
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[patched_1.16.5.jar:git-Paper-467]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159) ~[patched_1.16.5.jar:git-Paper-467]
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.dispatchCommand(CraftServer.java:806) ~[patched_1.16.5.jar:git-Paper-467]
at net.minecraft.server.v1_16_R3.PlayerConnection.handleCommand(PlayerConnection.java:2021) ~[patched_1.16.5.jar:git-Paper-467]
at net.minecraft.server.v1_16_R3.PlayerConnection.c(PlayerConnection.java:1832) ~[patched_1.16.5.jar:git-Paper-467]
at net.minecraft.server.v1_16_R3.PlayerConnection.a(PlayerConnection.java:1785) ~[patched_1.16.5.jar:git-Paper-467]
at net.minecraft.server.v1_16_R3.PacketPlayInChat.a(PacketPlayInChat.java:47) ~[patched_1.16.5.jar:git-Paper-467]
at net.minecraft.server.v1_16_R3.PacketPlayInChat.a(PacketPlayInChat.java:5) ~[patched_1.16.5.jar:git-Paper-467]
at net.minecraft.server.v1_16_R3.PlayerConnectionUtils.lambda$ensureMainThread$1(PlayerConnectionUtils.java:23) ~[patched_1.16.5.jar:git-Paper-467]
at net.minecraft.server.v1_16_R3.TickTask.run(SourceFile:18) ~[patched_1.16.5.jar:git-Paper-467]
at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:136) ~[patched_1.16.5.jar:git-Paper-467]
at net.minecraft.server.v1_16_R3.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[patched_1.16.5.jar:git-Paper-467]
at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:109) ~[patched_1.16.5.jar:git-Paper-467]
at net.minecraft.server.v1_16_R3.MinecraftServer.bb(MinecraftServer.java:1133) ~[patched_1.16.5.jar:git-Paper-467]
at net.minecraft.server.v1_16_R3.MinecraftServer.executeNext(MinecraftServer.java:1126) ~[patched_1.16.5.jar:git-Paper-467]
at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:119) ~[patched_1.16.5.jar:git-Paper-467]
at net.minecraft.server.v1_16_R3.MinecraftServer.sleepForTick(MinecraftServer.java:1087) ~[patched_1.16.5.jar:git-Paper-467]
at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1001) ~[patched_1.16.5.jar:git-Paper-467]
at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:174) ~[patched_1.16.5.jar:git-Paper-467]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_275]
Caused by: java.lang.ArrayIndexOutOfBoundsException: 28
at java.util.Arrays$ArrayList.set(Arrays.java:3846) ~[?:1.8.0_275]
at net.minecraft.server.v1_16_R3.NonNullList.set(SourceFile:53) ~[patched_1.16.5.jar:git-Paper-467]
at org.bukkit.craftbukkit.v1_16_R3.inventory.CraftInventoryCustom$MinecraftInventory.setItem(CraftInventoryCustom.java:108) ~[patched_1.16.5.jar:git-Paper-467]
at org.bukkit.craftbukkit.v1_16_R3.inventory.CraftInventory.setItem(CraftInventory.java:99) ~[patched_1.16.5.jar:git-Paper-467]
at fr.black_eyes.lootchest.Lootchest.(Lootchest.java:99) ~[?:?]
at fr.black_eyes.lootchest.commands.LootchestCommand.onCommand(LootchestCommand.java:137) ~[?:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[patched_1.16.5.jar:git-Paper-467]
... 19 more
//spigot
[13:22:26] [Server thread/ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing command 'lc' in plugin LootChest v2.2.0
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[server.jar:2991-Spigot-018b9a0-f3f3094]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:149) ~[server.jar:2991-Spigot-018b9a0-f3f3094]
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.dispatchCommand(CraftServer.java:763) ~[server.jar:2991-Spigot-018b9a0-f3f3094]
at net.minecraft.server.v1_16_R3.PlayerConnection.handleCommand(PlayerConnection.java:1788) ~[server.jar:2991-Spigot-018b9a0-f3f3094]
at net.minecraft.server.v1_16_R3.PlayerConnection.c(PlayerConnection.java:1631) ~[server.jar:2991-Spigot-018b9a0-f3f3094]
at net.minecraft.server.v1_16_R3.PlayerConnection.a(PlayerConnection.java:1584) ~[server.jar:2991-Spigot-018b9a0-f3f3094]
at net.minecraft.server.v1_16_R3.PacketPlayInChat.a(PacketPlayInChat.java:47) ~[server.jar:2991-Spigot-018b9a0-f3f3094]
at net.minecraft.server.v1_16_R3.PacketPlayInChat.a(PacketPlayInChat.java:1) ~[server.jar:2991-Spigot-018b9a0-f3f3094]
at net.minecraft.server.v1_16_R3.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:19) ~[server.jar:2991-Spigot-018b9a0-f3f3094]
at net.minecraft.server.v1_16_R3.TickTask.run(SourceFile:18) ~[server.jar:2991-Spigot-018b9a0-f3f3094]
at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeTask(SourceFile:144) ~[server.jar:2991-Spigot-018b9a0-f3f3094]
at net.minecraft.server.v1_16_R3.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[server.jar:2991-Spigot-018b9a0-f3f3094]
at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeNext(SourceFile:118) ~[server.jar:2991-Spigot-018b9a0-f3f3094]
at net.minecraft.server.v1_16_R3.MinecraftServer.bb(MinecraftServer.java:942) ~[server.jar:2991-Spigot-018b9a0-f3f3094]
at net.minecraft.server.v1_16_R3.MinecraftServer.executeNext(MinecraftServer.java:935) ~[server.jar:2991-Spigot-018b9a0-f3f3094]
at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.awaitTasks(SourceFile:127) ~[server.jar:2991-Spigot-018b9a0-f3f3094]
at net.minecraft.server.v1_16_R3.MinecraftServer.sleepForTick(MinecraftServer.java:919) ~[server.jar:2991-Spigot-018b9a0-f3f3094]
at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:851) ~[server.jar:2991-Spigot-018b9a0-f3f3094]
at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$0(MinecraftServer.java:164) ~[server.jar:2991-Spigot-018b9a0-f3f3094]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_275]
Caused by: java.lang.ArrayIndexOutOfBoundsException: 28
at java.util.Arrays$ArrayList.set(Arrays.java:3846) ~[?:1.8.0_275]
at net.minecraft.server.v1_16_R3.NonNullList.set(SourceFile:53) ~[server.jar:2991-Spigot-018b9a0-f3f3094]
at org.bukkit.craftbukkit.v1_16_R3.inventory.CraftInventoryCustom$MinecraftInventory.setItem(CraftInventoryCustom.java:108) ~[server.jar:2991-Spigot-018b9a0-f3f3094]
at org.bukkit.craftbukkit.v1_16_R3.inventory.CraftInventory.setItem(CraftInventory.java:99) ~[server.jar:2991-Spigot-018b9a0-f3f3094]
at fr.black_eyes.lootchest.Lootchest.(Lootchest.java:99) ~[?:?]
at fr.black_eyes.lootchest.commands.LootchestCommand.onCommand(LootchestCommand.java:137) ~[?:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[server.jar:2991-Spigot-018b9a0-f3f3094]
... 19 more
Hay me again, thanks for the help. after reinstalling the plugin it worked now with the console spam.
But now sometimes when i arrived at a chest there is a smaller chest on top of the normal chest, when i loot then chest the normal disapears but the invisibile ammorstand will stand there and i cant destroy them. Example before looting the chest:
Example after looting the chest:
best wishes
Hello,
my MC server is running on 1.12.2 and fine. Everytime whe a chest is unlooted and spawned the console says everysecond that line: [22:02:04] [Server thread/INFO] [fr.black_eyes.lootchest.Main]: [LootChest] Armorstand found (uuid)
i didn´t figure out why.
Thanks for help
Exactly title says everything, it could be good for chest to be locked for a while(in config), so this will give people chance to fight for drop, not an prow with elytras take it in 1 second. Is there any function for it? I didn't found something like that in config
Hi there! I love your plugin, and we have been running it for a while. We are making the switch to 1.17.1 - and this is what I am noticing now upon starting the plugin. It does this over/over again. I'm not sure what is going on. If you have any advice/thoughts I'd apreciate them! Thank you!
[19:28:43 WARN]: [LootChest] Task #1962 for LootChest v2.2.7 generated an exception
java.lang.NullPointerException: Cannot invoke "org.bukkit.entity.Entity.setCustomName(String)" because "as" is null
at fr.black_eyes.lootchest.Hologram$1.run(Hologram.java:124) ~[LootChest.jar:?]
at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[patched_1.17.1.jar:git-Paper-187]
at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) ~[patched_1.17.1.jar:git-Paper-187]
at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1490) ~[patched_1.17.1.jar:git-Paper-187]
at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:479) ~[patched_1.17.1.jar:git-Paper-187]
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1406) ~[patched_1.17.1.jar:git-Paper-187]
at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1188) ~[patched_1.17.1.jar:git-Paper-187]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:316) ~[patched_1.17.1.jar:git-Paper-187]
at java.lang.Thread.run(Thread.java:831) [?:?]
[19:28:43 WARN]: [LootChest] Task #1966 for LootChest v2.2.7 generated an exception
java.lang.NullPointerException: Cannot invoke "org.bukkit.entity.Entity.setCustomName(String)" because "as" is null
at fr.black_eyes.lootchest.Hologram$1.run(Hologram.java:124) ~[LootChest.jar:?]
at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[patched_1.17.1.jar:git-Paper-187]
at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) ~[patched_1.17.1.jar:git-Paper-187]
at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1490) ~[patched_1.17.1.jar:git-Paper-187]
at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:479) ~[patched_1.17.1.jar:git-Paper-187]
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1406) ~[patched_1.17.1.jar:git-Paper-187]
at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1188) ~[patched_1.17.1.jar:git-Paper-187]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:316) ~[patched_1.17.1.jar:git-Paper-187]
at java.lang.Thread.run(Thread.java:831) [?:?]
[19:28:43 INFO]: [LootChest] Armorstand found (uuid)
Server version: [18:32:53] [Server thread/INFO]: This server is running CraftBukkit version git-Spigot-f56e2e7-1a64d4a (MC: 1.13.2) (Implementing API version 1.13.2-R0.1-SNAPSHOT)�[m
[18:32:53] [Server thread/INFO]: Checking version, please wait...�[m
[18:32:53] [Thread-60/INFO]: You are running the latest version�[m
cant use respawn or respawnall command
[18:22:06] [Server thread/INFO]: AvTo_ issued server command: /lc respawnall [18:22:06] [Server thread/ERROR]: null org.bukkit.command.CommandException: Unhandled exception executing command 'lc' in plugin LootChest v1.6.7 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot-1.13.2.jar:git-Spigot-f56e2e7-1a64d4a] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:139) ~[spigot-1.13.2.jar:git-Spigot-f56e2e7-1a64d4a] at org.bukkit.craftbukkit.v1_13_R2.CraftServer.dispatchCommand(CraftServer.java:702) ~[spigot-1.13.2.jar:git-Spigot-f56e2e7-1a64d4a] at net.minecraft.server.v1_13_R2.PlayerConnection.handleCommand(PlayerConnection.java:1636) ~[spigot-1.13.2.jar:git-Spigot-f56e2e7-1a64d4a] at net.minecraft.server.v1_13_R2.PlayerConnection.a(PlayerConnection.java:1476) ~[spigot-1.13.2.jar:git-Spigot-f56e2e7-1a64d4a] at net.minecraft.server.v1_13_R2.PacketPlayInChat.a(PacketPlayInChat.java:45) ~[spigot-1.13.2.jar:git-Spigot-f56e2e7-1a64d4a] at net.minecraft.server.v1_13_R2.PacketPlayInChat.a(PacketPlayInChat.java:1) ~[spigot-1.13.2.jar:git-Spigot-f56e2e7-1a64d4a] at net.minecraft.server.v1_13_R2.PlayerConnectionUtils.a(SourceFile:10) ~[spigot-1.13.2.jar:git-Spigot-f56e2e7-1a64d4a] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_191] at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_191] at net.minecraft.server.v1_13_R2.SystemUtils.a(SourceFile:199) [spigot-1.13.2.jar:git-Spigot-f56e2e7-1a64d4a] at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:896) [spigot-1.13.2.jar:git-Spigot-f56e2e7-1a64d4a] at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:417) [spigot-1.13.2.jar:git-Spigot-f56e2e7-1a64d4a] at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:831) [spigot-1.13.2.jar:git-Spigot-f56e2e7-1a64d4a] at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:729) [spigot-1.13.2.jar:git-Spigot-f56e2e7-1a64d4a] at java.lang.Thread.run(Unknown Source) [?:1.8.0_191] Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.v1_13_R2.block.CraftBlock cannot be cast to org.bukkit.block.Chest at fr.black_eyes.lootchest.Utils.restoreChest(Utils.java:129) ~[?:?] at fr.black_eyes.lootchest.commands.Lootchest.onCommand(Lootchest.java:110) ~[?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot-1.13.2.jar:git-Spigot-f56e2e7-1a64d4a] ... 15 more
Is there a way for when the chest is empty for it to be removed but not dropped? so like it just vanishes till the respawn
Just had to set Destroy_Naturally_Instead_Of_Removing_Chest
to false
be able to have "presets" of chests. So you could assign, for example, 2 chests the same preset, You then can edit the preset and the 2 chests will update (This will also save a lot on the data.yml file)
Update the plugin, so it will be able to spawn chests inside of buildings or caves instead of the highest possible level.
Hi, I have a very cool idea for a loot chest, I'm ready to help you implement it if you need
basically i want you to add 2 cool features that can be disabled for those who don't need it
min_players_to_start_event: true
advance_notice: true
Functions:
1)add the ability to start airdrop only if there is the required minimum number of players on the server
(because at night is playing 1-3 people and there is no incentive to rush, there will be no fighting, bored)
2)Add an announcement of airdrop place in advance!
this would gather all the players in this place and allow you to start a battle for airdrop, just think how cool it would be!
(if someone doesn't need it you can turn it off)
EXAMPLE CONFIG:
min_players_to_start_event: true
advance_notice: true
"/lc create " causes an exception.
Tested versions: 1.12.2(Spigot, Paper)
org.bukkit.command.CommandException: Unhandled exception executing command 'lc' in plugin LootChest v2.1.5
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:648) ~[spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
at net.minecraft.server.v1_12_R1.PlayerConnection.handleCommand(PlayerConnection.java:1401) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1236) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
at net.minecraft.server.v1_12_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_231]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_231]
at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:748) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_231]
Caused by: org.inventivetalent.particle.ParticleException: Failed to send particle SMOKE_NORMAL to [CraftPlayer{name=Toshimichi0915}]
at org.inventivetalent.particle.ParticleEffect$Particle.send(ParticleEffect.java:445) ~[?:?]
at org.inventivetalent.particle.ParticleEffect.send(ParticleEffect.java:294) ~[?:?]
at org.inventivetalent.particle.ParticleEffect.send(ParticleEffect.java:256) ~[?:?]
at org.inventivetalent.particle.ParticleEffect.send(ParticleEffect.java:277) ~[?:?]
at fr.black_eyes.lootchest.falleffect.FallingPackageEntity.tick(FallingPackageEntity.java:127) ~[?:?]
at fr.black_eyes.lootchest.falleffect.FallingPackageEntity.summon(FallingPackageEntity.java:97) ~[?:?]
at fr.black_eyes.lootchest.falleffect.FallingPackageEntity.<init>(FallingPackageEntity.java:57) ~[?:?]
at fr.black_eyes.lootchest.Utils.restoreChest(Utils.java:335) ~[?:?]
at fr.black_eyes.lootchest.commands.LootchestCommand.onCommand(LootchestCommand.java:135) ~[?:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
... 15 more
Caused by: java.lang.NoSuchMethodException: Could not resolve constructor for [ResolverQuery{name='null', types=[class net.minecraft.server.v1_12_R1.EnumParticle, boolean, float, float, float, float, float, float, float, int]}] in class class net.minecraft.server.v1_12_R1.PacketPlayOutWorldParticles
at org.inventivetalent.reflection.resolver.ConstructorResolver.notFoundException(ConstructorResolver.java:105) ~[?:?]
at org.inventivetalent.reflection.resolver.ConstructorResolver.notFoundException(ConstructorResolver.java:1) ~[?:?]
at org.inventivetalent.reflection.resolver.ResolverAbstract.resolve(ResolverAbstract.java:60) ~[?:?]
at org.inventivetalent.reflection.resolver.ConstructorResolver.resolve(ConstructorResolver.java:60) ~[?:?]
at org.inventivetalent.particle.ParticleEffect$Particle.send_1_13(ParticleEffect.java:450) ~[?:?]
at org.inventivetalent.particle.ParticleEffect$Particle.send(ParticleEffect.java:437) ~[?:?]
at org.inventivetalent.particle.ParticleEffect.send(ParticleEffect.java:294) ~[?:?]
at org.inventivetalent.particle.ParticleEffect.send(ParticleEffect.java:256) ~[?:?]
at org.inventivetalent.particle.ParticleEffect.send(ParticleEffect.java:277) ~[?:?]
at fr.black_eyes.lootchest.falleffect.FallingPackageEntity.tick(FallingPackageEntity.java:127) ~[?:?]
at fr.black_eyes.lootchest.falleffect.FallingPackageEntity.summon(FallingPackageEntity.java:97) ~[?:?]
at fr.black_eyes.lootchest.falleffect.FallingPackageEntity.<init>(FallingPackageEntity.java:57) ~[?:?]
at fr.black_eyes.lootchest.Utils.restoreChest(Utils.java:335) ~[?:?]
at fr.black_eyes.lootchest.commands.LootchestCommand.onCommand(LootchestCommand.java:135) ~[?:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
... 15 more
```
For my server, I have two types of Lootchests in use:
Monuments: chests that respawn in fixed positions in custom-built "monuments" throughout the world
Lootdrops: chests that should spawn randomly around player locations within 1500 blocks.
The problem I am having is that the Monument chests, even though their random respawn range is disabled (set to 0) are still using the player locations and dropping the chests on players heads! They should be respecting the random respawn range being set to 0 and respawning where they were made.
I am on server version 1.16.1
Hello, my server is running 1.18.2 (purpur)
And I can't eaven connect to the server
latest.log
hi, would be nice to see feature wich allows me to create promo codes for chests and opening them remotly without interacting with a chest or give them a chest cointaining a custom random loot.
How to increase the maximum number of chests?
We have created about 40 chests, and now when creating a new chest, we cannot copy the settings from the old one, what could be the problem?
It seems to us that this is due to the fact that the "main chest" with other chests is full.
Server version SpigotForge 1.12.2
https://i.imgur.com/JzIsHJ3.png
https://i.imgur.com/2R9hHbn.png
Is it possible that when we use the randomspawn command it makes a broadcast?
Hi, is there a way to make a chest type different from 3 default chest types?
Also, i tried to make a multi for chest editor's buttons but even after the server's restart they arent working, is that feature available or isnt implemented yet?
I would like to have several dungeons on my server, and i need to respawn all chests only in one dungeon. Pls, add optinal arhument to the /respawnall , to respawn all chests in the . If world not specified, then chests in all worlds will be respawned.
Is it posssible to spawn these chests in random spots on the world also when chunks are newly generated? like natural chest spawning?
Would it be possible that all players can loot the same chest once without it being refilled?
LG Lorias
How to replicate:
-- Create a random spawn lootchest
-- /lc tp to chest to test out the claim
-- Open chest and gather all its contents
-- Chest and hologram did not despawn
I don't know if it is because I am using 1.17. But the Plugin immediately disables after loading when I start up the server. If I try to use any of the commands in game they just issue an internal error. Lots of other 1.16 plugins still work in 1.17, but apparently this one does not?
836 | java.lang.NullPointerException: Cannot invoke "org.bukkit.Material.equals(Object)" because "this.type" is null
837 | at fr.black_eyes.lootchest.Lootchest.isGoodType(Lootchest.java:331) ~[LootChest.jar:?]
838 | at fr.black_eyes.lootchest.Utils.restoreChest(Utils.java:321) ~[LootChest.jar:?]
839 | at fr.black_eyes.lootchest.Main$2.lambda$1(Main.java:253) ~[LootChest.jar:?]
840 | at org.bukkit.craftbukkit.v1_18_R2.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.18.2.jar:git-Paper-388]
841 | at org.bukkit.craftbukkit.v1_18_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) ~[paper-1.18.2.jar:git-Paper-388]
842 | at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1532) ~[paper-1.18.2.jar:git-Paper-388]
843 | at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:483) ~[paper-1.18.2.jar:git-Paper-388]
844 | at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1456) ~[paper-1.18.2.jar:git-Paper-388]
845 | at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1226) ~[paper-1.18.2.jar:git-Paper-388]
846 | at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:316) ~[paper-1.18.2.jar:git-Paper-388]
847 | at java.lang.Thread.run(Thread.java:833)
967 | java.lang.NullPointerException: Cannot invoke "org.bukkit.Material.name()" because "this.type" is null
968 | at fr.black_eyes.lootchest.Lootchest.saveInConfig(Lootchest.java:267) ~[LootChest.jar:?]
969 | at fr.black_eyes.lootchest.Utils.updateData(Utils.java:553) ~[LootChest.jar:?]
970 | at fr.black_eyes.lootchest.Main.onDisable(Main.java:61) ~[LootChest.jar:?]
971 | at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:266) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?]
972 | at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:399) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?]
973 | at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:578) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?]
974 | at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:555) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?]
975 | at org.bukkit.craftbukkit.v1_18_R2.CraftServer.disablePlugins(CraftServer.java:494) ~[paper-1.18.2.jar:git-Paper-388]
976 | at net.minecraft.server.MinecraftServer.stopServer(MinecraftServer.java:972) ~[paper-1.18.2.jar:git-Paper-388]
977 | at net.minecraft.server.dedicated.DedicatedServer.stopServer(DedicatedServer.java:803) ~[paper-1.18.2.jar:git-Paper-388]
978 | at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1271) ~[paper-1.18.2.jar:git-Paper-388]
979 | at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:316) ~[paper-1.18.2.jar:git-Paper-388]
980 | at java.lang.Thread.run(Thread.java:833) ~[?:?]
Is it possible to delete the lootchest after x time that no player has found it?
File data.yml content erased every time I use the /lc reload command :(
I want to set up a chest for my server players that each player is only allowed to open once, and I want to add the number of times the chest can be opened per person per day, Because I didn't find a way to delete the hologram in the game, so I came to give you feedback to see if this function is missing.,I don't know if "LootChest" can do this typ.
You can add a button to delete the hologram in the ninth position of the second row in the menu:
Hi creator ! I have some problem with plugin ... vers 1.15.2 paper
Console error:
[10:54:59 ERROR]: Error occurred while enabling LootChest v2.3.2 (Is it up to date?)
java.lang.IllegalArgumentException: No enum constant org.bukkit.Material.SOUL_LANTERN
at java.lang.Enum.valueOf(Enum.java:238) ~[?:1.8.0_301]
at org.bukkit.Material.valueOf(Material.java:85) ~[patched_1.15.2.jar:git-Paper-391]
at fr.black_eyes.lootchest.Mat.init_materials(Mat.java:102) ~[?:?]
at fr.black_eyes.lootchest.Main.onEnable(Main.java:110) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[patched_1.15.2.jar:git-Paper-391]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:380) ~[patched_1.15.2.jar:git-Paper-391]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:483) ~[patched_1.15.2.jar:git-Paper-391]
at org.bukkit.craftbukkit.v1_15_R1.CraftServer.enablePlugin(CraftServer.java:472) ~[patched_1.15.2.jar:git-Paper-391]
at org.bukkit.craftbukkit.v1_15_R1.CraftServer.enablePlugins(CraftServer.java:386) ~[patched_1.15.2.jar:git-Paper-391]
at net.minecraft.server.v1_15_R1.MinecraftServer.a(MinecraftServer.java:488) ~[patched_1.15.2.jar:git-Paper-391]
at net.minecraft.server.v1_15_R1.DedicatedServer.init(DedicatedServer.java:298) ~[patched_1.15.2.jar:git-Paper-391]
at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:909) ~[patched_1.15.2.jar:git-Paper-391]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_301]
[10:54:59 INFO]: [LootChest] Disabling LootChest v2.3.2
[10:54:59 ERROR]: Error occurred while disabling LootChest v2.3.2 (Is it up to date?)
java.lang.NullPointerException: null
at fr.black_eyes.lootchest.Files.saveData(Files.java:32) ~[?:?]
at fr.black_eyes.lootchest.Utils.updateData(Utils.java:555) ~[?:?]
at fr.black_eyes.lootchest.Main.onDisable(Main.java:61) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:265) ~[patched_1.15.2.jar:git-Paper-391]
at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:415) ~[patched_1.15.2.jar:git-Paper-391]
at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:516) ~[patched_1.15.2.jar:git-Paper-391]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:384) ~[patched_1.15.2.jar:git-Paper-391]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:483) ~[patched_1.15.2.jar:git-Paper-391]
at org.bukkit.craftbukkit.v1_15_R1.CraftServer.enablePlugin(CraftServer.java:472) ~[patched_1.15.2.jar:git-Paper-391]
at org.bukkit.craftbukkit.v1_15_R1.CraftServer.enablePlugins(CraftServer.java:386) ~[patched_1.15.2.jar:git-Paper-391]
at net.minecraft.server.v1_15_R1.MinecraftServer.a(MinecraftServer.java:488) ~[patched_1.15.2.jar:git-Paper-391]
at net.minecraft.server.v1_15_R1.DedicatedServer.init(DedicatedServer.java:298) ~[patched_1.15.2.jar:git-Paper-391]
at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:909) ~[patched_1.15.2.jar:git-Paper-391]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_301]
what is the command to spawn a chest i've already created, say IronChest3 within 100 blocks of a specific player?
Hey there,
We started to notice a while back that invisible armorstands couldn't be edited with CMI's armorstand feature anymore.
I've just done the tedious steps of trying to figure out why, by removing plugins one by one basically. And it turns out it's caused by lootchest. Or rather, without lootchest on the server: we can edit them again, with lootchest: we can no longer edit it again.
I've done three different restarts and tests on a few different systems, and when we add lootchest jar, the same issue occurs.
> ver
[01:24:21 INFO]: Checking version, please wait...
[01:24:21 INFO]: This server is running Paper version git-Paper-307 (MC: 1.19.2) (Implementing API version 1.19.2-R0.1-SNAPSHOT) (Git: 476ef25)
You are running the latest version
Previous version: git-Paper-304 (MC: 1.19.2)
> cmi version
[01:24:25 INFO]: --------------------------------------------------
[01:24:25 INFO]: CMI: 9.3.0.2
[01:24:25 INFO]: CMILib: 1.2.4.1
[01:24:25 INFO]: Server: Paper(307) 1.19.2-R0.1-SNAPSHOT
[01:24:25 INFO]: CMI economy: Enabled Vault: 1.7.3-b CMI Chat: Enabled
[01:24:25 INFO]: Modules -> 55 enabled 2 disabled: flightCharge, votifier
[01:24:25 INFO]: --------------------------------------------------
>
And we're using LootChest 2.3.3
Some older version of lootchest we had during Halloween, we were not having this problem, so it might be one of the more recent changes perhaps?
Attached you see me try without lootbox installed, then making sure the jar is there, starting it up, trying again, I can't interact, break, or edit the armorstands, and when I /stop and remove lootbox again and start up, I can interact with armorstads again.
If you need more information, feel free to ask, I am not sure what else to ask.
Oh, yes, there are no console errors when we interact. And interaction being left click as well as right click or sneak right click.
I am running PaperMC 1.15.2 build 208 and the plugin works perfectly until the server restarts for maintenance because one of the worlds is not loaded before the plugin.
I have my main world with the_end and nether, a Skyblock (FabledSkyBlock) that also has an end/nether and another Custom World I created called Underworld. When the server restarts it can not load the chest for Underworld because Multiverse has not loaded the world yet. I have ran /lc reload and it states that it was reloaded, but still the chest are just chest again. All the entries are still in the data.yml file, but if I do a /lc list there are no chest listed. If I do a /lc edit the list displays for me to pick from. I can look at the chest and do /lc create and name it the same as it was before and then set the options and it over write the data.yml entry or just use the data it currently has and it is then working again until next restart. I currently have 20 chest defined and I am going to remove the plugin until it can be fixed or I figure some way to load my Multiverse world before your plugin.
Here is the Console:
[21:12:57] [Server thread/INFO]: [LootChest] Enabling LootChest v2.0.0
[21:12:57] [Server thread/INFO]: [LootChest] Loading config files...
[21:12:57] [Server thread/INFO]: [LootChest] Starting particles...
[21:12:57] [Server thread/INFO]: [ReflectionHelper] I am loaded from package org.inventivetalent.reflection.minecraft
[21:12:57] [Server thread/INFO]: [ReflectionHelper] Version is v1_15_R1 (11501)
[21:12:57] [Server thread/INFO]: [LootChest] Loading chests...
[21:12:57] [Server thread/INFO]: [LootChest] Couldn't load chest BasicChest : the world Underworld is not loaded.
[21:12:57] [Server thread/INFO]: [LootChest] Couldn't load chest WC_IH_Resp1 : the world Underworld is not loaded.
[21:12:57] [Server thread/INFO]: [LootChest] Couldn't load chest WC_IL_Thorn1 : the world Underworld is not loaded.
[21:12:57] [Server thread/INFO]: [LootChest] Couldn't load chest WC_IC_Protect1 : the world Underworld is not loaded.
[21:12:57] [Server thread/INFO]: [LootChest] Couldn't load chest WC_IB_Depth1 : the world Underworld is not loaded.
[21:12:57] [Server thread/INFO]: [LootChest] Couldn't load chest WC_SS_Unbreak1 : the world Underworld is not loaded.
[21:12:57] [Server thread/INFO]: [LootChest] Couldn't load chest WC_Lantern01 : the world Underworld is not loaded.
[21:12:57] [Server thread/INFO]: [LootChest] Couldn't load chest WC_IS_Unbreak1 : the world Underworld is not loaded.
[21:12:57] [Server thread/INFO]: [LootChest] Loaded 0 Lootchests in 0 miliseconds
[21:12:57] [Server thread/INFO]: [LootChest] Starting LootChest timers asynchronously...
[21:12:57] [Server thread/INFO]: [LootChest] Plugin loaded
Thanks
Add the ability to execute a command when opening/closing a chest with a placeholder on behalf of the player (the ability to execute a command on behalf of the player and on behalf of the server)
Ideally, be able to set multiple commands and their chances of triggering
Even in the graphical menu for setting up the chest, there are not all the commands that are in the config.
Namely:
direction
holo
protectionTime
randomradius
etc
It would also be cool to have a command that opens all created chests in the GUI with filtering and a brief description of which world, etc. To make it more convenient to somehow structure the created chests.
and so that you can just look at the chest and enter lc edit and the menu opens
It will be super cool, then it will be much easier to integrate with other plugins
And the ability to set decimal numbers with a dot for the chance of loot appearance
Hello I have a problem with the plugin. if the server restarts or start then it crashes when the plugin tries to start. there are a total of 121 chests in the world. Here is the log file of the consol Error.
I tried the start of the plugin change to a later point But that has no effect on the error.
I apologize for my bad English I can only speak German
https://pastebin.pl/view/833b9cad
Server data:
The version of the Plugin is 2.1.7
(If I take a higher version then the chest drop after loot and you can collect it)
Server: Paper 1.16.3
Installed Plugins:
advancedregionmarket-3.3.4
AntiCheatReloaded
AutoSell
BattleTraining.MC1.12-.v1.5.1
Citizens
CMI8.8.1.2
CMILib1.0.3.4
CoreProtect-19.4
CrackShot
CrackShotPlus
CraftingStore
dtlTradersPlus-6.2.6
FJetpack-0.2.4
GTACops
inWartung
LootChest-2.1.7
LPC-3.1.0
LuckPerms-Bukkit-5.2.35
Minepacks
PlaceholderAPI-2.10.9
PlayerVaultsX
ProtocolLib
QuickBoard
RandomWarp
RHSignItem_v1.6.0-1.16.2
Vault-1.7.3
ViaBackwards-4.0.0
ViaRewind-2.0.0
ViaVersion-4.0.0
worldedit-bukkit-7.2.5-dist
worldguard-bukkit-7.0.4
/lc removeallholo wont remove any duplicated hologram
I have to manually use a command to remove all those bugged holograms, the command in question is the following one and it works:
/minecraft:kill @e[type=armor_stand,distance=..10]
The server is running Paper version git-Paper-386 (MC: 1.18.2) (Implementing API version 1.18.2-R0.1-SNAPSHOT) (Git: 072f54c on ver/1.18.2)
Hello, I recently installed lootchest and found that it is not compatible with ItemsAdder, if I have lootchest installed, itemsadder does not work properly.
I have been looking and it may be because lootchest is not compatible with itemsadder, is it possible that in the future this compatibility will be added?
Thanks!
Hey sorry to keep bothering you but when use_players_locations_for_randomspawn: true the chests that it's dropping are really broken.
The chests are spawning with all the right loot, but when it is emptied, it does not disappear or announce it was emptied.
Additionally, the holograms are off to the side and are not despawning no matter what.
Some chests freeze in the air
actuality not chests, but their "particles?"
It stucks around 2 block from the ground
it's impossible to break or "//set air" them 🥲
What to do? 🥺
This is what it showed whenever i used a LootChest command
lc randomspawn SupplyCrate 10000
[07:26:15 INFO]: You set a spawn radius for chest SupplyCrate. From now, it will spawn at this radius around the place where the chest was created, or around a random player if you set "use_players_locations_for_randomspawn" to true.
[07:26:15 WARN]: Unexpected exception while parsing console command "lc randomspawn SupplyCrate 10000"
org.bukkit.command.CommandException: Unhandled exception executing command 'lc' in plugin LootChest v2.1.3
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[patched_1.16.4.jar:git-Paper-416]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159) ~[patched_1.16.4.jar:git-Paper-416]
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.dispatchCommand(CraftServer.java:807) ~[patched_1.16.4.jar:git-Paper-416]
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.dispatchServerCommand(CraftServer.java:769) ~[patched_1.16.4.jar:git-Paper-416]
at net.minecraft.server.v1_16_R3.DedicatedServer.handleCommandQueue(DedicatedServer.java:411) ~[patched_1.16.4.jar:git-Paper-416]
at net.minecraft.server.v1_16_R3.DedicatedServer.b(DedicatedServer.java:378) ~[patched_1.16.4.jar:git-Paper-416]
at net.minecraft.server.v1_16_R3.MinecraftServer.a(MinecraftServer.java:1208) ~[patched_1.16.4.jar:git-Paper-416]
at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:996) ~[patched_1.16.4.jar:git-Paper-416]
at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:173) ~[patched_1.16.4.jar:git-Paper-416]
at java.lang.Thread.run(Thread.java:834) [?:?]
Caused by: java.lang.NullPointerException
I setup chests for my server and all works properly since I restart server.
Chest are saved like a normal chest. I mean Parcipales dont work and when I take all the loot from the chest they don't dissapear. If I destroy the chest holo dont dissapear.
Normal log
Server version : Paper 1.15.2
Hello! What about 1.7.10 support? Most commands don't work on 1.7.10, the plugin throws errors in the console
Here is the log 2022-09-01-2.log
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.