Version: v2.1.13 - by SiKL0N3
External Download: SourceForge -> Source not inclusive.
GreatLoot is a plugin specifically designed for looting tables in Minecraft: with a bit of simple customization in a config.yml file, custom looting is quickly and seamlessly implemented on your server! There are four different options per most entities in the config file (causes, amounts, lootids, and chances), which all are defined by their names. There is an example config.yml file and explanation below.
Not the BEST quality, but it will suffice!
FEATURES:
COMMANDS:
/lootsenable
-Enable the loot system in-game.
/lootsdisable
-Disable the loot system in-game.
Example 'config.yml' file:
onstart: load: 'false' loot: player: amounts: '0' lootids: '0' chances: '0' causes: pigzombie: amounts: '0' lootids: '0' chances: '0' causes: fish: amounts: '0' lootids: '0' chances: '0' causes: magmacube: amounts: '0' lootids: '0' chances: '0' causes: cow: amounts: '0' lootids: '0' chances: '0' causes: enderman: amounts: '0' lootids: '0' chances: '0' causes: villager: amounts: '0' lootids: '0' chances: '0' causes: skeleton: amounts: '0' lootids: '0' chances: '0' causes: blaze: amounts: '0' lootids: '0' chances: '0' causes: chicken: amounts: '0' lootids: '0' chances: '0' causes: slime: amounts: '0' lootids: '0' chances: '0' causes: zombie: amounts: 1, 2, 3, 4 lootids: 22, 1, 2, 4 chances: 100, 100, 100, 100 causes: creeper_explosion, fire cavespider: amounts: '0' lootids: '0' chances: '0' causes: spider: amounts: '0' lootids: '0' chances: '0' causes: tntprimed: amounts: '0' lootids: '0' chances: '0' mobspawner: amounts: '0' lootids: '0' chances: '0' sheep: amounts: 64, 64 lootids: 2, 8 chances: 100, 100 causes: any_attack mushroomcow: amounts: '0' lootids: '0' chances: '0' causes: creeper: amounts: '1, 64' lootids: '23, 10' chances: '100, 50' causes: creeper_explosion squid: amounts: '0' lootids: '0' chances: '0' causes: pig: amounts: '0' lootids: '0' chances: '0' causes: ghast: amounts: '0' lootids: '0' chances: '0' causes: wolf: amounts: '0' lootids: '0' chances: '0' causes: players: SiKL0N3: true SiKL0N: false snowman: amounts: '0' lootids: '0' chances: '0' causes: silverfish: amounts: '0' lootids: '0' chances: '0' causes: giant: amounts: '0' lootids: '0' chances: '0' causes:
As you can see, there are three required sub-categories for each monster; the 'causes' sub-category is not necessary. Without marking the 'causes' category, any death to the entity will cause it to drop its specified loot (given permission, of course). These are the allowable causes: 'fire [new], projectile [new], creeper_explosion, any_attack, pvp, drowning, suffocation, lightning, block_explosion, fall' Now, if you look at the 'creeper' category, you'll see that block #23 has a 100% chance of dropping when the creeper is killed by a creeper explosion. That doesn't necessarily mean that the creeper's self-suicide kamikaze (epic allusion to another plugin I made) will drop a block with ID #23. Also, notice there is a second ID (#10 = lava), as well as a second amount and chance that correspond to each other. This entails a 50% drop chance of 64 lava blocks when a creeper dies from another creeper's explosion. Get it now? Hopefully! You may wonder what to do if you do not want the monster to drop any loot - that's an easy fix! Just apply the '0' after the required sub-categories. That zero will mean a 0% chance to drop zero blocks of AIR (ID = 0). Simple? Cool! :) If not, don't rage, just post below and I'll explain it a bit more!
UPDATE [see config.yml file above in correspondence to this section] for 2.1.13:
Make sure you delete your old config.yml file when you get a new version!
Some new elements have been faceted directly into the heart of this plugin: