mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-11-07 17:36:07 +00:00
Compare commits
No commits in common. "master" and "20250522-284" have entirely different histories.
master
...
20250522-2
3 changed files with 1360 additions and 6 deletions
1350
MinecraftClient/ChatBots/WebSocketBot.cs
Normal file
1350
MinecraftClient/ChatBots/WebSocketBot.cs
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -346,6 +346,7 @@ namespace MinecraftClient
|
|||
if (Config.ChatBot.ScriptScheduler.Enabled) { BotLoad(new ScriptScheduler()); }
|
||||
if (Config.ChatBot.TelegramBridge.Enabled) { BotLoad(new TelegramBridge()); }
|
||||
if (Config.ChatBot.ItemsCollector.Enabled) { BotLoad(new ItemsCollector()); }
|
||||
if (Config.ChatBot.WebSocketBot.Enabled) { BotLoad(new WebSocketBot()); }
|
||||
//Add your ChatBot here by uncommenting and adapting
|
||||
//BotLoad(new ChatBots.YourBot());
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1429,16 +1429,19 @@ namespace MinecraftClient
|
|||
get { return ChatBots.TelegramBridge.Config; }
|
||||
set { ChatBots.TelegramBridge.Config = value; ChatBots.TelegramBridge.Config.OnSettingUpdate(); }
|
||||
}
|
||||
|
||||
|
||||
[TomlPrecedingComment("$ChatBot.ItemsCollector$")]
|
||||
public ChatBots.ItemsCollector.Configs ItemsCollector
|
||||
{
|
||||
get { return ChatBots.ItemsCollector.Config; }
|
||||
set
|
||||
{
|
||||
ChatBots.ItemsCollector.Config = value;
|
||||
ChatBots.ItemsCollector.Config.OnSettingUpdate();
|
||||
}
|
||||
set { ChatBots.ItemsCollector.Config = value; ChatBots.ItemsCollector.Config.OnSettingUpdate(); }
|
||||
}
|
||||
|
||||
[TomlPrecedingComment("$ChatBot.WebSocketBot$")]
|
||||
public ChatBots.WebSocketBot.Configs WebSocketBot
|
||||
{
|
||||
get { return ChatBots.WebSocketBot.Config!; }
|
||||
set { ChatBots.WebSocketBot.Config = value; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue