chat message config

This commit is contained in:
Juzlus 2025-11-19 02:52:44 +01:00
parent 72e2910a68
commit 711350f50c
6 changed files with 178 additions and 12 deletions

View file

@ -87,6 +87,7 @@ namespace src.utils
public bool DisableSkillsOnRoundEnd { get; set; }
public LanguageSystem LanguageSystem { get; set; }
public HtmlHudCustomisation HtmlHudCustomisation { get; set; }
public ChatMessage ChatMessage { get; set; }
public NormalCommands NormalCommands { get; set; }
public VotingCommands VotingCommands { get; set; }
@ -143,6 +144,18 @@ namespace src.utils
WSADMenuControllsLineColor3 = "green",
};
ChatMessage = new ChatMessage
{
MaxWidth = 1280,
LineSymbol = '―',
LineColor = "\x04",
LineShow = true,
InfoPlayerNameColor = "\x02",
InfoSkillColor = "\x06",
InfoMessageShow = true,
TagFormat = "\x02◢◆◤ {TAG} ◥◆◣",
};
NormalCommands = new NormalCommands
{
SetSkillCommand = new NormalCommand("ustawskill, ustaw_skill, setskill, set_skill, definirhabilidade, configurarhabilidade, 设置技能, 配置技能", "@jRandmosSkills/admin"),
@ -168,6 +181,18 @@ namespace src.utils
}
}
public class ChatMessage
{
public required float MaxWidth { get; set; }
public required char LineSymbol { get; set; }
public required string LineColor { get; set; }
public required bool LineShow { get; set; }
public required string InfoPlayerNameColor { get; set; }
public required string InfoSkillColor { get; set; }
public required bool InfoMessageShow { get; set; }
public required string TagFormat { get; set; }
}
public class HtmlHudCustomisation
{
public required string HeaderLineColor { get; set; }