Add support for disabling IP bans by default
Some proxy users find it irritating when their proxy IP is banned by the ban command. This helps those users find justice in the world.
This commit is contained in:
parent
70d4bb9503
commit
b17c4cfc13
3 changed files with 10 additions and 0 deletions
|
|
@ -312,6 +312,10 @@ namespace TShockAPI.Configuration
|
|||
[Description("The reason given if banning a mediumcore player on death.")]
|
||||
public string MediumcoreBanReason = "Death results in a ban";
|
||||
|
||||
/// <summary>Disbales IP bans by default, if no arguments are passed to the ban command.</summary>
|
||||
[Description("Disbales IP bans by default, if no arguments are passed to the ban command.")]
|
||||
public bool DisableDefaultIPBan;
|
||||
|
||||
/// <summary>Enable or disable the whitelist based on IP addresses in the whitelist.txt file.</summary>
|
||||
[Description("Enable or disable the whitelist based on IP addresses in the whitelist.txt file.")]
|
||||
public bool EnableWhitelist;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue