Giter Site home page Giter Site logo

lootin-plugin's People

Contributors

lauriichan avatar sachingorkar102 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

lootin-plugin's Issues

Loot Chest not able to open.

Newest lootin plugin has an issue on the loot chest not able to access/open (included manual created loot chest). The plugin is running inside the server but right clicking the loot chest doesn't do any action on the loot chest.

Please support trapped chests

Lootin does not currently work with trapped chests, these spawn with loot in woodland mansions, and I'd also like to use them with Lootin in my builds. I imagine you only need to copy and paste your chest code, but java projects look like Chinese to me so I don't think I can figure it out myself.

[1.18] Arclight compatibility

Hello,i'm using this plugin with https://github.com/IzzelAliz/Arclight .

There are some error logs that get spammed on console. Although the plugins functions nicely on all cases

Using Lootin 5.1 and Arclight c78fe148d33f683183e03fea5c353355f0b9b11b (1.18)

[07Aug2022 00:58:24.131] [Server thread/ERROR] [Minecraft/]: Could not pass event PlayerInteractEvent to Lootin v5.1
org.bukkit.event.EventException: null
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[arclight-1.18.2-1.0.7-SNAPSHOT-c78fe14.jar%2368!/:arclight-1.18.2-1.0.7-SNAPSHOT-c78fe14] {re:mixin,re:classloading}
	at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:589) ~[arclight-1.18.2-1.0.7-SNAPSHOT-c78fe14.jar%2368!/:arclight-1.18.2-1.0.7-SNAPSHOT-c78fe14] {re:mixin,re:classloading,re:mixin}
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:576) ~[arclight-1.18.2-1.0.7-SNAPSHOT-c78fe14.jar%2368!/:arclight-1.18.2-1.0.7-SNAPSHOT-c78fe14] {re:mixin,re:classloading,re:mixin}
	at org.bukkit.craftbukkit.v1_18_R2.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactoryMixin.java:505) ~[arclight-1.18.2-1.0.7-SNAPSHOT-c78fe14.jar%2368!/:arclight-1.18.2-1.0.7-SNAPSHOT-c78fe14] {re:mixin,re:classloading,pl:mixin:APP:mixins.arclight.bukkit.json:CraftEventFactoryMixin,pl:mixin:A,pl:arclight_implementer:A}
	at net.minecraft.server.level.ServerPlayerGameMode.m_7179_(ServerPlayerGameModeMixin.java:804) ~[server-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,re:computing_frames,re:classloading,pl:mixin:APP:mixins.arclight.core.json:server.management.ServerPlayerGameModeMixin,pl:mixin:APP:mixins.arclight.impl.forge.optimization.json:realtime.PlayerInteractionManagerMixin_Realtime,pl:mixin:A}
	at net.minecraft.server.network.ServerGamePacketListenerImpl.m_6371_(ServerPlayNetHandlerMixin.java:985) ~[server-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:mixins.arclight.core.json:network.ServerPlayNetHandlerMixin,pl:mixin:APP:mixins.arclight.impl.forge.optimization.json:network.ServerGamePacketListenerImplMixin_Optimize,pl:mixin:A,re:mixin,pl:accesstransformer:B}
	at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.m_5797_(CPlayerTryUseItemOnBlockPacketMixin.java:30) ~[server-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,re:classloading,pl:mixin:APP:mixins.arclight.core.json:network.protocol.game.CPlayerTryUseItemOnBlockPacketMixin,pl:mixin:A}
	at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.m_5797_(CPlayerTryUseItemOnBlockPacketMixin.java:8) ~[server-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,re:classloading,pl:mixin:APP:mixins.arclight.core.json:network.protocol.game.CPlayerTryUseItemOnBlockPacketMixin,pl:mixin:A}
	at net.minecraft.network.protocol.PacketUtils.md6580a8$lambda$ensureRunningOnSameThread$0$0(PacketThreadUtilMixin.java:537) ~[server-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,re:classloading,pl:mixin:APP:mixins.arclight.core.json:network.protocol.PacketThreadUtilMixin,pl:mixin:A}
	at net.minecraft.server.TickTask.run(TickTask.java:18) ~[server-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:classloading}
	at net.minecraft.util.thread.BlockableEventLoop.m_6367_(BlockableEventLoop.java:157) ~[server-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}
	at net.minecraft.util.thread.ReentrantBlockableEventLoop.m_6367_(ReentrantBlockableEventLoop.java:23) ~[server-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,re:computing_frames,re:classloading}
	at net.minecraft.server.MinecraftServer.m_6367_(MinecraftServerMixin.java:799) ~[server-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:mixins.arclight.core.json:server.MinecraftServerMixin,pl:mixin:A}
	at net.minecraft.server.MinecraftServer.m_6367_(MinecraftServerMixin.java:164) ~[server-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:mixins.arclight.core.json:server.MinecraftServerMixin,pl:mixin:A}
	at net.minecraft.util.thread.BlockableEventLoop.m_7245_(BlockableEventLoop.java:131) ~[server-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}
	at net.minecraft.server.MinecraftServer.m_129961_(MinecraftServerMixin.java:782) ~[server-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:mixins.arclight.core.json:server.MinecraftServerMixin,pl:mixin:A}
	at net.minecraft.server.MinecraftServer.m_7245_(MinecraftServerMixin.java:776) ~[server-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:mixins.arclight.core.json:server.MinecraftServerMixin,pl:mixin:A}
	at net.minecraft.util.thread.BlockableEventLoop.m_18701_(BlockableEventLoop.java:140) ~[server-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}
	at net.minecraft.server.MinecraftServer.m_130012_(MinecraftServerMixin.java:762) ~[server-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:mixins.arclight.core.json:server.MinecraftServerMixin,pl:mixin:A}
	at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServerMixin.java:2139) ~[server-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:mixins.arclight.core.json:server.MinecraftServerMixin,pl:mixin:A}
	at net.minecraft.server.MinecraftServer.m_177918_(MinecraftServerMixin.java:261) ~[server-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:mixins.arclight.core.json:server.MinecraftServerMixin,pl:mixin:A}
	at java.lang.Thread.run(Thread.java:833) [?:?] {re:arclight_implementer,re:mixin,re:arclight_implementer,re:arclight_implementer,re:arclight_implementer,re:arclight_implementer,re:arclight_implementer,re:mixin,re:mixin,re:mixin,re:arclight_implementer}
Caused by: java.lang.NoSuchFieldError: opened
	at org.bukkit.craftbukkit.v1_18_R2.block.CraftChest.open(CraftChest.java:59) ~[arclight-1.18.2-1.0.7-SNAPSHOT-c78fe14.jar%2368!/:arclight-1.18.2-1.0.7-SNAPSHOT-c78fe14] {re:classloading}
	at com.github.sachin.lootin.gui.ChestGui.open(ChestGui.java:30) ~[?:?] {}
	at com.github.sachin.lootin.listeners.InventoryListeners.onInteract(InventoryListeners.java:77) ~[?:?] {}
	... 22 more
[07Aug2022 00:58:25.603] [Server thread/ERROR] [Minecraft/]: Could not pass event InventoryCloseEvent to Lootin v5.1
org.bukkit.event.EventException: null
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[arclight-1.18.2-1.0.7-SNAPSHOT-c78fe14.jar%2368!/:arclight-1.18.2-1.0.7-SNAPSHOT-c78fe14] {re:mixin,re:classloading}
	at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:589) ~[arclight-1.18.2-1.0.7-SNAPSHOT-c78fe14.jar%2368!/:arclight-1.18.2-1.0.7-SNAPSHOT-c78fe14] {re:mixin,re:classloading,re:mixin}
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:576) ~[arclight-1.18.2-1.0.7-SNAPSHOT-c78fe14.jar%2368!/:arclight-1.18.2-1.0.7-SNAPSHOT-c78fe14] {re:mixin,re:classloading,re:mixin}
	at org.bukkit.craftbukkit.v1_18_R2.event.CraftEventFactory.handleInventoryCloseEvent(CraftEventFactoryMixin.java:1376) ~[arclight-1.18.2-1.0.7-SNAPSHOT-c78fe14.jar%2368!/:arclight-1.18.2-1.0.7-SNAPSHOT-c78fe14] {re:mixin,re:classloading,pl:mixin:APP:mixins.arclight.bukkit.json:CraftEventFactoryMixin,pl:mixin:A,pl:arclight_implementer:A}
	at net.minecraft.server.level.ServerPlayer.handler$zih000$arclight$invClose(ServerPlayerMixin.java:2367) ~[server-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:mixins.arclight.core.json:world.entity.player.ServerPlayerMixin,pl:mixin:APP:mixins.arclight.impl.forge.optimization.json:network.ServerPlayerMixin_Optimize,pl:mixin:A,re:mixin,pl:accesstransformer:B}
	at net.minecraft.server.level.ServerPlayer.m_9230_(ServerPlayerMixin.java) ~[server-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:mixins.arclight.core.json:world.entity.player.ServerPlayerMixin,pl:mixin:APP:mixins.arclight.impl.forge.optimization.json:network.ServerPlayerMixin_Optimize,pl:mixin:A,re:mixin,pl:accesstransformer:B}
	at net.minecraft.server.network.ServerGamePacketListenerImpl.m_7951_(ServerPlayNetHandlerMixin.java:1293) ~[server-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:mixins.arclight.core.json:network.ServerPlayNetHandlerMixin,pl:mixin:APP:mixins.arclight.impl.forge.optimization.json:network.ServerGamePacketListenerImplMixin_Optimize,pl:mixin:A,re:mixin,pl:accesstransformer:B}
	at net.minecraft.network.protocol.game.ServerboundContainerClosePacket.m_5797_(CCloseWindowPacketMixin.java:15) ~[server-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,re:classloading,pl:mixin:APP:mixins.arclight.core.json:network.protocol.game.CCloseWindowPacketMixin,pl:mixin:A}
	at net.minecraft.network.protocol.game.ServerboundContainerClosePacket.m_5797_(CCloseWindowPacketMixin.java:6) ~[server-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,re:classloading,pl:mixin:APP:mixins.arclight.core.json:network.protocol.game.CCloseWindowPacketMixin,pl:mixin:A}
	at net.minecraft.network.protocol.PacketUtils.md6580a8$lambda$ensureRunningOnSameThread$0$0(PacketThreadUtilMixin.java:537) ~[server-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,re:classloading,pl:mixin:APP:mixins.arclight.core.json:network.protocol.PacketThreadUtilMixin,pl:mixin:A}
	at net.minecraft.server.TickTask.run(TickTask.java:18) ~[server-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:classloading}
	at net.minecraft.util.thread.BlockableEventLoop.m_6367_(BlockableEventLoop.java:157) ~[server-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}
	at net.minecraft.util.thread.ReentrantBlockableEventLoop.m_6367_(ReentrantBlockableEventLoop.java:23) ~[server-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,re:computing_frames,re:classloading}
	at net.minecraft.server.MinecraftServer.m_6367_(MinecraftServerMixin.java:799) ~[server-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:mixins.arclight.core.json:server.MinecraftServerMixin,pl:mixin:A}
	at net.minecraft.server.MinecraftServer.m_6367_(MinecraftServerMixin.java:164) ~[server-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:mixins.arclight.core.json:server.MinecraftServerMixin,pl:mixin:A}
	at net.minecraft.util.thread.BlockableEventLoop.m_7245_(BlockableEventLoop.java:131) ~[server-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}
	at net.minecraft.server.MinecraftServer.m_129961_(MinecraftServerMixin.java:782) ~[server-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:mixins.arclight.core.json:server.MinecraftServerMixin,pl:mixin:A}
	at net.minecraft.server.MinecraftServer.m_7245_(MinecraftServerMixin.java:776) ~[server-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:mixins.arclight.core.json:server.MinecraftServerMixin,pl:mixin:A}
	at net.minecraft.util.thread.BlockableEventLoop.m_18701_(BlockableEventLoop.java:140) ~[server-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}
	at net.minecraft.server.MinecraftServer.m_130012_(MinecraftServerMixin.java:762) ~[server-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:mixins.arclight.core.json:server.MinecraftServerMixin,pl:mixin:A}
	at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServerMixin.java:2139) ~[server-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:mixins.arclight.core.json:server.MinecraftServerMixin,pl:mixin:A}
	at net.minecraft.server.MinecraftServer.m_177918_(MinecraftServerMixin.java:261) ~[server-1.18.2-20220404.173914-srg.jar%2373!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:mixins.arclight.core.json:server.MinecraftServerMixin,pl:mixin:A}
	at java.lang.Thread.run(Thread.java:833) [?:?] {re:arclight_implementer,re:mixin,re:arclight_implementer,re:arclight_implementer,re:arclight_implementer,re:arclight_implementer,re:arclight_implementer,re:mixin,re:mixin,re:mixin,re:arclight_implementer}
Caused by: java.lang.NoSuchFieldError: opened
	at org.bukkit.craftbukkit.v1_18_R2.block.CraftChest.close(CraftChest.java:70) ~[arclight-1.18.2-1.0.7-SNAPSHOT-c78fe14.jar%2368!/:arclight-1.18.2-1.0.7-SNAPSHOT-c78fe14] {re:classloading}
	at com.github.sachin.lootin.gui.ChestGui.close(ChestGui.java:44) ~[?:?] {}
	at com.github.sachin.lootin.listeners.InventoryListeners.onInventoryClose(InventoryListeners.java:125) ~[?:?] {}
	... 23 more

Error strat server with the active BetterStructures plugin

Error I have at the start of the server with the active BetterStructures plugin.

[10:39:02] [Server thread/INFO]: [Lootin] Enabling Lootin v5.2
[10:39:02] [Server thread/INFO]: [Lootin] Config file reloaded
[10:39:02] [Server thread/INFO]: [Lootin] Found BetterStructures, registering listeners...
[10:39:02] [Server thread/ERROR]: Error occurred while enabling Lootin v5.2 (Is it up to date?)
org.bukkit.plugin.IllegalPluginAccessException: Unable to find handler list for event com.magmaguy.betterstructures.api.ChestFillEvent. Static getHandlerList method required!
at org.bukkit.plugin.SimplePluginManager.getRegistrationClass(SimplePluginManager.java:683) ~[spigot-api-1.19.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.SimplePluginManager.registerEvents(SimplePluginManager.java:616) ~[spigot-api-1.19.2-R0.1-SNAPSHOT.jar:?]
at com.github.sachin.lootin.Lootin.onEnable(Lootin.java:102) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[spigot-api-1.19.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:342) ~[spigot-api-1.19.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:480) ~[spigot-api-1.19.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_19_R1.CraftServer.enablePlugin(CraftServer.java:525) ~[spigot-1.19.2-R0.1-SNAPSHOT.jar:3569-Spigot-450dcaa-ead719a]
at org.bukkit.craftbukkit.v1_19_R1.CraftServer.enablePlugins(CraftServer.java:439) ~[spigot-1.19.2-R0.1-SNAPSHOT.jar:3569-Spigot-450dcaa-ead719a]
at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:584) ~[spigot-1.19.2-R0.1-SNAPSHOT.jar:3569-Spigot-450dcaa-ead719a]
at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:403) ~[spigot-1.19.2-R0.1-SNAPSHOT.jar:3569-Spigot-450dcaa-ead719a]
at net.minecraft.server.dedicated.DedicatedServer.e(DedicatedServer.java:255) ~[spigot-1.19.2-R0.1-SNAPSHOT.jar:3569-Spigot-450dcaa-ead719a]
at net.minecraft.server.MinecraftServer.v(MinecraftServer.java:968) ~[spigot-1.19.2-R0.1-SNAPSHOT.jar:3569-Spigot-450dcaa-ead719a]
at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:293) ~[spigot-1.19.2-R0.1-SNAPSHOT.jar:3569-Spigot-450dcaa-ead719a]
at java.lang.Thread.run(Thread.java:833) [?:?]

Is there the possibility to solve this error?
Thanks for the support

[feature request] Add a "last looted" condition

Hello,
First of all, thanks for this resource! I love it and it seems to be working great! I've being testing it on 1.18 and the only issue I found is the chest opening sound playing twice, which is most likely being caused by ProtocolLib not having a final release yet.

I'd like to have an option called last-loot: x<time unit> that not only makes the loot per player, but also only shows the loot if the thing hasn't been loted for the past [defined time].

Example: last-loot: 10d

The loot will only be shown to players that haven't looted the thing as long as no other player looted it for the past 10 days. The players are only able to loot whatever thing just one time (just like the actual release), but the loot wont be available if it has been looted by some other player in the past 10 days.

This would apply to everything, including elytras, that's why im using the word "thing".

Why?

This would help make the server feel more vanilla-like while still making sure players have a high chance of finding loot. It's the perfect thing since compared to a general loot reset plugin, the players that already loot whatever thing can only get the loot once.

ArrayIndexOutOfBoundsException

I use the latest version on Paper 1.19.2 and I see such exceptions:

deadlyrealms    | [20:26:55 WARN]: [Lootin] Task #30996 for Lootin v5.3 generated an exception
deadlyrealms    | java.lang.ArrayIndexOutOfBoundsException: Index 3 out of bounds for length 3
deadlyrealms    | 	at java.util.HashMap.keysToArray(Unknown Source) ~[?:?]
deadlyrealms    | 	at java.util.HashMap$KeySet.toArray(Unknown Source) ~[?:?]
deadlyrealms    | 	at org.bukkit.craftbukkit.v1_19_R1.CraftChunk.getTileEntities(CraftChunk.java:153) ~[paper-1.19.2.jar:git-Paper-210]
deadlyrealms    | 	at org.bukkit.craftbukkit.v1_19_R1.CraftChunk.getTileEntities(CraftChunk.java:139) ~[paper-1.19.2.jar:git-Paper-210]
deadlyrealms    | 	at com.github.sachin.lootin.listeners.ChunkLoadListener$1.run(ChunkLoadListener.java:114) ~[Lootin-5.3.jar:?]
deadlyrealms    | 	at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.19.2.jar:git-Paper-210]
deadlyrealms    | 	at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) ~[paper-1.19.2.jar:git-Paper-210]

I was in a village at the time, so maybe related to a village chest? Here's the plugin config:

# Thank you for downloading Lootin :)
# If you find any bug/issue let me know on discord https://discord.com/invite/tTHs4jKu6f

# Titles for chest interfaces
gui-titles:
  chest: '&6Chest'
  double-chest: '&6Large Chest'
  minecart: '&6Minecart with Chest'
  barrel: '&6Barrel'

 
# Its bstats 
metrics: true

messages:
  prefix: '&e[&6Lootin&e] '
  no-permission: '&cYou dont have permission to execute command'
  chestbreak-with-permission: '&aBreaking the chest will delete your unique loot and items! In order to break, &2you must sneak while doing so..&a As loot is &2per player per chest&a, only break if really needed.'
  chestbreak-without-permission: '&cYou dont have permission to break loot chests'
  chest-edited: '&cChest is being edited, cant break it'
  reloaded: '&aConfig file reloaded'
  cant-place-double-chest: '&cCant place normal chest near loot chest'
  elytra-itemframe-break-with-permission: '&cLeft click with stick in main hand to break the special elytra item frame.'
  elytra-itemframe-break-without-permission: '&cCan''t break elytra item frame!'
  elytra-item-frame-removed: '&aElytra ItemFrame removed.'

# weather or not to delete items when player breaks loot chest successfully
delete-items-on-break: true

# weather or not to prevent lootin chest from being exploded by tnt or creeper
prevent-explosions: true

# list of worlds where lootin will not modify loot chests
black-list-worlds: []

# list of vanilla structures where lootin will not modify loot chests
# valid structure names can be found here https://www.spigotmc.org/resources/90453/
black-list-structures: []

# Note: does not work with already looted end ships
# if set to true, the elytra present in item frame in end city ships will be per player
# these item frames are special and cant be broken, players with lootin.breakelytraitemframe.bypass permission and a stick in main hand can only break them
per-player-elytra-item-frame: true


# list of CustomStructures where lootin will not modify loot chests.
# only applicable if CustomStructures is installed.
black-list-customstructures: []

# list of OhTheDungeon structure names where lootin will not modify loot chests.
# only applicable if OhTheDungeon is installed.
black-list-otd-structures: []

# if set to false, if the loot chest block is claimed, player will not able to open lootin chest 
bypass-grief-plugins: true

Compatibility issues with BetterStructures

The plugin version used is version 7.2, and BetterStructures is also the latest version. The server core is purpur1.20.1
The problem that occurred was that the war spoils box had no items, only the small spoils box had items
I hope the problem can be resolved

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.