Jump to content

How to setup Battlemetrics integration

Closed 2.5.5 2.5.5

If you upgrade from a previous version you will have to add this part to your config file.

NOTE: If you add it to the bottom of the config file you need to remove the comma, or it will be invalid JSON.

  "Battlemetrics Settings": {
    "API Token": "",
    "Organization ID": "",
    "Server ID": "",
    "Banlist ID": ""
  },

Four values are needed as you can see.

1. API Token
   1.1 - OAuth 2.0 Bearer tokens are used for authorization. You may create personal access tokens from the developers area.
   1.2 - Click "New Token" and grant it Ban Lists, Bans, Player Flags, Player Notes permission scopes.

2. Organization Id
   2.1 - Go to https://www.battlemetrics.com/rcon/orgs, click into the org
   2.2 - Check the address bar in your browser, the address will be ending with the Organization Id, for example: https://www.battlemetrics.com/rcon/orgs/edit/123456 means 123456 is the Organization Id.

3. Server Id
   3.1 - Go to https://www.battlemetrics.com/rcon, click into the server
   3.2 - Check the address bar in your browser, the address will be ending with the Server Id, for example: https://www.battlemetrics.com/rcon/servers/123456 means 123456 is the Server Id.

3. Banlist Id
   3.1 - Go to https://www.battlemetrics.com/rcon/ban-lists, click "View Bans"
   3.2 - Check the address bar in your browser, the address will be ending with the Banlist Id, for example: https://www.battlemetrics.com/rcon/bans/?filter%5BbanList%5D=abcdef-123456-example-banlist-example91011 means abcdef-123456-example-banlist-example91011 is the Banlist Id.

If you do not have any banlist, simply create an empty one.

 


 

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.6k

Customers

Total customers served.

80.8k

Files Sold

Total number of files sold.

1.6m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.