Scripts for using the League Client Update (LCU) API to check available gamemodes for URF.
- Powershell
- NodeJs
- ts-node installed globally
- Run
npm initin theappdir - Copy the
.env.examplefile to a file named.env - Edit
.envwith your configuraion- Storage account params only necessary for upload stage
- Run
1-launch.ps1
The script will launch the league client, get the list of current gamemodes, write it to a file, play music if URF is available, and uploads the JSON to an Azure storage account.
- https://lol.teamdman.ca/ has a link to a JSON file for the list of PBE gamemodes, updated almost daily. I have a task to run this at startup and it updates the website with the results.
- https://github.com/supergrecko/league-connect
- https://github.com/Hi-Ray/LCU-Arguments