{"schema":"https://maoloader.com/schemas/plugin.v1.json","kind":"plugin","slug":"session-tracker","name":"Session Tracker","version":"0.3.0","entry":"plugins/session-tracker/index.js","description":"Track today's wins, losses, streak and LP change in a small card, with a summary after each game and an optional tilt guard.","author":{"name":"maoloader","url":"https://github.com/steele123/maoloader"},"repository":"https://github.com/steele123/maoloader","homepage":"https://github.com/steele123/maoloader/tree/main/plugins/session-tracker","tags":["stats","ranked","lp","tracker"],"compatibility":{"maoloader":">=0.1.0"},"files":["plugins/session-tracker/CHANGELOG.md","plugins/session-tracker/README.md","plugins/session-tracker/assets/icon.svg","plugins/session-tracker/index.js","plugins/session-tracker/styles.css"],"image_path":"plugins/session-tracker/assets/icon.svg","downloads":30,"updated_at":"2026-10-18T08:25:04.072Z","assets":{"icon":{"key":"plugins/session-tracker/assets/icon.svg","url":"https://raw.githubusercontent.com/steele123/maoloader/5d25ff6512cb701c78cc2ce518e4f9b17f742d40/plugins/session-tracker/assets/icon.svg"},"screenshots":[{"key":"media/plugins/session-tracker/card.webp","url":"https://raw.githubusercontent.com/steele123/maoloader/5d25ff6512cb701c78cc2ce518e4f9b17f742d40/media/plugins/session-tracker/card.webp","caption":"This session's wins, losses and LP, at a glance"}],"package":{"key":"plugins/session-tracker/0.3.0/session-tracker-0.3.0.zip","url":"/api/plugins/session-tracker/download","size":1803347}},"readme":"# Session Tracker\n\nA small card with today's record, your current streak, recent results and how much LP you've gained or lost. After each game a toast sums it up.\n\n## The card\n\n- **Record**: wins and losses, win rate, and your streak once it's two or more.\n- **Results**: one square per game, oldest on the left. Hover a square for the champion and K/D/A.\n- **LP**: your current Solo/Duo and Flex rank, and the change since the session started.\n\nDrag the card by its header; double-click the header to put it back in the bottom-left corner. `↻` refreshes it and `×` hides it.\n\n## Command bar (`Ctrl+K`)\n\n- `Hide session tracker` / `Show session tracker`\n- `Start a new session`: counts from now instead of midnight, and turns off the daily reset.\n- `Session tracker: reset daily at midnight` / `stop resetting daily`\n- `Session tracker: count ranked only` / `count all games`\n- `Turn on tilt guard` / `Turn off tilt guard`\n- `End tilt break`: unlocks Find Match before the break is over.\n- `Session tracker settings`: opens this plugin's settings.\n\n## Settings\n\nIn Ctrl+K → **Plugin settings** → Session Tracker: show or hide the card, turn the after-game summary on or off, reset daily at midnight, count ranked games only, start a new session, and set up the tilt guard.\n\n## Tilt guard\n\nOff by default; turn it on in the settings. After a set number of losses in a row (2 to 6, default 3), it suggests a break. With **Lock Find Match for** above 0 (up to 30 minutes, default 10), any queue you start during the break is cancelled straight away, and the card shows the time left. **Play anyway** on the toast, **End** on the card, or `End tilt break` in Ctrl+K ends it early. It counts the same games as the card, so remakes never count, and with **Ranked games only** on, only ranked losses do.\n\n## Details\n\n- Remakes (games under 5 minutes) don't count.\n- The LP change is measured from the first time the tracker loads in a session. If you install it partway through the day, games before that still count toward the record but not toward the LP change.\n- LP across divisions and tiers is added up, so a promotion from Gold II at 90 LP to Gold I at 10 LP shows as +20 LP.\n- The tracker only reads your own match history and ranked stats.\n\nSettings are saved in the maoloader DataStore under `session-tracker.settings`.\n\n## Endpoints\n\n| Feature | Request |\n| --- | --- |\n| Games | `GET /lol-match-history/v1/products/lol/current-summoner/matches` |\n| Rank and LP | `GET /lol-ranked/v1/current-ranked-stats` |\n| Refresh after games | socket `/lol-gameflow/v1/gameflow-phase` |\n| Tilt guard queue lock | `DELETE /lol-lobby/v2/lobby/matchmaking/search` |\n","changelog":"# Session Tracker changelog\n\n## 0.3.0 - 2026-10-16\n\n### New\n- **Tilt guard** (off by default): after a losing streak you choose, it suggests a break and can lock Find Match for up to 30 minutes. End it early from the toast, the card, or Ctrl+K → `End tilt break`.\n\n### Fixed\n- The card now shows when the client starts. Before, the client could replace it with an empty copy while starting up, so it stayed invisible until you hid and showed it again.\n\n## 0.2.0 - 2026-10-15\n\n### Changed\n- Settings moved to maoloader's shared settings window: Ctrl+K → **Plugin settings** → Session Tracker. Your saved settings carry over. Changing settings needs maoloader 0.1.7 or newer.\n- First proper settings: show the card, a summary after each game, daily reset, ranked only, and **Start a new session**. Before, these were only Ctrl+K toggles, and the summary couldn't be turned off.\n\n## 0.1.0 - 2026-10-15\n\nFirst release. Track today's wins, losses, streak, and LP change in a small card, with a summary after each game.\n","history":[{"version":"0.2.0","published_at":"2026-10-16T03:34:37.854Z"},{"version":"0.1.0","published_at":"2026-10-16T00:46:08.284Z"}],"download_url":"/api/plugins/session-tracker/download"}