minor fix

This commit is contained in:
erik 2025-05-08 19:26:49 +00:00
parent 60d06341dd
commit 2e12766f8b

View file

@ -1,3 +1,11 @@
/// <summary>
/// Handles server-sent commands via WebSocket.
/// </summary>
private void HandleServerCommand(CommandEnvelope env)
{
DispatchChatToBoxWithPluginIntercept(env.Command);
CoreManager.Current.Actions.InvokeChatParser($"/a Executed '{env.Command}' from Mosswart Overlord");
}
using System;
using System.Collections.Generic;
using System.Net;
@ -18,6 +26,7 @@ namespace MosswartMassacre
// Chat and command handling
private ChatManager chatManager;
private IWebSocketService _wsService;
private ICommandHandler _commandHandler;
public static bool RareMetaEnabled { get; set; } = true;
public static bool RemoteCommandsEnabled { get; set; } = false;
public static bool HttpServerEnabled { get; set; } = false;