Retail Layer Addon?

Is there an addon for Retail that can show you what layer you’re on? I’m trying to do the Twilight Blade rares and what not on one of my characters on Madoran and there’s just no one there. The character is level 80, I have done the intro quests, and I was able to kill 1 rare with a large group of people, and then I logged off to eat dinner (like half an hour), came back and there’s absolutely no one here. I’ve tried porting to different zones and back, logging off, relaunching, etc., and still nothing. I can only assume I’m on a different layer because /who shows there’s a ton of lvl 80s in the zone. So, I’d like to see if I’m in a bad layer or something, if there’s an addon for that. Thanks!

That info has never been available to the client, it’s server-side only.

Addons like https://www.curseforge.com/wow/addons/hated-crate-tracker know which layer you’re on.

They seem to just be using zone_id from mob UnitGUIDs which is flagged as a potential secret
https://warcraft.wiki.gg/wiki/API_UnitGUID

This is how RCT does it:

local function SafeShardFromGUID(guid)
    -- Some GUID-like values can be "secret" and explode on string ops.
    if guid == nil then
        return nil
    end

    -- Must be a plain Lua string to even attempt parsing.
    if type(guid) ~= "string" then
        return nil
    end

    -- Protected parse (prevents "secret value" hard error)
    local ok, shard = pcall(function()
        -- Fast parse without allocating a table:
        -- Format: Creature-0-....-<shard>-....
        local a, b, c, d, e = strsplit("-", guid)
        return tonumber(e)
    end)

    if not ok then
        return nil
    end

    return shard
end