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

osu-lobby-bot

v0.4.0-beta.2

Published

Lobby managing bot for free rythm game osu!

Downloads

10

Readme

osu-lobby-bot

This bot is able to manage a lobby. It is mainly focussed around automatic host rotation and beatmap star difficulty restriction.

You can either run a single instance of the bot or have it be chat enabled. In chat enabled mode multiple people can send a private message with a keyword to the account the bot is running with and a process will be started asking for necessary values to create a new, managed lobby.

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!                         IMPORTANT NOTE                         !!!
!!!  MULTIPLAYER LOBBIES CREATED BY ONE ACCOUNT ARE LIMITED TO 4.  !!!
!!! THIS IS A WORK IN PROGRESS. THINGS MIGHT CHANGE WITHOUT NOTICE !!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Commands

  • !botHelp – Will display available lobby commands in a private message
  • !skipMe – Will skip your next turn and put you back to the end of the host queue.

Private Message commands

  • !new – Will start the process of creating a new managed lobby.

Admin commands

  • !allow – Will disable beatmap restriction for upcoming round.
  • !skipTo {playerName} – Will skip the queue to given player name. All skipped players will be put to the end of queue as if they had been host already.

Usage

API Key retrieval

You can get an API key by filling out an application form at https://osu.ppy.sh/p/api/

IRC Username & Password

The password used to log into IRC is not the same you use for your account. You can request your IRC password from https://old.ppy.sh/p/irc

  1. You have to install nodejs and Git on your computer.
  2. You have to clone or download this repository.
  3. You have to install yarn with typing npm i -g yarn in a terminal window.
  4. You have to install all necessary packages with running yarn in a terminal window in this project directory.
  5. You have to create a file called .env with the contents of .env.dist and your personal values after the =.
  6. You run node index.js and follow the instructions to create a single game, or node lobbyBot.js to create your own via chat available instance for other ppl to use.