namespace RynthCore.Plugin.UbRythai; /// /// Persisted settings for the ub-Rythai plugin only (not RynthAi, not Decal UB-ILT). /// Parity targets: Utility Belt login chat queues and periodic command batches. /// public sealed class UbRythaiSettings { /// /// Minimum log level written to the local file logger. 0=Trace, 1=Debug, 2=Info, 3=Warn, 4=Error. /// public int LogLevel = (int)UbRythaiLogLevel.Info; /// Login-time chat lines (UtilityBelt CharacterLoginCommands-style). public bool LoginCommandsEnabled; public int LoginCommandsInitialDelayMs = 2000; public int LoginCommandsGapMs = 400; public string LoginCommandsText = ""; /// Repeating chat batches (PeriodicCommandsTool-style). public bool PeriodicCommandsEnabled; public int PeriodicIntervalSeconds = 300; public int PeriodicCommandsGapMs = 400; public string PeriodicCommandsText = ""; /// ub-IT's "/ub periodic add" list: "minutes|on|command" per line (UbRythaiPeriodicEntries). public string PeriodicEntriesText = ""; // P1: macro parity items that map cleanly onto chat-command dispatch. public bool OpenMainPackOnLogin; public bool RunChatResizeOnLogin; public string ChatResizeCommand = "/ub chat max"; public bool LogOutOnDeathEnabled; public int LogOutOnDeathCooldownSeconds = 30; public bool AutoTradeAcceptEnabled; public string AutoTradeAcceptWhitelist = ""; public string AutoTradeAcceptCommand = "/trade accept"; public int AutoTradeAcceptDebounceSeconds = 2; public bool AutoPercentConfirmationEnabled; public int AutoPercentConfirmationThreshold = 100; public string AutoPercentConfirmationCommand = "/yes"; public int AutoPercentConfirmationDebounceSeconds = 2; public bool BusyGuardrailsEnabled = true; public int BusyGuardrailsMinCommandGapMs = 250; public int BusyGuardrailsBusyStateThreshold = 0; // P2: selective chat filtering and client FPS policy. public bool ChatFilterEnabled; public bool FilterBusyLines; public bool FilterSpellFizzleLines; public bool FilterVendorSpamLines; public bool FilterMonsterDeathLines; public bool FilterAttackEvadesLines; public bool FilterDefenseEvadesLines; public bool FilterAttackResistsLines; public bool FilterDefenseResistsLines; public bool FilterSpellCastMineLines; public bool FilterSpellCastOthersLines; public bool FilterSpellExpiresLines; public bool FilterPeriodicHealingLines; public bool FilterFailedAssessLines; public bool FilterKillTaskCompleteLines; public bool ClientFpsPolicyEnabled = true; public int TargetFpsFocused = 60; public int TargetFpsBackground = 30; public bool WindowMoverEnabled; public bool WindowMoverAutoRestore; // P3: ILT gameplay systems (feature gates for incremental implementation). public bool EnableSpellcraftQueue; public bool EnableTempleGuardianTools; public bool EnableFellowshipGames; public bool EnableQuestEconomyTools; /// /// ILT feature gate mode: Auto | On | Off. /// Auto enables ILT-only features when world name matches . /// On forces ILT-only features on any shard; Off disables ILT-only features. /// public string LeaftideFeaturesMode = "Auto"; /// /// Comma/semicolon/newline-separated world names used by Auto mode (case-insensitive exact match). /// public string LeaftideAutoWorldNames = "InfiniteLeaftide,Conquest"; /// /// Extra safety gate for banking when mode is manually forced On. Auto mode allows banking automatically on matched worlds. /// public bool LeaftideManualAllowBanking; /// UB-ILT XPMeter parity: ImGui overlay tracking XP/LUM rates via player PropertyInt64 reads. public bool XpMeterOverlayEnabled; public bool XpMeterShowTotals = true; public bool XpMeterShowTime = true; /// UB-ILT MiniRemote parity: quick portal gem buttons (inventory scan + UseObject). public bool MiniRemotePortalGemsEnabled; /// UB-ILT TempleGuardianHelper parity: auto-translate incoming guardian tells using the phrasebook. public bool TempleGuardianAutoChat; /// UB-ILT TempleGuardianHelper parity: optional vendor/fillcomps/buyall pump (best-effort; requires UB-style chat commands). public bool TempleGuardianAutoHandIn; /// Enable /bank refresh + transfer helpers in ub-Rythai when ILT banking gate allows it. public bool BankToolsEnabled = true; /// Issue /bank once shortly after login if banking tools are active. public bool BankAutoRefreshOnLogin = true; /// Enable periodic auto-transfer from parsed bank balances. public bool BankAutoTransferEnabled; public string BankAutoTransferTarget = ""; public int BankAutoTransferPercent = 10; public int BankAutoTransferIntervalMinutes = 15; public bool BankAutoTransferPyreals; public bool BankAutoTransferLuminance; public bool BankAutoTransferLegendaryKeys; public bool BankAutoTransferMythicalKeys; public bool BankAutoTransferEnlightenedCoins; public bool BankAutoTransferWeaklyEnlightenedCoins; // P4: deferred or host-dependent surfaces. public bool EnableVhsHotkeyBridge; public bool EnableDecalHudCompat; public bool EnableLegacyAutoPackImport; }