Get an Epic Experience with Premium

PetBattle Teams

Companions Login to Add Favorites
  • World of Warcraft
  • 7,350 Monthly Downloads
  • Supports: 5.4.0
  • 663,079 Total Downloads
  • Updated 09/16/2013
  • Created 07/27/2012
  • 799 Favorites
  • Project Site
  • Comments
  • Release Type: Release
  • License: All Rights Reserved
  • Newest File: 3.2.6

About PetBattle Teams

5.3: Blizzard reset some Pet Id's which PetBattle Teams uses to figure out which pets belong to your teams; Because of this some players may have lost some or all of their teams. In the options menu I have added a new option called 'reconstruct teams' when clicked it will attempt to rebuild your teams based on your current pets and the abilities you had previously selected for your teams. This is unlikely even when successful to rebuild your teams 100% as they were but it will hopefully create a good starting point for you to rebuild your teams.

Going forward species Id's will also be saved so if in the future blizzard wipes your pet Ids again that your teams can be rebuilt with more accuracy.
Thank you and sorry for the inconvenience.

Please report any lua errors, inconsistent or weird behavior by using the ticketing system on the projects site.



  • Create an unlimited teams of pets and quickly switch between them in the pet journal.
  • Reliable pet switching even when spammed with requests to change teams.
  • The skills in the tooltip are the saved skill selections
  • The frames location is now saved.
  • Pets are saved to your current team as you make changes, no more hitting save. (This behavior can be disabled by unchecking "Automatically save teams" in the options).
  • Teams can be named, deleted or locked by right clicking the team.
  • Additional options are available from Game Menu -> Interface -> AddOns -> PetBattleTeams

Main Frame:

  • Teams are displayed to the right of your pet journal in the pet battles team frame
  • The star denotes your active team.
  • Swap pets between teams by dragging and dropping! Add pets from the pet journal directly to teams, or swap within your own teams.
  • copy pets by holding shift while dragging the pet to copy it to another team.
  • reorder teams by control - dragging a pet.
  • Displays your pets levels, quality and health, icon at a glance
  • Each pet in a team can be moused over for additional information.
  • The active team is now displayed at the top of the frame.
  • Teams with gold borders are locked by the user.
  • Locked teams cannot be modified.

Slash Commands:

  • use "/pbt reset ui" to reset the UI and re-attach the frame to the pet journal
  • use "/pbt reset teams" to reset your teams
  • use "/pbt lock teams" to lock all existing teams
  • use "/pbt unlock teams" to unlock all existing teams
  • use "/pbt attach" to attach PetBattle Teams to the Pet Journal
  • use "/pbt detach" to detach PetBattle Teams to the Pet Journal
  • use "/pbt lock frame" to lock the PetBattle Teams frame
  • use "/pbt unlock frame" to unlock the PetBattle Teams frame


  • Click the pet battle icon in the upper right to access the lock and attachment options
  • Press the + button to create additional teams
  • Right click a team to delete|rename|lock it. There is a confirmation before deleting to prevent accidents.
  • Left click a pet in a pet battle teams frame to make that team the active team.

3.2.6 fixed wonky scroll bar
3.2.6 updated LibPetBreedInfo-1.0

3.2.5 re-added detach/attach

r37 intersect() now checks if both objects are tables.

3.2.4 disabled having the pbt window be detached due to various issues that were happening with it.
3.2.3 fixed several errors

r36 added a nil check before updating a team in TeamManager.UpdateCurrentTeam()

.2.1 added numerous checks when calling C_PetJournal.GetPetInfoByPetID in teamManager.lua
3.2.1 invalid/nil petID's should no longer throw errors.
3.2.1 51 - 3.2.0 lua errors

r35 FixTeams()  code clean up,  now runs in linear time
r34 FixTeams() is now restricted to invalid pets only

r33 added experimental fix for 5.3 petID's. Not guaranteed to restore all teams perfectly but it should be a good start.
r33 put    /run PetBattleTeams.modules.TeamManager:FixTeams()  into your chat bar and hit enter.

r32 each pet in a team is tagged with its speciesID
r32 if a petID is no longer valid then from the options menu you can select to reconstruct teams. For each invalid petID, PBT will find the highest level pet of the same species and add it to that team.
r32 removed Import Teams functionality as its no long relevant
r32 added Reconstruct teams option in the same location as Import teams
r32 note: this change is backwards compatible with previous versions if you need to downgrade
r32 note: this change will not restore previously lost pets

r31 left clicking the menu button now hides PBT's main frame and attaches the menu button to the pet journal near the close button in the upper right.
left clicking the menu button while its attached to the petjournal frame will reshow PBT's main frame.

r30 fixed some leaked global variables from 46 - global taints.

3.1.3 updated libbreedinfo to latest version

3.1.2 fixed team switching
3.1.2 updated libpetbreedinfo
3.1.2 updated toc

3.1.1 no changes from r29

r29 import teams no longer throws errors during the import

r28 Added deleting pets from teams.
r28 added not clearing pet battle slots when invalid or empty pets are on a team

r27 ticket 39, fixed the spelling of team.

r26 added option to enable mouse scrolling to change the selected team when used on the selected team frame

3.1.0 corrected variable name in createTeam
3.1.0 removed debug print statment

r25 updated to latest libpetbreedinfo
r25 reset the scroll bar when the roster frame is shown or hidden (post 328)
r25 moved controller code from view to controller. opps. scrolling while moving pets will now properly enable and disable pet unitframes (ticket 37)
r25 roster min size is now 2 entries or else onvertical scroll doesnt fire for the scroll frame, since the bobber doesnt move. future: implement onmousewheel back up  (post 328)

r24 added ability to toggle visiblity for selected team, roster and control buttons
r24 added config entries for component visiblity

r23 added menu addressing ticket 28
r23 added config option to hide breed info

r22 fixed gui initializing during combat at login

r21 Added breed info to tooltip pet names

3.0.5 addressed ticket 31, hope i nailed it as i couldn't reproduce it.

r20 mainframe no longer displays when attached after a reload during combat. pbt will restore itself after combat.

r19 Nuked release

r18 removed dependency on blizzard pet journal again, added more checks to make sure it loads properly
r18 fixed bandage again

r17 Moved printed text from TeamManager to calling functions
r17 added /pbt toggle to toggle the attach/detach state
r17 fixed printed text for lock and unlocking teams

3.0.4 fixed being unable to scroll to the last team when a user had 14 teams (and presumably other quantities as well)
3.0.4 changed pet bandage button to use itemID instead of enUS text
3.0.4 fixed some ability names being blank in the pet tooltip
3.0.4 fixed teams not switching

3.0.3 Changed vertical scrolling to only move one at a time
3.0.3 fixed /pbt reset teams

3.0.2 Added additional checks to make sure a petframe is set before trying to show a tooltip
3.0.2 Added enabled flag to freshly created teams
3.0.2 Added IsTeamLocked check to IsTeamEnabled (shouldnt have to ask twice to find out if its enabled)

3.0.1 team names are now colored yellow when locked to match the unit frame border
3.0.1 scrolling now correctly keeps disabled pets disabled
3.0.1 trying to swap from a locked team now automatically copies instead
3.0.1 locked teams no longer disable during a team move

3.0.0 added local _ and preferredIndex = STATICPOPUP_NUMDIALOGS, to reduce taint issues
3.0.0 removed tutorial.lua from the toc

r16 - moved team names up 2 px to prevent names being cut off by unit frames
r16 - newly created teams are now inserted directly after the team they were copied from
r16 - moved add team button over 3px to line up with unit frames
r16 - Increased hieght of team frame by 2px to remove overlap with unit frames

r15 - updated toc number
r15 - fixed teams remaining locked after a pet battle
r15 - teams no longer lock during a pet battle
r15 - pet bandage button now works
r15 - added import dialog for optionally importing pets from 2.4
r15 - added help text for /pbt

r14 - when a new team is created, that team is now selected
r14 - mainFrame no longer displays resizer and is no longer moveable after reloading (when attached)
r14 - fixed empty|invalid pets not showing up as locked when the team is locked

r13  - fixed invalid pets not reseting border color
r13  - added auto dismiss
r13  - fixed resizer showing while attached
r13  - fixed team names reseting when changing pet load out
r13  - fixed TeamManager:IsWorking to return the correct values when idle
r13  - fixed Swapping pets when both teams have an empty pet
r13  - fixed empty_pets not showing disabled when they are

r12 - fixed swaping to empty pet between teams
r12 - can no longer pick up empty or invalid pets
r12 - added description to a number of options
r12 - added helper text to pet tooltip
r12 - fixed bad petID issues with TeamManager:GetPetInfo
r12 - slash commands
r12 - implement hiding helper text

2.4.14 found a left over debug statement.

r11 added resetUI functionality. Added frame locking functionality, and frame state saving. creating new teams with automatically saving teams disabled now creates empty ??? teams

2.4.13 added conversion for petIDs

Going to beta, added new config placeholder options, fixed code for 5.1

Added support for 5.1
Add Importer for 2.4.11 teams
Added team names to main scroll frame
Made Moving teams more user friendly, hit escape to cancel move, or wait 15seconds
Rewrote scroll frame for the Nth time
Fixed reported bugs
Fixed lib dependencies issue
Added Todo.txt , see whats left to be done and suggest more.

r3 fixed frame issue with first initialization, added Old pbt settings to toc file they are not lost and allows me to write a migration function

r2 Alpha - Complete rewrite of PBT. Expect features to be missing, or broken.


First Previous Page 5 of 40 Next Last
  • #566

    A simple button on mini map will be nice, instead of open pet panel (even if ptb is detach) to toggle the pet battle team frame.

    An other way can be something like /pbt show, /pbt hide that we can link to a macro.

    Maybe can you supply both to let user choose how to use it.

    Thanks for your work, this add on is really helpfull.

  • #580

    I have my PBT hot keyed to K.  

    (I moved mounts to shift K)

    IMO, the mini map is cluttered enough.

  • #564

    would it be possible to add the team lock/unlock function to the roster control button menu?

  • #563

    Hey, would it be possible to add a search function to saved teams? I have a whole lot of them for both the Celestial Tournament and Grand Master dailies, but right now the easiest way to find the right one fast is to simply create the teams in the order I usually do my dailies.


  • #562

    This excellent addon has become a must-have for my pet battles, and I have never had a problem with it until today.

    I cannot seem to get the team window to appear.  I've tried '/pbt reset ui' from the command line and from the button on the Interface/Addons window.  I checked the .lua file (with Notepad) and all my teams appear to be there.  The WoW addon manager shows PBT as being out of date, but I load it anyway and it shows up on my Interface/Addons list, but the team window no longer shows up.

    I've been using this for months, and it worked fine yesterday (Nov 14) but not today.  Any ideas?  (I do have the latest version - 16 Sep 2013)


    Last edited by SlydeRule on 11/15/2013 9:07:25 AM
  • #565

    Sounds like a bug with the reset ui code. One thing to check. When you open your pet journal is there a circular pet battle icon in the upper right of the journal. if so click it and PBT will show it self. Ill look at the reset UI code and update/fix it if possible.

  • #560

    Would it be possible to add a "check mark" to the pets in pet journal list if that pet is on a team already? Perhaps some other symbol if the pet is on multiple teams.

    I like to set up a number of "leveling" teams (about 8 minutes worth) and after I set up the pets to be leveled, I'd like to fill those teams with other pets without any overlap. Going down the list picking up the icon and then looking for greyed out icon in the team list is tedious.

    Thanks for the addon!

  • #559

    If anyone can answer this it would be great--

    How can you change the default spells used by a pet in a team? I change them in the slots area, but when i drag them over to a team, the are saved differently then how I have them set up and its really annoying. Any help? I have probably missed something simple im sure.

  • #561

    When you select a team, and it sets up the pets in your pet journal, anything you modify will be saved immediatly. no dragging required. Once youve setup a team you can just select another team, and when you come back that team will be as you left it.

    If you drag a pet from the journal to a team it will be the defualt skills, if you drag a pet between teams that already exist it will retain its saved skills.

  • #558

    Just a suggestion:

    Would it be possible to have the pet team list be sorted Alphabetically or create groups for certain teams of pets? Thanks

  • #557

    Really Great Addon :)

    Two wishes  - please secon if you have the same ;-)

    - instead of 1 team window I would love 4-5 folders for named grouping (e.g. PVP, Leveling, Celestials, Dailies) (as suggested already from a few others)

    - add battle comments to each team (e.g. battle sequence info for celestials or tamers)
    ideally with copy/paste from web sources....
    If any chance have the option to have the comments window open during a pet battle

    Thanks a lot for your consideration

    Do you have a donation option ? Happy to drop a few bucks ;-)

    Last edited by Wanschatau on 10/11/2013 6:45:16 AM
  • #556

    NM, i found the answer on post 541. LOL LOVE The ADDON!!! You are amazing!



    Last edited by Tigerblade74 on 10/8/2013 12:42:38 PM
  • #555

    Love this addon. I was wondering if there is a way to share your saved teams. Also I second the up/down arrow idea to move teams in your list, that functions like the character logon screen.

  • #554

    Hmm, I posted this once but I think it didn't stick.

    For the blank space, it might be nice to list good counters to the trainer's teams, and perhaps what pets you have around that trainer's level that would be good?  Might be a bit of work though...

  • #553

    Is there any way you could add the possibility of turning off or significantly shringing the pet icons in the teams list?  I feel like I'd be able to see a lot more teams at a time if the pets weren't in there, and I don't (personally) really need to see them for each team.

  • To post a comment, please login or register a new account.
Login to Curse

Don't have an account? Create One.

Get an epic experience with Curse Premium
  • Faster addon downloads
  • Premium-Only Beta Giveaways
  • Ad-Free Curse experience
  • Premium Curse Client
  • and many More Features
  • Learn More »

Marriland Furious Fists Giveaway!