All of Mobile Legends, measured every day.
Website · Tier list · Public API · Discord · Support the project
MLBBDex is a free, ad-free knowledge base for Mobile Legends: Bang Bang, in nine languages: English, French, Italian, Spanish, Indonesian, Filipino, Thai, Brazilian Portuguese and Russian.
Every hero has its builds, emblems and counters measured in ranked games, by rank. The tier list is recomputed at every sync from real win and ban rates, and says when a measure is too thin to trust. Around that: 1,142 skins with a release calendar, monthly events, patch notes with written analyses, a daily quiz, MLBBdle, draft and team tools, a Discord bot and a public JSON API.
The rule fits in one sentence: nothing is published unless it has been verified. A hero without a write-up is shown as such, rather than filled with approximate values.
| 133 heroes | Skills with cooldowns and costs, analysis, strengths and weaknesses, counters both ways, builds and counters by rank, best duos |
| Tier lists | Overall, by rank, lane and role, recomputed at every sync; small samples are flagged and never crowned |
| Statistics | Win, pick and ban rates by rank, trends over seven days, win rates by game length |
| Items, emblems, spells | Stats, passives, and above all when each one is worth taking |
| 1,142 skins | Rarity, availability, price and artwork, a gallery per hero and a release calendar |
| Events | StarLight, Collector, event, shop and pass skins month by month, with calendar reminders |
| Patch notes | Synced patch list, written analyses and a measured recap once the numbers are in |
| Daily games | A five-round quiz and MLBBdle, the same for everyone, with streaks and shareable results |
| Tools | Draft helper, hero comparison, team analyser, tier list maker, win-rate calculator, nickname generator, server time |
| Account | Sign-in with the game's own verification code: rank, level, friends, favourites, a public profile if you want one |
| Discord bot | Patch alerts, hero cards and player profiles in your server |
| Public API | Read-only JSON routes, no key needed: see API |
| 9 languages, installable | Every page translated; installs as an app and works offline |
MLBBDex has no ads and no paywall. The server, the domain and the time spent on it are paid for by the people who use it. If the site helps you climb, you can buy Dex a coffee on Ko-fi or PayPal. Thank you!
npm install
cp .env.example .env.local
npm run dev # http://localhost:3001| Command | What it does |
|---|---|
npm run dev |
Development server on port 3001 |
npm run build |
Production build, standalone output |
npm run start |
Serves the production build on port 3001 |
npm run lint |
ESLint |
npm run typecheck |
tsc --noEmit |
npm run sync |
Re-reads the wiki and the stats API, regenerates src/data/game/ |
npm run sync -- --images |
Same, and also downloads the visuals |
npm run sync:evolution |
Measurements only: trends, teammates, win rates by game length, history |
npm run translate |
Translates the interface, the content data and the articles into the other languages |
npm run watch |
Takes the snapshot of the news feeds shown on the Watch page |
npm run test |
Unit and functional tests (Vitest) |
npm run test:e2e |
Browser tests (Playwright) |
npm run readme:poster |
Regenerates the README key art and the social preview in .github/readme/ |
Visuals and data are already in the repository: sync, translate and
watch only refresh them, and only ever run locally or in CI, never while the
site is running.
- Full roster: every hero with role, lane, specialties, release year and difficulty, filterable.
- Detailed hero pages: skills with cooldowns and costs, analysis, strengths, weaknesses, counters both ways, annotated builds, builds and counters by rank, best duos.
- Tier lists: computed from in-game win and ban rates, overall and by rank, role and lane, updated at every sync, with hand-written notes on why a hero sits where they do.
- Statistics: win, pick and ban rates, by rank.
- Items: stats, passives, and above all when an item is worth buying.
- Emblems, talents and battle spells: with the kind of hero each one suits.
- Skins: the game's 1,000+ skins, with rarity, availability, price and artwork, in a gallery per hero and a release calendar.
- Events calendar: what comes out each month (StarLight, Collector, event, shop and pass skins), assembled from the skin catalogue and the wiki's monthly lists.
- Lore and game modes.
- News and patch notes: the patch list is synced; notable updates get a written analysis.
- Watch: posts about the game from around the web, gathered automatically, frozen as a snapshot and refreshed at each sync.
- Tools: draft helper, hero comparison, team composition analyzer, tier list maker, win-rate calculator, Retribution trainer, daily quiz, MLBBdle (guess the day's secret hero from its traits or a skill icon), server time and collection value calculator. More tools are being added.
- Signed-in account: sign-in with the game's official verification code, then profile, actual rank (emblem, division, stars, Mythic tiers) and friends list. No password, no stored state.
- Public API: read-only JSON routes, without a key. See API.
- Nine languages, installable: English (default), French, Italian, Spanish, Indonesian, Filipino, Thai, Brazilian Portuguese and Russian; the site can be installed as a PWA and has an offline page.
- Visuals: portraits, icons and skins are served by the site itself. No content image depends on a third-party domain.
| Data | Source | Updated |
|---|---|---|
| Heroes, skins, items, visuals | Community wiki, Lua modules | Automatically, every Monday |
| Patch list, release dates, patch notes | Liquipedia (list, dates, notes the wiki lacks) and the community wiki (notes) | Automatically, every night |
| Win rates, counters, ranking, rank emblems | Community API arena.rone.dev |
Automatically, every Monday |
| Trends, teammates, win rates by game length | Community API arena.rone.dev |
Automatically, every night |
| Hero analyses, tier list notes, emblems | Written by hand | By pull request |
| Articles and guides | Markdown in content/ |
By pull request |
| Watch | Public feeds, snapshot taken beforehand | Automatically, at the Monday sync |
Factual data is no longer written by hand. A workflow re-reads both sources,
the wiki for the catalogue and the community API for measurements (win rates,
counters, ranking, rank emblems): measurements every night, the full catalogue
every Monday. It downloads new visuals and commits whatever changed straight to
main, which deploys it. A new hero therefore appears without anyone stepping
in.
What remains hand-written is what no extraction will ever produce: the commentary on a hero, the reason behind a tier list placement, a guide.
Moonton publishes no public API and no official feed: the game's website is an app whose content cannot be redistributed. The community wiki provides the catalogue; a community API relays what the game still exposes elsewhere: win rates, counters, ranking.
You sign in with Moonton's official flow: the game sends a verification code to the player's in-game mail, and that code proves you own the account. No password is asked for; the site only receives a temporary token, stored in an httpOnly cookie. Once signed in, the account page shows the profile (username, level, country, avatar), the actual rank (official emblem, division and stars, up to the Mythic tiers) and the friends list.
They depend on Moonton's battle report service, which is often offline. When it answers, the account page and the player profile add overall figures, recent matches and the heroes played per season, compared with the site's win rates at the same rank; when it does not, those sections say so. No "MMR" either: sites that show one estimate it, since it cannot be read anywhere.
src/
app/ Routes (App Router), API, RSS feeds, sitemap, robots
components/ UI components
data/
game/ Extracted from the wiki and the API: never edit by hand
heroes/ Written analyses, one file per role
tier-list.ts Hand-written tier list notes
emblemes.ts Hand-written emblem data
i18n/ Languages and interface message catalogues
lib/ Types, data, content, ranks, sessions, actions
content/
fr/ Source articles: news/ and patch-notes/
en/ it/ es/ Their translations
public/
visuels/ Portraits, icons, skins and other game visuals
scripts/
sync.mjs Sync from the wiki and the stats API
lua.mjs Reads the wiki's Lua tables
translate-*.mjs Translation of the interface, data and articles
watch.mjs Snapshot of the Watch page feeds
Content pages are static: the most visited ones, in English and French, are
generated at build time; the others (the other languages, pro players, older
tournaments…) on their first request, then cached on disk until the next
deployment (src/lib/prerender.ts, cache-handler.mjs). Only the account
routes are rendered on every request: the header does not read the session on
the server, it asks for it after rendering, precisely so that the rest of the
site stays static.
The site has no state to keep. Identity comes from the game: you sign in with Moonton's official verification code, and the site only receives a temporary token, stored in an httpOnly cookie. Favorites live in the browser. No database, no sessions table. The one optional exception: patch notification subscriptions, in a JSON file (see below).
More details in the project wiki: architecture, data and sync, branches, CI and deployment, API, translations.
sh scripts/deploy.sh # build, then start the release next to the running one sh scripts/deploy.sh --no-build # apply a .env change, same way
The site runs in one of two slots, mlbb on 127.0.0.1:3003 (the PORT
variable) and mlbb-b on 127.0.0.1:3004 (PORT_B), 3001 inside the
container. The script starts the new release in the free slot, waits until it
answers on /api/health, then stops the other one; if the release never
answers, the running slot keeps serving. The reverse proxy lists both slots,
the first as primary and the second as backup (nginx: server 127.0.0.1:3003 max_fails=0; server 127.0.0.1:3004 backup max_fails=0;): neither
is ever marked down, and nginx retries the other slot when one answers with an
error, so a deployment never takes the site down. Avoid a bare docker compose up -d on
the server: it recreates the primary slot in place. The final image
contains no sources and no build toolchain: only the Next server in
standalone mode, its static assets and public/. The container runs without
privileges, with a read-only filesystem and all capabilities dropped. Three
volumes: the logs (./logs, one file per day and kind, erreurs-* deleted
after 30 days and evenements-* after 6 months by the site itself at startup
and then daily, see src/lib/log.ts), the named volume donnees
(/app/donnees-serveur), which keeps notification subscriptions from one
deployment to the next, and the named volume cache (/app/.next/cache), where
the pages rendered on demand and the optimised images are kept. Compression
belongs to the reverse proxy: see Compression behind nginx.
In production, every push to main deploys automatically over SSH: see
Data and sync.
A visitor can ask, from their favorites or from the bell on a hero page, to be notified when a patch buffs, nerfs or adjusts one of their favorite heroes. To enable it:
npx web-push generate-vapid-keys, once and for all (changing the keys invalidates every subscription);- in the server's
.env:VAPID_PUBLIC_KEY,VAPID_PRIVATE_KEY,VAPID_SUBJECT(mailto:…orhttps://…), and if neededPUSH_ADMIN_TOKEN(see.env.example); sh scripts/deploy.sh --no-build: the keys are read at startup, no rebuild needed.
Without these keys, the feature is hidden. Subscriptions (notification service
address, encryption keys, language, favorite slugs) are stored in
$DATA_DIR/push-abonnements.json, rewritten atomically; the last announced
patch, in push-etat.json. At each startup, if the latest patch in the data has
not been announced yet, every subscriber concerned gets a notification, only
once per patch. The very first startup with the keys only records the current
patch, without sending anything.
Test run, sending nothing (dry run, with a preview of the messages):
curl -X POST https://mlbbdex.com/api/push/send -H "Authorization: Bearer $PUSH_ADMIN_TOKEN"The optional JSON body accepts version, send: true (actually send),
target (a subscriber id read from the dry run, to send to that subscriber
only) and force: true (resend an already announced patch to everyone). The
former names envoyer, cible and forcer are still accepted.
Backing up the volume:
docker compose cp mlbb:/app/donnees-serveur ./server-data-backup.
The data updates itself. What is missing are hero analyses: out of 133 heroes, only a minority have written commentary. It is the most useful contribution, and it does not require knowing the rest of the project.
See CONTRIBUTING.md, the code of conduct and the security policy.
Mobile Legends: Bang Bang, its universe, its heroes, their names and their artwork are trademarks and works of Shanghai Moonton Technology Co., Ltd. This site is an independent fan project, not affiliated with, endorsed or sponsored by Moonton.
The visuals in public/visuels/ come from the community wiki and remain the
property of Moonton. They are included for illustration and information.
The MIT license below does not cover these files, only the code and the
texts written for this site. They will be removed at the rights holder's
request.
Factual data comes from the Mobile Legends wiki, under the CC BY-SA license. The patch list and some patch notes, as well as the esports data, come from Liquipedia, under the CC BY-SA 3.0 license.
Code and texts under the MIT license: see LICENSE.






