UserSessionLength - Mini-IT/SnipeWiki GitHub Wiki
Location: snipe/packages/userSessionLength/
This package includes support for collecting and displaying mean and median average user session length stats.
You will need to create the table for storing the temporary user session length data with "packages.tempusersessionlength.sql". This table will be cleared each time the stats collection tool will run.
You can include this package into the stats server with:
moduleClasses = [
snipe.packages.userSessionLength.StatsModule,
];
You can include this package into the game server with:
override function initModulesGame()
{
loadModules([
snipe.packages.userSessionLength.GameModule,
]);
}
You can include this package into the editor with:
loadModules([
snipe.packages.userSessionLength.EditModule,
]);