diff --git a/TShockAPI/ConfigFile.cs b/TShockAPI/ConfigFile.cs index 7851dca7..778ef046 100755 --- a/TShockAPI/ConfigFile.cs +++ b/TShockAPI/ConfigFile.cs @@ -433,8 +433,9 @@ namespace TShockAPI [Description("The minimum password length for new user accounts. Minimum value is 4.")] public int MinimumPasswordLength = 4; + [Obsolete("This is being removed in future versions of TShock due to Terraria fixes.")] [Description("Enable the DCU. Very dangerous; can destroy world without consequence.")] public bool - VeryDangerousDoNotChangeEnableDrillContainmentUnit = false; + VeryDangerousDoNotChangeEnableDrillContainmentUnit = true; [Description("Show backup autosave messages.")] public bool ShowBackupAutosaveMessages = true; diff --git a/TShockAPI/GetDataHandlers.cs b/TShockAPI/GetDataHandlers.cs index 0de52455..2afcccbd 100755 --- a/TShockAPI/GetDataHandlers.cs +++ b/TShockAPI/GetDataHandlers.cs @@ -3043,6 +3043,9 @@ namespace TShockAPI if (type == BuffID.DrillMount && !TShock.Config.VeryDangerousDoNotChangeEnableDrillContainmentUnit) { + TShock.Log.ConsoleInfo("The configuration option disabling the drill containment unit will be removed at a future date."); + TShock.Log.ConsoleInfo("As of Terraria 1.3.0.5, this option is no longer defaulted to kick DCU users."); + TShock.Log.ConsoleInfo("This is because the DCU is now covered by TShock protection systems."); TShock.Utils.ForceKick(TShock.Players[id], "The Drill Containment Unit is disabled."); return true; } @@ -3343,6 +3346,9 @@ namespace TShockAPI if (buff == BuffID.DrillMount && !TShock.Config.VeryDangerousDoNotChangeEnableDrillContainmentUnit) { + TShock.Log.ConsoleInfo("The configuration option disabling the drill containment unit will be removed at a future date."); + TShock.Log.ConsoleInfo("As of Terraria 1.3.0.5, this option is no longer defaulted to kick DCU users."); + TShock.Log.ConsoleInfo("This is because the DCU is now covered by TShock protection systems."); TShock.Utils.ForceKick(TShock.Players[id], "The Drill Containment Unit is disabled."); return true; }