A server that imitates a live game of League of Legends in the background. Useful if you want to develop something using the ingame API, but not while running League of Legends.
- Download this repository
- Ensure you have NodeJS and NPM.
- In the root folder, run
npm install && tsc -p .
.
You can run the application by running node dist/index.js
. This will automatically start a EUW1 ARAM game, at 1 on 1 speed. Below are some additional parameters you can add.
-port/-p <port number>
, although it is not recommended, as the API should always be on 2999.-locale/-l <locale>
, should be a locale in this list: https://ddragon.leagueoflegends.com/cdn/languages.json-patch/-v <ddragon version>
, select a specific version of DDragon to be used. Needs to be in this list: https://ddragon.leagueoflegends.com/api/versions.json-apikey/-k <API key, file or env var>
, supply a Riot Games API key, file or environment variable to download a match with.-match/-m <match id>
, a match id by Riot Games to download with the API key.-gamespeed/-s <gamespeed multiplier>
, makes time go by faster.-verbose/-v
, outputs data every second in the window.
- There's unfortunately no event for a summoner levelup, meaning that I have to fake it. I currently do not check for any abnormal skill levelups, so evolution-based champions might get an incorrect level here.
- Everyone has Ignite and Flash as their default
summonerSpells
hardcoded. wardScore
is not implemented.rawDescriptions
andrawDisplayNames
for items are missing.resourceTypes
always result in "MANA".fullRunes
/runes
are currently always the same, for everyone.isBot
is always false.- Some parameters on items aren't verified, and might be incorrect (
consumable
, for instance.)