Jump to content

Issues with Statistics not sowing time played.

Pending 1.1.3

RAECON
RAECON

Posted

As the title says.  Everything works well except the plugin will not display time played.  Shows 0 seconds for everyone.  Playtime tracker is installed and working.  Any suggestions?

RAECON

Posted

Hi @Mevent, my config file is as follows:

 

{
  "Work with Notify?": true,
  "Work with PlayTimeRewards?": true,
  "Work with PlaytimeTracker?": true,
  "Enable a Profile?": true,
  "Statistics Commands": [
    "stats",
    "statistics"
  ],
  "Enable a Leaderboard?": true,
  "Leaderboard Commands": [
    "leaders",
    "leaderboard"
  ],
  "Automatic wipe on wipe": true,
  "Access by permission (statistics.use)": false,
  "Open player profile by clicking on leaderboard?": true,
  "Permission to open player profile when clicked on leaderboard? (ex: statistics.profile)": "",
  "Weapons": [
    "rifle.ak",
    "rifle.bolt",
    "rifle.l96",
    "rifle.lr300",
    "rifle.m39",
    "rifle.semiauto",
    "pistol.eoka",
    "pistol.m92",
    "pistol.nailgun",
    "pistol.python",
    "pistol.revolver",
    "pistol.semiauto"
  ],
  "Resources": [
    "stones",
    "sulfur.ore",
    "metal.ore",
    "hq.metal.ore",
    "wood"
  ],
  "Score Table (shortname - score)": {
    "kills": 1.0,
    "deaths": -1.0,
    "stone-ore": 0.1,
    "supply_drop": 3.0,
    "crate_normal": 0.3,
    "crate_elite": 0.5,
    "bradley_crate": 5.0,
    "heli_crate": 5.0,
    "bradley": 10.0,
    "helicopter": 15.0,
    "barrel": 0.1,
    "scientistnpc": 0.5,
    "heavyscientist": 2.0,
    "sulfur.ore": 0.5,
    "metal.ore": 0.5,
    "hq.metal.ore": 0.5,
    "stones": 0.5,
    "cupboard.tool.deployed": 1.0
  },
  "NPCs Score Table (UserID - score)": {
    "7654321": 4.0,
    "1234567": 3.0
  },
  "Count suicide as death": true,
  "Count suicide as kill": true,
  "Count kills of bots": true,
  "Count kills from bots": true,
  "Count deaths from teammates": true,
  "Use value rounding?": false,
  "Count bot kills in kills?": true,
  "PlayerDatabase": {
    "Enabled": true,
    "Table": "Statistics"
  },
  "Use Awards?": false,
  "Enable the ability to see another player's profile?": true,
  "Permission to view the other player's profile (ex: statistics.profile)": "",
  "Enable the collection of statistics only for players with permission?": false,
  "Permission to collect statistics (ex: statistics.collect)": "",
  "Awards (top position - award)": {
    "1": {
      "Amount of items given out": 1,
      "Items": [
        {
          "Type": "Item",
          "ID": 1,
          "Image": "",
          "Title": "",
          "Command (%steamid%)": "",
          "Plugin": {
            "Hook": null,
            "Plugin name": null,
            "Amount": 0
          },
          "Display Name (empty - default)": "",
          "ShortName": "wood",
          "Skin": 0,
          "Amount": 20000,
          "Chance": 50.0
        },
        {
          "Type": "Item",
          "ID": 2,
          "Image": "",
          "Title": "",
          "Command (%steamid%)": "",
          "Plugin": {
            "Hook": null,
            "Plugin name": null,
            "Amount": 0
          },
          "Display Name (empty - default)": "",
          "ShortName": "stones",
          "Skin": 0,
          "Amount": 15000,
          "Chance": 50.0
        },
        {
          "Type": "Item",
          "ID": 3,
          "Image": "",
          "Title": "",
          "Command (%steamid%)": "",
          "Plugin": {
            "Hook": null,
            "Plugin name": null,
            "Amount": 0
          },
          "Display Name (empty - default)": "",
          "ShortName": "leather",
          "Skin": 0,
          "Amount": 2400,
          "Chance": 50.0
        }
      ]
    },
    "2": {
      "Amount of items given out": 1,
      "Items": [
        {
          "Type": "Item",
          "ID": 4,
          "Image": "",
          "Title": "",
          "Command (%steamid%)": "",
          "Plugin": {
            "Hook": null,
            "Plugin name": null,
            "Amount": 0
          },
          "Display Name (empty - default)": "",
          "ShortName": "wood",
          "Skin": 0,
          "Amount": 15000,
          "Chance": 50.0
        },
        {
          "Type": "Item",
          "ID": 5,
          "Image": "",
          "Title": "",
          "Command (%steamid%)": "",
          "Plugin": {
            "Hook": null,
            "Plugin name": null,
            "Amount": 0
          },
          "Display Name (empty - default)": "",
          "ShortName": "stones",
          "Skin": 0,
          "Amount": 10000,
          "Chance": 50.0
        },
        {
          "Type": "Item",
          "ID": 6,
          "Image": "",
          "Title": "",
          "Command (%steamid%)": "",
          "Plugin": {
            "Hook": null,
            "Plugin name": null,
            "Amount": 0
          },
          "Display Name (empty - default)": "",
          "ShortName": "leather",
          "Skin": 0,
          "Amount": 2000,
          "Chance": 50.0
        }
      ]
    },
    "3": {
      "Amount of items given out": 1,
      "Items": [
        {
          "Type": "Item",
          "ID": 7,
          "Image": "",
          "Title": "",
          "Command (%steamid%)": "",
          "Plugin": {
            "Hook": null,
            "Plugin name": null,
            "Amount": 0
          },
          "Display Name (empty - default)": "",
          "ShortName": "wood",
          "Skin": 0,
          "Amount": 1000,
          "Chance": 50.0
        },
        {
          "Type": "Item",
          "ID": 8,
          "Image": "",
          "Title": "",
          "Command (%steamid%)": "",
          "Plugin": {
            "Hook": null,
            "Plugin name": null,
            "Amount": 0
          },
          "Display Name (empty - default)": "",
          "ShortName": "stones",
          "Skin": 0,
          "Amount": 5000,
          "Chance": 50.0
        },
        {
          "Type": "Item",
          "ID": 9,
          "Image": "",
          "Title": "",
          "Command (%steamid%)": "",
          "Plugin": {
            "Hook": null,
            "Plugin name": null,
            "Amount": 0
          },
          "Display Name (empty - default)": "",
          "ShortName": "leather",
          "Skin": 0,
          "Amount": 1500,
          "Chance": 50.0
        }
      ]
    }
  },
  "UI Settings": {
    "Colors": {
      "Color 1": {
        "HEX": "#000000",
        "Opacity (0 - 100)": 90.0
      },
      "Color 2": {
        "HEX": "#0E0E10",
        "Opacity (0 - 100)": 100.0
      },
      "Color 3": {
        "HEX": "#FFFFFF",
        "Opacity (0 - 100)": 100.0
      },
      "Color 4": {
        "HEX": "#818181",
        "Opacity (0 - 100)": 100.0
      },
      "Color 5": {
        "HEX": "#161617",
        "Opacity (0 - 100)": 100.0
      },
      "Color 6": {
        "HEX": "#4B68FF",
        "Opacity (0 - 100)": 33.0
      },
      "Color 7": {
        "HEX": "#4B68FF",
        "Opacity (0 - 100)": 100.0
      },
      "Color 8": {
        "HEX": "#4B68FF",
        "Opacity (0 - 100)": 53.0
      },
      "Color 9": {
        "HEX": "#4B68FF",
        "Opacity (0 - 100)": 23.0
      },
      "Color 10": {
        "HEX": "#BFBFBF",
        "Opacity (0 - 100)": 100.0
      }
    }
  }
}

Mevent

Posted

@RAECON  Try turning off the "Work with PlayTimeRewards?" and "Work with PlaytimeTracker?

  "Work with PlayTimeRewards?": false,
  "Work with PlaytimeTracker?": false,

 

GOONSLY

Posted

Hello,.

I am having the same issue, however I have both the above settings set to True and it still isn't showing any playtime.

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.2k

Files Sold

Total number of files sold.

2m

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.