<!-- BEGIN CHANGE: inventario mestre legado -> portal (atualizado pos-cutover 2026-07-23) -->

# Inventario mestre - legado x portal

Fonte: `index.php` (cases `subtopic`) + menu portal `Navbar.tsx`.  
Processo: checklist abaixo -> implementacao -> deploy prod (`/home/ubuntu/portal`).  
Regra: redesenhar no portal o que ainda importa; **nao** trazer PagSeguro.  
Cutover UI: **feito** em `ot.whiteantidote.com` (API `:8086`).

## Status (coluna Portal)

| Codigo | Significado |
|---|---|
| OK | No portal e utilizavel em prod |
| PARCIAL | Existe, falta funcao ou UX do legado |
| PENDENTE | Ainda nao no portal |
| N/A | Descartado / evento morto / PagSeguro |

## Gateways donate

- Principal: MercadoPago (webhook na API portal)
- Secundario: PayPal (IPN na API portal)
- N/A: PagSeguro

Pacotes: minimo **R$20** (sem 1/10/15).

---

## A. Conta e autenticacao

| Legado | Portal | Status |
|---|---|---|
| createaccount | `/create-account` | OK (+ `VocationMatcher`) |
| accountmanagement / cpanel | `/account`, `/login` | OK (+ matcher no create char) |
| lostaccount | `/lost-account` | OK |
| namelock | `/namelock` | OK |
| confirmacao* | fluxo donate return | OK (via `/donate` + return) |

Doc: `parity-account.md`

## B. Noticias e CMS

| Legado | Portal | Status |
|---|---|---|
| latestnews | `/`, `/news` | OK |
| archive | `/news` (lista) | PARCIAL |
| changelog | `/changelog` | OK |
| videos | home / admin home-videos | PARCIAL |

## C. Personagens e rankings

| Legado | Portal | Status |
|---|---|---|
| characters | `/character` | OK |
| whoisonline | `/online` | OK |
| highscores | `/highscores` (skills + patents + tasks + money?) | OK |
| powergamers | `/highscores?category=powergamers` | OK (EXP do dia via z_portal_exphist) |
| top_frags | `/highscores?category=frags` | OK |
| killstatistics | `/last-kills` | PARCIAL (mortes, nao stats agregados) |
| records | `/records` | OK |
| signatures | - | PENDENTE |
| experiencetable | `/server-info` (stages) | PARCIAL |
| patentesinfo | aba em `/events` | PARCIAL |
| patentescores | `/highscores?category=patents` + `/events` | PARCIAL |
| resetsystem | tabela em `/server-info` | PARCIAL (sem pagina dedicada) |
| topguilds | `/guilds` (+ API top-guilds) | OK |

## D. Guilds e wars

| Legado | Portal | Status |
|---|---|---|
| guilds | `/guilds`, `/guild` | OK |
| wars | `/wars` | OK |

Doc: `parity-guilds.md`

## E. Shop, donate, guild shop

| Legado | Portal | Status |
|---|---|---|
| shopsystem | `/shop` | OK |
| donate | `/donate` + webhooks API | OK |
| history | `/account` history API | OK |
| shopadmin | `/admin` + `shop-admin.php` | OK |
| shopguild / guildshop | `/shop?catalog=guild` (ou equivalente UI) | OK |
| historyguild | account history | OK |
| shopguildadmin | shop-admin guild | OK |
| PagSeguro | - | N/A |

## F. Eventos e sistemas de jogo

| Legado | Portal | Status |
|---|---|---|
| castlewar / favela | `/events` (live) | OK |
| eventwar / war | `/events` | OK |
| lottery | `/lottery` | OK |
| bossroom / randombosses | schedule em `/events` | PARCIAL |
| tradeoff | `/tradeoff` | OK |
| dtt / snowballwar / wocf | `/events` | PARCIAL (muitos off no server) |
| zombie / dota | - | N/A |
| raids | `/raids` | OK |
| calendario / eventos | `/events` | OK |
| tasklist | `/tasks` + highscores tasks | OK |
| livestreams | `/casting` | OK |
| trainingoffline / autoloot / sellitems / addonbonus / coins / mineirar | `/events` ou library | PARCIAL / N/A |

## G. Library / info

| Legado | Portal | Status |
|---|---|---|
| creatures | `/monsters`, `/monster` | OK |
| spells | `/vocations` (+ `spells.php`) | PARCIAL (scores do guia -> matcher create char) |
| addons | `/addons` | OK |
| mounts | - | PENDENTE |
| serverinfo | `/server-info` | OK |
| tibiarules | `/rules` | OK |
| beneficiospremium / vantagens | `/events` | PARCIAL |
| team | `/team` | OK |
| downloadsclient / requirementes | `/download` | OK |
| bans | API `bans.php` (UI?) | PARCIAL |
| items / npcs (novos) | `/items`, `/npcs` | OK (alem do legado) |

## H. Community

| Legado | Portal | Status |
|---|---|---|
| forum | - | N/A (avaliar externo) |
| helpdesk | `/support` | OK |
| bugtracker | `/support` | PARCIAL |
| polls | `/polls` | OK |
| gallery | - | PENDENTE |

## I. Admin / ops

| Legado | Portal | Status |
|---|---|---|
| adminpanel | `/admin` | OK |
| mail | parte admin | PARCIAL |
| serial / serial_players | `/serial-items` | OK |
| restarter / teste | - | N/A / ops |

Doc: `parity-admin.md`

---

## Contagem rapida (2026-07-23)

- Rotas Next em prod: ~40
- Endpoints API: ~70
- Criticos (conta/shop/donate/guilds): **OK**
- Gaps de ranking ainda abertos: (nenhum critico; powergamers/frags OK)
- Gaps de pagina dedicada: **reset guide**, **mounts**, **signatures**; army/reset cobertos de forma PARCIAL

## Proximos passos sugeridos

1. Pagina `/reset` (guia) se ainda houver demanda vs so server-info
2. Mounts / signatures / gallery
3. Manter inventarios sincronizados apos cada feature

<!-- END CHANGE -->
