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 Feb 17, 2013Getting this error for some reason.
-
View User Profile
-
Send Message
Posted Feb 17, 2013It will be very nice if this could work for dispensers.
-
View User Profile
-
Send Message
Posted Feb 17, 2013@diannafire
I'll see what I can do, but for now I'm focusing mainly on item naming and adding data values to the detailed items, as it seems that that's what is most requested.
-
View User Profile
-
Send Message
Posted Feb 17, 2013also if you would like once the new version is out i would be happy to make a full config tutorial video for you.
-
View User Profile
-
Send Message
Posted Feb 17, 2013i'd actually think it would be better to be in the effects section so you can specify a "durability" effect with a min and max durability to be applied.
items:
'iron_sword':
spawn: '100,1-1'
effects
- damage_arthropods,1-2,100
- durability,50-230,100
edit: also if you could add a config in to the effects line to specify maximum number of effects to be applied that would be awesome, something like
effects,0-3
- effect1,1-4,30
- effect2,1-2,50
- effect3,1-3,60
- effect4,1-1,70
- effect5,1-2,80
to be able to set a maximum nbumber of effects to be applied, that way someone exceedingly lucky doesn't end up with a sword with all enchants on it since the config will stop after 3 successful enchants
-
View User Profile
-
Send Message
Posted Feb 17, 2013@Danzabarr
This error is caused by having an older version of java. Try updating to java7, which can be found here.
-
View User Profile
-
Send Message
Posted Feb 17, 2013@diannafire
I have not added data values for detailed list items. I'm adding them for the next version, thinking about putting it in the 'spawn' section though.
-
View User Profile
-
Send Message
Posted Feb 17, 2013awesome about the item names and thanks for the quick response, what about being able to add damage values to the detailed loot lists though? neither : nor | work on the line wit6h the item name on the detailed lists.
-
View User Profile
-
Send Message
Posted Feb 17, 2013@diannafire
Nice observation!
I'll include this in the description so that everyone is aware of it :)
About the item names, I was going to work on it but had other problems to fix. Now that I have time ill see about adding it.
-
View User Profile
-
Send Message
Posted Feb 17, 2013just a quick note for people i've found from using this. When setting up your loot tables if you want your items to be based off the percent you give them, put the lowest percent items at the top of the list. if you chest is set to a max of 3 items it starts reading the list from the top and works down so if you have a bunch of 80% chance items at the top of your list and then a 1% chance item at the bottom, you are likely to never get the 1% item cause as soon as it gets three successful checks it stops looking at the list.
example of proper way to do it.
- diamond_sword,1-1,15,true
- iron_sword,1-1,35,true
- stone_sword,1-1,55,true
- wood_sword,1-1,75,true
- cooked_pork,1-5,95,true
though if you set any items to 100% cause you always want that item there, make sure it is at the top of your loot table.
Note: this only applies to chests marked with signs that have a min-max number of items to be placed in them. chests without signs on a world listed in the loot config will check the percentage chance for each item in your loot tables to place them in the chest.
-
View User Profile
-
Send Message
Posted Feb 17, 2013Appears to have fixed my problem great job guys - XxkmachoxX/ShadowDog007
-
View User Profile
-
Send Message
Posted Feb 17, 2013is there not a way with detailed info to add a damage value to items spawned?
edit: also wondering if it's possible to add specific names for items in loot chests.
-
View User Profile
-
Send Message
Posted Feb 17, 2013@Danzabarr
Try deleting your KBPL config.yml file (with the server offline) and then start the server back up and see if it still happens.
No, I have nothing to do with this plugin other than that I use it, love it, and trying to help where help is needed. :D
-
View User Profile
-
Send Message
Posted Feb 17, 2013@alexporrini
Check your server logs/console. More than likely the config that you edited for the loot lists is wrong, so that's why you're getting errors.
-
View User Profile
-
Send Message
Posted Feb 17, 2013KBPL wont load or create a config, I get a feed like Theprint's.
-
View User Profile
-
Send Message
Posted Feb 16, 2013@XxkmachoxX
Anytime :)
-
View User Profile
-
Send Message
Posted Feb 16, 2013Uploaded v2.5.5 :)
-
View User Profile
-
Send Message
Posted Feb 16, 2013@ShadowDog007
Thanks for the help!
I learned about threads recently, that makes things a bit clearer :D
-
View User Profile
-
Send Message
Posted Feb 16, 2013everytime i make the sign 2 blocks under or put it anywhere nothing spawns but it says loot sign created
-
View User Profile
-
Send Message
Posted Feb 16, 2013@ShadowDog007
Also, wouldn't it be much easier if you had a single task which iterated through all of the chests at once? (Better not having so many threads)..