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 May 22, 2013@XxkmachoxX
Do i need to downgrade my java in that case? Cause im sure im updated.
-
View User Profile
-
Send Message
Posted May 22, 2013@AttestedFaun
1. Well that's very odd, that error only appears when attempting to load the plugin using an older version of java than the one the plugin was made with.
2. This doesn't use mySQL, so.... nothing :P
@doctorsnuggles1
Apparently the item 'iron_ingot' in one of your lists is formatted wrong. According to the error you're missing a colon somewhere.
-
View User Profile
-
Send Message
Posted May 22, 2013Yeah, did I make my config file wrong?
1:06:54 [INFO] [Loot] Enabling Loot v3.3.2 2013-05-22 11:06:54 [SEVERE] Cannot load plugins\Loot\Lists\Loot.yml org.bukkit.configuration.InvalidConfigurationException: while scanning a simple key in "<string>", line 52, column 3: iron_ingot ^ could not found expected ':' in "<string>", line 53, column 10: spawn: ^
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55) at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:138) at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:105) at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:175) at me.kmacho.bukkit.loot.LootConfiguration.getLists(LootConfiguration.java:65) at me.kmacho.bukkit.loot.LootConfiguration.<init>(LootConfiguration.java:34) at me.kmacho.bukkit.loot.LootCommand.<init>(LootCommand.java:33) at me.kmacho.bukkit.loot.Loot.enable(Loot.java:25) at me.kmacho.bukkit.utilities.BukkitPlugin.onEnable(BukkitPlugin.java:44) 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(SimplePluginManager.java:381) at org.bukkit.craftbukkit.v1_5_R3.CraftServer.loadPlugin(CraftServer.java:282) at org.bukkit.craftbukkit.v1_5_R3.CraftServer.enablePlugins(CraftServer.java:264) at org.bukkit.craftbukkit.v1_5_R3.CraftServer.<init>(CraftServer.java:218) at net.minecraft.server.v1_5_R3.PlayerList.<init>(PlayerList.java:55) at net.minecraft.server.v1_5_R3.DedicatedPlayerList.<init>(SourceFile:11) at net.minecraft.server.v1_5_R3.DedicatedServer.init(DedicatedServer.java:106) at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:382) at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573)
-
View User Profile
-
Send Message
Posted May 21, 2013@XxkmachoxX 2 things: 1: I updated my java and it stil wont work,
2:What happens if i dont use a MySQL server? I dont have one and i only wanna buy or make one if absolutely needed.
-
View User Profile
-
Send Message
Posted May 21, 2013@konaguy
Make sure that you don't have a minimum amount on the sign too high, because the chest will be forced to spawn whatever minimum amount you put. If for example it has a bunch of low chance items but a minimum of one the chest WILL spawn at least one of those low chance items.
-
View User Profile
-
Send Message
Posted May 21, 2013@AttestedFaun
Yup, just as expected, you need to update java. Also make sure you don't have the older version installed, java doesn't uninstall the older version when you install the new one.
-
View User Profile
-
Send Message
Posted May 21, 20132013-05-21 22:20:04 [SEVERE] Could not load 'plugins/KBPL.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: me/kmacho/bukkit/utilities/main/KBPL : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:184) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230) at org.bukkit.craftbukkit.v1_5_R3.CraftServer.loadPlugins(CraftServer.java:239) at org.bukkit.craftbukkit.v1_5_R3.CraftServer.<init>(CraftServer.java:217) at net.minecraft.server.v1_5_R3.PlayerList.<init>(PlayerList.java:55) at net.minecraft.server.v1_5_R3.DedicatedPlayerList.<init>(SourceFile:11) at net.minecraft.server.v1_5_R3.DedicatedServer.init(DedicatedServer.java:106) at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:382) at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573) Caused by: java.lang.UnsupportedClassVersionError: me/kmacho/bukkit/utilities/main/KBPL : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) at java.lang.ClassLoader.defineClass(ClassLoader.java:615) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:80) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:249) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:173) ... 9 more
Theres the error
-
View User Profile
-
Send Message
Posted May 21, 2013my players are finding items that are set to 1 often is there something set up wrong thats not seeing the chance?
-
View User Profile
-
Send Message
Posted May 21, 2013I would like to ask what happens if you dont use a MySQL server?
-
View User Profile
-
Send Message
Posted May 21, 2013Is it possible to choose which chests you want the items to spawn in or the number of items?
-
View User Profile
-
Send Message
Posted May 21, 2013@AttestedFaun
It's working fine on my end. Make sure you have the latest version of java and If that doesn't work, post the error so I can inspect it.
-
View User Profile
-
Send Message
Posted May 21, 2013@bknysnake
I'm guessing that it's because you're using an older version of the worlds list, where the configuration is:
worlds: worldname: time: lists: - nameoflistI accidentally left the plugin generating that default config for the worlds list, but in 'The Configuration File' page it explains the new config, which also has a radius option.
-
View User Profile
-
Send Message
Posted May 21, 2013Hi, I'm using the global option where it counts ANY chest as a loot chest, but within the config, I noticed the normal timer was 10, and realized the chest loots were respawning within 3 seconds that someone retrieves it, I then changed that timer to 600, and it clearly does the same thing. I'm using this plugin for MyZ, not sure if that could be a reason it isn't working, but I don't know. I am currently using every plugin MyZ depends on and recommends except of course for buycraft (Not interested in that plugin). I need the items to only spawn within minimum 25 minutes after a player collects the loot, and if it's possible to do the same as signs where you place a radius so if a player is nearby the timer doesn't countdown. Thanks I really appreciate all help.
-
View User Profile
-
Send Message
Posted May 20, 2013KBPL update? the 1.5.1 version isn't working. Or maybe an estimate when it will be updated?
-
View User Profile
-
Send Message
Posted May 20, 2013@Drzell
It doesn't look like it would have any compatability issues. I doubt it will be able to spawn weapons though. Then again, I can't tell how this plugin handles weapon spawning by the description :O
@Mr_Wired
The current version works with 1.5.2
@InfroCZE
Yup :)
@bossomeness
Well, yes and no. You would have to create a config with all the items and just set it's spawning properties only, the rest that's 'randomizable' would be set by the plugin.
-
View User Profile
-
Send Message
Posted May 19, 2013Can I just have a chest filled with completely random stuff?
-
View User Profile
-
Send Message
Posted May 19, 2013is it possible to have all chests in the world autofilled ( in config, yes I know ) but than have some chests specified by sign? like ultra rare loot placed by signs?
-
View User Profile
-
Send Message
Posted May 19, 2013Could you update to 1.5.2?
-
View User Profile
-
Send Message
Posted May 19, 2013@XxkmachoxX
Sorry, was so sleep while writing the last comment. CrackShot http://dev.bukkit.org/server-mods/crackshot/
-
View User Profile
-
Send Message
Posted May 18, 2013@broede
I haven't tried it myself, but I think it would require some sort of work-around in bukkits API. Something like adding the potion effect by triggering the potion effect on the player when he wears a piece of armor, which isn't the plugins purpose.
@Drzell
Idk what Crachshot is :P
But if it doesn't mess around with chests, it should be fine.