Coder Social home page Coder Social logo

Comments (2)

AgustinSRG avatar AgustinSRG commented on July 20, 2024

Hi. This is a feature that is already in the bot as part of the custom leaderboards module.

The tournament leaderboards module was made just for tournaments, and points are just computed from the tournaments stats, thats why you cannot add or remove them without breaking the tournaments stats.

That is why I added a separate module some months ago, but I forgot to update the commands list in the wiki, so I just updated it:

Let's say you have a room called Tournaments, in that case, run the following commands to enable a custom leaderboards table for that room (changing the parameter to the ones you want):

.tourldbcustom create, Tournaments, Tournaments
.tourldbcustom config, Tournaments, win: 5, final: 3, semi_final: 1
.tourldbcustom auto, Tournaments, on

You can also configure it via the control panel, in the Tour Leaderboards (Custom) tab.

Once you have it configured, you can use the extrapoints command to add / remove points manually. Examples:

.extrapoints Tournaments, Example User:5, Other User: 3
.extrapoints Tournaments, Example User:-2

Not sure if this is what you're looking for. If you have any questions or concerns feel free to comment below.

from showdown-chatbot.

4N5H64M3R avatar 4N5H64M3R commented on July 20, 2024

Thanks a lot, this is exactly what I was asking for.

from showdown-chatbot.

Related Issues (5)

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.