using System.Collections.Generic; using Dalamud.Configuration; using Dalamud.Plugin; using System; namespace DiscordToXIV; [Serializable] public class Configuration : IPluginConfiguration { public int Version { get; set; } = 0; public Dictionary ChannelMappings { get; set; } = new Dictionary(); public bool HideUsernameWhenNicknameExists { get; set; } = false; public bool ShowOnlyKnownChannels { get; set; } = false; public bool AdjustEmoteText { get; set; } = true; public bool AdjustMentions { get; set; } = true; public bool HideWelcomeMessage { get; set; } = false; public bool HideAttachmentUrls { get; set; } = false; public bool HideStickerUrls { get; set; } = false; public string DiscordAuthToken { get; set; } = ""; public void Save() { Plugin.PluginInterface.SavePluginConfig(this); } }