- Required SinusBot Version
- 1.0
- Compatible Backends
-
- TeamSpeak 3
THIS DESCRIPTION MAY NOT BE UP TO DATE. YOU FIND THE MOST RECENT DESCRIPTION ON GITHUB:
https://github.com/frizzant/league-of-legends-rankify
If you have no clue what this is about, ignore this.
- "Master": intended for casual users, most reliable version referred to as BETA.
- "Development": if you want the most recent version, which may be partially or even fully broken at some stages of development. Only recommended for other developers! Once again: DO NOT USE THIS VERSION, IF YOU WANT THE SCRIPT TO RUN!
DEUTSCH & ENGLISH Support.
Come online on our TS3 Server and ask Frizzant directly for support.
TS3: happy-forever.xyz
NO PASSWORD
Come online on our TS3 Server and ask Frizzant directly for support.
TS3: happy-forever.xyz
NO PASSWORD
league-of-legends-rankify
for the TS3 Sinusbot
This script connects your Sinusbot with the League Of Legends API,
to get the rank of your users. Simply add the LOL username as the client/user
description in Teamspeak.
Features
Automatically add
- ELO Rank (Iron...Challenger) (solo/duo | flex | highest of both)
- Level (30+, 50+...500+)
- Role (Top, Mid, Bot, Jungle, Support)
- In Game Status
Installation
Simply copy the script `lol-rankify.js` to your Sinusbot `scripts/` folder.
Or install it via NPM install.
NPM Install
npm i league-of-legends-rankify
Usage
1) Get your Riot API Key: https://developer.riotgames.com/ --> Register Product --> Personal API Key.
2) Install/upload the script
3) Fill out/Select options in the backend (API Key etc.)
4) Activate the lol-rankify script
5) Fill in the Summoner Name as the description of the client. Yes names with spaces inside work.
6) !lolreload (client must do this himself), !lolreload all, or wait until the client reconnects to the server.
7) Let it do its magic.
If you don't have the nerves, or the knowledge to deal with this:
In exchange for a donation I can apply for a key for you. Donations don't bring any liability.
Testing API KEY
You can get a RIOT API testing key instantly. It's valid for 24 hours, then you have to manually renew it. With this you can check if the script does what you want, before requesting a long-term developer key at RIOT.
Commands
Write the command to the Bot with the active script.
!lolreload
> reloads the rank of the client who executes the command
!lolreload all
> reloads the rank of all clients. BEWARE that this script has no reate limiting included.
Optional Commands
!lolsetname <SummonerName>
> sets the name for the user in his description. This is needed for clients to rename
>their own description, if the servergroups do not allow this. It is toggled to
><code>false</code> in the SB backend by default.
Minimal Ressources
The group gets added on `event` `clientVisible`. This means, in most cases it will
update only when a user connects/reconnects, not on every channel switch.
This means less script executions, in favor of your server performance.
"I chose this method purposely over `event` `clientMove`."
Credits
DrWarpMan from the SinusBot Forums -> [email protected]
https://forum.sinusbot.com/members/drwarpman.12874/
License: See On Github