Enhance your Discord experience while playing League of Legends! This project brings unique Discord Rich Presence integration for League players, including features not even available natively from the game!
Got questions already? Don't hesitate to join the Discord Community Server
Who let the Kitten and the Penguin out? I did 😎. Now you too, can show off your favorite summoner icon, righ there on Discord!
You can show off your rank emblem right in your Discord Presence.
If you really don't want to show your rank, then add the --no-rank
argument, to disable this feature. As it's enabled by default.
Showcase your favorite TFT Companion!
To show these Arena ranked emblems, you will need to add the argument --show-rank
when starting this application
Swarm PVE is now officially supported
leagueRPC.exe
located under the assets section.leagueRPC.exe
file. Probably in your Downloads
folder.If you prefer using the command line, follow these steps:
git clone https://github.com/Its-Haze/league-rpc.git
cd league-rpc
python -m venv venv
.\venv\Scripts\activate
pip install -r requirements.txt
pip install pyinstaller
# Assuming your current directory is "league-rpc"
pyinstaller --onefile --name leagueRPC.exe league_rpc/__main__.py --clean --distpath .
.\leagueRPC.exe
LeagueRPC supports various command-line arguments to enhance flexibility and user customization.
✨ Means Recommended.
--launch-league <location>
✨The --launch-league
argument allows you to automatically launch the League of Legends client alongside leagueRPC. This feature is designed to make your experience more seamless by integrating the game launch into the RPC setup.
By default, if --launch-league
is specified without a path, the default installation path will be used:
C:\Riot Games\Riot Client\RiotClientServices.exe
This path is correct for the majority of installations. If your League of Legends client is installed in this location, you do not need to specify the path explicitly.
If you have installed League of Legends in a non-default location, you must provide the path to the RiotClientServices.exe file when using --launch-league. For example, if your game is installed on the D drive, you can start leagueRPC with the game like this:
.\leagueRPC.exe --launch-league "D:\Riot Games\Riot Client\RiotClientServices.exe"
This command tells leagueRPC to launch the League of Legends client from the specified location.
--client-id <discord-app-id>
✨Specify a custom Discord client ID for the RPC connection. Defaults to League of Legends
Example .\leagueRPC.exe --client-id 1230607224296968303
- This will show League of Kittens
1230607224296968303
1185274747836174377
You can create your own here: Discord Developer Portal. Then use the APPLICATION ID
--no-stats
Opt out of displaying in-game KDA and minion (creep score) statistics in your Discord Rich Presence. By default, these stats are shown.
Example: .\leagueRPC.exe --no-stats
--no-rank
Hide your League rank on Discord (SoloQ/Flex/TFT/Arena) By default, this will be enabled.
Example: .\leagueRPC.exe --no-rank
--hide-emojis
Do you want to hide your Online/Away emoji?. Then add this argument. By default, this will be shown.
Example: .\leagueRPC.exe --hide-emojis
--add-process <process-name>
Add custom Discord process names to the search list. This is useful if your Discord client is running under a different process name.
Example: .\leagueRPC.exe --add-process CustomDiscord AnotherProcess
--wait-for-league <seconds>
Specify the time (in seconds) the script should wait for the League of Legends client to start. Use -1
for infinite waiting. This is particularly useful for auto-launch scenarios like with Lutris or other launchers, ensuring the script does not error out if League is not immediately detected. Default is -1
Example: .\leagueRPC.exe --wait-for-league 30
--wait-for-discord <seconds>
Similar to --wait-for-league
, specify the time (in seconds) to wait for Discord to start. Use -1
for infinite waiting. This ensures that the script waits for Discord to fully start, avoiding premature errors. Default is -1
Example: .\leagueRPC.exe --wait-for-discord 15
Each of these arguments can be combined to tailor the Discord RPC to your preferences.
.\leagueRPC.exe --client-id 1194034071588851783 --launch-league --no-stats --no-rank --add-process CustomDiscord --wait-for-league -1 --wait-for-discord 15 --show-emojis
🛑 All of these arguments are optional. No extra argument is needed for the script to function properly. But in case you want to change something, you now can.
--launch-league
argument to learn more.leagueRPC.exe
from any location in the command prompt without navigating to the specific folder, you can add its folder to your system's PATH environment variable. Instructions for modifying the PATH are outside of the scope of this readme, but i can link a good guide on How to add a folder to Path environment variable in Windows.Create shortcut
Properties
Target
field, you can add all your arguments after leagueRPC.exe
Q: Will this get my account banned?
127.0.0.1:2999
, so it will not cause any bans. And Vanguard will not ban you for using it.Q: League's native RPC is still running. how do i turn it off?
Q: Does Riot approve this?
Q: Does it support TFT?
Q: Does it support Arena?
Q: Does it support ARAM?
Q: Can it run on Windows?
Q: Why doesn't the minnions (cs) update live?
Got questions? Join the Discord Server Feel free to open up Help tickets, or contact me directly on Discord (@haze.dev).
For issues related to the code, or project as a whole, please open an issue on GitHub.
This project was previously called league-rpc-linux
, but since RIOT introduced Vanguard, and broke League on linux. I wanted to rename this project to league-rpc
, and continue maintaining it for Windows users.