Analysis updated 2026-05-18
Paste the script into your OpenDota profile's console to get a ranked list of heroes worth banning before a match.
Compare which heroes correlate with your losses across a large sample of your own past Dota 2 games.
Use the Ban Value ranking as a discussion point with teammates before deciding what to ban in a ranked game.
| bydoodle/dota-hero-ban-value | 0xmukesh/docusaurus-tutorial | 1tsmejp/palworld-docker-wine | |
|---|---|---|---|
| Stars | 1 | 1 | 1 |
| Language | JavaScript | JavaScript | JavaScript |
| Last pushed | — | 2021-12-27 | — |
| Maintenance | — | Dormant | — |
| Setup difficulty | easy | easy | moderate |
| Complexity | 1/5 | 2/5 | 4/5 |
| Audience | general | developer | ops devops |
Figures from each repo's GitHub metadata at analysis time.
No installation, paste the script directly into the browser console on your OpenDota profile page.
This project is a small JavaScript script meant to be pasted into your browser's developer console while viewing your own OpenDota profile. OpenDota is a website that tracks statistics for the video game Dota 2, and this script looks at your match history on that site to figure out which heroes are the smartest ones for you to ban before a game starts, a common early step in ranked Dota matches. Rather than just looking at which heroes you lose against most often, the script combines three things: how frequently a hero shows up in your matches at all, your overall win rate in games where that hero was present on either team, and an adjustment that lowers the influence of heroes you have only faced a handful of times, so a fluke result from one or two games does not skew the ranking. It combines these into a single number called Ban Value for every hero, and heroes with a higher Ban Value are considered stronger candidates to ban because they show up often and correlate with you losing more. To use it, you open your OpenDota profile, go to the Heroes tab, pick the game patch you want to analyze, open your browser's developer console with F12, paste the script in, and run it. The script then collects data across all the pages of your hero list and prints a sorted table of heroes ranked by Ban Value directly in the console. The README is upfront about the limits of this approach. It does not separate whether a hero was on your team or the enemy team, so the number reflects a hero's overall presence rather than a directional threat. It also depends entirely on your own match history, so a small number of games will produce a less reliable ranking, and the tool describes its output as statistical guidance rather than a certainty.
A browser console script that analyzes your OpenDota match history to rank which Dota 2 heroes are most valuable to ban.
Mainly JavaScript. The stack also includes JavaScript.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly general.
This repo across BitVibe Labs
Verify against the repo before relying on details.