2.8-beta3
Details
-
FilenameOtherDrops_2.8-beta3.zip
-
Uploaded by
-
UploadedFeb 17, 2013
-
Size318.24 KB
-
Downloads371
-
MD5f51508777901d2b4b010e44a30e88359
Supported Bukkit Versions
- CB 1.4.7-R1.0
Changelog
Release - 2.8-beta3
- NOTE: multiple enchantments on item separator is now a "!" rather than "," - eg. bow@!arrow_damage#5!arrow_fire#1 rather than the old bow@!arrow_damage#5,arrow_fire#1 (this is to fix issue within droplists)
- extend potioneffect parameter: potioneffect.<type>: SPEED@<duration(ticks)>@<strength> (eg. SPEED@400@3 - be careful, too high a strength value goes weird) where type is: attacker, victim, world, server or radius (eg. potioneffect.victim)
- allow message.radius (plus potion.radius & damage.radius) to work(defaults to 10 - Unchangeable at this time.) Radius type only applies to players.
- add DamageAction - similar to PotionAction & MessageAction this has multiple parameters: damage.attacker, .victim, .world, .server & .radius. Damge can be normal, fire or lightning. eg:
# apply fire to 500 ticks (might change to look like fire@500t) damage.victim: [fire@500] # apply between 2 to 6 normal damage damage.attacker: [2-6] # strike whole server with lightning (*evil laugh*) - supports loc-randomise parameter damage.server: [lightning]
- add action: MOB_SPAWN as possible trigger.
# example: drop diamond on zombie spawns & apply a speed potion effect to the zombie ZOMBIE: - action: MOBSPAWN drop: DIAMOND - action: MOBSPAWN drop: DEFAULT # "default" in this context means "allow zombie to spawn" potioneffect.victim: SPEED@2000@7 # another example: replace zombie's in the desert with blazes: ZOMBIE: - action MOBSPAWN drop: BLAZE # drop a blaze mob, and because there's no "default" the zombie wont spawn biome: DESERT # only in the desert # replace Skeletons with random number between 1 & 6 skeletons in desert SKELETON: - action: MOBSPAWN drop: SKELETON/1-6 biome: DESERT # NOTE: I've added protection against recursion by ignoring custom spawns (eg. drops from otherdrops) otherwise: zombie: -action:mobspawn drop: zombie/2 - each zombie drops 2 zombies which trigger the spawn and drop another 2, etc would crash the server. There is an option to enable mobspawn trigger working on custom mobs - let me know if you need it.
- added support for CoreProtect (logging blockbreak's cancelled by OtherDrops).
- allow a list for spawnedby (eg. [NORMAL, OTHERDROPS] or [-SPAWNER]).
- added named aliases for crop states to carrots & potatoes.
- added Cocoa as alias for dye@brown.
- add data support for WOOD (eg. WOOD@JUNGLE), WOOD_STEP(slab), WOOD_DOUBLESTEP, COBBLEWALL, STEP@NETHER_BRICK, SANDSTONE
- fix /odr so it reregisters appropriate events.
- fix - allow CommonMaterial aliases to work with targets.
- fix lorename so it works when item data exists (eg. diamondsword@400!Blah)
- fix for "invalid enchantment" message appearing even with blank enchantments.
- fix permissions & permissiongroups condition - if agent is not a player we now return false (if permissions condition exists).
Release - 2.8-beta2
- add "spawnedby" condition - will check against any possible SpawnReason and custom reasons (eg. "OtherDrops"). Example:
COW: - spawnedby: OTHERDROPS drop: DIAMOND - spawnedby: SPAWNER_EGG drop: GOLDINGOT - tool: ANY drop: SNOWBALL
- add OtherDrops-config.yml options: "enchantments_use_unsafe" (add any enchant to any item/tool) and "enchantments_ignore_level" (ignore enchant start/max level) - eg. "drop: diamond_pickaxe@!dig_speed#50" or "feather@!damage_all#3".
- add WolfData - now supports baby, maxhealth, tamed/untamed, angry/neutral & collar color - eg. wolf@tamed!blue (for blue collar) or wolf@baby.
- fix MagmaCube data so magmacube@tiny or small, normal, huge now works
- fix tool: PLAYER (now correctly matches any object or projectile) and ANY_OBJECT (now correctly matches any object and not environmental or other creature damage)
Release - 2.8-beta1
- CreatureData overhaul - big change to how CreatureData is handled, alllows for:
- Villager professions and "baby" status - eg. VILLAGER@BUTCHER, VILLAGER@LIBRARIAN!BABY or just VILLAGER@BABY.
- Baby: chicken, cow, pig, mushroom_cow (note: sheep & wolf not added yet due to complexities)
- Ocelot "baby" status and make config easier/more resilient (can be OCELOT@RED!TAME!BABY or @WILD!BLACK, etc). Config is OCELOT@<type>!<wild or tame>!<baby - optional> order of type/wild/baby doesn't matter.
- added Zombie "baby" status, "villager" status and maxhealth (any number given) - eg. (ZOMBIE@VILLAGER!BABY!20). This can be used in both the drop and the target, eg:
GRASS: - drop: ZOMBIE@20 # zombie with maxhealth 20 ZOMBIE@20: # drop TNT, _only_ for maxhealth 20 zombies. - drop: TNT
-
- Skeleton: support wither.
- Skeleton: default to holding bow.
- Skeleton: test version of equipment config (allows for setting all armour slots and holding, any item including datavalues and enchantments) - format is SKELETON@eq:<slot>:<material>@<data>\!<enchantment>#<ench level><<dropchance>!!<next slot....>. Yes, there is a "<" character before the dropchance and you do need "!!" rather than "!" as the main separator and "\!" as the separator before any enchantments - couldn't process the config properly any easier way. Here's an example:
SAND: - drop: SKELETON@eq:head:DIAMOND_HELMET@\!THORNS<50!!eq:hands:DIAMOND_SWORD@\!DAMAGE_ALL#3<50
- fix a NPE error occuring when using "message.server" for leaf decay
- allow creature aliases, added alias "witherskeleton" = "skeleton@wither"
- shift dependency loading to a separate class - more consistent
- only register event listeners if a config for that type of event exists
- remove obselete Register, useYetiPermissions & Profiler sections
Release - 2.7.1
- Compiled with Java 6
- Dropping with lorename changed from % to ~ to avoid conflict with variables (eg. drop: DIAMOND_SWORD@!Butterfly Sword)
- Add more formatting variables for LoreName & messages (Bold: &l, Strikethrough: &m, Underline: &n, Italic: &o, Reset: &r)
- Fix some debugging messages (to do with lorename) always showing
- Only send "no economy plugin found" message if both Register and Vault not loaded (note: will be removing Register in next build, as Vault has replaced it)
Release 2.7
- No major changes since beta2.
- Move "unknown material" message from verbosity high to low (as an admin would reasonably want to see this message, even on verbosity low, to know their config needs fixing)
- Added a null check to MessageAction to avoid a possible NPE error.
Release 2.7-beta2
- fix "exclusive drop group" (ie. { }) so that it works as a distribution (ie. previously {SAND/50%, DIRT/50%} would choose one option and then run the chance a second time so 50% of the time nothing dropped - now it's a 50/50 chance of either Sand or Dirt).
- Percentages below 100% will be buffered with "NOTHING", ie. {SAND/10%, DIRT/10%} has a 80% chance from dropping nothing.
- Percentages above 100% will be rounded down as a whole, ie. {SAND/90%, DIRT/90%} is still just a 50/50 chance of either.
- added "lorename" condition - requires the item in player hand to have given "lorename".
- Will probably move this condition into the tool name at a later stage.
# example: GRASS: - drop: DIAMOND lorename: diamonddropper # requires an item called diamonddropper # add a tool condition if you want
- allow dropping an item with a lore name - <ITEMNAME>@!%<LORENAME> (eg. diamondsword@!%Butterfly) - can be combined with data values & enchantments but either way the "@!%" is still needed.
- added more material aliases (eg. firecharge = fireball, creeperhead = skullitem@4) - let me know if there's a commonly used name I've missed
- added TNTPrimed to entity list (to avoid "unknown entity" error)
- increased BlockBreak, LeafDecay & PlayerInteract events from HIGH to HIGHEST priority (to fix issues with Regios plugin)
- added jungle leaves to "leaf_overhaul" module
Release 2.7-beta1
- fix for Jukebox NPE error
- fix ItemFrame "unknown entity" error & move all unknown entity messages to verbosity "HIGH" (=less console spam)
- fix issue with "drop: DEFAULT" not working
- fix issue where mobs always dropped default items/xp
- fix for "tool: HANDS" failing in 2.6-beta1
- add Metrics support (metrics.griefcraft.com) to track anonymous usage stats (opt-out in plugins/PluginMetrics/config.yml - set opt-out to true)
- note: over 1000 minecraft plugins already use this library so you've probably already got it and I thought the stats would be interesting. Everyone gets to see the same stats here: http://mcstats.org/plugin/OtherDrops
- fix for mobs dropping custom items/xp inside MobArena arenas
Release 2.6-beta1
- fixed player hurt animation playing for all block breaks
- fixed "defaults" not being cleared on new file
Release 2.6-pre3
- fixes issues loading "default:" section of files,
- fixes issue with trying to load vault when it's not there
Release 2.6-pre2
- fixed issue reading PLAYER targets.
Release 2.6-pre1
- Adds vault support for money drops.
- XP & money drops no longer override default drop.
- add settings for loot/xp/money_overrides_default to otherdrops-config.yml
- ocelot/cats now support wild/tamed (cats tame by default, ocelots wild by default) - eg. ocelot@redcat\tamed (note, must be backslash, not forwardslash).
- replacetool can now include a quantity (eg. replacetool: diamond/3 will take away replace current tool(s) in hand with 3 diamonds)
- account for EnderCrystal in getEntityTarget() - currently does nothing with it (so EnderCrystal is not a valid target yet)
- allow "tool: " to require a quantity (eg. "tool: dead_bush/2" requires two or more dead bushes to be held)
- add 'delay: 1' if action = rightclick and replacetool is set (this avoids issue with tools being replaced by a water or lava bucket that then gets used).
- fix npe in thunder event, rename thunder event to thunderstorm, default duration to 2 minutes
Be careful with new MOBSPAWN action. It should be fine since I've added protection against recursion (eg. zombie: -action:mobspawn drop: zombie/2 - each zombie drops 2 and they trigger the spawn and drop another 2, etc
PLEASE NOTE: the change in the way that "drop: { }" works (now works as expected) may effect any drops you currently have using this. Please test these and adjust as necessary before updating your live server.
Should work with any Bukkit from version R5 and up (currently tested on 1.4.7-R0.1). Should also work on Tekkit & Spigot.