Giter Club home page Giter Club logo

Comments (1)

AudunVN avatar AudunVN commented on July 27, 2024

Been working on this for a bit in a fork, since I've wanted to have a realtime leaderboard for a while plus the option to have a player's current completed task count available for use in datapacks. This was so one could - for example - fairly easily make custom advancements or other things that happen depending on task count (such as #49) without needing to make changes to the user's mods each time.

From what I've tried so far vanilla MC scoreboards (see AudunVN@b7fcf08, please note that the fork is still at 1.19.2) should likely work fairly well for implementing a real-time leaderboard, with the added bonus that it lets datapacks use and display the task counts if desired.

A 1.19.2 jar is available over here; displaying the scoreboard currently needs to be done through /scoreboard objectives setdisplay <display slot> bongo.tasks_completed , as I haven't quite decided where it would be best to set the default display options for the scoreboard yet (if anywhere). Depends a bit on whether one would want to have the leaderboard be adjustable client-side, in the bingo game settings, or per world.

Could likely make a pull request if those are welcome, thought I'd share what I've tried so far either way in case it'd be interesting/useful for somebody else.

Quick test screenshot with /scoreboard objectives setdisplay list bongo.tasks_completed and /scoreboard objectives setdisplay sidebar bongo.tasks_locked attached below, will likely mostly be using list bongo.tasks_completed myself since it's pretty unobtrusive. Haven't gotten as far as adding a way to list tasks per team instead of just per player quite yet, didn't think that far since I usually play with three-four people on separate teams so displaying it on the tab player list worked pretty well.

2023-05-28_00 51 22

from bongo.

Related Issues (20)

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.