TBHGodPro / SolarStats-Temp

Temporary update for SolarStats until v1 comes out

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Temporary update for SolarStats until v1 comes out

License:GNU General Public License v3.0


Languages

Language:TypeScript 67.2%Language:Vue 19.9%Language:JavaScript 10.8%Language:CSS 1.3%Language:HTML 0.7%