Add WorldTileProvider to tshock config

This allows the tshock tile providers to be switched via the config instead of cli args via tsapi, for environments where the command line args cannot be changed.
This commit is contained in:
Luke 2022-11-12 07:28:26 +10:00
parent 5d84192624
commit 0f46b1255a
3 changed files with 18 additions and 0 deletions

View file

@ -55,6 +55,10 @@ namespace TShockAPI.Configuration
[Description("Allows stacks in chests to go beyond the stack limit during world loading.")]
public bool IgnoreChestStacksOnLoad = false;
/// <summary>Allows changing of the default world tile provider.</summary>
[Description("Allows changing of the default world tile provider.")]
public string WorldTileProvider = "default";
#endregion