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()
|
public void OnSettingUpdate()
|
||||||
{
|
{
|
||||||
|
Matches_File ??= string.Empty;
|
||||||
|
Excludes_File ??= string.Empty;
|
||||||
|
Log_File ??= string.Empty;
|
||||||
|
|
||||||
if (!Enabled) return;
|
if (!Enabled) return;
|
||||||
|
|
||||||
bool checkSuccessed = true;
|
bool checkSuccessed = true;
|
||||||
|
|
|
||||||
|
|
@ -48,6 +48,8 @@ namespace MinecraftClient.ChatBots
|
||||||
(Delay.min, Delay.max) = (Delay.max, Delay.min);
|
(Delay.min, Delay.max) = (Delay.max, Delay.min);
|
||||||
LogToConsole(BotName, Translations.TryGet("bot.antiafk.swapping"));
|
LogToConsole(BotName, Translations.TryGet("bot.antiafk.swapping"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Command ??= string.Empty;
|
||||||
}
|
}
|
||||||
|
|
||||||
public struct Range
|
public struct Range
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,10 @@ namespace MinecraftClient.ChatBots
|
||||||
|
|
||||||
public string configFile = @"autocraft\config.ini";
|
public string configFile = @"autocraft\config.ini";
|
||||||
|
|
||||||
public void OnSettingUpdate() { }
|
public void OnSettingUpdate()
|
||||||
|
{
|
||||||
|
configFile ??= string.Empty;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private bool waitingForMaterials = false;
|
private bool waitingForMaterials = false;
|
||||||
|
|
|
||||||
|
|
@ -33,6 +33,8 @@ namespace MinecraftClient.ChatBots
|
||||||
|
|
||||||
public void OnSettingUpdate()
|
public void OnSettingUpdate()
|
||||||
{
|
{
|
||||||
|
Kick_Messages_File ??= string.Empty;
|
||||||
|
|
||||||
if (Delay.min > Delay.max)
|
if (Delay.min > Delay.max)
|
||||||
(Delay.min, Delay.max) = (Delay.max, Delay.min);
|
(Delay.min, Delay.max) = (Delay.max, Delay.min);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -31,6 +31,8 @@ namespace MinecraftClient.ChatBots
|
||||||
|
|
||||||
public void OnSettingUpdate()
|
public void OnSettingUpdate()
|
||||||
{
|
{
|
||||||
|
Matches_File ??= string.Empty;
|
||||||
|
|
||||||
if (!Enabled) return;
|
if (!Enabled) return;
|
||||||
|
|
||||||
if (!File.Exists(Matches_File))
|
if (!File.Exists(Matches_File))
|
||||||
|
|
|
||||||
|
|
@ -29,6 +29,8 @@ namespace MinecraftClient.ChatBots
|
||||||
|
|
||||||
public void OnSettingUpdate()
|
public void OnSettingUpdate()
|
||||||
{
|
{
|
||||||
|
Log_File ??= string.Empty;
|
||||||
|
|
||||||
if (!Enabled) return;
|
if (!Enabled) return;
|
||||||
|
|
||||||
string Log_File_Full = Settings.Config.AppVar.ExpandVars(Log_File);
|
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 string FileWords_FR = "hangman-fr.txt";
|
||||||
|
|
||||||
public void OnSettingUpdate() { }
|
public void OnSettingUpdate()
|
||||||
|
{
|
||||||
|
FileWords_EN ??= string.Empty;
|
||||||
|
FileWords_FR ??= string.Empty;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private int vie = 0;
|
private int vie = 0;
|
||||||
|
|
|
||||||
|
|
@ -36,6 +36,9 @@ namespace MinecraftClient.ChatBots
|
||||||
|
|
||||||
public void OnSettingUpdate()
|
public void OnSettingUpdate()
|
||||||
{
|
{
|
||||||
|
DatabaseFile ??= string.Empty;
|
||||||
|
IgnoreListFile ??= string.Empty;
|
||||||
|
|
||||||
if (!Enabled) return;
|
if (!Enabled) return;
|
||||||
|
|
||||||
bool checkSuccessed = true;
|
bool checkSuccessed = true;
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,8 @@ namespace MinecraftClient.ChatBots
|
||||||
|
|
||||||
public void OnSettingUpdate()
|
public void OnSettingUpdate()
|
||||||
{
|
{
|
||||||
|
File ??= string.Empty;
|
||||||
|
|
||||||
if (Delay < 10)
|
if (Delay < 10)
|
||||||
Delay = 10;
|
Delay = 10;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,8 @@ namespace MinecraftClient.ChatBots
|
||||||
|
|
||||||
public void OnSettingUpdate()
|
public void OnSettingUpdate()
|
||||||
{
|
{
|
||||||
|
Tasks_File ??= string.Empty;
|
||||||
|
|
||||||
if (!Enabled) return;
|
if (!Enabled) return;
|
||||||
|
|
||||||
string Tasks_File_Full = Settings.Config.AppVar.ExpandVars(Tasks_File);
|
string Tasks_File_Full = Settings.Config.AppVar.ExpandVars(Tasks_File);
|
||||||
|
|
|
||||||
56
MinecraftClient/DefaultConfigResource.Designer.cs
generated
56
MinecraftClient/DefaultConfigResource.Designer.cs
generated
|
|
@ -22,7 +22,7 @@ namespace MinecraftClient {
|
||||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||||
public class DefaultConfigResource {
|
internal class DefaultConfigResource {
|
||||||
|
|
||||||
private static global::System.Resources.ResourceManager resourceMan;
|
private static global::System.Resources.ResourceManager resourceMan;
|
||||||
|
|
||||||
|
|
@ -36,7 +36,7 @@ namespace MinecraftClient {
|
||||||
/// Returns the cached ResourceManager instance used by this class.
|
/// Returns the cached ResourceManager instance used by this class.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||||
public static global::System.Resources.ResourceManager ResourceManager {
|
internal static global::System.Resources.ResourceManager ResourceManager {
|
||||||
get {
|
get {
|
||||||
if (object.ReferenceEquals(resourceMan, null)) {
|
if (object.ReferenceEquals(resourceMan, null)) {
|
||||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("MinecraftClient.DefaultConfigResource", typeof(DefaultConfigResource).Assembly);
|
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("MinecraftClient.DefaultConfigResource", typeof(DefaultConfigResource).Assembly);
|
||||||
|
|
@ -51,7 +51,7 @@ namespace MinecraftClient {
|
||||||
/// resource lookups using this strongly typed resource class.
|
/// resource lookups using this strongly typed resource class.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||||
public static global::System.Globalization.CultureInfo Culture {
|
internal static global::System.Globalization.CultureInfo Culture {
|
||||||
get {
|
get {
|
||||||
return resourceCulture;
|
return resourceCulture;
|
||||||
}
|
}
|
||||||
|
|
@ -75,7 +75,7 @@ namespace MinecraftClient {
|
||||||
///║║ 5 ║ 6 ║ 7 ║ 8 ║ 9 ║10 ║11 ║12 ║13 ║║
|
///║║ 5 ║ 6 ║ 7 ║ 8 ║ 9 ║10 ║11 ║12 ║13 ║║
|
||||||
///║╠═══╬═══╬═══╬═══╬══ [rest of string was truncated]";.
|
///║╠═══╬═══╬═══╬═══╬══ [rest of string was truncated]";.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static string ContainerType_BrewingStand {
|
internal static string ContainerType_BrewingStand {
|
||||||
get {
|
get {
|
||||||
return ResourceManager.GetString("ContainerType_BrewingStand", resourceCulture);
|
return ResourceManager.GetString("ContainerType_BrewingStand", resourceCulture);
|
||||||
}
|
}
|
||||||
|
|
@ -96,7 +96,7 @@ namespace MinecraftClient {
|
||||||
///║║10 ║11 ║12 ║13 ║14 ║15 ║16 ║17 ║18 ║║
|
///║║10 ║11 ║12 ║13 ║14 ║15 ║16 ║17 ║18 ║║
|
||||||
///║╠═══╬═══╬═══╬═══╬══ [rest of string was truncated]";.
|
///║╠═══╬═══╬═══╬═══╬══ [rest of string was truncated]";.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static string ContainerType_Crafting {
|
internal static string ContainerType_Crafting {
|
||||||
get {
|
get {
|
||||||
return ResourceManager.GetString("ContainerType_Crafting", resourceCulture);
|
return ResourceManager.GetString("ContainerType_Crafting", resourceCulture);
|
||||||
}
|
}
|
||||||
|
|
@ -117,7 +117,7 @@ namespace MinecraftClient {
|
||||||
///║╔═══╦═══╦═══╦═══╦═══╦═══╦═══╦═══╦═══╗║
|
///║╔═══╦═══╦═══╦═══╦═══╦═══╦═══╦═══╦═══╗║
|
||||||
///║║ 3 ║ 4 ║ 5 ║ 6 ║ 7 [rest of string was truncated]";.
|
///║║ 3 ║ 4 ║ 5 ║ 6 ║ 7 [rest of string was truncated]";.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static string ContainerType_Furnace {
|
internal static string ContainerType_Furnace {
|
||||||
get {
|
get {
|
||||||
return ResourceManager.GetString("ContainerType_Furnace", resourceCulture);
|
return ResourceManager.GetString("ContainerType_Furnace", resourceCulture);
|
||||||
}
|
}
|
||||||
|
|
@ -138,7 +138,7 @@ namespace MinecraftClient {
|
||||||
///║║ 9 ║10 ║11 ║12 ║13 ║14 ║15 ║16 ║17 ║║
|
///║║ 9 ║10 ║11 ║12 ║13 ║14 ║15 ║16 ║17 ║║
|
||||||
///║╠═══╬═══╬═══╬═══╬══ [rest of string was truncated]";.
|
///║╠═══╬═══╬═══╬═══╬══ [rest of string was truncated]";.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static string ContainerType_Generic_3x3 {
|
internal static string ContainerType_Generic_3x3 {
|
||||||
get {
|
get {
|
||||||
return ResourceManager.GetString("ContainerType_Generic_3x3", resourceCulture);
|
return ResourceManager.GetString("ContainerType_Generic_3x3", resourceCulture);
|
||||||
}
|
}
|
||||||
|
|
@ -159,7 +159,7 @@ namespace MinecraftClient {
|
||||||
///║║27 ║28 ║29 ║30 ║31 ║32 ║33 ║34 ║35 ║║
|
///║║27 ║28 ║29 ║30 ║31 ║32 ║33 ║34 ║35 ║║
|
||||||
///║╠═══╬═══╬═══╬═══╬══ [rest of string was truncated]";.
|
///║╠═══╬═══╬═══╬═══╬══ [rest of string was truncated]";.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static string ContainerType_Generic_9x3 {
|
internal static string ContainerType_Generic_9x3 {
|
||||||
get {
|
get {
|
||||||
return ResourceManager.GetString("ContainerType_Generic_9x3", resourceCulture);
|
return ResourceManager.GetString("ContainerType_Generic_9x3", resourceCulture);
|
||||||
}
|
}
|
||||||
|
|
@ -180,7 +180,7 @@ namespace MinecraftClient {
|
||||||
///║║36 ║37 ║38 ║39 ║40 ║41 ║42 ║43 ║44 ║║
|
///║║36 ║37 ║38 ║39 ║40 ║41 ║42 ║43 ║44 ║║
|
||||||
///║╠═══╬═══╬═══╬═══╬══ [rest of string was truncated]";.
|
///║╠═══╬═══╬═══╬═══╬══ [rest of string was truncated]";.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static string ContainerType_Generic_9x6 {
|
internal static string ContainerType_Generic_9x6 {
|
||||||
get {
|
get {
|
||||||
return ResourceManager.GetString("ContainerType_Generic_9x6", resourceCulture);
|
return ResourceManager.GetString("ContainerType_Generic_9x6", resourceCulture);
|
||||||
}
|
}
|
||||||
|
|
@ -201,7 +201,7 @@ namespace MinecraftClient {
|
||||||
///║ ╚══╝ ╚══╝ ║
|
///║ ╚══╝ ╚══╝ ║
|
||||||
///║ [rest of string was truncated]";.
|
///║ [rest of string was truncated]";.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static string ContainerType_Grindstone {
|
internal static string ContainerType_Grindstone {
|
||||||
get {
|
get {
|
||||||
return ResourceManager.GetString("ContainerType_Grindstone", resourceCulture);
|
return ResourceManager.GetString("ContainerType_Grindstone", resourceCulture);
|
||||||
}
|
}
|
||||||
|
|
@ -222,7 +222,7 @@ namespace MinecraftClient {
|
||||||
///║║23 ║24 ║25 ║26 ║27 ║28 ║29 ║30 ║31 ║║
|
///║║23 ║24 ║25 ║26 ║27 ║28 ║29 ║30 ║31 ║║
|
||||||
///║╚═══╩═══╩═══╩═══╩══ [rest of string was truncated]";.
|
///║╚═══╩═══╩═══╩═══╩══ [rest of string was truncated]";.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static string ContainerType_Hopper {
|
internal static string ContainerType_Hopper {
|
||||||
get {
|
get {
|
||||||
return ResourceManager.GetString("ContainerType_Hopper", resourceCulture);
|
return ResourceManager.GetString("ContainerType_Hopper", resourceCulture);
|
||||||
}
|
}
|
||||||
|
|
@ -243,32 +243,12 @@ namespace MinecraftClient {
|
||||||
///║║ 9 ║10 ║11 ║12 ║13 ║14 ║15 ║16 ║17 ║║
|
///║║ 9 ║10 ║11 ║12 ║13 ║14 ║15 ║16 ║17 ║║
|
||||||
///║╠═══╬═══╬═══╬═══╬══ [rest of string was truncated]";.
|
///║╠═══╬═══╬═══╬═══╬══ [rest of string was truncated]";.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static string ContainerType_PlayerInventory {
|
internal static string ContainerType_PlayerInventory {
|
||||||
get {
|
get {
|
||||||
return ResourceManager.GetString("ContainerType_PlayerInventory", resourceCulture);
|
return ResourceManager.GetString("ContainerType_PlayerInventory", resourceCulture);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Looks up a localized string similar to # Startup Config File
|
|
||||||
///
|
|
||||||
///# New to Minecraft Console Client? See README and sample configuration files here:
|
|
||||||
///# https://github.com/MCCTeam/Minecraft-Console-Client/tree/master/MinecraftClient/config
|
|
||||||
///
|
|
||||||
///# Want to upgrade to a newer version? See https://github.com/MCCTeam/Minecraft-Console-Client/#download
|
|
||||||
///# Some settings missing here after an upgrade? Try to delete this file and relaunch MCC to generate a new one
|
|
||||||
///
|
|
||||||
///[Main]
|
|
||||||
///# General settings
|
|
||||||
///# Leave blank to prompt user on startup
|
|
||||||
///# Use "-" as password fo [rest of string was truncated]";.
|
|
||||||
/// </summary>
|
|
||||||
public static string MinecraftClient {
|
|
||||||
get {
|
|
||||||
return ResourceManager.GetString("MinecraftClient", resourceCulture);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized string similar to [mcc]
|
/// Looks up a localized string similar to [mcc]
|
||||||
///# Messages from MCC itself
|
///# Messages from MCC itself
|
||||||
|
|
@ -284,7 +264,7 @@ namespace MinecraftClient {
|
||||||
///mcc.ip=Server-IP :
|
///mcc.ip=Server-IP :
|
||||||
///mcc.use_version=§8B [rest of string was truncated]";.
|
///mcc.use_version=§8B [rest of string was truncated]";.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static string Translation_de {
|
internal static string Translation_de {
|
||||||
get {
|
get {
|
||||||
return ResourceManager.GetString("Translation_de", resourceCulture);
|
return ResourceManager.GetString("Translation_de", resourceCulture);
|
||||||
}
|
}
|
||||||
|
|
@ -303,7 +283,7 @@ namespace MinecraftClient {
|
||||||
///mcc.password_hidden=Password : {0}
|
///mcc.password_hidden=Password : {0}
|
||||||
///mcc.offline=§8You chose [rest of string was truncated]";.
|
///mcc.offline=§8You chose [rest of string was truncated]";.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static string Translation_en {
|
internal static string Translation_en {
|
||||||
get {
|
get {
|
||||||
return ResourceManager.GetString("Translation_en", resourceCulture);
|
return ResourceManager.GetString("Translation_en", resourceCulture);
|
||||||
}
|
}
|
||||||
|
|
@ -323,7 +303,7 @@ namespace MinecraftClient {
|
||||||
///mcc.connecting=Connexion à {0}...
|
///mcc.connecting=Connexion à {0}...
|
||||||
/// [rest of string was truncated]";.
|
/// [rest of string was truncated]";.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static string Translation_fr {
|
internal static string Translation_fr {
|
||||||
get {
|
get {
|
||||||
return ResourceManager.GetString("Translation_fr", resourceCulture);
|
return ResourceManager.GetString("Translation_fr", resourceCulture);
|
||||||
}
|
}
|
||||||
|
|
@ -344,7 +324,7 @@ namespace MinecraftClient {
|
||||||
///mcc.ip=IP сервера:
|
///mcc.ip=IP сервера:
|
||||||
///mc [rest of string was truncated]";.
|
///mc [rest of string was truncated]";.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static string Translation_ru {
|
internal static string Translation_ru {
|
||||||
get {
|
get {
|
||||||
return ResourceManager.GetString("Translation_ru", resourceCulture);
|
return ResourceManager.GetString("Translation_ru", resourceCulture);
|
||||||
}
|
}
|
||||||
|
|
@ -365,7 +345,7 @@ namespace MinecraftClient {
|
||||||
///mcc.ip=Địa chỉ máy chủ:
|
///mcc.ip=Địa chỉ máy chủ:
|
||||||
///mcc.use_version=§8Sử dụng Minecraft phiên bản [rest of string was truncated]";.
|
///mcc.use_version=§8Sử dụng Minecraft phiên bản [rest of string was truncated]";.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static string Translation_vi {
|
internal static string Translation_vi {
|
||||||
get {
|
get {
|
||||||
return ResourceManager.GetString("Translation_vi", resourceCulture);
|
return ResourceManager.GetString("Translation_vi", resourceCulture);
|
||||||
}
|
}
|
||||||
|
|
@ -388,7 +368,7 @@ namespace MinecraftClient {
|
||||||
///mcc.profile_key_invalid=§8缓存的聊天签名密钥需要刷新。
|
///mcc.profile_key_invalid=§8缓存的聊天签名密钥需要刷新。
|
||||||
///mcc.profile_key_valid=§8{0}的聊天 [rest of string was truncated]";.
|
///mcc.profile_key_valid=§8{0}的聊天 [rest of string was truncated]";.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static string Translation_zh_Hans {
|
internal static string Translation_zh_Hans {
|
||||||
get {
|
get {
|
||||||
return ResourceManager.GetString("Translation_zh_Hans", resourceCulture);
|
return ResourceManager.GetString("Translation_zh_Hans", resourceCulture);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -145,9 +145,6 @@
|
||||||
<data name="ContainerType_PlayerInventory" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="ContainerType_PlayerInventory" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>Resources\containers\ContainerType.PlayerInventory.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
<value>Resources\containers\ContainerType.PlayerInventory.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="MinecraftClient" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
|
||||||
<value>Resources\config\MinecraftClient.ini;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
|
||||||
</data>
|
|
||||||
<data name="Translation_de" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="Translation_de" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>resources\lang\de.ini;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
<value>resources\lang\de.ini;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
||||||
</data>
|
</data>
|
||||||
|
|
|
||||||
|
|
@ -1,319 +0,0 @@
|
||||||
# Startup Config File
|
|
||||||
|
|
||||||
# New to Minecraft Console Client? See README and sample configuration files here:
|
|
||||||
# https://github.com/MCCTeam/Minecraft-Console-Client/tree/master/MinecraftClient/config
|
|
||||||
|
|
||||||
# Want to upgrade to a newer version? See https://github.com/MCCTeam/Minecraft-Console-Client/#download
|
|
||||||
# Some settings missing here after an upgrade? Try to delete this file and relaunch MCC to generate a new one
|
|
||||||
|
|
||||||
[Main]
|
|
||||||
# General settings
|
|
||||||
# Leave blank to prompt user on startup
|
|
||||||
# Use "-" as password for offline mode
|
|
||||||
login=
|
|
||||||
password=
|
|
||||||
serverip=
|
|
||||||
type=microsoft # Account type. mojang or microsoft. Also affects interactive login in console.
|
|
||||||
method=mcc # Microsoft Account sign-in method. mcc OR browser
|
|
||||||
|
|
||||||
# Advanced settings
|
|
||||||
# Make sure you understand what each setting does before changing anything!
|
|
||||||
language=en_GB
|
|
||||||
consoletitle=%username%@%serverip% - Minecraft Console Client
|
|
||||||
internalcmdchar=slash # Use 'none', 'slash' or 'backslash'
|
|
||||||
messagecooldown=1 # Minimum delay in seconds between messages to avoid being kicked for spam.
|
|
||||||
botowners=Player1,Player2,Player3 # Name list or myfile.txt, one name per line. /!\ Server admins can impersonate owners!
|
|
||||||
mcversion=auto # Use 'auto' or '1.X.X' values. Allows to skip server info retrieval.
|
|
||||||
mcforge=auto # Use 'auto', 'false' or 'true'. Force-enabling only works for MC 1.13+.
|
|
||||||
brandinfo=mcc # Use 'mcc', 'vanilla', or 'none'. This is how MCC identifies itself to the server.
|
|
||||||
chatbotlogfile= # Leave empty for no logfile
|
|
||||||
privatemsgscmdname=tell # Used by RemoteControl bot
|
|
||||||
showsystemmessages=true # System messages for server ops
|
|
||||||
showxpbarmessages=true # Messages displayed above xp bar, set this to false in case of xp bar spam
|
|
||||||
showchatlinks=true # Decode links embedded in chat messages and show them in console
|
|
||||||
showinventorylayout=true # Show inventory layout as ASCII art in inventory command
|
|
||||||
terrainandmovements=false # Uses more ram, cpu, bandwidth but allows you to move around
|
|
||||||
inventoryhandling=false # Toggle inventory handling (beta)
|
|
||||||
entityhandling=false # Toggle entity handling (beta)
|
|
||||||
sessioncache=disk # How to retain session tokens. Use 'none', 'memory' or 'disk'
|
|
||||||
profilekeycache=disk # How to retain profile key. Use 'none', 'memory' or 'disk'
|
|
||||||
resolvesrvrecords=fast # Use 'false', 'fast' (5s timeout), or 'true'. Required for joining some servers.
|
|
||||||
accountlist=accounts.txt # See README > 'Servers and Accounts file' for more info about this file
|
|
||||||
serverlist=servers.txt # See README > 'Servers and Accounts file' for more info about this file
|
|
||||||
playerheadicon=true # Only works on Windows XP-8 or Windows 10 with old console
|
|
||||||
exitonfailure=false # Disable pauses on error, for using MCC in non-interactive scripts
|
|
||||||
scriptcache=true # Cache compiled scripts for faster load on low-end devices
|
|
||||||
timestamps=false # Prepend timestamps to chat messages
|
|
||||||
autorespawn=false # Toggle auto respawn if client player was dead (make sure your spawn point is safe)
|
|
||||||
minecraftrealms=false # Enable support for joining Minecraft Realms worlds
|
|
||||||
moveheadwhilewalking=true # Enable head movement while walking to avoid anti-cheat triggers
|
|
||||||
timeout=30 # Set a custom timeout in seconds (Default: 30). Use only if you know what you're doing.
|
|
||||||
enableemoji=true # If turned off, the emoji will be replaced with a simpler character (for /chunk status)
|
|
||||||
movementspeed=2 # A movement speed higher than 2 may be considered cheating.
|
|
||||||
|
|
||||||
[Signature]
|
|
||||||
# Chat settings (affects minecraft 1.19+)
|
|
||||||
login_with_secure_profile=true # Microsoft accounts only. If disabled, will not be able to sign chat and join servers configured with "enforce-secure-profile=true"
|
|
||||||
sign_chat=true # Whether to sign the chat send from MCC
|
|
||||||
sign_message_in_command=true # Whether to sign the messages contained in the commands sent by MCC. For example, the message in "/msg" and "/me"
|
|
||||||
mark_legally_signed_msg=false # Use green color block to mark chat with legitimate signatures
|
|
||||||
mark_modified_msg=true # Use yellow color block to mark chat that have been modified by the server.
|
|
||||||
mark_illegally_signed_msg=true # Use red color block to mark chat without legitimate signature
|
|
||||||
mark_system_message=false # Use gray color block to mark system message (always without signature)
|
|
||||||
show_modified_chat=true # Set to true to display messages modified by the server, false to display the original signed messages
|
|
||||||
show_illegal_signed_chat=true # Whether to display chat and messages in commands without legal signatures
|
|
||||||
|
|
||||||
[Logging]
|
|
||||||
# Only affect the messages on console.
|
|
||||||
debugmessages=false # Please enable this before submitting bug reports. Thanks!
|
|
||||||
chatmessages=true # Show server chat messages
|
|
||||||
warningmessages=true # Show warning messages
|
|
||||||
errormessages=true # Show error messages
|
|
||||||
infomessages=true # Informative messages (i.e Most of the message from MCC)
|
|
||||||
#chatfilter= # Regex for filtering chat message
|
|
||||||
#debugfilter= # Regex for filtering debug message
|
|
||||||
filtermode=blacklist # blacklist OR whitelist. Blacklist hide message match regex. Whitelist show message match regex
|
|
||||||
logtofile=false # Write log messages to file
|
|
||||||
logfile=console-log-%username%-%serverip%.txt # Log file name
|
|
||||||
prependtimestamp=false # Prepend timestamp to messages in log file
|
|
||||||
savecolorcodes=false # Keep color codes in the saved text (§b)
|
|
||||||
|
|
||||||
[AppVars]
|
|
||||||
# yourvar=yourvalue
|
|
||||||
# can be used in some other fields as %yourvar%
|
|
||||||
# %username% and %serverip% are reserved variables.
|
|
||||||
|
|
||||||
[Proxy]
|
|
||||||
# Connect to a server via a proxy instead of connecting directly
|
|
||||||
# If Mojang session services are blocked on your network, set enabled=login to login using proxy but connect directly to the server
|
|
||||||
# If connecting to port 25565 (Minecraft) is blocked on your network, set enabled=true to login & connect using the proxy
|
|
||||||
# /!\ Make sure your server rules allow Proxies or VPNs before setting enabled=true, or you may face consequences!
|
|
||||||
enabled=false # Use 'false', 'true', or 'login' for login only
|
|
||||||
type=HTTP # Supported types: HTTP, SOCKS4, SOCKS4a, SOCKS5
|
|
||||||
server=0.0.0.0:0000 # Proxy server must allow HTTPS for login, and non-443 ports for playing
|
|
||||||
username= # Only required for password-protected proxies
|
|
||||||
password= # Only required for password-protected proxies
|
|
||||||
|
|
||||||
[ChatFormat]
|
|
||||||
# MCC does it best to detect chat messages, but some server have unusual chat formats
|
|
||||||
# When this happens, you'll need to configure chat format below, see README > 'Detecting chat messages'
|
|
||||||
# Do not forget to uncomment (remove '#') these settings if modifying them
|
|
||||||
builtins=true # MCC support for common message formats. Set "false" to avoid conflicts with custom formats.
|
|
||||||
# public=^<([a-zA-Z0-9_]+)> (.+)$
|
|
||||||
# private=^([a-zA-Z0-9_]+) whispers to you: (.+)$
|
|
||||||
# tprequest=^([a-zA-Z0-9_]+) has requested (?:to|that you) teleport to (?:you|them)\.$
|
|
||||||
|
|
||||||
[MCSettings]
|
|
||||||
# Settings below are sent to the server and only affect server-side things like your skin
|
|
||||||
enabled=true # If disabled, settings below are not sent to the server
|
|
||||||
locale=en_US # Use any language implemented in Minecraft
|
|
||||||
renderdistance=medium # Use tiny, short, medium, far, or chunk amount [0 - 255]
|
|
||||||
difficulty=normal # MC 1.7- difficulty. peaceful, easy, normal, difficult
|
|
||||||
chatmode=enabled # Use 'enabled', 'commands', or 'disabled'. Allows to mute yourself...
|
|
||||||
chatcolors=true # Allows disabling chat colors server-side
|
|
||||||
main_hand=left # MC 1.9+ main hand. left or right
|
|
||||||
skin_cape=true
|
|
||||||
skin_hat=true
|
|
||||||
skin_jacket=false
|
|
||||||
skin_sleeve_left=false
|
|
||||||
skin_sleeve_right=false
|
|
||||||
skin_pants_left=false
|
|
||||||
skin_pants_right=false
|
|
||||||
|
|
||||||
# =============================== #
|
|
||||||
# Minecraft Console Client Bots #
|
|
||||||
# =============================== #
|
|
||||||
|
|
||||||
# Although Minecraft Console Client is only a Chat client by default, it can also do many more things
|
|
||||||
# Below you will find configuration sections to enable Bots that can automatically perform tasks for you
|
|
||||||
# BY ENABLING BOTS, YOU AGREE TO COMPLY WITH SERVER RULES, AND FACE CONSEQUENCES FROM SERVER STAFF IF YOU DON'T
|
|
||||||
|
|
||||||
[Alerts]
|
|
||||||
# Get alerted when specified words are detected in chat
|
|
||||||
# Useful for moderating your server or detecting when someone is talking to you
|
|
||||||
enabled=false
|
|
||||||
trigger_by_words=false # Triggers an alert after receiving a specified keyword.
|
|
||||||
trigger_by_rain=false # Trigger alerts when it rains and when it stops.
|
|
||||||
trigger_by_thunderstorm=false # Triggers alerts at the beginning and end of thunderstorms.
|
|
||||||
alertsfile=alerts.txt # List of words/strings to alert you on, e.g. "Yourname"
|
|
||||||
excludesfile=alerts-exclude.txt # List of words/strings to NOT alert you on, e.g. "<Yourname>"
|
|
||||||
beeponalert=true # Play a beep sound when a word is detected in addition to highlighting
|
|
||||||
logtofile=false # Log alerts info a file
|
|
||||||
logfile=alerts-log.txt # The name of a file where alers logs will be written
|
|
||||||
|
|
||||||
[AntiAFK]
|
|
||||||
# Send a command on a regular or random basis or make the bot walk around randomly to avoid automatic AFK disconnection
|
|
||||||
# /!\ Make sure your server rules do not forbid anti-AFK mechanisms!
|
|
||||||
# /!\ Make sure you keep the bot in an enclosure to prevent it wandering off if you're using terrain handling! (Recommended size 5x5x5)
|
|
||||||
enabled=false
|
|
||||||
delay=600 # 10 = 1s (Can also be a random number between 2 numbers, example: 50-600) (Default: 600)
|
|
||||||
command=/ping # Command to send to the server
|
|
||||||
use_terrain_handling=false # Use terrain handling to enable the bot to move around
|
|
||||||
walk_range=5 # The range the bot can move around randomly (Note: the bigger the range, the slower the bot will be)
|
|
||||||
walk_retries=20 # How many timec can the bot fail trying to move before using the command method
|
|
||||||
|
|
||||||
[AutoRelog]
|
|
||||||
# Automatically relog when disconnected by server, for example because the server is restating
|
|
||||||
# Put keywords/strings such as "Server is restarting" in kick messages file to relog when the message is seen
|
|
||||||
# /!\ Use ignorekickmessage=true at own risk! Server staff might not appreciate if you auto-relog on manual kicks
|
|
||||||
enabled=false
|
|
||||||
delay=10 # use 10 for 10 seconds, 10-60 for a random delay between 10 and 60 seconds
|
|
||||||
retries=3 # retries when failing to relog to the server. use -1 for unlimited retries
|
|
||||||
kickmessagesfile=kickmessages.txt # file with list of matches in kick messages that will trigger autorelog
|
|
||||||
ignorekickmessage=false # when set to true, autorelog will reconnect regardless of kick messages
|
|
||||||
|
|
||||||
[ChatLog]
|
|
||||||
# Logs chat messages in a file on disk
|
|
||||||
enabled=false
|
|
||||||
timestamps=true
|
|
||||||
filter=messages
|
|
||||||
logfile=chatlog-%username%-%serverip%.txt
|
|
||||||
|
|
||||||
[Hangman]
|
|
||||||
# A small game to demonstrate chat interactions. Players can guess mystery words one letter at a time.
|
|
||||||
# You need to have ChatFormat working correctly and add yourself in botowners to start the game with /tell <bot username> start
|
|
||||||
# /!\ This bot may get a bit spammy if many players are interacting with it
|
|
||||||
enabled=false
|
|
||||||
english=true
|
|
||||||
wordsfile=hangman-en.txt
|
|
||||||
fichiermots=hangman-fr.txt
|
|
||||||
|
|
||||||
[ScriptScheduler]
|
|
||||||
# Schedule commands and scripts to launch on various events such as server join, date/time or time interval
|
|
||||||
# See README > 'Using the Script Scheduler' for more info
|
|
||||||
enabled=false
|
|
||||||
tasksfile=tasks.ini
|
|
||||||
|
|
||||||
[RemoteControl]
|
|
||||||
# Send MCC console commands to your bot through server PMs (/tell)
|
|
||||||
# You need to have ChatFormat working correctly and add yourself in botowners to use the bot
|
|
||||||
# /!\ Server admins can spoof PMs (/tellraw, /nick) so enable RemoteControl only if you trust server admins
|
|
||||||
enabled=false
|
|
||||||
autotpaccept=true
|
|
||||||
tpaccepteveryone=false
|
|
||||||
|
|
||||||
[AutoRespond]
|
|
||||||
# Run commands or send messages automatically when a specified pattern is detected in chat
|
|
||||||
# /!\ Server admins can spoof chat messages (/nick, /tellraw) so keep this in mind when implementing AutoRespond rules
|
|
||||||
# /!\ This bot may get spammy depending on your rules, although the global messagecooldown setting can help you avoiding accidental spam
|
|
||||||
enabled=false
|
|
||||||
matchesfile=matches.ini
|
|
||||||
matchcolors=false # Do not remove colors from text (Note: Your matches will have to include color codes (ones using the § character) in order to work)
|
|
||||||
|
|
||||||
[AutoAttack]
|
|
||||||
# Automatically attack hostile mobs around you
|
|
||||||
# You need to enable Entity Handling to use this bot
|
|
||||||
# /!\ Make sure server rules allow your planned use of AutoAttack
|
|
||||||
# /!\ SERVER PLUGINS may consider AutoAttack to be a CHEAT MOD and TAKE ACTION AGAINST YOUR ACCOUNT so DOUBLE CHECK WITH SERVER RULES!
|
|
||||||
enabled=false
|
|
||||||
mode=single # single or multi. single target one mob per attack. multi target all mobs in range per attack
|
|
||||||
priority=distance # health or distance. Only needed when using single mode
|
|
||||||
cooldownseconds=auto # How long to wait between each attack. Use auto to let MCC calculate it
|
|
||||||
interaction=Attack # Possible values: Interact, Attack (default), InteractAt (Interact and Attack)
|
|
||||||
attackhostile=true # Allow attacking hostile mobs
|
|
||||||
attackpassive=false # Allow attacking passive mobs
|
|
||||||
listmode=blacklist # Wether to treat the list from the file bellow as a whitelist or as a blacklist
|
|
||||||
# A path to the file which contains blacklisted or whitelisted entities, entity types are written on a new line
|
|
||||||
# All entity types can be found here: https://bit.ly/3Rg68lp
|
|
||||||
# The file is not created by default.
|
|
||||||
listfile=autoattack-list.txt
|
|
||||||
|
|
||||||
[AutoFishing]
|
|
||||||
# Automatically catch fish using a fishing rod
|
|
||||||
# Guide: https://mccteam.github.io/guide/chat-bots.html#auto-fishing
|
|
||||||
# /!\ Make sure server rules allow automated farming before using this bot
|
|
||||||
enabled=false
|
|
||||||
antidespawn=false
|
|
||||||
main_hand=true # Use the main hand or the off hand to hold the rod.
|
|
||||||
auto_start=true # Whether to start fishing automatically after entering a world.
|
|
||||||
cast_delay=0.4 # How soon to re-cast after successful fishing.
|
|
||||||
fishing_delay=3.0 # How long after entering the game to start fishing (seconds).
|
|
||||||
fishing_timeout=300.0 # Fishing timeout (seconds). Timeout will trigger a re-cast.
|
|
||||||
durability_limit=2 # Will not use rods with less durability than this (full durability is 64). Set to zero to disable this feature.
|
|
||||||
auto_rod_switch=true # Switch to a new rod from inventory after the current rod is unavailable.
|
|
||||||
stationary_threshold=0.001 # Hooks moving in the X and Z axes below this threshold will be considered stationary.
|
|
||||||
hook_threshold=0.2 # A stationary hook moving on the Y-axis above this threshold will be considered to have caught a fish.
|
|
||||||
log_fishing_bobber=false # For debugging purposes, you can use this log to adjust the two thresholds mentioned above.
|
|
||||||
location= # Some plugins do not allow the player to fish in one place. This allows the player to change position/angle after each fish caught.
|
|
||||||
# Floating-point numbers can be used for both coordinates and angles. Leave blank to disable this function.
|
|
||||||
# Change the angle only (recommended): location=yaw_1, pitch_1; yaw_2, pitch_2; ...; yaw_n, pitch_n
|
|
||||||
# Change position only: location=x1, y1, z1; x2, y2, z2; ...; xn, yn, zn
|
|
||||||
# Change both angle and position: location=x1, y1, z1, yaw_1, pitch_1; x2, y2, z2, yaw_2, pitch_2; ... ;xn, yn, zn, yaw_n, pitch_n
|
|
||||||
|
|
||||||
[AutoEat]
|
|
||||||
# Automatically eat food when your Hunger value is low
|
|
||||||
# You need to enable Inventory Handling to use this bot
|
|
||||||
enabled=false
|
|
||||||
threshold=6
|
|
||||||
|
|
||||||
[AutoCraft]
|
|
||||||
# Automatically craft items in your inventory
|
|
||||||
# See README > 'Using the AutoCraft bot' for how to use
|
|
||||||
# You need to enable Inventory Handling to use this bot
|
|
||||||
# You should also enable Terrain and Movements if you need to use a crafting table
|
|
||||||
enabled=false
|
|
||||||
configfile=autocraft\config.ini
|
|
||||||
|
|
||||||
[Mailer]
|
|
||||||
# Relay messages between players and servers, like a mail plugin
|
|
||||||
# This bot can store messages when the recipients are offline, and send them when they join the server
|
|
||||||
# /!\ Server admins can spoof PMs (/tellraw, /nick) so enable this bot only if you trust server admins
|
|
||||||
enabled=false
|
|
||||||
database=MailerDatabase.ini
|
|
||||||
ignorelist=MailerIgnoreList.ini
|
|
||||||
publicinteractions=false
|
|
||||||
maxmailsperplayer=10
|
|
||||||
maxdatabasesize=10000
|
|
||||||
retentiondays=30
|
|
||||||
|
|
||||||
[AutoDrop]
|
|
||||||
# Automatically drop items in inventory
|
|
||||||
# You need to enable Inventory Handling to use this bot
|
|
||||||
enabled=false
|
|
||||||
mode=include # include, exclude or everything. Include: drop item IN the list. Exclude: drop item NOT IN the list
|
|
||||||
items= # separate each item name with a comma ',': ItemOne,ItemTwo
|
|
||||||
# See this file for an up-to-date list of item types you can use with this bot:
|
|
||||||
# https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/Inventory/ItemType.cs
|
|
||||||
|
|
||||||
[ReplayMod]
|
|
||||||
# Enable recording of the game (/replay start) and replay it later using the Replay Mod (https://www.replaymod.com/)
|
|
||||||
# Please note that due to technical limitations, the client player (you) will not be shown in the replay file
|
|
||||||
# /!\ You SHOULD use /replay stop or exit the program gracefully with /quit OR THE REPLAY FILE MAY GET CORRUPT!
|
|
||||||
enabled=false
|
|
||||||
backupinterval=300 # How long should replay file be auto-saved, in seconds. Use -1 to disable
|
|
||||||
|
|
||||||
[FollowPlayer]
|
|
||||||
# Enabled you to make the bot follow you
|
|
||||||
# NOTE: This is an experimental feature, the bot can be slow at times, you need to walk with a normal speed and to sometimes stop for it to be able to keep up with you
|
|
||||||
# It's similar to making animals follow you when you're holding food in your hand.
|
|
||||||
# This is due to a slow pathfinding algorithm, we're working on getting a better one
|
|
||||||
# You can tweak the update limit and find what works best for you. (NOTE: Do not but a very low one, because you might achieve the opposite,
|
|
||||||
# this might clog the thread for terain handling) and thus slow the bot even more.
|
|
||||||
# /!\ Make sure server rules allow an option like this in the rules of the server before using this bot
|
|
||||||
enabled=false
|
|
||||||
update_limit=10 # The rate at which the bot does calculations (10 = 1s) (Default: 5) (You can tweak this if you feel the bot is too slow)
|
|
||||||
stop_at_distance=3 # Do not follow the player if he is in the range of 3 blocks (prevents the bot from pushing a player in an infinite loop)
|
|
||||||
|
|
||||||
[PlayerListLogger]
|
|
||||||
# Log the list of players periodically into a textual file
|
|
||||||
enabled=false
|
|
||||||
log_file=playerlog.txt
|
|
||||||
log_delay=600 # 10 = 1s
|
|
||||||
|
|
||||||
[Map]
|
|
||||||
# Allows you to render maps into .jpg images
|
|
||||||
# This is useful for solving captchas which use maps
|
|
||||||
# The maps are rendered into Rendered_Maps folder.
|
|
||||||
# NOTE:
|
|
||||||
# This feature is currently only useful for solving captchas which use maps.
|
|
||||||
# If some servers have a very short time for solving captchas, enabe auto_render_on_update and prepare to open the file quickly.
|
|
||||||
# On linux you can use FTP to access generated files.
|
|
||||||
# In the future it might will be possible to display maps directly in the console with a separate command.
|
|
||||||
# /!\ Make sure server rules allow bots to be used on the server, or you risk being punished.
|
|
||||||
enabled=false
|
|
||||||
resize_map=false # Should the map be resized? (Default one is small 128x128)
|
|
||||||
resize_to=256 # The size to resize the map to (Note: the bigger it is, the lower the quallity is)
|
|
||||||
auto_render_on_update=false # Automatically render the map once it's received or updated from/by the server
|
|
||||||
delete_rendered_on_unload=true # Delete all rendered maps on unload/reload (Does not delete the images if you exit the client)
|
|
||||||
notify_on_first_update=false # Get a notification when you have gotten a map from the server for the first time
|
|
||||||
# Note: Will be printed for each map in vicinity, could cause spam if there are a lot of maps
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue