Allow users to disable hardmode from occurring.
This commit is contained in:
parent
b497183423
commit
c8c2307935
2 changed files with 10 additions and 0 deletions
|
|
@ -223,6 +223,9 @@ namespace TShockAPI
|
|||
[Description("Kicks banned users by their IP")]
|
||||
public bool EnableIPBans = true;
|
||||
|
||||
[Description("Disables hardmode, can't never be activated. Overrides /starthardmode")]
|
||||
public bool DisableHardmode = false;
|
||||
|
||||
public static ConfigFile Read(string path)
|
||||
{
|
||||
if (!File.Exists(path))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue