==========================================================================
 THREAT PLATES - VERSION KAMILABS TEMPORAIRE POUR WOW FOREVER
 THREAT PLATES - TEMPORARY KAMILABS VERSION FOR WOW FOREVER
 Version 13.2.1-forever-kl2  -  2026-10-21
 https://kami-labs.fr
==========================================================================

--------------------------------------------------------------------------
 FRANCAIS
--------------------------------------------------------------------------

CECI EST UNE VERSION KAMILABS TEMPORAIRE, MODIFIEE, NON OFFICIELLE.
Elle sert en attendant que la version officielle soit a jour pour Forever.
Quand elle le sera, revenez a la version officielle (CurseForge).
L'application CurseForge (et Wago / WowUp) ne reconnaitra PAS cette version :
les identifiants de plateforme ont ete retires expres du fichier .toc. Il n'y
a donc aucune mise a jour automatique : les nouvelles versions de cette
edition sont publiees sur https://kami-labs.fr (page Addons WoW Forever).
Ce paquet n'est ni le Threat Plates officiel, ni soutenu par ses auteurs.
Toute demande d'aide concernant CETTE version doit passer par KamiLabs
(https://kami-labs.fr), pas par les auteurs d'origine.

Credits et auteurs d'origine
- Threat Plates : Suicidal Katt, Blacksalsify (mainteneurs actuels,
  depot : https://github.com/Backupiseasy/ThreatPlates ).
- Tidy Plates : danltiger (le projet dont Threat Plates est issu).
- Code de gestion des quetes : Tosaido (projet QuestMobs).
- Bibliotheques embarquees (Ace3, LibStub, CallbackHandler, LibSharedMedia,
  LibCustomGlow, LibDeflate, LibDualSpec, UTF8, ...) : leurs auteurs
  respectifs, sous leurs licences propres (dossier Libs/).
Tout le merite du travail de fond leur revient. KamiLabs n'a fait que
porter l'addon sur le client WoW Forever.

Base : Threat Plates 13.2.1 (tag du 14/10/2026, commit
b0ebf8af04e474055a8c0baacab31e01adf7d3d6), chemin de code Retail/Midnight.
Cette edition : 13.2.1-forever-kl2 (2026-10-21). Interface 16001 (WoW Forever).

Pourquoi cette version
La version publiee sur CurseForge n'est pas a jour pour WoW Forever. Forever
est le client Retail Midnight (interface 16001), pas un Classic : certaines
fonctions de Retail y manquent, d'autres sont nouvelles. Cette edition les
gere pour eviter les erreurs Lua au chargement.

Modifications par rapport a l'amont (chaque modification est reperable dans
le code par le marqueur "KAMILABS FOREVER PATCH <n>")
 1. Detection du client : WoW Forever est reconnu (WOW_PROJECT_CAMELOT) et
    suit le chemin de code Retail/Midnight.
 2. Filet de securite des evenements : un evenement inconnu du client n'est
    plus enregistre (evite l'erreur "unknown event").
 3. Pas de specialisations Retail, et plus de message rouge LibDualSpec.
 4. Commande de debug : IsAddOnLoaded -> C_AddOns.IsAddOnLoaded.
 5. Commandes /tptptank, /tptpdps et /tptp role : une seule specialisation.
 6. Role du joueur (tank / dps) detecte sans API de specialisation : role de
    groupe, posture defensive (Guerrier), forme d'ours (Druide), Fureur
    vertueuse (Paladin).
 7. Options > Roles : une seule case Tank / DPS.
 8. Widget de points de combo : une seule specialisation.
 9. Widget d'auras : acces securise a des tables Enum non mesurees (le widget
    se desactive au lieu de faire echouer le chargement).
10. Selecteur de couleur et LibCustomGlow : comportement Retail sur Forever.
11. LibDualSpec : non chargee sur Forever (pas de profil par specialisation).
12. Variables de console (CVars) : on n'ecrit jamais une CVar inconnue du
    client.
13. Noms complets des joueurs : "Prenom Nom" au lieu du seul prenom sur
    les plaques de nom.
Autres : fichier .toc Forever (Interface 16001, version 13.2.1-forever-kl2, titre "Threat Plates (KamiLabs temporaire)", identifiants CurseForge / WoWInterface / Wago retires) ; BOM UTF-8
retire de Addon.lua et Commands.lua ; dossiers de developpement amont (Source/,
Test/, fichiers .git*, .github, .luacheckrc, .pkgmeta, CLAUDE.md) non inclus.

Installation
1. Quitter COMPLETEMENT WoW Forever.
2. Si vous avez la version CurseForge de Threat Plates, la desactiver ou la
   supprimer : meme nom de dossier (TidyPlates_ThreatPlates), donc ne pas
   avoir les deux. Vos reglages (variable ThreatPlatesDB) sont conserves ;
   par precaution, copiez d'abord votre dossier WTF.
3. Copier le dossier TidyPlates_ThreatPlates de ce zip dans :
   <dossier du jeu>\_classic_beta_\Interface\AddOns\
   (le chemin exact depend de votre installation de Forever).
4. Relancer le jeu. Un simple /reload ne suffit pas la premiere fois : le
   client ne relit les fichiers de chargement (.toc) qu'au demarrage.
5. Options : /tptp

Limites connues
Forever applique les "valeurs secretes" de Retail Midnight : en combat,
certaines valeurs (vie, menace, auras) ne sont pas lisibles par un addon. Un
affichage reduit en combat n'est pas forcement un bug.

Licence et code source
Threat Plates est distribue sous la licence "GNU General Public License"
(declaree dans son fichier .toc, sans numero de version). Cette edition est
redistribuee sous GNU GPL version 3 : le texte complet est dans le fichier
COPYING de ce dossier. Les bibliotheques embarquees gardent leurs licences
(voir Libs/). AUCUNE GARANTIE, dans la limite permise par la loi.
Le code source est le contenu meme de ce zip (fichiers Lua en clair, aucune
etape de compilation). Code amont d'origine :
https://github.com/Backupiseasy/ThreatPlates (tag 13.2.1).
Contact KamiLabs : https://kami-labs.fr

--------------------------------------------------------------------------
 ENGLISH
--------------------------------------------------------------------------

THIS IS A TEMPORARY, MODIFIED, UNOFFICIAL KAMILABS VERSION.
It is meant to be used until the official version is up to date for Forever.
Once it is, go back to the official version (CurseForge).
The CurseForge app (and Wago / WowUp) will NOT recognise this build: the
platform identifiers were removed from the .toc on purpose. There is
therefore no automatic update: new versions of this edition are published on
https://kami-labs.fr (WoW Forever Addons page).
This package is not the official Threat Plates and is not endorsed or
supported by its authors. Support requests about THIS build go to KamiLabs
(https://kami-labs.fr), not to the original authors.

Credits and original authors
- Threat Plates: Suicidal Katt, Blacksalsify (current maintainers,
  repository: https://github.com/Backupiseasy/ThreatPlates ).
- Tidy Plates: danltiger (the project Threat Plates grew out of).
- Quest handling code: Tosaido (QuestMobs project).
- Bundled libraries (Ace3, LibStub, CallbackHandler, LibSharedMedia,
  LibCustomGlow, LibDeflate, LibDualSpec, UTF8, ...): their respective
  authors, under their own licenses (Libs/ folder).
All the groundwork is theirs. KamiLabs only ported the addon to the WoW
Forever client.

Base: Threat Plates 13.2.1 (tag of 2026-10-14, commit
b0ebf8af04e474055a8c0baacab31e01adf7d3d6), Retail/Midnight code path.
This edition: 13.2.1-forever-kl2 (2026-10-21). Interface 16001 (WoW Forever).

Why this build
The CurseForge release is not up to date for WoW Forever. Forever is the
Retail Midnight client (interface 16001), not a Classic one: some Retail
functions are missing, others are new. This edition handles them to avoid Lua
errors at load time.

Changes from upstream (each change is findable in the code through the marker
"KAMILABS FOREVER PATCH <n>")
 1. Client detection: WoW Forever is recognised (WOW_PROJECT_CAMELOT) and
    follows the Retail/Midnight code path.
 2. Event safety net: an event unknown to the client is no longer registered
    (avoids the "unknown event" error).
 3. No Retail specializations, and no red LibDualSpec chat message.
 4. Debug command: IsAddOnLoaded -> C_AddOns.IsAddOnLoaded.
 5. /tptptank, /tptpdps and /tptp role: a single specialization slot.
 6. Player role (tank / dps) detected without any specialization API: group
    role, Defensive Stance (Warrior), Bear Form (Druid), Righteous Fury
    (Paladin).
 7. Options > Roles: a single Tank / DPS checkbox.
 8. Combo points widget: a single specialization.
 9. Auras widget: safe access to unmeasured Enum tables (the widget disables
    itself instead of aborting the load).
10. Color picker and LibCustomGlow: Retail behavior on Forever.
11. LibDualSpec: not loaded on Forever (no per-specialization profiles).
12. Console variables (CVars): an unknown CVar is never written.
13. Full player names: "First Last" instead of the first name only on
    nameplates.
Other: Forever .toc file (Interface 16001, version 13.2.1-forever-kl2, title "Threat Plates (KamiLabs temporaire)", CurseForge / WoWInterface / Wago ids removed); UTF-8 BOM removed
from Addon.lua and Commands.lua; upstream development folders (Source/, Test/,
.git* files, .github, .luacheckrc, .pkgmeta, CLAUDE.md) are not included.

Installation
1. Fully quit WoW Forever.
2. If you have the CurseForge version of Threat Plates, disable or delete it:
   same folder name (TidyPlates_ThreatPlates), so you cannot have both. Your
   settings (ThreatPlatesDB variable) are kept; as a precaution copy your WTF
   folder first.
3. Copy the TidyPlates_ThreatPlates folder from this zip into:
   <game folder>\_classic_beta_\Interface\AddOns\
   (the exact path depends on your Forever installation).
4. Start the game. A plain /reload is not enough the first time: the client
   only re-reads load manifests (.toc) at startup.
5. Options: /tptp

Known limits
Forever applies Retail Midnight "secret values": in combat, some values
(health, threat, auras) cannot be read by an addon. Reduced display in combat
is not necessarily a bug.

License and source code
Threat Plates is distributed under the "GNU General Public License" (declared
in its .toc file, with no version number). This edition is redistributed
under GNU GPL version 3: the full text is in the COPYING file of this folder.
Bundled libraries keep their own licenses (see Libs/). NO WARRANTY, to the
extent permitted by law.
The source code is the content of this zip itself (plain Lua files, no
build step). Original upstream code:
https://github.com/Backupiseasy/ThreatPlates (tag 13.2.1).
KamiLabs contact: https://kami-labs.fr
