Added config option for Server Full kick reason.
Added config option to display group names in chat
This commit is contained in:
parent
2a20af352a
commit
3fcb95f9a4
2 changed files with 16 additions and 2 deletions
|
|
@ -94,6 +94,7 @@ namespace TShockAPI
|
|||
public string HardcoreBanReason = "Death results in a ban";
|
||||
public string HardcoreKickReason = "Death results in a kick";
|
||||
public string ProjectileAbuseReason = "Projectile abuse";
|
||||
|
||||
|
||||
public bool EnableDNSHostResolution;
|
||||
|
||||
|
|
@ -110,8 +111,21 @@ namespace TShockAPI
|
|||
/// </summary>
|
||||
public string HashAlgorithm = "sha512";
|
||||
|
||||
/// <summary>
|
||||
/// Buffers up the packets and sends them out at the end of each frame
|
||||
/// </summary>
|
||||
public bool BufferPackets = false;
|
||||
|
||||
/// <summary>
|
||||
/// Display the users group when they chat.
|
||||
/// </summary>
|
||||
public bool ChatDisplayGroup = false;
|
||||
|
||||
/// <summary>
|
||||
/// String that is used when kicking people when the server is full.
|
||||
/// </summary>
|
||||
public string ServerFullReason = "Server is full";
|
||||
|
||||
public static ConfigFile Read(string path)
|
||||
{
|
||||
if (!File.Exists(path))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue