Added config option for how often to save ssi, and applied that to the save checker.

Changed the OnTileEdit hook to take a player as well, so we know who is doing the edit.
Changed the output of the Debug folder to go back to bin\Debug\ since I dont work 3 directories about TShock.
This commit is contained in:
Zack Piispanen 2012-02-04 16:39:36 -05:00
parent 54e822fb34
commit 46a653da99
4 changed files with 14 additions and 6 deletions

View file

@ -151,6 +151,8 @@ namespace TShockAPI
[Description("Enable Server Side Inventory checks, EXPERIMENTAL")] public bool ServerSideInventory;
[Description("How often SSI should save, in minutes")] public int ServerSideInventorySave = 15;
[Description("Time, in milliseconds, to disallow discarding items after logging in when ServerSideInventory is ON")] public int LogonDiscardThreshold=250;
[Description("Disables reporting of playercount to the stat system.")] public bool DisablePlayerCountReporting;