Giter Club home page Giter Club logo

hypixel-skyblock-leaderboard's Introduction

Hypixel Skyblock Leaderboard

Hypixel Skyblock Leaderboard is a stateless API build for the Hypixel Skyblock Assistant Discord bot, the API creates a way to track guilds on the Hypixel Network for their SkyBlock gamemode, which can then be used to create metrics, guild, and player leaderboards, the leaderboard also comes with a Web UI which allows viewing and comparing of the data from the API in a nice and clean way.


Table of Content

Prerequisites

Leaderboard API
Web UI

Installing API Leaderboard

To get started, clone down the repository using:

git clone https://github.com/Senither/Hypixel-Skyblock-Leaderboard.git

Next go into the Hypixel-Skyblock-Leaderboard/api folder and install all the dependencies using Yarn.

yarn

While the dependencies are being installed you can copy the configuration file.

cp config.example.json config.json

Next edit and setup the config file with a proper database, real API tokens, and a list of guilds that should be tracked by the system, once you're done you can start the app.

node index.js

Installing Web UI Leaderboard

To get started, clone down the repository using:

git clone https://github.com/Senither/Hypixel-Skyblock-Leaderboard.git

Next go into the Hypixel-Skyblock-Leaderboard/web folder and install all the dependencies using Yarn.

yarn

While the dependencies are being installed rename the config file from config.example.js to config.js, then set setup the API endpoint URL, the config can be found at the root of the web directory, once that's done and the installation have finished, you can now build the project.

yarn prod

Building the app with prod will build all the assets for a production environment, you can also use dev for a development environment, or watch for setting up a watcher that will re-build the project anytime it sees changes being made to the files.

Now you should be done, and ready to use the site, to view the site open the index.html file at web/public.

Note: The site should be hosted at the root of a domain, or sub-domain for the paths in the index file to work correctly, if it's not being hosted with a domain you should edit the script and link HTML tags to point to the resources.

Configuration

Port

This is the port that the API should be running on, make sure the port is exposed on the machine the API is hosted on so that the Skyblock Assistant project, and other projects is able to talk and pull data from the API.

API URL & API Token

The API URL and Token is the URL the internal API servlet is running on, and the secret token used to communicate with the internal API in the Skyblock Assistant project.

Database

The database properties are used to connect to the database that the API should use, the database is required for the API to function correctly since tracked guilds, player data, and metrics are all stored in the database, and then retrived when requests are made to the API.

Guilds

The guilds is a list of Hypixel guild IDs that the API should track, any guild ID on the list will automatically be scanned every 24 hours, the list is formatted as a JSON object, where the key is the guild ID, and the value is either null or another JSON object with the guilds meta data.

License

Hypixel Skyblock Leaderboard is open-sourced software licensed under the MIT License.

hypixel-skyblock-leaderboard's People

Contributors

dependabot[bot] avatar senither avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

53x1

hypixel-skyblock-leaderboard's Issues

Players Skill Ranking - Cannot Jump to Last Page

Issue:

When sorting players by anything, there are page numbers 1-5, and then the last page (currently 315) listed at the bottom.
Clicking on 1-5 works normally, but clicking on 315 says that [sic] "Found no player wither the username of on the leaderboard!". This feels like it should instead take the website's user to the last page of the (ranked) players instead of throwing an error.

Feature Request:

Moving between 315 pages one at a time is unwieldly. Please add the ability to navigate to a particular page, and/or adjust the page count by 10, in addition to the options of going 1 at a time with the currently present "Previous" and "Next page" buttons.

Leaderboard Application

I know this is not the right way to make an application, but I tried writing an Email and on Discord a month ago and didn’t get a response. Maybe the Email ended up in your spam folder. But I would like to apply the Guild Certified Jammers for the Leaderboard:
Guild Scanner Screenshot

Discord link: https://discord.gg/V4VPFxwkWK

Apologies in advance and thank you.

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.