Classic wow cant see my addon

Classic wow cant see my addon. I was looking at other addons and i notice they all have three .toc files. a base toc file, one for classic era, and one for wrath. is that now a requirement? if so, what are the new rules? tia.

See the Multiple client flavors section:

If your addon only supports one client version then you don’t need anything other than addonfoldername.toc

I’m at a loss here. It sounds like the “_Classic” extension is optional. I tried it both ways, with and without the extension and WoW doesnt see the addon. I must be really messing up something basic.

i wrote a basic addon called testabc

  1. i made a folder in the classic era addon folder called testabc
  2. i have testabc.toc that contains

Interface: 11403

Title: testabc

Author: Kokolums

testabc.lua

  1. i have testabc.lua that contains

message(‘test!’)

The are multiple addon folders, one for each version of the game. Your addon needs to be in the correct folder

_classic_\Interface\Addons = Wrath
_classic_era_\Interface\Addons = Classic (vanilla)

Instead of

message("test!")

try

print("This is my test addon!!!")

The text should show up in your chat window.

It’s hard to tell with the forum formatting but also make sure your .toc entries not including the .lua file start with:
##<space>

its in the classic era version of the addons folder. there are other addons in there and it sees them all. i changed it to print(“This is my test addon!!!”) and it still doesnt see the addon. im at a loss.

Go to the website addon.bool.no and copy/paste

print("This is my test addon!!!")

It will create an addon with a .toc to download/install (the ## Interface: will probably be for retail but you can change that).

Also install:
https://www.curseforge.com/wow/addons/bug-grabber
and:
https://www.curseforge.com/wow/addons/bugsack

to make it easier to tell if your addon (or any other) has errors.

the test addon from that website successfully loaded into wow classic. boggles my mind. i dont see the difference. i pasted my addon into that website and it works. i must have a typo somewhere but i made several test addons independently of each other. weird. thanks!