Update 2.4 includes a substantial transformation of your Kill Statistics. If you find your existing history to be of extreme importance to you, then I recommend backing it up just in case (By default the information is located at \Documents\Elder Scrolls Online\live\SavedVariables\Killcounter.lua). I've tested a few languages, and multiple sets of data, but there's always a chance something really screwy exists in your data. If something goes wrong, I'd be glad to help you in the comments.

Kill Counter is an add-on that Tracks Kills in PVP and other PVP achievements.
It also has Deathmatch/MOBA style Kill streak alerts (Like "Killing Spree" or "Dominating")
as well as death streaks, and capture streaks (Keeps and resources). Kill Counter
also alerts you when a Keep or resource has been captured (50% full). It features an
unobtrusive GUI element for quick view of your current session kills, deaths, Kill/Death ratio,
and Streaks. Individual kills also have their own alerts, with an added sound for that extra level
of satisfaction! All Alerts are fully customizable and can be toggled on/off via the Kill Counter
settings menu (/kc settings, see below).

The GUI element can be dragged to a different place by clicking and dragging the right half of the display bar.

* Kill Counter also has a Full stats menu which lists has multiple distinct sections
1) Overview :: Overview of all stats (totals, KDR, siege stats, etc).
2) Current Session :: List of earnings, kills, killing blows etc, since the last time you logged out... or crashed.
3) Kill History :: All data on kills and killing blows that wasn't lost to game crashes...
4) Killed By History :: Summary of players that have killed you.
5) Breakdown :: Summations/Averages/Other break downs of your stats.
6) Killing Blow History :: The number of kills achieved with each skill you have used.
7) Settings :: Custom settings window. It was already here so I used it. Eventually, I'll try to move it to the standard location.

Kill Counter has always served as a way to track your overall
performance and your performance against other players, other add-ons
such as Miat's provide far more involved additions to the UI, while KC
tries to be unintrusive.

* New/Improved Features update 2.4:
- Statistics now properly support multiple languages.
- Kill and Killed by messages now include a player link. Now you can now more easily whisper your opponents, even ones with impossible to type names.
- KC no longer counts extra kills when multiple spells hit at the same time. Each killing blow spell is still recorded and reported, but only 1 KILL is counted. You will probably notice a drop in kills reported per hour, but that's because the kills reported are much closer to being correct.
- Quite a few general code changes, efficiency improvements, code golf, etc

Slash Commands:
/kcreset - reset the counter. you can also do
/kcreset full to reset all of your stats (including list of killed enemies, total kills, etc)
/kc is a general purpose command with many different functions:
/kc toggle to show and hide the kill counter
/kc stats to view or hide stats panel
/kc settings to view and enable/disable various parts of Kill Counter
/kcreport - Use to report your Kill Counter stats to chat. See below for full list of options for this but an example would be:
/kcreport g1 --reports to guild one
/kcreport z -- reports to zone
/kcreport s full -- reports to say, and shows full stats
/kc report w @somefriendofyours --reports to someone in a whisper

KC Report slash command information: Please see the Author Portal for information on the /kcreport slash command, and more.

Special thanks to Ayantir, QuadroTony, the NA dueling/PVP legend, and many others for helping to create/update/test Kill Counter in the past years.

Kill Counter development/maintenance is now under the care of Drummerx04, please be gentle, but suggestions
for things to improve or features to add would be welcome.

2.3.0 - 2.3.2
* New/Improved Features:
- Proper detection of keep/resource capture data.
- Additional settings to filter the information reported in the chat window.
- Added support for Warden statistics. Old KC data still works. (Wardens were already stored, but not used)
- An additional display element for the current Queue position.
- Added a feature to automatically accept the campaign queue invite.
- Both of the previous features can be disabled
- The UI element is much easier to move than before.
- Changed the small stats display window to be a little better organized.
- Quite a few general code changes, efficiency improvements, code golf, etc

2.2.4
*API Bump

2.2.3
*updated to new version
*fixes issues with new API

2.2.2
*rolled Kill Counter to the latest API version

2.2.1
*Fixed an issue caused my an outdated version of LibMainMenu
*fixed issue with current session KDR difference color code. The color is green when a lot above your KDR, Red when a lot below, and yellow when within 70% (above or below)
*Added current Kills table to current session tab. Note: Known issue with this tab, sometimes it will show an extra death on certain rows/players under certain circumstances.
*Removed all archived Kill Counter versions from before 2015

2.2.0
*Huge GUI overhaul. KC stats menu is now a full fledged menu (like your skills menu, or inventory) with the same tabs that the old /kc stats window had. I used the LibMainMenu addon to do this, so now Kill Counter comes with LibMainMenu, as well as LibStub (as well as a couple new Lua/XML files). The overall size of Kill Counter is now a little bigger, but the size shouldn't be that noticeable.
*Removed seige tab from the stats menu, and put seige stats information into the overview tab
*added current session tab that lists stats for the current session. This tab is a work in progress and I plan on adding a lot more info to this menu, including a list of people you've killed, and some stats similar to the stats that are in the breakdown tab
*fixed a bug that had to do with color codes. Please let me know if you see this error with color codes!
*added tracking for longest and current killing blow streak to the overview tab of the stats menu
*slightly increased the size of the Killing blow tab table.
*The killing blow tab is also a Work in Progress and I plan on adding more information, including possibly a graph of the top 5 (or maybe a pie chart). Please leave a note in the comments section or my author portal if you have any ideas for more information that should go into this tab!
*Removed the settings window, and added the settings to the Kill Counter Stats menu. You can still type /kc settings to open the stats menu directly into this tab
*adjusted various Gui elements to look cleaner
*Added Keybinds to kill counter, 1 for opening the main Kill Counter stats menu, and one for opening the settings tab of the stats menu directly.
*adjusted/refactored various files to make the code easier to change
*added more current session tracking for future updates to the current session stats menu. See above for notes on how the current session tab is a work in progress
*changed a few icons/buttons to make the GUI more coherent.
*added new screenshots to reflect the changes to the GUI
*Removed all archives before November 2014

2.1.13
*Fixed a big that could cause deaths not to be recorded.
*added code to prepare for GUI overhaul

2.1.12
*fixed a bug that was preventing some kills from being reported
*added new command /kcreport. See comments page and description page for usage information
*added a new stats window tab - Killing Blows. Will show a list of killing blow spells, to give an idea of which one of your spells gets the most killing blows. Right now this part of the window is pretty barren, but I plan on adding more information to this page. Probably a break down of killing blows by class/alliance and stuff like whats on the breakdown page
*added tracking of killing blow spells.
*minor GUI tweaks

2.1.11
*Updated to latest API version
*fixed a few string formatting and localization issues
*fixed /kc stats and /kc settings commands sometimes not showing the respective GUI elements correctly.
*added the ability to ignore NPC deaths. This means that if you are killed by, say, NPC gaurds, the death will NOT end your kill streak. However, this behavior is DISABLED by default. To enable this setting, go into the settings menu by typing /kc settings and enable the "Ignore NPC Deaths" setting.

Update 2.1.10
*Fixed a few minor bugs
*added spell to killing blow text. For example, if you killed someone with the spell executioner, it will now say "You have killed XXX with a killing blow using Executioner"
*soon to track what you've killed people with. Hopefully in the CS update
*hopefully fixed all colorized text to not cause an issue with addons like pchat. PLEASE let me know if you find errors with text (like random letters being appended/prefixed to text)

Update 2.1.9
*updated to latest API version
*fixed double kill issue (hopefully for good this time)
*prepared addon for overhaul

Update 2.1.4
*Added Killing blow tracking
*added killing blow streaks
*changed many streaks and other chat alerts to be color coded. Some alerts are still the default color. Please let me know how you like this change!
*changed chat alerts to be slightly less spammy. this is an on going effort that will get better
*added a bar graph to the break down stats subsection. This graph shows a breakdown of kills by class
*prepared addon for further breakdown graphs (notably deaths by class and kills/deaths by alliance)
*added killing blows to the individual player view
*Added killing blows and killing blows streak to the on screen Kill Counter GUI element. (labeled as kb() and kbs() respectively)

Update 2.1.3
*Updated to latest API version
*Note, for some reason, the stats are reset. I have tried backing up my stats, and reloading them, but it doesn't seem to work. Sorry everyone. Before updating to the newest version of ESO, you can make a back up of your stats by going to your ESO folder (usually in documents for windows) and then live/savedVariables and make a copy of the file called Kill Counter.
*Sorry to everyone for the inconvenience. I will look into this further to see if there is a way around this.

Update 2.1.2
*fixed issue with non english versions of the game and deaths. If you continue to have a problem with endless kill streaks and deaths please contact me or leave a comment immediately.
*if you are using an english version, or are not experiencing endless kill streaks, you can safely skip this update

Update 2.1.1
*Added Player View window, to see stats against that player in 1 window, including kills, deaths, etc.
*added color coding to seige messages based on faction
*fixed issue with an error when having no stats
*changed faction specific colors in various places to make it look better with rest of UI
*added AP tracking, Both overall and current for the session
*fixed and tweaked a few minor UI things

Update 2.1.0
*Added new stats menu sub section: Killers. Lists all people who have killed you, including alliance, class, and Level in a sortable list (like the Kills list). Note: Some players may be missing Class. Because of the way the API works, You have to target someone before or after they kill you.
*Added a Stats breakdown sub section: Has various stat averages, maximums, and other break downs like player you killed most, player with most killing blows, most killed class/alliance, etc. See main menu and screenshots for more details
*removed Deprecated slash commands
*Added Killing Blows tracking variables. No GUI elements showing them yet, coming in next update
*Coming: more breakdown stats, damage done, last 10-20 kills breakdown, killing blow streaks/tracking and more.

Update 2.0.6
*Added sorting to the players killed stats window. You can now sort by columns by clicking on the column header (both ascending and descending)
*Changed death alert to reflect who has killed you
*tracking of Players who kill you is now enabled. There is not yet a sub menu for this in the stats menu, this is coming soon.
*fixed a few minor issues

Update 2.0.5
*Added a new settings menu that consolidates most of the slash command settings
*added new slash command /kc settings
*removed many slash commands. they still techinically work, but will be fully gone from Kill Counter by 2.1.0. Please use /kc settings to turn on and off various Kill Counter alerts
*You should no longer be forced to wipe your stats because of a Kill Counter update.
*Killers (players who killed you) coming soon.

Update 2.0.4
*small change to sounds
*you can now type /kc sounds to enable/disable sounds. sounds are on by default
*prepared internal Kill Counter code for new settings menu

Update 2.0.3
*added tracking of many things that were missing this includes:
*added class and alliance tracking
*added revenge and avenge kill tracking
*changed overview GUI to be more readable

Update 2.0.2b
*Updated to latest version of API
*prepared Kill Counter for tracking death information in newest patch
*fixed rare error with fixing walls. Please contact me immediately if you get an error while trying to fix a wall in Cyrodiil

Update 2.0.2a
*Fixed issue with a kill streak related bug that would occur when you have reset your stats or starting with brand new stats

Update 2.0.0
*This is a very large update. I recommend everyone update to this update as soon as possible, as it has many bug fixes and other updates that truly make it the best version
*Totally overhauled the stats menu. Now has different sections split up into Overview, Kills, and Seige, a sliding menu, and overall looks 1000 times better.
*Changed the Kill Counter on Screen widget. It is now much thinner and the information is more streamlines, but also longer. Should now be less obtrusive, and fit better with other addons
*many major fixes to the kill tracking algorithm. Should help mitigate a double kill issue that was pretty uncommon
*Added a few stats, like KDR (overall and current)
*Added many Player killed stats, including revenge kills, avenge kills, class, etc. Most of this information is NOT yet tracked yet, but will be in a future update. ATM only Kills, and Killing blows are tracked
*New saved variables format, so all previous data will be lost.
*Made Keep tracking slightly more reliable. Still needs more work.

Update 1.1.6
*This update is mostly about fixing the keep capture tracking. Keep capture trackign should now work, at least in a limited way.
*Fixes a misspelling bug with Keep Counter. Capturing Keeps should now work. Remember, to get credit for a keep capture, you must capture at least 1 of the flag
*fixed minor misspelling issues
*Identified rare double kill issue. steps are being taken to fix this.

Update 1.1.5a
*small update fixing out of combat message
*adds slash command /kc ooc to toggle showing when you leave combat.
*showing when you leave combat is disabled by default.

Update 1.1.5
1.1.5 is a very large update comprised of several updates. This update includes Seige Counter, which tracks and shows when you capture resources and keeps! Note, the keep portion of the tracking is not yet fully tested. If you have captured keeps, and this doesn't show it, please report to me. In theory, it should work, but again, I haven't been able to test it thoroughly, so I decided to just release the update rather than make you guys wait
*Seige Counter, tracks resource and keep captures. see description for relevant slash commands and more information
*made kill tracking ALOT more accurate. Note, sometimes Kill recognition comes a few seconds after you have gotten a kill. See comments for more information.
*fixed a few small bugs
*added resource and keep capture streaks
*since the saved information structure has changed, all your data from before this update will be wiped unfortunately :( If you really want to keep your stats, please contact me and I can help you

Update 1.1.2
This is a small update, preparing for a bigger one in which I had a "seige counter" more info to come
*restructured code to be more in line with standards
*changed kill streak sound to be more noticable
*deleted old archives

Update 1.1.1
*This update overhauled the slash commands, making them more efficient and less likely to cause problems with other addons. See Main Description for new slash commands system, and see the comments for more in depth description of the changes
*added auto hiding and command /kc toggle to manually hide and show kill counter
*Kill Counter now auto hides when not in Cyrodiil. Using /kc toggle overrides this behavior (see comments for more in depth description)

Update 1.1.0
This update adds sound effects and a few small utility tweaks.
*Kills and Killing streaks now have different sound effects when they happen. Note, when there is a lot of sound, it can be difficult to pick out to sounds from all the noise
*You can now reset all of your stats by using the command /kcreset full
Note this also removes list of killed enemies. This does NOT reset the position. Please contact me if it does!
*a few more messages to make the addon more responsive

Update 1.0.8a
*Small update fixing death streak bug and mouse scrolling bug.
Update 1.0.8
*This update fixes several issues this addon had with UI element positioning, and hiding. It now hides automatically when going into ESO ui screens (Like inventory) and no longer should interfere with other addons like Wykkyds quest Log. This addon has a new savedVariables structure so unfortunately, your data will be wiped. as Always, message me if you REALLY want to keep your data.
*Also fixed/tweaked a few messages to be more grammatically correct

Update 1.0.7
Small Update. Added remembering of last position you put it in. It should now stay where you put it once, without you having to keep moving it. Please contact me if yours resets position!
Note: after update, it will be in the default position. Also, because of the way saved stats/settings work, your stats will be reset in this update (and indeed in the previous update). If you wish to retain your stats, I can help, simply contact me.

Update 1.0.5
*Added a stats menu! This can be reached by clicking the stats button on the main UI box. This stats menu shows total and current kills and deaths, as well as who you have killed before! I am going to work on adding whose faction these people are in. This will be in a later update
*improved overall look of GUI elements.

Update: 1.0.4:
*Includes saved stats! KillCounter now tracks total kills and total deaths and shows them in parenthesis next to current kill/death number. I also track who you kill, but i haven't yet created the window that will show this information. This is coming soon!

I'm not getting notifications on a killing blow sometimes, in particular with Soul Assault, is this a noted bug?

I've been away from ESO for a bit to recover my sanity. Sorry for the late reply.

I've noticed a few situations where the game definitely fails to report killing blows, but most of them are pretty rare to the point of being inconsequential (the one I remember is the meteor ground dot). I wasn't aware that Soul Assault had this issue as well.

Is this a readily repeatable bug, or is there a chance that someone else took the killing blow from you?

When I start up the game in earnest again, I'll be sure to look into it either way.

This lastest issue was just bad coding and a very specific case (You somehow killed a player for the first time that play session, that you had previously killed in another play session, but you never actually looked at the player before killing him in this play session...)

The previous issue I'm pretty sure is related to localization of Class names, since you have the German client the name your game produces for "Sorcerer" is "Zauberer" which was not a field I was expecting. I highly suspect that your stat overview is very lacking in the graph department as a result. This is something I'll be looking into.

Your feedback is really helpful by the way, there are a lot of moving parts to test and it's difficult to test everything without a little support. I appreciate your patience.

Hmm, okay that one is probably caused by old KillCounter data with empty class fields. I'll push a fix in a few minutes.

EDIT: Okay, that should fix your particular issue depending on exactly what was out of place with your saved data. The old code silently ignored bad class data, and now the new code does as well. If you are up for a little experimentation to find out what the malformed data is, please PM me because I'm curious lol.

Hello everybody! I just updated this add on to be compatible with the 2.7 Homestead API. This makes the addon working properly as intended. If you have never used it outside of "Out of date" well now you have a chance. Its basically a new addon for you. What this update did was allowed it to work properly, display the UI correctly, fix strings, and keep track of data that was no longer being tracked.