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:

  1. Fully-customizable loot tables for specific monsters and players.
  2. 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).
  3. Dynamic, in-game enabling and disabling for the loot system (see the commands below).
  4. Customizable drop-rates!
  5. 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:

  1. 'players' node (a per-player parent node)
    1. true = player can get loot from killing the entity via the selected method.
    2. false = player cannot get loot from killing the entity via the selected method.
    3. 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"
  2. New entities to write loot tables for.
  3. Commands actually work now.
  4. TNTPrimed entity (get drops from TNT after it ignites) is now working.
  5. Mob_Spawner blocks can be configured for loot
    1. 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.
  6. When creeper entities die by explosions, they actually drop loot now (depending on cause)!
  7. Bye-bye Permissions (no more co-dependency).
  8. 'onstart.load' node is now functional. It controls whether or not loot is enabled/disabled upon starting the server.
  9. New causes: fire and projectile (EXACTLY WHAT THEY SAY).

Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    35156
  • Created
    Dec 27, 2011
  • Last Released File
    Dec 27, 2011
  • Total Downloads
    2,015
  • License

Categories

Members

Recent Files