Add customizable server chat name and color

This commit is contained in:
John Gross
2019-04-08 19:46:58 -07:00
parent 2c47cfd60e
commit 7d8838c0ee
6 changed files with 37 additions and 7 deletions

View File

@@ -5,6 +5,7 @@ using System.Windows;
using System.Xml.Serialization;
using Newtonsoft.Json;
using NLog;
using VRage.Game;
namespace Torch.Server
{
@@ -60,6 +61,10 @@ namespace Torch.Server
/// <inheritdoc />
public List<string> Plugins { get; set; } = new List<string>();
public string ChatName { get; set; } = "Server";
public string ChatColor { get; set; } = "Red";
public bool EnableWhitelist { get; set; } = false;
public HashSet<ulong> Whitelist { get; set; } = new HashSet<ulong>();