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

Add game servers (Self Hosting)

TatLead edited this page May 20, 2020 · 1 revision

These methods are not applicable to Heroku!

Method 1 - Edit servers.json directly

  1. Edit servers.json manually. See: Edit servers.json
  2. Restart the bot

Method 2 - Edit servers.json remotely

  1. Type !getserversjson, and download servers.json

  2. Edit servers.json manually. See: Edit servers.json

  3. Upload the servers.json to discord and copy the link by right click.

    screenshot

  4. Type !setserversjson <url>, <url> is the link that you just copied

  5. Refresh server list by !serversrefresh command

Method 3 - Edit servers.json using commands

  1. Add servers by !serveradd command, channel id can be got by Copy ID

    screenshot

    Usage: !serveradd <type> <game> <addr> <port> <channel>

    Example: !serveradd "SourceQuery" "Team Fortress 2" "12.34.56.78" 27015 680901361659150526