Description
# Forever XP & Buffs (`ForeverXPTracker` v1.3.2)
**Author:** Greenstone of Regulators with an Assist with Google AI
**Supported Game Versions:** World of Warcraft: Forever (`16001`) & Retail (`120105` / `120107`)
A lightweight, movable, and scalable World of Warcraft addon that tracks your current rested XP, session rested XP gained, and missing bonus XP buffs—complete with a **Minimap toggle button**, **Top-Center Screen Reminder Banner**, customizable **Self-Applied XP Buff Reminders**, and full **Combat / Group / Phase / Zone transition safety**.
---
## Features
* **Smart Campfire Buff Suppression:** Automatically hides the **Campfire Buff** reminder and HUD alert when your rested XP pool is already at or above **5% of your current level**, while the 1-hour **Boosted Rest** cooldown debuff (`SpellID: 1229451`) is active, or once you hit level `60`.
* **Top-Center Screen Reminder Banner:** Shows a 10-second gold-bordered alert banner at the top-center of your screen whenever eligible self-applied XP buffs are missing.
* **Minimap Button (`forever_xp.jpg`):**
* **Left-Click:** Shows or hides the main XP & Buffs info window without turning off your periodic buff reminders.
* **Right-Click:** Opens **Options -> AddOns -> Forever XP & Buffs**.
* **Left-Drag:** Repositions the icon smoothly around your minimap border.
* **Rested XP & Session Tracking:** Displays your exact current rested XP, percentage of your current level, and total rested XP accumulated during your current play session.
* **Self-Applied XP Buff Reminders (`/fxp options`):** Periodically reminds you in chat and via the top-center banner (with optional Raid Warning sound) if any selected self-applied XP buff is missing—even when the main info window is hidden:
* **Well Fed** (+5% Kill XP)
* **Cozy Sleeping Bag** (+1–3% XP)
* **Campfire Buff** (+5% XP, when under 5% rested XP and off cooldown)
* **Passive World Buff Display:** Shows whether *Spirit of Zandalar* and *Rallying Cry of the Dragonslayer* are active on your HUD tracker without spamming reminder alerts for buffs you cannot self-cast.
* **Combat, Group, Phase & Zone Transition Protection:** Automatically pauses aura scans, dragging/resizing, and frame updates during `InCombatLockdown()`, loading screens (`PLAYER_LEAVING_WORLD` / `PLAYER_ENTERING_WORLD`), zone changes, group joins, and layer/phase shifts so zero Lua errors occur.
---
## Installation
1. Ensure the `ForeverXPTracker` folder contains:
* `ForeverXPTracker.toc`
* `ForeverXPTracker.lua`
* `forever_xp.jpg`
* `README.md`
* `CHANGELOG.md`
2. Place the `ForeverXPTracker` folder into your AddOns directory:
* **WoW: Forever:** `World of Warcraft\_forever_\Interface\AddOns\ForeverXPTracker\`
* **Retail:** `World of Warcraft\_retail_\Interface\AddOns\ForeverXPTracker\`
3. Restart the game or type `/reload` in chat.
---
## Slash Commands
| Command | Description |
| :--- | :--- |
| `/fxp` | Toggle the main info window on or off (keeps buff reminders running). |
| `/fxp options` | Open the Buff Reminder & UI Options menu. |
| `/fxp minimap` | Show or hide the minimap icon. |
| `/fxp remind` | Run an immediate missing XP buff check. |
| `/fxp debug` | Print all currently active buffs and Spell IDs in chat. |
| `/fxp lock` / `unlock` | Lock or unlock window position and size (click-through when locked). |
| `/fxp scale <0.5 - 2.5>` | Scale the window size (e.g., `/fxp scale 1.2`). |
| `/fxp reset` | Reset size, font, scale, position, lock, minimap icon, and session counter. |
| `/fxp help` | Print available commands in chat. |

