GreatLoot
[FUN/MECH/MISC] GreatLoot v2.1.13 - Customizable Entity Loot Tables [1.0.1-R1]
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:
- Fully-customizable loot tables for specific monsters and players.
- Option to change the CAUSE of the loot to something more exclusive (for example, ONLY dropping the loot when something dies from an entity explosion).
- Dynamic, in-game enabling and disabling for the loot system (see the commands below).
- Customizable drop-rates!
- Specify drops from PvP!
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:
- 'players' node (a per-player parent node)
- true = player can get loot from killing the entity via the selected method.
- false = player cannot get loot from killing the entity via the selected method.
- When entities die and drop loot, they will NOT drop loot if there is a player who cannot loot (has false in their loots.players.[playername] node) within a ten-unit three-dimensional (x,y,z) radius of the entity at its death location. If player X has true in their node and player Y has false, and if player X is killing something for player Y and expecting to get the loot for Y while Y is standing right next to the entity as it dies, NO LOOT WILL DROP. Hopefully, I have a competent downloading population with the intellect to comprehend what I just said, and not ask, "HERP DERP y do my lootz no drop DRPP"
- New entities to write loot tables for.
- Commands actually work now.
- TNTPrimed entity (get drops from TNT after it ignites) is now working.
- Mob_Spawner blocks can be configured for loot
- NOTE: TNTPrimed and Mob_Spawner entities do not have any affiliated 'causes' category; they will drop whatever is specified based on 'chances' only, and not based on the 'causes' node.
- When creeper entities die by explosions, they actually drop loot now (depending on cause)!
- Bye-bye Permissions (no more co-dependency).
- 'onstart.load' node is now functional. It controls whether or not loot is enabled/disabled upon starting the server.
- New causes: fire and projectile (EXACTLY WHAT THEY SAY).
@TomabScblieter
+1
Closed source plugins make me sad. =/
anyone know of a mod like this one?
Are you planning on updating this plugin? I love this one.
This is an awesome plugin. I love the fact you can set multiple items and different drop chances. I would love to see an update for this and other features in the future!
I didn't see a way to create a ticket, so I will post here.
I get the following error if you try to issue the "lootsenable" command from the console: Unexpected exception while parsing console command org.bukkit.command.CommandException: Unhandled exception executing command 'lootsenable' in plugin GreatLoot v2.1.13
And I get the following error if I use the "onstart: load: 'true'" setting in the config.yml: You must configure the server first! Change the config.yml file in your '[server]/plugins/GreatLoot' directory accordingly and restart to enable this plugin!
I can enable the plugin just fine if I do manually from in game.
I am enjoying this plugin a lot, but I do not see how it is in a "Mature" state with only one file version history and no responses to any questions or comments.
Loving this mod so far. Great work.
One question, is there currently a way to have a mob drop different loot based on how it died? Or, does it just drop all loot for all the provided death causes?
Example: Say I wanted to Zombie to drop Cooked Steak if it died by Fire, but regular Rotten Flesh if it died any other way
Thanks!
thanks for this awesome plugin i have a few suggestions tho for future releases. 1st: ability to disable drops in mobarena or worldguard regions. 2nd: add drop ranges, 1-5 arrows can drops etc 3rd: way to set max amount of drops from mob. that way if you have 15 items a mobs drop list only set amount will drop and maybe a way to make it global or mob specific. thanks so much :P
I noticed you don't have a SuperCharged Creeper as an option to set loot for, I was wondering if you could add it in the next version.
Edit: Also adding the Dragon would be great :)
Edit2: Additionally if possible I'd like to request a reload command for the config file so if I want to change drop rates I don't have to restart my server.
Thanks for the great work.