GithubHelp home page GithubHelp logo

osumod's Introduction

osumod

Usage for queue owners

Home Tab

(i) Pending

For each request, click the (i) icon to open a menu where you can set each request to accepted, rejected, nominated, etc.

If you select the "archived" option, the request will be removed from your home page, and moved to the "Archives" tab. This can be useful for decluttering your queue.

After being requested, map info won't update automatically. So if the map changes metadata or star rating, you can use the "Refresh" button to update them.

Request Tab

There is an "open/closed" slider here for your convenience, which is not visible to others. You can always submit requests to yourself, even if you're closed. Submitting to yourself bypasses all checks (e.g. cooldown).

You also have the ability to add notes to the request page, such as adding queue rules or listing your preferences. These notes support GitHub-flavored Markdown (similar to message formatting on Discord). You can also specify the following variables, which will be replaced by your current queue settings: {open}, {maxPending}, {cooldown}.

For example, consider the following notes:

## Status: {open}
- This queue automatically closes after _{maxPending} requests_.
- After requesting, you need to wait {cooldown} days before requesting again.
- Anime is **banned**

Once you save the notes, it'll appear like this:

image

Settings Tab

When logged in and on your own queue, there should be a settings tab. The settings tab has the following options:

  • Open: Whether the queue is accepting requests. If it's closed, you can still send requests to yourself.
  • Accept M4M requests: If true, people will have the option to select "M4M" on your request form.
  • Max pending requests: If the number of pending (not accepted/rejected) requests goes above this number, the queue automatically closes. Set to something large like 9999 if you don't want this
  • Cooldown between requests: After requesting, a mapper must wait this many days before they can request again. Can set this to 0 if you don't want to enforce a cooldown.
  • Modder Type: If you select BN, you'll be able to set the status of maps to "nominated". If you select regular modder, you'll just have a "finished" option instead.
  • Gamemodes: Requests that aren't from the specified gamemode will be automatically rejected.

Auto-cleanup

Sometimes, modders will create a queue and then abandon it, leaving clutter on the main page. To prevent this, queues will be cleaned up automatically if inactive:

  • If a queue is left open for 3 weeks but the owner never responds to any requests, it will automatically be closed
  • If the queue owner does nothing (doesn't respond to any requests, doesn't open, etc) for 8 weeks, the queue will be automatically archived

Archived queues can be revived by creating "Create Queue" from the homepage, and the 8 week counter will reset.


Running osumod in development

The following section is written for people who want to contribute to the development of osumod. If you just wanna use a modding queue, you can stop reading.

First, you'll need node.js (at least v12) and npm. Then, you'll need to set up an environment config

Setting up .env

Make a copy of .env-template and save it as .env

Fill out the .env file as follows (using no quotes/spaces)

Running the server

First, don't forget to run npm install in this directory. Then, in two separate terminals, run npm start and npm run hotloader. If everything works, you should be able to access the site at http://localhost:5000

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.