This repository has been archived by the owner on Oct 21, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 56
Add game servers (Heroku)
TatLead edited this page Oct 27, 2020
·
9 revisions
⚠️ not applicable >= v1.8.0
Since Heroku has an ephemeral filesystem, and the dyno will restart every day, any changes on the servers.json will cause data loss on the Heroku system. Therefore, DiscordGSM reads the SERVERS_JSON_URL
env value and download the servers.json on every startup.
-
Create a file calls
servers.json
on your own computer -
Edit servers.json. See: Edit servers.json
-
Upload the
servers.json
to discord and copy the link by right click on the blue text. -
On Heroku panel, go to
Settings
->Reveal Config Vars
, add/editSERVERS_JSON_URL
and paste the servers.json link. (Click the 🖊️pen to edit) -
Done
Wiki of DiscordGSM | Discord: https://discord.gg/Cg4Au9T