💎 MightyLoot [v2.1][API 5] - TreasureHunt-like plugin

/ml spawn world
dont work - offers check the configuration.
How to fix it? All configuration and translation made.
work on 1.11

Arckenver, Russian localization here

How would this work when a loot spawns in a protected area (eg. claimed by griefprevention or polis). I assume the player would not have access to it like normal?

[details=Error Dump]````
[12:32:23 ERROR] [Sponge]: Could not pass GameStoppingServerEvent$Impl to Plugin{id=mightyloot, name=MightyLoot, version=2.1, description=A treasurehunt-like sponge plugin., url=https://github.com/Arckenver/MightyLoot, authors=[Arckenver], source=mods/MightyLoot-2.1.jar}
java.util.NoSuchElementException: No value present
at java.util.Optional.get(Optional.java:135) ~[?:1.8.0_112]
at com.arckenver.mightyloot.DataHandler.removeLoot(DataHandler.java:33) ~[DataHandler.class:2.1]
at com.arckenver.mightyloot.MightyLootPlugin.onStop(MightyLootPlugin.java:128) ~[MightyLootPlugin.class:2.1]
at org.spongepowered.common.event.listener.GameStoppingServerEventListener_MightyLootPlugin_onStop20.handle(Unknown Source) ~[?:?]
at org.spongepowered.common.event.RegisteredListener.handle(RegisteredListener.java:95) ~[RegisteredListener.class:1.11.2-6.0.0-BETA-192]
at org.spongepowered.common.event.SpongeEventManager.post(SpongeEventManager.java:305) [SpongeEventManager.class:1.11.2-6.0.0-BETA-192]
at org.spongepowered.common.event.SpongeEventManager.post(SpongeEventManager.java:320) [SpongeEventManager.class:1.11.2-6.0.0-BETA-192]
at org.spongepowered.common.event.SpongeEventManager.post(SpongeEventManager.java:324) [SpongeEventManager.class:1.11.2-6.0.0-BETA-192]
at org.spongepowered.common.SpongeImpl.postState(SpongeImpl.java:199) [SpongeImpl.class:1.11.2-6.0.0-BETA-192]
at org.spongepowered.server.SpongeVanilla.onServerStopping(SpongeVanilla.java:159) [SpongeVanilla.class:1.11.2-6.0.0-BETA-192]
at net.minecraft.server.MinecraftServer.handler$callServerStopping$znm000(SourceFile:117) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.func_71260_j(SourceFile:389) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.run(SourceFile:499) [MinecraftServer.class:?]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_112]

----
May I know why it will prompt errors upon server shutdown?

Regards,
Ivan

I noticed while running MightLoot v2.1 the loot can sometimes spawn items with a red 0 vaule next to it in the chest.

Also frequency means seconds right?

Another issue is giving people the command “mightyloot.command” is a wild card giving access for everyone to use all commands for this plugin. Could you fix because “mightyloot.command.hunt” doesn’t work alone.

I’d like to request an option for the chests to be destroyed upon looting them.

Can simply add a check for the looter and destroy the nearest chest.

Thanks for the mod and keep up the good work!

I think it’s already in the mod just not working, if you notice there are some weird errors pop up in console sometimes… I think those are the that

It’s possibile to run a command when treasure get opened?
Like /pokegive user rattata or /econ add user 100?