Merge pull request #1528 from Pryaxis/rcs
Revert "Remove superadmin customization config options"
This commit is contained in:
commit
27ac4c6318
2 changed files with 17 additions and 5 deletions
|
|
@ -78,6 +78,18 @@ namespace TShockAPI
|
|||
[Description("Disables any building / placing of blocks.")]
|
||||
public bool DisableBuild;
|
||||
|
||||
/// <summary>SuperAdminChatRGB - The chat color for the superadmin group.</summary>
|
||||
[Description("#.#.# = Red/Blue/Green - RGB Colors for the Admin Chat Color. Max value: 255.")]
|
||||
public int[] SuperAdminChatRGB = { 255, 255, 255 };
|
||||
|
||||
/// <summary>SuperAdminChatPrefix - The superadmin chat prefix.</summary>
|
||||
[Description("Super admin group chat prefix.")]
|
||||
public string SuperAdminChatPrefix = "(Super Admin) ";
|
||||
|
||||
/// <summary>SuperAdminChatSuffix - The superadmin chat suffix.</summary>
|
||||
[Description("Super admin group chat suffix.")]
|
||||
public string SuperAdminChatSuffix = "";
|
||||
|
||||
/// <summary>BackupInterval - The backup frequency in minutes.</summary>
|
||||
[Description("Backup frequency in minutes. So, a value of 60 = 60 minutes. Backups are stored in the \\tshock\\backups folder.")]
|
||||
public int BackupInterval;
|
||||
|
|
|
|||
|
|
@ -340,11 +340,11 @@ namespace TShockAPI
|
|||
public SuperAdminGroup()
|
||||
: base("superadmin")
|
||||
{
|
||||
R = (byte)255;
|
||||
G = (byte)255;
|
||||
B = (byte)255;
|
||||
Prefix = "(Super Admin) ";
|
||||
Suffix = "";
|
||||
R = (byte)TShock.Config.SuperAdminChatRGB[0];
|
||||
G = (byte)TShock.Config.SuperAdminChatRGB[1];
|
||||
B = (byte)TShock.Config.SuperAdminChatRGB[2];
|
||||
Prefix = TShock.Config.SuperAdminChatPrefix;
|
||||
Suffix = TShock.Config.SuperAdminChatSuffix;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue