2.3-beta3

Details

  • Filename
    OtherDrops_2.3-beta3.zip
  • Uploaded by
  • Uploaded
    Feb 8, 2012
  • Size
    268.14 KB
  • Downloads
    474
  • MD5
    27ec4eb6a1ff27bd4fad3a74b689cd6a

Supported Bukkit Versions

  • CB 1.1-R3

Changelog

Release 2.3-beta3 (download)

  • fix another NPE due to measuring "range" between two worlds (and refactor "range" safety checks into one function)
  • fix od-goldtools-basic.yml (allows you to gather ice which will produce water in nether) to drop: NOTHING in nether
  • add default_dropspread option to otherdrops-config.yml
  • fix issue where drops without a drop (eg. just a message or an event) overrode default drop
  • allow setting "default_dropspread" in config file (false means drops will be one stack unless override with a dropspread
  • handle custom damage (fixes BukkitDev ticket 65 - MCMMO custom damage causing NPE)
  • fix hawkeye logging so it only occurs on Action.BREAK

Be careful with this one - I had to change a lot to fix the issues with drops without a drop overriding default drop. I ran it through a full test but still could have missed something - please let me know if there are any issues.

Version 2.3-beta2 (2012/02/06)

  • remove MONSTER from group
  • fix error with WOOL@THIS (white sheep dropped black wool)
  • honor mobarena protection
  • support multiple enchantments for tools (not levels yet)
  • minor fixes and NPE catching

Version 2.3-beta1 (2012/02/04)

  • disable Enderdragon explosions (too dangerous - easy to cause server overload - will later enable via a config option)
  • fix IN_MOB_ARENA flag
  • More flexible aliases system - now ignores spaces, dashes and underscores (ie. goldhelm will match GOLD_HELM).
  • Revamp of main drop function - "exclusive" now removed but replaced with more powerful usage of UNIQUE flag, eg:
   # this config sets up two drop groups where the contents of each dropgroup are UNIQUE
   # basically this selects one drop at random from each dropgroup (ie. web & gold, OR web & XP)
    SPIDER:
      - dropgroup: xp_or_money
        drops:
          - drop: GOLD_INGOT/2
            flags: UNIQUE
          - drop: XP/25/100%
            flags: UNIQUE
      - dropgroup: loot
        drops:
          - drop: WEB
            flags: UNIQUE
          - drop: .....
  • Added "THIS" for datavals - eg:
  SHEEP:
    - drop: WOOL@THIS # will drop wool of same color as sheep
  LOG:
    - drop: LOG@THIS # drop same log as tree you are breaking
  ANY_CREATURE:
    - drop: SPAWN_EGG@THIS # drop an egg that spawns the creature just killed
  • support block level "exceptions", eg:
  ANYBLOCK except [FURNACE, WORKBENCH]:
    - drop: DIAMOND

This may end up changing to a format of [ANYBLOCK, -FURNACE, -WORKBENCH]

  • improve stopmobfarm config and change DAMAGE_BURN to an alias for FIRE/FIRE_TICK/LAVA.
  • add alias "BLOCK_BREAK" for action "BREAK"
  • fix EXPLOSION_TNT & EXPLOSION_ANY tool, add EXPLOSION as an alias for EXPLOSION_ANY
  • only default tooldamage to 1 for blockbreak events (this was only meant to be a protection due to the need to cancel blockbreak events)
  • trim enchantment names so "SWORD@ench1, ench2" will work (previously the space after the comma would cause it to fail
  • fix NPE in PlayerInteractEvent
  • add distance safety check (to fix NPE) in PlayerInteractEntityEvent
  • Improved some log/debug messages

Version 2.2.1 (2012/01/30)

  • Quickfix for messages in some configs showing 0 for %q

Version 2.2 (2012/01/30)

  • DEFAULT now works correctly with fishing actions
  • new aliases (SPAWN_EGG for MONSTER_EGG, GLISTERING_MELON for SPECKLED_MELON)
  • od-fix_undroppables now has endermen dropping their contents on death

Version 2.2-beta1 (2012/01/29)

  • added FISH_CAUGHT & FISH_FAILED actions
  • mooshroom now works instead of being seen as a cow
  • fix bug where PROJECTILE_ARROW didn't send messages
  • attempt fix NPE in SimpleData.get()
  • new flexible way of checking creature names
  • added HELM as alias for HELMET (eg. IRON_HELM)

Fishing example:

    PLAYER:
        - dropgroup: fishcaught
          action: FISH_CAUGHT
          drops:
            - drop: IRON_HELM@50
              message: "Bonus!You found an iron helmet - a little rusty but still ok."
              chance: 5%
              exclusive: 1
            - drop: {DIAMOND, GOLD_ORE, OBSIDIAN}
              chance: 3%
              exclusive: 1
              message: "Woo, you hooked a precious stone!"
    
        - action: FISH_FAILED
          drop: LEATHER_BOOTS
          chance: 2%

Currently this will always drop the default fish as well, that will be fixed in the next release (then you will have to add drop: DEFAULT if you want the fish as well).

Caveats: currently we cannot add items to your inventory and there's no way to determine the location of the fishing "bobble" so it just drops items at your feet.

Bonus: you can use all the usual conditions (biome, weather, world, etc) to customise fishing.

2.1.2

  • add dropgroup conditions back in
  • fix "drop:" default value (if not specified) - was DEFAULT, now NOTHING (more intuitive)
  • stop "drop: NOTHING" replacing blocks on actions other than blockbreak

2.1.1

  • fix for "drop: default" not working
  • fix for "ALL:" & "ANY_CREATURE"
  • fix chance condition for dropgroups

2.1

  • enchantment support! eg. "drop: DIAMOND_SWORD@!DAMAGE_ALL#3, FIRE_ASPECT#2" - see here for more details
  • fix for bug where if an embedded chance fails the block doesn't break

2.0.1

  • remove enhanced HawkEye logging as it caused OtherDrops to be dependent on HawkEye and crash if you don't have it (if you need full HawkEye logging use version 2.0, otherwise use this version).

2.0

  • only change from beta13-2 is support for integer drop values (eg. drop: 318@1022)
  • confirmation that major bugs have been fixed

Beta13-2:

  • fix for HawkEye logging - should work now

Beta13-1:

  • fix for ANY_EXPLOSION, EXPLOSION_CREEPER & EXPLOSION_TNT
  • fix to allow custom drops dropping during tnt/creeper explosions

Beta12-2:

  • fix for in_mob_arena crashing with NPE if mob arena plugin not found

Beta 12:

  • fix "delay bug" choosing same location
  • dropgroups now have separate messages (handy for delays - show immediate message then delayed messages with event)
  • fix IN_MOB_ARENA flag
  • fix UNIQUE flag
  • update hawkeye logging (hopefully rollback works? not tested)
  • remove ProjectileAgent debug msg
  • fix for negative regions (region: [-here])
  • fix for ANY_BLOCK (using replacement block or DENY changed any block to the first block you broke)

Beta 11:

  • remove spawn_egg alias to allow compability with Minecraft 1.0.1 Bukkit
  • clear up a couple of debug messages
  • fix NPE in weather check
  • add datavalues for magma_cube

Beta10: Basic support for enchantments, fix no death animation & entities removing block within, update to 1.0 & 1.1 (mobs/items), ignore players in creative mode (onblockbreak)

Be careful with this one - I had to change a lot to fix the issues with drops without a drop overriding default drop.  I ran it through a full test but still could have missed something - please let me know if there are any issues.