OneCoke - Player Notification

A lightweight world PvP addon that detects nearby enemies and allies before they detect you. Get sound and screen alerts, even through stealth, then target, whisper, add to your Watch List, or look up any player instantly on onecoke.dk.
Back to Files

OneCoke - PlayerNotification.zip

File nameOneCoke - PlayerNotification.zip
Uploader
drystindrystin
Uploaded
Jul 21, 2026
Downloads
14
Size
33.6 KB
Flavors
Classic TBCClassicMoP Classic
File ID
8481967
Type
R
Release
Supported game versions
  • 5.5.0
  • 4.4.0
  • 3.4.0
  • 2.5.6
  • 2.5.5
  • 2.5.4
  • 2.5.3
  • 2.5.2
  • 2.5.1
  • 1.13.0

What's new

Broadened game version support the .toc only declared Interface: 20505 (TBC Classic 2.5.5), which limited the CurseForge listing to TBC Classic only and left the addon one point-release behind current. Detection logic (Scanner.lua) is built on combat-log events, chat events, and unit tokens that behave identically across Classic flavors, so there was no functional reason for the narrow scope. ## Interface now lists Classic Era (11508), TBC Classic (20506), Wrath Classic (38001), and Cataclysm Classic (40402); version bumped 1.0.0 -> 1.1.0. These numbers were sourced from wiki lookups rather than an in-client check on every flavor - worth confirming via /dump select(4, GetBuildInfo()) (or the CurseForge upload page's version picker) before the next upload in case a flavor has patched since; TBC's 20506 has been confirmed live.

Fixed: Worgen/Goblin players invisible to the scanner ns.RaceFaction only ever covered TBC's race roster, and every detection path (ProcessGUID, CheckStealth, RecordKill) silently drops any GUID whose race isn't in that table, treating it as "unknown/neutral." With Cataclysm Classic added above, Worgen and Goblin players (playable since Cata) would never have been detected at all, with no error or indication anything was wrong. Added Worgen = "Alliance" and Goblin = "Horde".

Icon changed to spyglass, coin retired everywhere swapped both the minimap button's icon and the addon's TOC IconTexture from the coin (INV_Misc_Coin_02) to a spyglass (INV_Misc_Spyglass_03), matching the icon already in use on the in-progress Help Network build, since it reads better at a glance as "watching/scanning" than a currency icon does. The TOC icon is what shows in the in-game AddOn list and as the CurseForge project thumbnail, so it needed to match the minimap button rather than lag behind it.

Battleground/Arena awareness four related additions: A live enemy headcount next to the existing "N nearby" label, sourced directly from the game's own roster APIs instead of waiting for nameplate/combat-log sightings: arenaN unit tokens in Arena (reflects the bracket size, e.g. "Arena enemies: 3", from the prep-room countdown onward), the scoreboard in Battlegrounds (e.g. "BG enemies: 8") population-accurate rather than the map's max bracket size, which matters on a Classic server that isn't always queuing full groups. The Nearby tab lists every enemy known from that same roster as a dim (~45% alpha) placeholder row immediately, even before the normal detection pipeline (nameplate/mouseover/target/combat log/chat) has actually picked them up. The moment it does, the placeholder is replaced in place by the normal full-brightness entry real sightings always sort above placeholders.The Nearby list now clears automatically the moment PLAYER_ENTERING_WORLD transitions from outside a BG/arena into one, so leftover sightings from the zone/world you queued from don't linger mixed in with the new match's roster. A graveyard release or other in-instance zone transition doesn't re-trigger it, since the instance type hasn't changed. A single RequestBattlefieldScoreData() call right on zone-in wasn't reliably answered by the server that early (manually opening Blizzard's own scoreboard "fixed" it only because that calls the same request again a bit later) now retries every 3s (up to 15 attempts) until real data arrives, canceling immediately once UPDATE_BATTLEFIELD_SCORE confirms it has.

Option: show window automatically on login new Settings checkbox, "Show the window automatically on login" (default off, matching the addon's existing behavior of staying hidden until opened via the minimap icon, /ocpn, or the slash command).

Stealth icon on Nearby rows a row now shows a small stealth-cloud icon (Ability_Vanish) right after the faction icon while that player currently has a stealth/vanish aura up, so the existing stealth warning (toast/sound) has a lasting visual alongside it instead of just a one-off alert. Tooltip gets a matching "Currently stealthed" line. The icon clears on a real un-stealth signal (SPELL_AURA_REMOVED, or being seen live again not possible while genuinely stealthed from us), and is additionally capped at 30 seconds regardless, since dying or otherwise losing contact with that player means neither of those signals can ever come and the icon would otherwise stay lit forever.

This mod has no additional files