Jump to content

Module "TimeSpent" by ShuraBB - statistic reset every day


Recommended Posts

Posted (edited)

This module has stopped reseting stats every new day. I don't remember when this started (month ago or maybe when v1.5 comes, nvm). It was anoying to remove manually file where are data is stored, so maybe u can add configuration option to reset this every day automatticaly?

 

To achive this, update in .\res_mods\configs\BBMods\Default\TimeSpent_Minimalistic.json is required, ie:

{
  "StatisticSessions": {
    "Current": {
      "Reset": {"ResetAfter": 1, "ResetTime": 7, "LocalTime": false},
    }
  }
}

 

TimeSpent_Minimalistic.json is loaded by .\res_mods\configs\BBMods\TimeSpent.json

Edited by Bread With Jam

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.