Add config option for saving the world when last player exists

This commit is contained in:
Lucas Nicodemus 2015-02-27 00:38:47 -07:00
parent 97d2894773
commit 7d9c960b0f
2 changed files with 5 additions and 1 deletions

View file

@ -394,6 +394,9 @@ namespace TShockAPI
[Description("The maximum allowable MP, before equipment buffs.")]
public int MaxMP = 200;
[Description("Determines if the server should save the world if the last player exits.")]
public bool SaveWorldOnLastPlayerExit = true;
/// <summary>
/// Reads a configuration file from a given path
/// </summary>