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.
if this supports enchantments and data values, can someone give me an example of a chance of spawning an enchanted wooded sword with sharpness of 1 and has half durability gone on spawn? also for specific potions?
@cainthegamer
How would I write it out?
itemname:datavalue|enchantment(s)
itemid:datavalue|enchantment(s)
ex: ironsword:15|sharpness1 fireaspect1
or some other way?
@xclucky
Yea it dus :D
Does this support enchantments and data values?
Is there a video tutorial ???????
PLZ can u make a tutorial on how to do it i cant seam to do it and there is no video so plz can u make one ?
what do u type at name of item list what is that ?
Wasn't working for me... :(
@Sorrien
Also, I cannot use decimals in the percentage chance? Fractions add a lot of depth to an otherwise plain loot table. I hope you will consider adding this.
Could you add a command for this as an alternate option? Sometimes I have buildings with multiple levels and it is difficult to hide the sign. Great work, please keep this going because my server is done without it!
@rodtang
It still works in the latest build, how about trying it before commenting next time.
How about an update for this?
I'll probably add item id's on the next update, I've been busy on other projects :)
Is there a reason we can't just put an item id in the config file? I'd like to, for example, only have certain types of log spawn, but I can't specify an item id with it's data value. A lot of spout plugins allow for the creation of custom blocks as well that are just item ids with data values.
You put a double on the third line of the sign, it has to be an integer. (aka 1,2,3,4... not 0.1,0.2,0.3 etc)
I noticed though that you want to make a chest that instantly refill with random items, I'll add that for the next version.
http://rghost.ru/38358661/image.png
@DeRussia Hmm... Could you post all that it says in the console? I'm not getting any error testing it on a fresh server :P
@melvinvoetje In the config.yml it explains how to configure the random items that will spawn.
Hello, if you use your plug-in, I faced the same error .. Here it is: "Could not pass event PlayerInteractEvent to Loot"
It gives me when it comes time to spawn in the chest thing.
Please tell me how to solve it.
Sorry for my bad English.
How do i config a chest for random items?
Done!
The actual permission node was loot.info (it works for the version you currently have).
As for the console message thing, I uploaded the fixed version, now just gotta wait the ten ours it takes to be approved by BukkitDev O: