Reworked the StatTracker client-side

Reworked the StatTracker client side stuff to match the new server side
changes. Also fixed the memory tracking, plus added a 'providerid' for
certain server hosting providers
This commit is contained in:
George 2015-12-28 12:05:19 +00:00
parent d2fe188001
commit 29abcaf612
2 changed files with 63 additions and 15 deletions

View file

@ -682,6 +682,16 @@ namespace TShockAPI
break;
}
case "-providertoken":
{
TShock.StatTracker.ProviderToken = parms[++i];
break;
}
case "--stats-optout":
{
TShock.StatTracker.OptOut = true;
break;
}
}
}
}