Removed all obsolete methods from TShock
This commit is contained in:
parent
a8b4bf1d95
commit
a0c4864567
9 changed files with 1 additions and 263 deletions
|
|
@ -135,10 +135,6 @@ namespace TShockAPI
|
|||
/// <summary>UseServerName - Whether or not to use ServerName in place of the world name.</summary>
|
||||
[Description("Sends ServerName in place of the world name to clients.")]
|
||||
public bool UseServerName = false;
|
||||
/// <summary>MasterServer - Not implemented.</summary>
|
||||
[Obsolete("Not implemented")]
|
||||
[Description("Not implemented.")]
|
||||
public string MasterServer = "127.0.0.1";
|
||||
|
||||
/// <summary>StorageType - The type of SQL database to use when storing data (either "sqlite" or "mysql").</summary>
|
||||
[Description("Valid types are \"sqlite\" and \"mysql\".")]
|
||||
|
|
@ -164,11 +160,6 @@ namespace TShockAPI
|
|||
[Description("The reason given when kicking a mediumcore player on death if KickOnMediumcoreDeath is set to true.")]
|
||||
public string MediumcoreKickReason = "Death results in a kick";
|
||||
|
||||
/// <summary>EnableDNSHostResolution - Not implemented.</summary>
|
||||
[Obsolete("Not implemented")]
|
||||
[Description("(Not Implemented) Enables DNS resolution of incoming connections with GetGroupForIPExpensive.")]
|
||||
public bool EnableDNSHostResolution;
|
||||
|
||||
/// <summary>EnableIPBans - Whether or not to kick players on join that match a banned IP address.</summary>
|
||||
[Description("Enables kicking of banned users by matching their IP Address.")]
|
||||
public bool EnableIPBans = true;
|
||||
|
|
@ -202,11 +193,6 @@ namespace TShockAPI
|
|||
[Description("The hash algorithm used to encrypt user passwords. Valid types: \"sha512\", \"sha256\" and \"md5\". Append with \"-xp\" for the xp supported algorithms.")]
|
||||
public string HashAlgorithm = "sha512";
|
||||
|
||||
/// <summary>BufferPackets - No longer used.</summary>
|
||||
[Obsolete("No longer used")]
|
||||
[Description("(No longer used) Buffers up the packets and sends them out at the end of each frame.")]
|
||||
public bool BufferPackets = true;
|
||||
|
||||
/// <summary>ServerFullReason - The reason given when kicking players when the server is full.</summary>
|
||||
[Description("String that is used when kicking people when the server is full.")]
|
||||
public string ServerFullReason = "Server is full";
|
||||
|
|
@ -467,16 +453,6 @@ namespace TShockAPI
|
|||
[Description("Disables a player if this number of tiles is painted within 1 second.")]
|
||||
public int TilePaintThreshold = 15;
|
||||
|
||||
/// <summary>EnableMaxBytesInBuffer - Not implemented.</summary>
|
||||
[Obsolete("Not implemented")]
|
||||
[Description("(Not implemented) Enables max packet bufferer size.")]
|
||||
public bool EnableMaxBytesInBuffer = false;
|
||||
|
||||
/// <summary>MaxBytesInBuffer - Not implemented.</summary>
|
||||
[Obsolete("Not implemented")]
|
||||
[Description("(Not implemented) Number of bytes in the packet buffer before we disconnect the player.")]
|
||||
public int MaxBytesInBuffer = 5242880;
|
||||
|
||||
/// <summary>ForceHalloween - Forces Halloween-only events to occur all year.</summary>
|
||||
[Description("Forces your world to be in Halloween mode regardless of the data.")]
|
||||
public bool ForceHalloween = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue