mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-11-07 17:36:07 +00:00
Delete MinecraftClient.ini
This commit is contained in:
parent
16c1d1fd77
commit
e4952dbee0
13 changed files with 46 additions and 362 deletions
|
|
@ -45,6 +45,10 @@ namespace MinecraftClient.ChatBots
|
|||
|
||||
public void OnSettingUpdate()
|
||||
{
|
||||
Matches_File ??= string.Empty;
|
||||
Excludes_File ??= string.Empty;
|
||||
Log_File ??= string.Empty;
|
||||
|
||||
if (!Enabled) return;
|
||||
|
||||
bool checkSuccessed = true;
|
||||
|
|
|
|||
|
|
@ -48,6 +48,8 @@ namespace MinecraftClient.ChatBots
|
|||
(Delay.min, Delay.max) = (Delay.max, Delay.min);
|
||||
LogToConsole(BotName, Translations.TryGet("bot.antiafk.swapping"));
|
||||
}
|
||||
|
||||
Command ??= string.Empty;
|
||||
}
|
||||
|
||||
public struct Range
|
||||
|
|
|
|||
|
|
@ -22,7 +22,10 @@ namespace MinecraftClient.ChatBots
|
|||
|
||||
public string configFile = @"autocraft\config.ini";
|
||||
|
||||
public void OnSettingUpdate() { }
|
||||
public void OnSettingUpdate()
|
||||
{
|
||||
configFile ??= string.Empty;
|
||||
}
|
||||
}
|
||||
|
||||
private bool waitingForMaterials = false;
|
||||
|
|
|
|||
|
|
@ -33,6 +33,8 @@ namespace MinecraftClient.ChatBots
|
|||
|
||||
public void OnSettingUpdate()
|
||||
{
|
||||
Kick_Messages_File ??= string.Empty;
|
||||
|
||||
if (Delay.min > Delay.max)
|
||||
(Delay.min, Delay.max) = (Delay.max, Delay.min);
|
||||
|
||||
|
|
|
|||
|
|
@ -31,6 +31,8 @@ namespace MinecraftClient.ChatBots
|
|||
|
||||
public void OnSettingUpdate()
|
||||
{
|
||||
Matches_File ??= string.Empty;
|
||||
|
||||
if (!Enabled) return;
|
||||
|
||||
if (!File.Exists(Matches_File))
|
||||
|
|
|
|||
|
|
@ -29,6 +29,8 @@ namespace MinecraftClient.ChatBots
|
|||
|
||||
public void OnSettingUpdate()
|
||||
{
|
||||
Log_File ??= string.Empty;
|
||||
|
||||
if (!Enabled) return;
|
||||
|
||||
string Log_File_Full = Settings.Config.AppVar.ExpandVars(Log_File);
|
||||
|
|
|
|||
|
|
@ -26,7 +26,11 @@ namespace MinecraftClient.ChatBots
|
|||
|
||||
public string FileWords_FR = "hangman-fr.txt";
|
||||
|
||||
public void OnSettingUpdate() { }
|
||||
public void OnSettingUpdate()
|
||||
{
|
||||
FileWords_EN ??= string.Empty;
|
||||
FileWords_FR ??= string.Empty;
|
||||
}
|
||||
}
|
||||
|
||||
private int vie = 0;
|
||||
|
|
|
|||
|
|
@ -36,6 +36,9 @@ namespace MinecraftClient.ChatBots
|
|||
|
||||
public void OnSettingUpdate()
|
||||
{
|
||||
DatabaseFile ??= string.Empty;
|
||||
IgnoreListFile ??= string.Empty;
|
||||
|
||||
if (!Enabled) return;
|
||||
|
||||
bool checkSuccessed = true;
|
||||
|
|
|
|||
|
|
@ -28,6 +28,8 @@ namespace MinecraftClient.ChatBots
|
|||
|
||||
public void OnSettingUpdate()
|
||||
{
|
||||
File ??= string.Empty;
|
||||
|
||||
if (Delay < 10)
|
||||
Delay = 10;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,6 +27,8 @@ namespace MinecraftClient.ChatBots
|
|||
|
||||
public void OnSettingUpdate()
|
||||
{
|
||||
Tasks_File ??= string.Empty;
|
||||
|
||||
if (!Enabled) return;
|
||||
|
||||
string Tasks_File_Full = Settings.Config.AppVar.ExpandVars(Tasks_File);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue