main/Changelog

Changelog:

Version 2.0 - Not yet started. ETA: Unknown

  • Rewrite of the code

Version 1.2 - Done, not being released (8/5/12)

  • Altered how the config file works.
    • Instead of having this enabled per world, and a global cap, each world is "enabled" by having a value greater than zero.
    • See this comment for more info

Version 1.1 - Done, not being released.

  • built against 1.2.5-R1 build 2149
  • Moved commands to a Command Executor class
  • Made "/rw retro" usable from the console, ONLY IF you provide a player name that is online
  • Cleaned up the code
  • Changed Damage listener (EntityDamage -> EntityDamageByEntity)
    • Now only does checking if the Projectile is tracked
    • Fixed Arena wolf damage checks
  • Track Projectiles shot by players using ProjectileLaunch
  • Track PotionSpash events
    • Pets will randomly select an affected target and attack it

Version 1.0.2 - 3/11/12

  • Fixed checking Max Wolf cap for offline players, they were able to get as many wolves as they could before, now they're capped.
    • Unfortunately, even if the player has permission to bypass the cap, I can't check an offline player's permissions.
  • Cleaned up the onEntityDamage listener some.
  • Fixed "/rw retro" command, it now takes into account if a nearby wolf's owner is offline or not, and the command now obeys the Max Wolf cap
  • Added checks to the "/rw reloadMA" command to make sure MobArena is on the server and enabled before running the reloads
  • Cleaned up "/rw reloadMA" command too
  • Added a return to onEntityTame to make sure I don't add untamed wolves to a player's list and falsely inform the player they tamed a wolf
  • Removed more references to my WIP targetting for now.

Version 1.0.1 - 3/5/2012

  • Forgot to comment out onEntityTarget event for my WIP targetting
  • Fixed Max Wolf cap enforcing

Version 1.0 - 3/5/2012

  • Updated to the new Events system
  • Compiled against CB 1.1-R6 (Should work with 1.2 builds of CB)
  • Compiled against MA 0.94.4.52 (this is a dev build, but is stable & working)
  • Fixed a possible error on /reloadMA command
  • Added a cap to how many Wolves a player can have, as well as a permission to bypass the limit
  • Fixed an NPE in the listener for onArenaStart events from MobArena
  • Started work on an in-depth targetting system. Didn't get the kinks worked out, so I adjusted the original targetting a bit.
    • Wolves will only attack a new target if they don't currently have one.

Version 0.8.8 - 1/18/2012

  • Added a config option to stop your wolves from attacking Creepers
  • Fixed a bug in the config code that wasn't properly updating the config

Version 0.8.7 - 1/7/2012

  • Fixed a couple of rare NPEs
  • Code comment clean-up

Version 0.8.6 - 1/2/2012

  • Tidied up the config code some more
  • Made it so that if you manage to shoot yourself, to not do anything. (in both worlds and arenas)
  • Made it so that if a wolf is spawned with an owner already attached, that it adds the wolf right then and there (fixed something I didn't realize was broken)

Version 0.8.5 - 12/25/2011

  • Added permissions to the plugin.yml file and their appropriate checks in the code
    • 5 total permissions, 2 minimally required to use this completely
  • Cleaned up the config handling code, had duplicate code running.

Version 0.8.4 - 12/12/2011

  • Removed Skeleton Tamers, as they currently aren't possible to implement
    • Also set code to auto remove any config items associated with them
  • Added in missing Projectiles to the config & checks

Version 0.8.3 - 12/12/2011

  • Built against Craftbukkit RB 1597
  • Changed Skeleton Tamer pet wolves from merely going angry to going angry for 10 seconds then dying.
    • There is a possibility (if requested enough) to make this amount different and/or variable
  • Minor fixes in Skeleton Tamer code
  • Made "/rw reloadMA" automatically reload Ranged Wolves to avoid any possible errors.

Version 0.8.2 - 10/20/2011

  • Compiled with the latest RB (build 1337)
  • Added a command ("/rw reloadMA") to rerun the Mob Arena set up code for those of you experiencing Ranged Wolves loading before Mob Arena
    • Follow this IMMEDIATELY with "/rw reload" to avoid any errors

Version 0.8.1 - 10/18/2011

  • Fixed config.yml 'fixers' for Skeleton Tamers and for Fireballs. Fireballs wasn't broken, but I made it check every projectile instead of just Fireballs
  • Fixed a couple of NPEs in the entity listener
  • Added missing "else{ }" statement after the Skeleton section of the damage listener, allowing the code to jump right into the Player section. Whoops!

Version 0.8 - 10/16/2011

  • Skeletons can now spawn as a Wolf Owner and have a Wolf pet(s)!
  • You can enable/disable them outright (enabled by default)
    • If Ranged Wolves is disabled for the World, but Skeleton Tamers are enabled, they will not spawn.
  • You can enable/disable them in Mob Arena (enabled by default)
    • If Ranged Wolves is disabled for the Arena, But Skeleton Tamers are enabled in Mob Arenas, they will not spawn.
  • Upon Skeleton Tamer's death, if any of his pets remain alive, they turn Angry/Hostile
  • You can set the % chance a spawned Skeleton will be a Wolf Owner (10% by default)
    • If you try to put over 100%, it'll go to 100%
    • If you try to put under 0%, it'll go to 0%
  • You can set the maximum number of pet Wolves a Skeleton gets. (1 by default, hard cap of 5)
    • The number for Max pets isn't guaranteed to happen, it will be random from 1 to the Max pets amount
    • If you try to put over 5 Max pets, it'll go to 5
    • If you try to put under 0 Max pets, it'll go to 0
  • Since all of this is configurable, that means there's a new section in your config.yml file. But, it should Auto-Update to v0.8 standards and say that it has. No need to delete and let it regenerate a new config.yml!!
  • Coinciding with the config.yml update for the new content, I realized I had forgotten Ghast Fireballs as a potential Projectile! It has since been added and will update your config.yml! (default is true)
    • Also, any new Worlds/Arenas added from in game will require you to "/rw reload" to have them appear in the config (defaulting to true)

Version 0.7.5 - 10/12/2011

  • Updated Configuration code to YamlConfiguration.

Version 0.7.4 - 10/10/2011

  • Fixed possible onEnable NPE

Version 0.7.3 - 10/3/2011

  • Fixed an NPE if no one in the Arena had pets

Version 0.7.2a - 10/3/2011

  • Fixed using just "/rw" command, as it threw an evil Exception!

Version 0.7.2 - 9/28/2011

  • Fixed spamming of wolves being added to players from the onPlayerTeleport event.
    • Debug mode has to now be true to see them, taming/death messages should still fire properly either way
  • Fixed NPE from taming wolves, now correctly gets the new owner.
  • Slightly more code restructuring

Version 0.7.1a - 9/27/2011

  • Fixed PLAYER_TELEPORT event casting issue. Now accounts for Offline Players. Did this for wolves dying as well.
  • Slight code restructuring

Version 0.7.1 - 9/26/2011

  • Updated for CraftBukkit Recommended Build 1185
  • Updated config and listeners to check for projectile types (See config section above)
  • Added Mob Arena PvP checks
  • Moved World Entity checking code from onEnable to onPlayerTeleport, and check each world once.

Version 0.7 - 9/10/2011

  • Reworked Owner class that deals with Player/Wolf relationships
    • Now allows for relationship persistence across relogs/reloads/restarts
  • Now has per Arena PvP checks (Only available by request. You will also need Mob Arena's Dev Build)

Version 0.6 - 9/9/2011

  • Cleaned up Entity Damage event listener (thanks to @AgnateHearthstone !)
  • Added PvP checks! Your wolves will now attack Players if PvP is enabled in the world!
    • If PvP isn't enabled on your server, your wolves won't attack other players/tamed wolves
  • Actually fixed pet wolves killing each other this time around!

Version 0.5 - 9/8/2011

  • Added a Configuration file to denote where to use Ranged Wolves
    • Each World has a true/false option
    • Each Arena has a true/false option
      • if you don't use Mob Arena, this section won't be added
    • Added a command (/rw reload) to reload the config
  • Reworked the Entity Damage Listener
    • Added checks for if a wolf is a pet or not
    • Added section for later adding in PvP checks
    • Added Arena/World checks if RW is enabled or not
    • Arenas take precedence over Worlds
      • If a World is set false, and an Arena in that world is set true, it will still work in the Arena
  • Added several messages for events that happen (pet tame/spawn/death)
  • Added a command to get nearby wolves and add them to the owners if they're already tamed ("/rw retro"). It also tells you how many got added.
    • If one of the nearby wolves is already associated, it will be skipped

Version 0.4 - 8/26/2011

  • Fixed NPEs when joining a Mob Arena arena and choosing a Pet class
  • Added a check for a sitting wolf, sitting wolves do nothing
    • sitting wolves in an arena, however, attack your ranged target
  • Added a way to check if a wolf has an owner
    • will use this to solve the tamed wolves in-fighting occuring
  • Made it so that a spawned wolf with a predetermined owner gets added to the player's list of pets

Version 0.3 - 8/25/2011

  • First release to the public

Comments

Posts Quoted:
Reply
Clear All Quotes