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:
parent
d2fe188001
commit
29abcaf612
2 changed files with 63 additions and 15 deletions
|
|
@ -682,6 +682,16 @@ namespace TShockAPI
|
|||
|
||||
break;
|
||||
}
|
||||
case "-providertoken":
|
||||
{
|
||||
TShock.StatTracker.ProviderToken = parms[++i];
|
||||
break;
|
||||
}
|
||||
case "--stats-optout":
|
||||
{
|
||||
TShock.StatTracker.OptOut = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue