iprobedroid / swgoh-arena-tracker

47 stars 190 forks source link

Join our Discord channel to be updated.

Simple SWGOH Arena Tracker

DiscordChannel --my capacity is quite limited, yet you can help each other on this channel

Deploy straight to Heroku(24/7 free if a credit card registered)

Deploy

Configuration

Set environment variables:

Variable Name Description Notes
ARENA_TYPE SQUAD or FLEET Required(yet SQUAD is by default if not set)
DISCORD_WEB_HOOK Webhook to discord channel. Required
ALLY_CODES Comma separated list of ally codes.
Example:
123456789,123456788,123456999
Ignored if ALLY_CODES_URL present
ALLY_CODES_URL URL to a json file with players.
Recommended to use secret github gist like this example
How to find discord id..
Format: https://gist.github.com/<user_name>/<gist_id>/raw
Notes:name and discordId is not required, just set them to an empty string "", userIcon is for discord emoji(:emoji_code:)
Recommended

Deploy with Heroku steps

0. Delete previously created application(if you have one).

1. Click the button below.

Deploy

2. Create the application with a unique name and press Deploy app button.

ScreenShot

3. Once deployed press Manage App button.

ScreenShot

4. Go to settings tab.

ScreenShot

5. Press Reveal Config Vars button and set environment variables.

ScreenShot

Ally codes is a comma-separated string(like: 123456789,125456189 ...).

You will need to create a Discord web hook in the channel of choice. Fill the DISCORD_WEB_HOOK with the that unique url.

Choose your arena type - SQUAD or FLEET. Check the application logs if the tracker stops sending messages.

6. Activate the resource to run the tracker under the Resources tab.

ScreenShot

7. Check logs under More -> View logs for any errors.

ScreenShot

8. Add a credit card to your profile to get extra free hours for forever free 24/7 hosting.

ScreenShot

9. Keep only one application and one resource at a time, otherwise you will be charged...