npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

league-of-legends-rankify

v1.4.2

Published

![rankify](img/lolrankify_logo_preview.png "LoL Rankify Preview Logo")

Downloads

18

Readme

league-of-legends-rankify

for the TS3 Sinusbot

rankify

Build Status GitHub GitHub issues GitHub closed issues GitHub repo size GitHub last commit

liberapay liberapay_give

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)
  • 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.) & make your server groups with the LOL icons ready
  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.

Hints

  1. It will not work without a verified RIOT API key. If you request it, chances are very high that you will get it.
  2. If you NEED your client descriptions for something crucial, and don't want to replace them with the clients summoner names, you can now use the TS3 nickname of the client instead.

User Nickname or Description*

*default

Select your preference in the backend. If you prefer to use the TS3 User Nickname instead of the TS3 User Description select the option in the backend.


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.

!lolignoreme

adds you to the ignore list (store) so that your in-game status is not displayed. This is simply a toggle. Write it a second time and you are removed from the list.

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 false in the SB backend by default.


Minimal Resources

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."

Provided by the Happy-Forever Gaming Community

Die Happys (link)


Credits

DrWarpMan from the SinusBot Forums -> [email protected] https://forum.sinusbot.com/members/drwarpman.12874/

DrWarpMan assisted me through parts of getting to know the SinusBot API. He has the capability to make any of your scripting needs reality in exchange for a donation. Hit him up at the above mentioned email, or via the Sinusbot Forums.