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 Apr 7, 2013@Yomsthebomb
The data value (aka, the '54') goes in 'data' under 'properties'.
Read 'The Configuration File' page, as it explains all the different properties you can change.
-
View User Profile
-
Send Message
Posted Apr 7, 2013How would I add zombie spawn eggs to my chests? Having the list like this doesnt work..
383:54:
When I just put 383 I can only get white spawn eggs that do nothing from my chests! Help?
-
View User Profile
-
Send Message
Posted Apr 7, 2013I would also like to ask whether compatibility with RPG Items would be possible. It would unlock amazing possibilities.
-
View User Profile
-
Send Message
Posted Apr 6, 2013@Danzabarr
I've found the problem, it the next update will have this fixed
-
View User Profile
-
Send Message
Posted Apr 6, 2013I'm getting the concurrent modification exception when i try random enchantments:
Works fine with a sword...
UPDATE
The item-naming process wasn't working at all. I disabled it via the config and now the problem looks to be solved. It doesn't produce an exception.
-
View User Profile
-
Send Message
Posted Apr 5, 2013Is there any way, now or in the future, to get this plugin to work with this one RPG Items.
If there was ANY way to do so it would be amazing....
-
View User Profile
-
Send Message
Posted Apr 5, 2013@KalisPro
That's because you put our world in the 'worlds' list. This will make all the chests loot chests, even player-placed chests. If you don't want the plugin to affect all chests then you will have to use the sign method.
-
View User Profile
-
Send Message
Posted Apr 5, 2013@bukkitdevJC
I have not yet, as I've been busy with other projects :/
You can use this list for now though:
click
Look for the name that appears in minecraft on the left column and use its bukkit name (middle column)
-
View User Profile
-
Send Message
Posted Apr 5, 2013Hello, I have a problem and I don't know what should I do. Problem is that if the player puts his items into the chest then after some time they will remove and will be drawn from the plugin. So my question is: Is it possible to do, that players can use chest normally and random items function normally?
-
View User Profile
-
Send Message
Posted Apr 5, 2013@XxkmachoxX
Oh my god. Thank you so much this error has made my Minez section of the server inoperable, ever since the update. Now i can finally start it back up thanks again. :)
The Minez section of my server uses your plugin so here is the ip:
174.49.214.114:1
-
View User Profile
-
Send Message
Posted Apr 5, 2013Any news on the compatibility with bpermissions?
Would like to run the /loot name command.
-
View User Profile
-
Send Message
Posted Apr 5, 2013@binary100
Oh! I just noticed the error and I can't believe I didn't notice it last time xD
Now that the lists are separated in files, you declare the lists name with the files name, so you dont need that 'common' declaration on top. so it should be like this:
items: 276: spawn: chance: 2 stack: '1-1' iron_sword: spawn: chance: 25 stack: '1-1'-
View User Profile
-
Send Message
Posted Apr 5, 2013@alvarusss
You're still using the old configuration for world lists. Look in 'The Configuration File' page for the new version, or use the example you downloaded as a template.
-
View User Profile
-
Send Message
Posted Apr 5, 2013@XxkmachoxX
http://pastebin.com/fn96pauR Here you are.
-
View User Profile
-
Send Message
Posted Apr 4, 2013@XxkmachoxX
It is still happening i did what you said here are my files list config http://pastebin.com/K6VG2nf9 plugin config http://pastebin.com/PRwaKjHc
-
View User Profile
-
Send Message
Posted Apr 4, 2013@alvarusss
It appears to be an error in the config.yml. Post it so I can see what is causing the error because I just cant seem to replicate it :/
-
View User Profile
-
Send Message
Posted Apr 4, 2013When i place/destroy/open/close chest Loot gives me this in console.
http://pastebin.com/JEGp1368
I have lastest Loot running on recommended Spigot #735 and KBPL 1.0.3
Edit: Tried also on CraftBukkit #2735 nothing changed.
-
View User Profile
-
Send Message
Posted Apr 4, 2013@binary100
Yup, definately some errors in your list configuration.
Here's what you have:
common: items: - 276: spawn: chance: 2 stack: '1-1' - iron_sword: spawn: chance: 25 stack: '1-1'Here's how it should be:
common: items: 276: spawn: chance: 2 stack: '1-1' iron_sword: spawn: chance: 25 stack: '1-1'Notice there's no dash behind each item and that 'chance' and 'stack' belong in the 'spawn' section. Do this with all your lists and it should work.
-
View User Profile
-
Send Message
Posted Apr 3, 2013The error is still happening here is the config for common
http://pastebin.com/e5MQkMt9
and here is the new config file
http://pastebin.com/A2umguAc
I fixed the error: Could not pass event playerinteractevent to loot 3.2.0 by deleting spaces in the config file. "http://pastebin.com/fifwhnFk" Heres my config file but now i have the error:
19:06:31 [SEVERE] Error occurred while enabling Loot v3.2.0 (Is it up to date?) java.lang.NullPointerException at me.kmacho.bukkit.loot.LootConfiguration.getItemList(LootConfiguration .java:144) at me.kmacho.bukkit.loot.list.LootList.generateItems(LootList.java:36) at me.kmacho.bukkit.loot.list.LootList.<init>(LootList.java:30) at me.kmacho.bukkit.loot.LootConfiguration.getLists(LootConfiguration.ja va:68) at me.kmacho.bukkit.loot.LootConfiguration.<init>(LootConfiguration.java :33) at me.kmacho.bukkit.loot.LootCommand.<init>(LootCommand.java:33) at me.kmacho.bukkit.loot.Loot.onEnable(Loot.java:34) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader .java:457) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage r.java:381) at org.bukkit.craftbukkit.v1_5_R2.CraftServer.loadPlugin(CraftServer.jav a:282) at org.bukkit.craftbukkit.v1_5_R2.CraftServer.enablePlugins(CraftServer. java:264) at org.bukkit.craftbukkit.v1_5_R2.CraftServer.<init>(CraftServer.java:21 8) at net.minecraft.server.v1_5_R2.PlayerList.<init>(PlayerList.java:56) at net.minecraft.server.v1_5_R2.DedicatedPlayerList.<init>(SourceFile:11 ) at net.minecraft.server.v1_5_R2.DedicatedServer.init(DedicatedServer.jav a:105) at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java :381) at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:5 73)
-
View User Profile
-
Send Message
Posted Apr 3, 2013@XxkmachoxX
Thank you