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 19, 2013Can you make an option to disable permissions? Cause I wanna install Loot on my server, but I don't wanna download any permission plugins.
-
View User Profile
-
Send Message
Posted Apr 19, 2013Hi. This plugin is just what I need, but I can't get it to work. Either it says that the list doesn't exist, or it doesn't say it but will still not spawn any items. I have the latest versions of both KBPL and Loot. Thanks for fast response! What do I have to do? I followed the sign syntax above.
-
View User Profile
-
Send Message
Posted Apr 18, 2013@ATMcash
Well, that completely depends on the way you set up the item lists. You could just make it not give out good stuff or have a really low chance on doing so.
-
View User Profile
-
Send Message
Posted Apr 18, 2013I think its pretty cool but it could really give out good stuff and like almost all players will have good stuff...
-
View User Profile
-
Send Message
Posted Apr 17, 2013@pirmax
The console is supposed to tell you whether the plugin is enabled or not. I'ts supposed to also tell you the reason why it's getting disabled.
-
View User Profile
-
Send Message
Posted Apr 17, 2013Hello,
Why the plugin doesn't want to install please ?
Thanks.
-
View User Profile
-
Send Message
Posted Apr 16, 2013@lewiso574
Oh noes! I forgot to change the time back to minutes, left it counting in seconds instead xD Just uploaded this fixed, but it will take a while since bukkit needs to approve it fist.
@billybobby3165
Apparently there's a typo on the configuration, since it cant recognize the material being read. The upload I just mentioned will tell you on the console what item in what list this is, so you can find it easily.
-
View User Profile
-
Send Message
Posted Apr 16, 2013Came across a bug in my server. I am running two chest plugins both yours and chestregen so there may have been a compatibility issue. Also there was no error until it started raining in the world. Here is the server output:
4:29:23 PM [SEVERE] java.lang.NullPointerException
4:29:23 PM [SEVERE] at org.bukkit.inventory.ItemStack.<init>(ItemStack.java:88)
4:29:24 PM [SEVERE] at me.kmacho.bukkit.loot.list.item.LootItem.getItem(LootItem.java:134)
4:29:24 PM [SEVERE] at me.kmacho.bukkit.loot.list.item.LootItem.generateItem(LootItem.java:86)
4:29:24 PM [SEVERE] at me.kmacho.bukkit.loot.list.LootList.generateLoot(LootList.java:139)
4:29:24 PM [SEVERE] at me.kmacho.bukkit.loot.list.LootList.getContents(LootList.java:87)
4:29:24 PM [SEVERE] at me.kmacho.bukkit.loot.list.LootList.getContents(LootList.java:105)
4:29:24 PM [SEVERE] at me.kmacho.bukkit.loot.list.LootList.spawnLoot(LootList.java:58)
4:29:24 PM [SEVERE] at me.kmacho.bukkit.loot.LootListener.refill(LootListener.java:163)
4:29:24 PM [SEVERE] at me.kmacho.bukkit.loot.LootListener.onPlayerInteract(LootListener.java:148)
4:29:24 PM [SEVERE] at sun.reflect.GeneratedMethodAccessor229.invoke(Unknown Source)
4:29:24 PM [SEVERE] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
4:29:24 PM [SEVERE] at java.lang.reflect.Method.invoke(Unknown Source)
4:29:24 PM [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
4:29:24 PM [SEVERE] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
4:29:24 PM [SEVERE] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
4:29:24 PM [SEVERE] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
4:29:24 PM [SEVERE] at org.bukkit.craftbukkit.v1_5_R2.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:185)
4:29:24 PM [SEVERE] at net.minecraft.server.v1_5_R2.PlayerInteractManager.interact(PlayerInteractManager.java:370)
4:29:24 PM [SEVERE] at net.minecraft.server.v1_5_R2.PlayerConnection.a(PlayerConnection.java:632)
4:29:24 PM [SEVERE] at net.minecraft.server.v1_5_R2.Packet15Place.handle(SourceFile:58)
4:29:24 PM [SEVERE] at net.minecraft.server.v1_5_R2.NetworkManager.b(NetworkManager.java:292)
4:29:24 PM [SEVERE] at net.minecraft.server.v1_5_R2.PlayerConnection.d(PlayerConnection.java:110)
4:29:24 PM [SEVERE] at net.minecraft.server.v1_5_R2.ServerConnection.b(SourceFile:35)
4:29:24 PM [SEVERE] at net.minecraft.server.v1_5_R2.DedicatedServerConnection.b(SourceFile:30)
4:29:25 PM [SEVERE] at net.minecraft.server.v1_5_R2.MinecraftServer.r(MinecraftServer.java:580)
4:29:25 PM [SEVERE] at net.minecraft.server.v1_5_R2.DedicatedServer.r(DedicatedServer.java:225)
4:29:25 PM [SEVERE] at net.minecraft.server.v1_5_R2.MinecraftServer.q(MinecraftServer.java:476)
4:29:25 PM [SEVERE] at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:409)
4:29:25 PM [SEVERE] at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573)
4:29:40 PM [INFO] [Loot] Error generating items. See above for details.
4:29:40 PM [INFO] [Loot] If there are no errors above, report this bug:
4:29:40 PM [SEVERE] java.lang.NullPointerException
4:29:40 PM [SEVERE] at org.bukkit.inventory.ItemStack.<init>(ItemStack.java:88)
4:29:40 PM [SEVERE] at me.kmacho.bukkit.loot.list.item.LootItem.getItem(LootItem.java:134)
4:29:40 PM [SEVERE] at me.kmacho.bukkit.loot.list.item.LootItem.generateItem(LootItem.java:86)
4:29:40 PM [SEVERE] at me.kmacho.bukkit.loot.list.LootList.generateLoot(LootList.java:139)
4:29:40 PM [SEVERE] at me.kmacho.bukkit.loot.list.LootList.getContents(LootList.java:87)
4:29:40 PM [SEVERE] at me.kmacho.bukkit.loot.list.LootList.spawnLoot(LootList.java:58)
4:29:40 PM [SEVERE] at me.kmacho.bukkit.loot.LootListener.refill(LootListener.java:163)
4:29:40 PM [SEVERE] at me.kmacho.bukkit.loot.LootListener.onPlayerInteract(LootListener.java:148)
4:29:40 PM [SEVERE] at sun.reflect.GeneratedMethodAccessor229.invoke(Unknown Source)
4:29:40 PM [SEVERE] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
4:29:40 PM [SEVERE] at java.lang.reflect.Method.invoke(Unknown Source)
4:29:40 PM [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
4:29:40 PM [SEVERE] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
4:29:40 PM [SEVERE] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
4:29:40 PM [SEVERE] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
4:29:40 PM [SEVERE] at org.bukkit.craftbukkit.v1_5_R2.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:185)
4:29:40 PM [SEVERE] at net.minecraft.server.v1_5_R2.PlayerInteractManager.interact(PlayerInteractManager.java:370)
4:29:41 PM [SEVERE] at net.minecraft.server.v1_5_R2.PlayerConnection.a(PlayerConnection.java:632)
4:29:41 PM [SEVERE] at net.minecraft.server.v1_5_R2.Packet15Place.handle(SourceFile:58)
4:29:41 PM [SEVERE] at net.minecraft.server.v1_5_R2.NetworkManager.b(NetworkManager.java:292)
4:29:41 PM [SEVERE] at net.minecraft.server.v1_5_R2.PlayerConnection.d(PlayerConnection.java:110)
4:29:41 PM [SEVERE] at net.minecraft.server.v1_5_R2.ServerConnection.b(SourceFile:35)
4:29:41 PM [SEVERE] at net.minecraft.server.v1_5_R2.DedicatedServerConnection.b(SourceFile:30)
4:29:41 PM [SEVERE] at net.minecraft.server.v1_5_R2.MinecraftServer.r(MinecraftServer.java:580)
4:29:41 PM [SEVERE] at net.minecraft.server.v1_5_R2.DedicatedServer.r(DedicatedServer.java:225)
4:29:41 PM [SEVERE] at net.minecraft.server.v1_5_R2.MinecraftServer.q(MinecraftServer.java:476)
4:29:41 PM [SEVERE] at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:409)
4:29:41 PM [SEVERE] at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573)
-
View User Profile
-
Send Message
Posted Apr 16, 2013Hi i use this plugin, and it is very good except for when i type the time in minutes the chest regenerates way to fast, if i type in 5 it'll regenerate in about 2 seconds
-
View User Profile
-
Send Message
Posted Apr 16, 2013Writes this when I want him generate items =( 2013-04-16 20:21:21 [INFO] [Loot] [31;1mError generating items. See above for details.[m 2013-04-16 20:21:21 [INFO] [Loot] [31;1mIf there are no errors above, report this bug:[m 2013-04-16 20:21:21 [SEVERE] java.lang.NullPointerException 2013-04-16 20:21:21 [SEVERE] at me.kmacho.bukkit.loot.list.LootList.getContents(Unknown Source) 2013-04-16 20:21:21 [SEVERE] at me.kmacho.bukkit.loot.list.LootList.getContents(Unknown Source) 2013-04-16 20:21:21 [SEVERE] at me.kmacho.bukkit.loot.list.LootList.spawnLoot(Unknown Source) 2013-04-16 20:21:21 [SEVERE] at me.kmacho.bukkit.loot.LootListener.refill(Unknown Source) 2013-04-16 20:21:21 [SEVERE] at me.kmacho.bukkit.loot.LootListener.onPlayerInteract(Unknown Source) 2013-04-16 20:21:21 [SEVERE] at sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source) 2013-04-16 20:21:21 [SEVERE] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2013-04-16 20:21:21 [SEVERE] at java.lang.reflect.Method.invoke(Method.java:601) 2013-04-16 20:21:21 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:361) 2013-04-16 20:21:21 [SEVERE] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) 2013-04-16 20:21:21 [SEVERE] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) 2013-04-16 20:21:21 [SEVERE] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) 2013-04-16 20:21:21 [SEVERE] at org.bukkit.craftbukkit.v1_4_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:160) 2013-04-16 20:21:21 [SEVERE] at ir.a(ItemInWorldManager.java:539) 2013-04-16 20:21:21 [SEVERE] at iv.a(NetServerHandler.java:906) 2013-04-16 20:21:21 [SEVERE] at net.smart.moving.playerapi.NetServerHandler.a(NetServerHandler.java:42) 2013-04-16 20:21:21 [SEVERE] at fk.a(Packet15Place.java:79) 2013-04-16 20:21:21 [SEVERE] at cg.b(TcpConnection.java:467) 2013-04-16 20:21:21 [SEVERE] at iv.d(NetServerHandler.java:220) 2013-04-16 20:21:21 [SEVERE] at iw.b(NetworkListenThread.java:57) 2013-04-16 20:21:21 [SEVERE] at ht.b(DedicatedServerListenThread.java:34) 2013-04-16 20:21:21 [SEVERE] at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:981) 2013-04-16 20:21:21 [SEVERE] at ho.r(DedicatedServer.java:309) 2013-04-16 20:21:21 [SEVERE] at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:857) 2013-04-16 20:21:21 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:744) 2013-04-16 20:21:21 [SEVERE] at fy.run(ThreadMinecraftServer.java:16)
-
View User Profile
-
Send Message
Posted Apr 15, 2013Hey, just a suggestion here. Have you considered a per player respawn time like ChestRegen? It could be configured so each player could loot a chest once a day or just once forever in the case of some really rare loot.
Also, is this compatible with item editing plugins like phatloot?
-
View User Profile
-
Send Message
Posted Apr 15, 2013@WavyWonderz
The player must put it there. Remember, this plugin is made for more rpg-inclined servers, so I'm assuming the chests will be protected. If not, players could easily take advantage!
-
View User Profile
-
Send Message
Posted Apr 15, 2013@CommodoreAlpha
Oh! I actually meant a minecraft mod, not bukkit plugin >.>
Also you are right, its not a bukkit problem, but I thought of putting it there to warn players that might go above lvl 10.
-
View User Profile
-
Send Message
Posted Apr 15, 2013Isn't the "enchants not displaying roman numerals" caveat an issue for vanilla Minecraft, making it a "non-issue" for Bukkit or this plugin?
And you mentioned plugins that can fix the issue, but I haven't really seen such plugins, and I snoop around on dev.bukkit quite often. Would you happen to know of such a plugin?
-
View User Profile
-
Send Message
Posted Apr 15, 2013Also, if there is not a chest in the designated spot, will it spawn a chest and then fill it, or must a player put it there?
-
View User Profile
-
Send Message
Posted Apr 15, 2013@WavyWonderz
It only works on chests for now, as it is what I'm using for a server I'm making :P
About disconnecting to take advantage of the chests, I'm going to see if there's a better solution. I'm pretty sure there must be a getOfflinePlayers method in Bukkit, I just never thought of that situation :O
-
View User Profile
-
Send Message
Posted Apr 15, 2013Does this work on all forms of storage items, or only chests? Also, is there a way to empty the contents of all loot chests in a certain radius. This way players can't log out at the end of a dungeon, wait for it to respawn, and log back in again to claim the loot.
-
View User Profile
-
Send Message
Posted Apr 7, 2013@Yomsthebomb
It's working fine on my end. Post your list.
-
View User Profile
-
Send Message
Posted Apr 7, 2013Kmacho I did that!!!! But all that spawns in my chests are white spawn eggs that do nothing!
-
View User Profile
-
Send Message
Posted Apr 7, 2013@Mimir_331
@Masterofjumping
I'll see what I can do guys, this plugin would fit in quite well :)