šŸ’Ž MightyLoot [v2.1][API 5] - TreasureHunt-like plugin

it spawns all my loot outside the world boader, when it spawns it within the world boarder I get this error

Thank you all for reporting, I’m working on these issues by making great changes to the plugin core so this may take a little time.

Hey is it possible to add enchanted books in loots? if yes would the id be something like minecraft:enchanted_book 1 0 {StoredEnchantments:[{id:34,lvl:5}]} ? if no is this a thing that will be added in future? Thanks for the help and loving the Plugin!

Thanks for your kind words. Added that feature as a github issue. I’ll close that issue when it is implemented.

That was really quick response… Awesome! and thank you for your help!

You’re welcome :wink: thanks for your interest in MightyLoot !

probably should have mentioned this earlier but this happens randomly in console sometimes http://pastebin.com/yWaP59sk

PS: Read it from down to up cause my console gives stuff from down to up

Hi, for some reason the config files don’t seem to want to load (or I can’t seem to find them!)

Console says:

04.11 20:28:50 [Server] Server thread/WARN [com.arckenver.mightyloot]: world is not a valid world name !

Thanks in advance for any help!

This will get resolved in the next release. I’m currently rewriting the plugin core so it is less messy. That will also fix that kind of error.

It means MightyLoot asked Sponge to get a world called world but Sponge couldn’t find it. You may have renamed your world to something else than world. You must provide a valid world name.

Thanks, where can I change the world name it’s looking for? I can’t find the config file anywhere

You should have something like

...
worlds {
    world {    <- it's here
        area {
            minX=...
            ...
        }
        frequency=...
        ...
    }
}
...

Ah, apologies, I can’t find the config file itself anywhere, it doesn’t seem to be in the config folder

It works with ā€œspongeforge-1.10.2-2107-6.0.0-BETA-1844ā€ or not ?

It works but there’s an issue about loots being not removed. I’d advise you to wait until I release a new version with massive core rewrite hopefully fixing that.

thx Arckenver:+1::+1::+1:

Can you make it so the loot despawns after a set amount of time? EX: Loot spawns in, and players have 10 minutes to find/get to the loot before it despawns and then they have to wait for the next one to try again?

That feature will be available in the upcoming new version of MightyLoot :slight_smile:

Sounds great! do you have a rough eta of when that might be?

Unfortunately no as I’m very busy right now but I should be able to work on this in roughly two weeks…