Skip to content
This repository has been archived by the owner on Sep 24, 2022. It is now read-only.

Mincraft proxy server to fetch player's stats on Hypixel and much more!

License

Notifications You must be signed in to change notification settings

Solar-Tweaks/SolarStats-Old

Repository files navigation

Solar Stats 📊

GitHub Maintenance

Minecraft proxy server for Hypixel. It's like a stats overlay, but better. For now you must build it yourself and enjoy it before a release. And as a lot of our projects, this one is also open source!

⚠️ But this version may have bugs!

Usage ⚒️

To use it you need to have NodeJS installed. (LTS version is recommended)

Building from source 🏗️

Clone the repository on your machine using

$ git clone https://github.com/Solar-Tweaks/SolarStats

Once the repo is downloaded move to the directory and install the dependencies

$ cd SolarStats
$ npm install

You can now build the project, you will be able to use the exe file located in the dist folder. Or use the npm start command to directly run the compiled TypeScript

$ npm run build

Configuration ⚙️

At the root of the project (or in the same directory as the executable) create a config.json file with the following content:

{
  "apiKey": "API KEY HERE",
  "server": {
    "host": "hypixel.net",
    "port": 25565
  },
  "customEmotes": {
    ":solar:": "☀",
    ":lunar:": "☾"
  },
  "checkForUpdates": true,
  "autoDownloadUpdates": true,
  "statistics": true,
  "modules": {
    "bedwarsWaypoints": true,
    "heightLimitDelayFix": true,
    "lunarCooldowns": true,
    "bedwarsTeammates": true,
    "mvpppEmotes": true,
    "stats": true
  }
}

Starting the server 🚀

With NodeJS

$ npm start

With the executable

Just execute the executable file. For non windows operating system you can use

$ .\path\to\executable

Arguments

Solar Stats supports the following arguments:

  • --skipUpdater: Skip the update check at startup
  • --noTracking: Don't track statistics
  • --config=/path/to/config.json: Use a custom config file (default config file is config.json in the current working directory)
  • --noTray: Disable the tray icon

Authenticating 🔒

When you will login for the first time you will see in the console a message like this:

[msa] First time signing in. Please authenticate now:
To sign in, use a web browser to open the page https://www.microsoft.com/link and enter the code XXXXXXXX to authenticate.

Open a browser and login with your Microsoft account. If you have not migrated your account yet you can try to edit the code manually. (Or migrate your account)

⚠️ Mojang accounts wont be supported!

About

Mincraft proxy server to fetch player's stats on Hypixel and much more!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published