Loot
Requirements:
- KBPL
- If the version in the title is higher than the one on the 'recent files' list, then you will have to wait until bukkit approves the latest version since KBPL could be updated and have code that does not work with previous versions of the plugin.
What it does:
The title pretty much says it all! But to be a bit more detailed, Loot makes it easy to create chests with randomly generated loot. The best part? No commands. Oh did I mention that it adds random enchantments to armor and weapons and can spawn random potions? Yeah, that too. Its the perfect loot generator for custom dungeons and worlds with randomly generated schematics.
Features:
- Automatic Chest Regeneration Refills chests automatically using a list of items that you configure.
- Enchantments You can configure whether loot chests will spawn items with random enchantments, or you can specify the enchantments yourself.
- Potion Effects Same as the enchantments, but with potions.
- Item naming Specify a name for the items spawned in a chest! You can also configure the plugin to let it add a random preffix/suffix to enchanted items, dependent of the enchantments applied.
- Lore Add lore to any item for that true rpg feel!
- Books You can set the title, author and text of books generated!
- Colors You can set the colors of the names/lore/whatever of each item.
- Randomness A lot of the properties of any item can be randomized, including the enchantments applied, name, amount, data value, chance for it to spawn at all, etc.
- Redstone Force a chest to reset by powering the sign!
- Uses Soulbound You can download the soulbound plugin for added functionality! Visit the plugin page here.
How it works:
Important Notes:
- Requires KBPL
- The way bukkit names effects is different than the default minecraft effects, so here are some tables of the names you should use on the config file:
Enchantments
Potion Types
- You can find the color codes here.
Permissions:
- loot.sign.create - Lets you create Loot signs.
- loot.sign.break - Lets you break Loot signs.
- loot.command.name - Ability to use the command /loot name
- loot.command.reload - Ability to use the command /loot reload
- loot.list.x - Permission to open loot chests of x list
Requesting new features:
If this plugin is missing that certain special feature, bribe me and I will gladly work on it!
While I am updating and squashing bugs for free, working on new features requires time and everyone knows that time equals money.
I am however, open to suggestions that are directly related and crucial to the plugin.


-
View User Profile
-
Send Message
Posted Jan 27, 2013Running 1.4.6 R3 with Loot 2.4.5 (when it loads in console your loot.jar that is downloaded on your 2.4.5 page shows as 2.4.4) Loads in console fine, no errors.
Place a Chest Place Sign directly behind Chest
[loot] uncommon 1 10-20
It tells me a loot sign is placed But nothing ever appears in the chest, ever :) I have not modified config file in any way
-
View User Profile
-
Send Message
Posted Jan 27, 2013I did a quick addition to the plugin so it can report any errors in the configuration to make it easier for admins to fix. The latest version (2.4.8) can be found here while bukkit approves the plugin.
-
View User Profile
-
Send Message
Posted Jan 27, 2013@ActimelPL
You're missing an argument on one of your random items. It was an error on my part though, noticed that I never explained it. should appear now in the configuration page description. All the items are missing is a true/false argument after the chance on the item, that states whether the item should have a random enchantment.
-
View User Profile
-
Send Message
Posted Jan 27, 2013Im getting this error even with 2.4.7, my players are telling me that chests don't work.
-
View User Profile
-
Send Message
Posted Jan 25, 2013@user_892472
This was an internal error because apparently getPlayers() was not thread safe. I've changed it to something that should be thread safe.
If you don't want to wait for bukkit to approve the plugin, you can always find the latest version here: click :)
-
View User Profile
-
Send Message
Posted Jan 25, 2013I get this in the consoles, not really sure if it does anything as the plugin seems to be working ok, any idea what it means / how to get rid of it?
at java.lang.Thread.run(Thread.java:722) at me.kmacho.bukkit.loot.LootChest.run(LootChest.java:37) at me.kmacho.bukkit.loot.LootChest.playersNearby(LootChest.java:55) at org.bukkit.craftbukkit.v1_4_R1.CraftWorld.getPlayers(CraftWorld.java:627) at java.util.ArrayList$Itr.next(ArrayList.java:791) java.util.ArrayList$Itr.checkForComodification(ArrayList.java:819) java.util.ConcurrentModificationException Exception in thread "Thread-205"
-
View User Profile
-
Send Message
Posted Jan 24, 2013@Danzabarr
The item crafting error was fixed in the latest version. About the chest reset problem, ill see into it tomorrow. gotta get some sleep! :)
-
View User Profile
-
Send Message
Posted Jan 24, 2013Im experiencing the same problem as LampIsFun- items looted from chests cannot be used for crafting. Any ideas?
eg: iron_ingot:0,1,10,10,false
-
View User Profile
-
Send Message
Posted Jan 23, 2013@cancabron
I agree, this feature would be neat. Also very useful for quests.
-
View User Profile
-
Send Message
Posted Jan 21, 2013Can you add support for naming spawned items?
-
View User Profile
-
Send Message
Posted Jan 20, 2013Hey man, great plugin, It's helping me a lot, but could you make a setting in the config where I can set it so chests are unique to players, My server has dungeon's and it would be great if I could make it so players who complete it can get their own loot once a day without preventing other players from doing so.
-
View User Profile
-
Send Message
Posted Jan 20, 2013Please XxkmachoxX
I would like the chest disappears once emptied and spawn after timer, it's possible, please ?
-
View User Profile
-
Send Message
Posted Jan 19, 2013what about item durability??
-
View User Profile
-
Send Message
Posted Jan 18, 2013@WhovianForever
You are missing the random effect parameter on all the items.
For example, instead of using this:
- 383:96,1-2,25
Use this:
- 383:96,1-2,25,true (or false, if you don't want a random enchantment)
-
View User Profile
-
Send Message
Posted Jan 18, 2013Nice plugin dude !
I would like the chest disappears once emptied and spawn after timer, it's possible, please ?
Sorry for my bad inglish :/
-
View User Profile
-
Send Message
Posted Jan 18, 2013Can you add support for naming spawned items (like with the anvils)?
-
View User Profile
-
Send Message
Posted Jan 18, 2013Can someone give me some help with my config? It won't generate any loot in my chests, it worked before i edited the config and i haven't added any plugins so I know its something i did. config: http://pastebin.com/WGRCzuPY
-
View User Profile
-
Send Message
Posted Jan 15, 2013@XxkevvaxX
If there is no errors or anything, then its probably the way the chest is set up. Make sure there's only one block in between the chest and the sign. If you want to put the sign lower, then remember to have the number of blocks between the chest and sign +1 in the fourth line of the sign.
-
View User Profile
-
Send Message
Posted Jan 15, 2013not working for me :/
-
View User Profile
-
Send Message
Posted Jan 14, 2013@rmh4209
I'll probably release source once I optimize the code. Right now its using the old way to read the config file (lots of static methods, yech!)