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 Mar 31, 2013Could you make random RPGItems generate in the chests? (Using the plugin RPGItems by thinkofdeath) You could make it randomly execute the commands in the following way: /rpgitem [randomname] create /rpgitem [previously created item] damage [damage depending on the rarity] If you get what im saying.
-
View User Profile
-
Send Message
Posted Mar 30, 2013im having issues with loot reloading. in fact it woulnt let me manually reload it eithor. says internal error. any suggestions?
-
View User Profile
-
Send Message
Posted Mar 30, 2013@Yomsthebomb
Sorry but I really don't see how I could help you by getting in your server :/
There's a lot of examples on the lists folder provided in the zip file when you download the plugin. Check the list 'Kmacho', all armor pieces with all enchantments. Try running the plugin using the lists given and then post your results.
About the max enchant being 2 when it should be 3 is now fixed, just a dumb miscalculation in the code :P Ill upload once I figure out whats causing your error.
-
View User Profile
-
Send Message
Posted Mar 30, 2013@XxkmachoxX
Ok I had it working, then it stopped working. I completely deleted everything I added and just used your example in the reply you just made, and that also doesnt work. Your plugin works fine for everything except enchants are VERY shotty and I have no idea why its not working or what im doing wrong. I have coded plugins myself and this is just strange.. I need to set the Lvl: '1-3' if I want the max enchant to be 2 for some reason too :/. Would you mind hopping on my server or sending me a config you have made that has working examples of enchanted items? Then hop on my test server and see if they are working fine like the other chests??
-
View User Profile
-
Send Message
Posted Mar 30, 2013Hmmm, I replicated the item and its spawning fine. Repost that but this time choose 'plain text' in the Markup Type, maybe its the formatting. It should look like this:
items:
stone_hoe:
spawn:
chance: 100
stack: '1-1'
effects:
durability:
chance: 100
lvl: '1-1'
random1:
chance: 0
lvl: '1-2'
properties:
data: '80'
lore:
- "Riot Shield"
soulbound: pickup
By the way, why do you have that random effect if you're going to put a 0% chance for it to spawn?
-
View User Profile
-
Send Message
Posted Mar 30, 2013I tested the plugin with just this. Its a modified version of the config file you have posted. I just cant get it to work. It never spawns the item, I only get that error when I open the chest? I have tried many times and with many different tool types and enchantments, none seem to work. Any help would be greatly appreciated. I use crackshot gun plugin for my modern minez server. It allows you to set enchants to determine if that item is a gun or not. You can preset it so that a stone hoe with durability 1 is a shotgun whenever I player picks it up or holds it. I have over 18 guns now but I feel like more variety would be fun for my server. So Im planning on making it so that the "Stone Hoe durability 1" shotgun would be say efficiancy and that would change the guns properties so that it had incendiary rounds or what not. This would add tons of fun stuff to my server! Please help me out!
Heres my config list for just one of the lists causing errors.
stone_hoe: spawn: chance: 100 stack: '1-1' effects: durability: chance: 100 lvl: '1-1' random1: chance: 0 lvl: '1-2' properties: data: 80 lore: - "Riot Shield" soulbound: pickup
Bolded the one thats causing problems, the rest work fine and spawn normally. Helping me out wpuld make my server unbelievably amazing!
-
View User Profile
-
Send Message
Posted Mar 30, 2013@Yomsthebomb
Post the list config, it seems like the error is there
-
View User Profile
-
Send Message
Posted Mar 30, 2013I get this error when ever I try to load your plugin with enchanted items. I have a lengthly post a few seconds ago but when I posted it something messed up and nothing happened so Im re-writing my 4 paragraph help post xD Long story short, Im trying to spawn multiple enchanted tools in my loot chests. Every time I do, it doesnt work. I have been trying for 5 hours now, still nothing. I have reviewed your config files and tutorials. still nothing. Heres my error... please help me
30.03 03:51:54 [Server] SEVERE at org.bukkit.craftbukkit.v1_4_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:178) 30.03 03:51:54 [Server] SEVERE at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:464) 30.03 03:51:54 [Server] SEVERE at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:479) 30.03 03:51:54 [Server] SEVERE at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:26) 30.03 03:51:54 [Server] SEVERE at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) 30.03 03:51:54 [Server] SEVERE at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) 30.03 03:51:54 [Server] SEVERE at java.lang.reflect.Method.invoke(Method.java:601) 30.03 03:51:54 [Server] SEVERE at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 30.03 03:51:54 [Server] SEVERE at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source) 30.03 03:51:54 [Server] SEVERE at me.kmacho.bukkit.loot.LootListener.onPlayerInteract(LootListener.java:146) 30.03 03:51:54 [Server] SEVERE at me.kmacho.bukkit.loot.LootListener.refill(LootListener.java:155) 30.03 03:51:54 [Server] SEVERE at me.kmacho.bukkit.loot.list.LootList.spawnLoot(LootList.java:58) 30.03 03:51:54 [Server] SEVERE at me.kmacho.bukkit.loot.list.LootList.getContents(LootList.java:87)
-
View User Profile
-
Send Message
Posted Mar 29, 2013Uploaded v3.2.0! :D
While bukkit approves the plugin, you can get it
-Edit-
Apparently I can't link to an unapproved download, so you will have to wait :P
-
View User Profile
-
Send Message
Posted Mar 29, 2013Sorry but Im taking a break in the plugins development to set up my new desktop, univercity and watnot. Ill think about adding that but dont expect it anytime soon :/
-
View User Profile
-
Send Message
Posted Mar 29, 2013oh that is just awesome!!! now if you could just let us set it so we could have percetage chance for each list to be applied to world chest.....
example
lists
- rare 1%
- uncommon 9%
- common 90%
that would be epic :)
-
View User Profile
-
Send Message
Posted Mar 29, 2013Even better, I completely changed he way you configure world lists. Now youll be able to set all the properties of a sign per list :D
-
View User Profile
-
Send Message
Posted Mar 29, 2013ohh new update? is this one going to have the max loot per world chest? :) /excited!
-
View User Profile
-
Send Message
Posted Mar 29, 2013@Beauseant
I just finished building my shiny new desktop and now I'm passing a bunch of files from my laptop to it, so once that is done, I'll upload :D
-
View User Profile
-
Send Message
Posted Mar 28, 2013@XxkmachoxX
Whoa thanks a lot! I'm making a RPG server with random loot. So this plugin will come in handy, if i ever make money out of it with donations or some sort; i'll sure be donating you! :) Also, when will the next update be available? I really need it, haha! :P
-
View User Profile
-
Send Message
Posted Mar 27, 2013@Beauseant
Nope, there is no limit to the distance between the chest and the sign, except that it has to be vertical. About the book, I've already added it to the next update, colors and all! :)
-
View User Profile
-
Send Message
Posted Mar 27, 2013@XxkmachoxX
Too bad it can't do that, also is there a limit to where the sign must be? I know you can change the number of blocks between the sign and the chest; but is there a maximum amount of blocks? And if you would be to add the ability to respawn written books i would sure gladly be donating you :)
-
View User Profile
-
Send Message
Posted Mar 26, 2013@mtjaxter
I put an Adf.ly-free download right below the adfly download link, apparently the site is down :/
The reason I don't post KBPL on DEV Bukkit is because it takes them days to approve a plugin, and since this plugin is central to any other plugins I post, I want it to be available immediately. Unfortunately most people don't look in the files tab to get the latest version :P
-
View User Profile
-
Send Message
Posted Mar 26, 2013The KBPL download link doesn't work. SO I cannot run this plugin without it I believe, if you could fix this download link, or get it onto DEV Bukkit that'd be great :)...
-
View User Profile
-
Send Message
Posted Mar 26, 2013@t3hd0n
The donation is whatever you feel like giving, I have no 'set prices' on it :)
I need to check whether the 'instances' plugin has what is necessary for me to implement loot into it, I'll get back to you on that.
@diannafire
He wants it to detect when a new instance is created, and immediately reset the chest, so that new players in the instance can loot the chest and not count down for a refill, so I don't think that would work :/
@Beauseant
I have not checked how to do that, but that seems like something that would fit very well with the plugin :)