Troubleshooting
  • 19 Aug 2022
  • 1 Minute to read

    Troubleshooting


      Article summary

      My stats aren't loading!

      Make sure you have the correct API url supplied in your Rust plugin configuration. To test if you have the correct URL available, copy the URL into the browser. You should see something in that regard:

      {
        "error": "Invalid secret key"
      }
      

      If you get that response, you have the correct API URL. If the stats are still not loading, make sure you have the correct Server ID and Secret Key in your Rust config, compare them to those in the web config.

      Default Rust Configuration

      The default configuration can be found in your downloaded files rust folder.

      The following elements can be edited:

      Config KeyDescriptionDefault
      ApiURLThe API URL to which the data is sent. This is usually your website url with /stats/api.php at the end.empty
      SecretKeyConfirms the communication between gameserver and API. Make sure its unique and long enough. The same as used in the web config.empty
      ServerIDThe corresponding server id used in your web config (to track multiple servers)1
      Count suicide killsDefines if suicide (/kill) is counted as a deathtrue
      Count environment killsDefines if environment kills (Radiation, Cold, NPC kills, etc..) is counted as deathtrue
      UntrackedPlayerIdsA list of SteamID64s of players which do not track kills/deaths[]

      Was this article helpful?