Clean up /mm help commands
- Remove dead no-op commands (harmonyraw, debugtaper) - Remove duplicate command (initgui, same as gui) - Hide debug/test commands from help output (vtanktest, decalstatus, decaldebug, testprismatic, testdeath, testtaper, debugupdate) - Clean up descriptions for consistency Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
c30704aaa7
commit
a4d2108b3a
2 changed files with 18 additions and 37 deletions
|
|
@ -925,20 +925,20 @@ namespace MosswartMassacre
|
|||
{
|
||||
WriteToChat("Usage: /mm ws <enable|disable>");
|
||||
}
|
||||
}, "Websocket streaming enable|disable");
|
||||
}, "Enable/disable WebSocket streaming");
|
||||
|
||||
_commandRouter.Register("report", args =>
|
||||
{
|
||||
TimeSpan elapsed = DateTime.Now - _killTracker.StatsStartTime;
|
||||
string reportMessage = $"Total Kills: {_killTracker.TotalKills}, Kills per Hour: {_killTracker.KillsPerHour:F2}, Elapsed Time: {elapsed:dd\\.hh\\:mm\\:ss}, Rares Found: {_rareTracker?.RareCount ?? 0}, Session Deaths: {_killTracker.SessionDeaths}, Total Deaths: {_killTracker.TotalDeaths}";
|
||||
WriteToChat(reportMessage);
|
||||
}, "Show current stats");
|
||||
}, "Show kill/death/rare stats");
|
||||
|
||||
_commandRouter.Register("getmetastate", args =>
|
||||
{
|
||||
string metaState = VtankControl.VtGetMetaState();
|
||||
WriteToChat(metaState);
|
||||
}, "Gets the current metastate");
|
||||
}, "Show current VTank meta state");
|
||||
|
||||
_commandRouter.Register("loc", args =>
|
||||
{
|
||||
|
|
@ -950,7 +950,7 @@ namespace MosswartMassacre
|
|||
_commandRouter.Register("reset", args =>
|
||||
{
|
||||
RestartStats();
|
||||
}, "Reset all counters");
|
||||
}, "Reset kill/rare counters");
|
||||
|
||||
_commandRouter.Register("meta", args =>
|
||||
{
|
||||
|
|
@ -1045,7 +1045,7 @@ namespace MosswartMassacre
|
|||
{
|
||||
WriteToChat($"VTank test error: {ex.Message}");
|
||||
}
|
||||
}, "Test VTank interface");
|
||||
}, "");
|
||||
|
||||
_commandRouter.Register("decalstatus", args =>
|
||||
{
|
||||
|
|
@ -1074,7 +1074,7 @@ namespace MosswartMassacre
|
|||
{
|
||||
WriteToChat($"Status check error: {ex.Message}");
|
||||
}
|
||||
}, "Check Harmony patch status");
|
||||
}, "");
|
||||
|
||||
_commandRouter.Register("decaldebug", args =>
|
||||
{
|
||||
|
|
@ -1099,9 +1099,7 @@ namespace MosswartMassacre
|
|||
{
|
||||
WriteToChat("Usage: /mm decaldebug <enable|disable>");
|
||||
}
|
||||
}, "Enable/disable plugin message debug output");
|
||||
|
||||
_commandRouter.Register("harmonyraw", args => { }, "");
|
||||
}, "");
|
||||
|
||||
_commandRouter.Register("gui", args =>
|
||||
{
|
||||
|
|
@ -1116,22 +1114,7 @@ namespace MosswartMassacre
|
|||
{
|
||||
WriteToChat($"GUI initialization error: {ex.Message}");
|
||||
}
|
||||
}, "Manually initialize/reinitialize GUI");
|
||||
|
||||
_commandRouter.Register("initgui", args =>
|
||||
{
|
||||
try
|
||||
{
|
||||
WriteToChat("Attempting to manually initialize GUI...");
|
||||
ViewManager.ViewDestroy();
|
||||
ViewManager.ViewInit();
|
||||
WriteToChat("GUI initialization attempt completed.");
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
WriteToChat($"GUI initialization error: {ex.Message}");
|
||||
}
|
||||
}, "");
|
||||
}, "Reinitialize GUI");
|
||||
|
||||
_commandRouter.Register("testprismatic", args =>
|
||||
{
|
||||
|
|
@ -1182,7 +1165,7 @@ namespace MosswartMassacre
|
|||
{
|
||||
WriteToChat($"Search error: {ex.Message}");
|
||||
}
|
||||
}, "Test Prismatic Taper detection and icon lookup");
|
||||
}, "");
|
||||
|
||||
_commandRouter.Register("deathstats", args =>
|
||||
{
|
||||
|
|
@ -1208,7 +1191,7 @@ namespace MosswartMassacre
|
|||
{
|
||||
WriteToChat($"Death stats error: {ex.Message}");
|
||||
}
|
||||
}, "Show current death tracking statistics");
|
||||
}, "Show death tracking stats");
|
||||
|
||||
_commandRouter.Register("testdeath", args =>
|
||||
{
|
||||
|
|
@ -1233,7 +1216,7 @@ namespace MosswartMassacre
|
|||
{
|
||||
WriteToChat($"Test death error: {ex.Message}");
|
||||
}
|
||||
}, "Test death tracking variables");
|
||||
}, "");
|
||||
|
||||
_commandRouter.Register("testtaper", args =>
|
||||
{
|
||||
|
|
@ -1289,9 +1272,7 @@ namespace MosswartMassacre
|
|||
{
|
||||
WriteToChat($"Taper test error: {ex.Message}");
|
||||
}
|
||||
}, "Test cached Prismatic Taper tracking");
|
||||
|
||||
_commandRouter.Register("debugtaper", args => { }, "");
|
||||
}, "");
|
||||
|
||||
_commandRouter.Register("finditem", args =>
|
||||
{
|
||||
|
|
@ -1320,7 +1301,7 @@ namespace MosswartMassacre
|
|||
WriteToChat("Usage: /mm finditem \"Item Name\"");
|
||||
WriteToChat("Example: /mm finditem \"Prismatic Taper\"");
|
||||
}
|
||||
}, "Find item in inventory by name");
|
||||
}, "Find item in inventory");
|
||||
|
||||
_commandRouter.Register("checkforupdate", args =>
|
||||
{
|
||||
|
|
@ -1344,12 +1325,12 @@ namespace MosswartMassacre
|
|||
{
|
||||
await UpdateManager.DownloadAndInstallUpdateAsync();
|
||||
});
|
||||
}, "Download and install update");
|
||||
}, "Download and install latest update");
|
||||
|
||||
_commandRouter.Register("debugupdate", args =>
|
||||
{
|
||||
Views.VVSTabbedMainView.DebugUpdateControls();
|
||||
}, "Debug update UI controls");
|
||||
}, "");
|
||||
|
||||
_commandRouter.Register("sendinventory", args =>
|
||||
{
|
||||
|
|
@ -1357,7 +1338,7 @@ namespace MosswartMassacre
|
|||
_inventoryLogger.ForceInventoryUpload();
|
||||
else
|
||||
WriteToChat("[INV] Inventory system not initialized");
|
||||
}, "Force inventory upload with ID requests");
|
||||
}, "Force full inventory upload");
|
||||
|
||||
_commandRouter.Register("refreshquests", args =>
|
||||
{
|
||||
|
|
@ -1370,7 +1351,7 @@ namespace MosswartMassacre
|
|||
{
|
||||
WriteToChat($"[QUEST] Refresh failed: {ex.Message}");
|
||||
}
|
||||
}, "Force quest data refresh for Flag Tracker");
|
||||
}, "Refresh quest data");
|
||||
|
||||
_commandRouter.Register("queststatus", args =>
|
||||
{
|
||||
|
|
@ -1404,7 +1385,7 @@ namespace MosswartMassacre
|
|||
{
|
||||
WriteToChat($"[QUEST] Status check failed: {ex.Message}");
|
||||
}
|
||||
}, "Show quest streaming status and diagnostics");
|
||||
}, "Show quest streaming status");
|
||||
|
||||
_commandRouter.Register("verbose", args =>
|
||||
{
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue