Added command for reloading settings, chat bots, listing chat bots and unloading a chat bot manually by name.

This commit is contained in:
Milutinke 2022-09-25 16:00:43 +02:00
parent ef79ca1fe8
commit 9b407dbdad
7 changed files with 198 additions and 46 deletions

View file

@ -101,6 +101,11 @@ namespace MinecraftClient
/// </summary>
public virtual void Initialize() { }
/// <summary>
/// This method is called when the bot is being unloaded, you can use it to free up resources like DB connections
/// </summary>
public virtual void OnUnload() { }
/// <summary>
/// Called after the server has been joined successfully and chat messages are able to be sent.
/// This method is called again after reconnecting to the server, whereas Initialize() is called only once.