diff --git a/.github/workflows/build-MCC-only.yml b/.github/workflows/build-MCC-only.yml deleted file mode 100644 index 37bac434..00000000 --- a/.github/workflows/build-MCC-only.yml +++ /dev/null @@ -1,151 +0,0 @@ -name: Build MCC - -on: - workflow_dispatch: - -env: - PROJECT: "MinecraftClient" - target-version: "net6.0" - compile-flags: "--self-contained=true -c Release -p:UseAppHost=true -p:IncludeNativeLibrariesForSelfExtract=true -p:DebugType=None" - -jobs: - Build: - runs-on: ubuntu-latest - - steps: - - - name: Checkout - uses: actions/checkout@v3 - with: - fetch-depth: 0 - submodules: 'true' - - - name: Sync translations from crowdin - uses: crowdin/github-action@1.5.0 - with: - upload_translations: true - download_translations: true - - localization_branch_name: l10n_master - create_pull_request: false - - base_path: ${{ github.workspace }} - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }} - CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_TOKEN }} - - - name: Setup Project Path - run: | - echo project-path=${{ github.workspace }}/${{ env.PROJECT }} >> $GITHUB_ENV - - - name: Setup Output Paths - run: | - echo win-x64-out-path=${{ env.project-path }}/bin/Release/${{ env.target-version }}/win-x64/publish/ >> $GITHUB_ENV - echo win-x86-out-path=${{ env.project-path }}/bin/Release/${{ env.target-version }}/win-x86/publish/ >> $GITHUB_ENV - echo linux-out-path=${{ env.project-path }}/bin/Release/${{ env.target-version }}/linux-x64/publish/ >> $GITHUB_ENV - echo osx-out-path=${{ env.project-path }}/bin/Release/${{ env.target-version }}/osx-x64/publish/ >> $GITHUB_ENV - echo linux-arm64-out-path=${{ env.project-path }}/bin/Release/${{ env.target-version }}/linux-arm64/publish/ >> $GITHUB_ENV - - - name: Setup .NET SDK - uses: actions/setup-dotnet@v2.1.0 - - - name: Get Version DateTime - id: date-version - uses: nanzm/get-time-action@v1.1 - with: - timeZone: 0 - format: 'YYYY-MM-DD' - - - name: VersionInfo - run: | - COMMIT=$(echo ${{ github.sha }} | cut -c 1-7) - echo '' >> ${{ env.project-path }}/Properties/AssemblyInfo.cs - echo "[assembly: AssemblyConfiguration(\"GitHub build ${{ github.run_number }}, built on ${{ steps.date-version.outputs.time }} from commit $COMMIT\")]" >> ${{ env.project-path }}/Properties/AssemblyInfo.cs - - - name: Build for Windows x64 - run: dotnet publish ${{ env.project-path }}.sln -f ${{ env.target-version }} -r win-x64 ${{ env.compile-flags }} - - - name: Zip Windows x64 Build - run: zip -qq -r windows-x64.zip * - working-directory: ${{ env.win-x64-out-path }} - - - name: Build for Windows x86 - run: dotnet publish ${{ env.project-path }}.sln -f ${{ env.target-version }} -r win-x86 ${{ env.compile-flags }} - - - name: Zip Windows x86 Build - run: zip -qq -r windows-x86.zip * - working-directory: ${{ env.win-x86-out-path }} - - - name: Build for Linux - run: dotnet publish ${{ env.project-path }}.sln -f ${{ env.target-version }} -r linux-x64 ${{ env.compile-flags }} - - - name: Zip Linux Build - run: zip -qq -r linux.zip * - working-directory: ${{ env.linux-out-path }} - - - name: Build for ARM64 Linux - run: dotnet publish ${{ env.project-path }}.sln -f ${{ env.target-version }} -r linux-arm64 ${{ env.compile-flags }} - - - name: Zip ARM64 Linux Build - run: zip -qq -r linux-arm64.zip * - working-directory: ${{ env.linux-arm64-out-path }} - - - name: Build for OSX - run: dotnet publish ${{ env.project-path }}.sln -f ${{ env.target-version }} -r osx-x64 ${{ env.compile-flags }} - - - name: Zip OSX Build - run: zip -qq -r osx.zip * - working-directory: ${{ env.osx-out-path }} - - - name: Get Release DateTime - id: date-release - uses: nanzm/get-time-action@v1.1 - with: - timeZone: 0 - format: 'YYYYMMDD' - - - name: Windows x64 Release - uses: tix-factory/release-manager@v1 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - mode: uploadReleaseAsset - filePath: ${{ env.win-x64-out-path }}windows-x64.zip - assetName: ${{ env.PROJECT }}-windows-x64.zip - tag: ${{ format('{0}-{1}', steps.date-release.outputs.time, github.run_number) }} - - - name: Windows x86 Release - uses: tix-factory/release-manager@v1 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - mode: uploadReleaseAsset - filePath: ${{ env.win-x86-out-path }}windows-x86.zip - assetName: ${{ env.PROJECT }}-windows-x86.zip - tag: ${{ format('{0}-{1}', steps.date-release.outputs.time, github.run_number) }} - - - name: Linux Release - uses: tix-factory/release-manager@v1 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - mode: uploadReleaseAsset - filePath: ${{ env.linux-out-path }}linux.zip - assetName: ${{ env.PROJECT }}-linux.zip - tag: ${{ format('{0}-{1}', steps.date-release.outputs.time, github.run_number) }} - - - name: Linux ARM64 Release - uses: tix-factory/release-manager@v1 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - mode: uploadReleaseAsset - filePath: ${{ env.linux-arm64-out-path }}linux-arm64.zip - assetName: ${{ env.PROJECT }}-linux-arm64.zip - tag: ${{ format('{0}-{1}', steps.date-release.outputs.time, github.run_number) }} - - - name: OSX Release - uses: tix-factory/release-manager@v1 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - mode: uploadReleaseAsset - filePath: ${{ env.osx-out-path }}osx.zip - assetName: ${{ env.PROJECT }}-osx.zip - tag: ${{ format('{0}-{1}', steps.date-release.outputs.time, github.run_number) }} diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index 918d9d0d..0ab15085 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -28,11 +28,13 @@ jobs: - name: Download translations from crowdin uses: crowdin/github-action@1.5.0 with: - upload_translations: true + upload_sources: true + upload_translations: false download_translations: true localization_branch_name: l10n_master create_pull_request: false + push_translations: false base_path: ${{ github.workspace }} env: diff --git a/.github/workflows/deploy-doc-only.yml b/.github/workflows/deploy-doc-only.yml index 2a41ceb5..52707f29 100644 --- a/.github/workflows/deploy-doc-only.yml +++ b/.github/workflows/deploy-doc-only.yml @@ -1,6 +1,8 @@ name: Build Documents on: + schedule: + - cron: '45 0 * * *' workflow_dispatch: jobs: @@ -18,11 +20,13 @@ jobs: - name: Sync translations from crowdin uses: crowdin/github-action@1.5.0 with: - upload_translations: true + upload_sources: true + upload_translations: false download_translations: true localization_branch_name: l10n_master create_pull_request: false + push_translations: false base_path: ${{ github.workspace }} env: diff --git a/.github/workflows/sync-translations-only.yml b/.github/workflows/sync-translations-only.yml index c468f1bf..104876b5 100644 --- a/.github/workflows/sync-translations-only.yml +++ b/.github/workflows/sync-translations-only.yml @@ -18,11 +18,13 @@ jobs: - name: Sync translations from crowdin uses: crowdin/github-action@1.5.0 with: - upload_translations: true + upload_sources: true + upload_translations: false download_translations: true localization_branch_name: l10n_master create_pull_request: false + push_translations: false base_path: ${{ github.workspace }} env: diff --git a/DebugTools/MinecraftClientProxy/Compression/CRC32.cs b/DebugTools/MinecraftClientProxy/Compression/CRC32.cs index 97593b91..c2416052 100644 --- a/DebugTools/MinecraftClientProxy/Compression/CRC32.cs +++ b/DebugTools/MinecraftClientProxy/Compression/CRC32.cs @@ -811,4 +811,4 @@ namespace Ionic.Crc } -} \ No newline at end of file +} diff --git a/DebugTools/MinecraftClientProxy/Compression/Deflate.cs b/DebugTools/MinecraftClientProxy/Compression/Deflate.cs index 96722507..040d6102 100644 --- a/DebugTools/MinecraftClientProxy/Compression/Deflate.cs +++ b/DebugTools/MinecraftClientProxy/Compression/Deflate.cs @@ -1876,4 +1876,4 @@ namespace Ionic.Zlib } } -} \ No newline at end of file +} diff --git a/DebugTools/MinecraftClientProxy/Compression/GZipStream.cs b/DebugTools/MinecraftClientProxy/Compression/GZipStream.cs index 745e0963..7f6b9248 100644 --- a/DebugTools/MinecraftClientProxy/Compression/GZipStream.cs +++ b/DebugTools/MinecraftClientProxy/Compression/GZipStream.cs @@ -1,4 +1,4 @@ -// GZipStream.cs +// GZipStream.cs // ------------------------------------------------------------------ // // Copyright (c) 2009 Dino Chiesa and Microsoft Corporation. diff --git a/DebugTools/MinecraftClientProxy/Compression/InfTree.cs b/DebugTools/MinecraftClientProxy/Compression/InfTree.cs index 416b143a..0ddb30e4 100644 --- a/DebugTools/MinecraftClientProxy/Compression/InfTree.cs +++ b/DebugTools/MinecraftClientProxy/Compression/InfTree.cs @@ -433,4 +433,4 @@ namespace Ionic.Zlib } } } -} \ No newline at end of file +} diff --git a/DebugTools/MinecraftClientProxy/Compression/Inflate.cs b/DebugTools/MinecraftClientProxy/Compression/Inflate.cs index b0e07404..655f7c3b 100644 --- a/DebugTools/MinecraftClientProxy/Compression/Inflate.cs +++ b/DebugTools/MinecraftClientProxy/Compression/Inflate.cs @@ -1792,4 +1792,4 @@ namespace Ionic.Zlib return blocks.SyncPoint(); } } -} \ No newline at end of file +} diff --git a/DebugTools/MinecraftClientProxy/Compression/Tree.cs b/DebugTools/MinecraftClientProxy/Compression/Tree.cs index 1db8c4f4..88eaa4ba 100644 --- a/DebugTools/MinecraftClientProxy/Compression/Tree.cs +++ b/DebugTools/MinecraftClientProxy/Compression/Tree.cs @@ -420,4 +420,4 @@ namespace Ionic.Zlib return res >> 1; } } -} \ No newline at end of file +} diff --git a/DebugTools/MinecraftClientProxy/Compression/Zlib.cs b/DebugTools/MinecraftClientProxy/Compression/Zlib.cs index dcfe7252..b5604d4a 100644 --- a/DebugTools/MinecraftClientProxy/Compression/Zlib.cs +++ b/DebugTools/MinecraftClientProxy/Compression/Zlib.cs @@ -543,4 +543,4 @@ namespace Ionic.Zlib } -} \ No newline at end of file +} diff --git a/DebugTools/MinecraftClientProxy/Compression/ZlibBaseStream.cs b/DebugTools/MinecraftClientProxy/Compression/ZlibBaseStream.cs index 700ab7ba..b085c0cb 100644 --- a/DebugTools/MinecraftClientProxy/Compression/ZlibBaseStream.cs +++ b/DebugTools/MinecraftClientProxy/Compression/ZlibBaseStream.cs @@ -1,4 +1,4 @@ -// ZlibBaseStream.cs +// ZlibBaseStream.cs // ------------------------------------------------------------------ // // Copyright (c) 2009 Dino Chiesa and Microsoft Corporation. diff --git a/DebugTools/MinecraftClientProxy/Compression/ZlibCodec.cs b/DebugTools/MinecraftClientProxy/Compression/ZlibCodec.cs index 76d1535a..c8fdd7fd 100644 --- a/DebugTools/MinecraftClientProxy/Compression/ZlibCodec.cs +++ b/DebugTools/MinecraftClientProxy/Compression/ZlibCodec.cs @@ -714,4 +714,4 @@ namespace Ionic.Zlib } } -} \ No newline at end of file +} diff --git a/DebugTools/MinecraftClientProxy/Compression/ZlibStream.cs b/DebugTools/MinecraftClientProxy/Compression/ZlibStream.cs index 88ddca9d..4d01f8fd 100644 --- a/DebugTools/MinecraftClientProxy/Compression/ZlibStream.cs +++ b/DebugTools/MinecraftClientProxy/Compression/ZlibStream.cs @@ -722,4 +722,4 @@ namespace Ionic.Zlib } -} \ No newline at end of file +} diff --git a/DebugTools/README.txt b/DebugTools/README.txt index 17a2f92d..7acbc0fa 100644 --- a/DebugTools/README.txt +++ b/DebugTools/README.txt @@ -3,4 +3,4 @@ This part of the repository contains tools that may be useful for debugging MinecraftClientProxy A proxy between a MCC/Vanilla client and an offline-mode server which can intercept packets Useful to dump packets sent by a Vanilla minecraft client and compare them with packets from MCC - Example of use case: https://github.com/MCCTeam/Minecraft-Console-Client/issues/195 \ No newline at end of file + Example of use case: https://github.com/MCCTeam/Minecraft-Console-Client/issues/195 diff --git a/Docker/Dockerfile b/Docker/Dockerfile index ab1c6a91..f8a5b485 100644 --- a/Docker/Dockerfile +++ b/Docker/Dockerfile @@ -13,4 +13,4 @@ RUN apt-get update && \ apt-get install -y unzip && \ mkdir /opt/data -ENTRYPOINT ["/bin/sh", "-c", "/opt/start-latest.sh"] \ No newline at end of file +ENTRYPOINT ["/bin/sh", "-c", "/opt/start-latest.sh"] diff --git a/MinecraftClient.sln b/MinecraftClient.sln index 1a4023e6..d769e6ae 100644 --- a/MinecraftClient.sln +++ b/MinecraftClient.sln @@ -26,7 +26,8 @@ Global HideSolutionNode = FALSE EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution - RESX_ShowErrorsInErrorList = False + RESX_SortFileContentOnSave = True SolutionGuid = {6DED60F4-9CF4-4DB3-8966-582B2EBE8487} + RESX_ShowErrorsInErrorList = False EndGlobalSection EndGlobal diff --git a/MinecraftClient/ChatBots/Alerts.cs b/MinecraftClient/ChatBots/Alerts.cs index e503d52f..8fe17223 100644 --- a/MinecraftClient/ChatBots/Alerts.cs +++ b/MinecraftClient/ChatBots/Alerts.cs @@ -20,28 +20,28 @@ namespace MinecraftClient.ChatBots public bool Enabled = false; - [TomlInlineComment("$config.ChatBot.Alerts.Beep_Enabled$")] + [TomlInlineComment("$ChatBot.Alerts.Beep_Enabled$")] public bool Beep_Enabled = true; - [TomlInlineComment("$config.ChatBot.Alerts.Trigger_By_Words$")] + [TomlInlineComment("$ChatBot.Alerts.Trigger_By_Words$")] public bool Trigger_By_Words = false; - [TomlInlineComment("$config.ChatBot.Alerts.Trigger_By_Rain$")] + [TomlInlineComment("$ChatBot.Alerts.Trigger_By_Rain$")] public bool Trigger_By_Rain = false; - [TomlInlineComment("$config.ChatBot.Alerts.Trigger_By_Thunderstorm$")] + [TomlInlineComment("$ChatBot.Alerts.Trigger_By_Thunderstorm$")] public bool Trigger_By_Thunderstorm = false; - [TomlInlineComment("$config.ChatBot.Alerts.Log_To_File$")] + [TomlInlineComment("$ChatBot.Alerts.Log_To_File$")] public bool Log_To_File = false; - [TomlInlineComment("$config.ChatBot.Alerts.Log_File$")] + [TomlInlineComment("$ChatBot.Alerts.Log_File$")] public string Log_File = @"alerts-log.txt"; - [TomlPrecedingComment("$config.ChatBot.Alerts.Matches$")] + [TomlPrecedingComment("$ChatBot.Alerts.Matches$")] public string[] Matches = new string[] { "Yourname", " whispers ", "-> me", "admin", ".com" }; - [TomlPrecedingComment("$config.ChatBot.Alerts.Excludes$")] + [TomlPrecedingComment("$ChatBot.Alerts.Excludes$")] public string[] Excludes = new string[] { "myserver.com", "Yourname>:", "Player Yourname", "Yourname joined", "Yourname left", "[Lockette] (Admin)", " Yourname:", "Yourname is" }; public void OnSettingUpdate() @@ -124,7 +124,7 @@ namespace MinecraftClient.ChatBots Console.Beep(); Console.Beep(); } - LogToConsole(Translations.bot_alerts_start_rain); + LogToConsole("§c" + Translations.bot_alerts_start_rain); } } else if (curRainLevel >= threshold && level < threshold) @@ -135,7 +135,7 @@ namespace MinecraftClient.ChatBots { Console.Beep(); } - LogToConsole(Translations.bot_alerts_end_rain); + LogToConsole("§c" + Translations.bot_alerts_end_rain); } } curRainLevel = level; @@ -152,7 +152,7 @@ namespace MinecraftClient.ChatBots Console.Beep(); Console.Beep(); } - LogToConsole(Translations.bot_alerts_start_thunderstorm); + LogToConsole("§c" + Translations.bot_alerts_start_thunderstorm); } } else if (curThunderLevel >= threshold && level < threshold) @@ -163,7 +163,7 @@ namespace MinecraftClient.ChatBots { Console.Beep(); } - LogToConsole(Translations.bot_alerts_end_thunderstorm); + LogToConsole("§c" + Translations.bot_alerts_end_thunderstorm); } } curThunderLevel = level; diff --git a/MinecraftClient/ChatBots/AntiAFK.cs b/MinecraftClient/ChatBots/AntiAFK.cs index bbf73637..a6fd308b 100644 --- a/MinecraftClient/ChatBots/AntiAFK.cs +++ b/MinecraftClient/ChatBots/AntiAFK.cs @@ -23,22 +23,22 @@ namespace MinecraftClient.ChatBots public bool Enabled = false; - [TomlInlineComment("$config.ChatBot.AntiAfk.Delay$")] + [TomlInlineComment("$ChatBot.AntiAfk.Delay$")] public Range Delay = new(60); - [TomlInlineComment("$config.ChatBot.AntiAfk.Command$")] + [TomlInlineComment("$ChatBot.AntiAfk.Command$")] public string Command = "/ping"; - [TomlInlineComment("$config.ChatBot.AntiAfk.Use_Sneak$")] + [TomlInlineComment("$ChatBot.AntiAfk.Use_Sneak$")] public bool Use_Sneak = false; - [TomlInlineComment("$config.ChatBot.AntiAfk.Use_Terrain_Handling$")] + [TomlInlineComment("$ChatBot.AntiAfk.Use_Terrain_Handling$")] public bool Use_Terrain_Handling = false; - [TomlInlineComment("$config.ChatBot.AntiAfk.Walk_Range$")] + [TomlInlineComment("$ChatBot.AntiAfk.Walk_Range$")] public int Walk_Range = 5; - [TomlInlineComment("$config.ChatBot.AntiAfk.Walk_Retries$")] + [TomlInlineComment("$ChatBot.AntiAfk.Walk_Retries$")] public int Walk_Retries = 20; public void OnSettingUpdate() @@ -93,7 +93,7 @@ namespace MinecraftClient.ChatBots count = 0; } - public override void Initialize(CommandDispatcher dispatcher) + public override void Initialize() { if (Config.Use_Terrain_Handling) { diff --git a/MinecraftClient/ChatBots/AutoAttack.cs b/MinecraftClient/ChatBots/AutoAttack.cs index f7bed4ed..771d5769 100644 --- a/MinecraftClient/ChatBots/AutoAttack.cs +++ b/MinecraftClient/ChatBots/AutoAttack.cs @@ -23,28 +23,28 @@ namespace MinecraftClient.ChatBots public bool Enabled = false; - [TomlInlineComment("$config.ChatBot.AutoAttack.Mode$")] + [TomlInlineComment("$ChatBot.AutoAttack.Mode$")] public AttackMode Mode = AttackMode.single; - [TomlInlineComment("$config.ChatBot.AutoAttack.Priority$")] + [TomlInlineComment("$ChatBot.AutoAttack.Priority$")] public PriorityType Priority = PriorityType.distance; - [TomlInlineComment("$config.ChatBot.AutoAttack.Cooldown_Time$")] + [TomlInlineComment("$ChatBot.AutoAttack.Cooldown_Time$")] public CooldownConfig Cooldown_Time = new(false, 1.0); - [TomlInlineComment("$config.ChatBot.AutoAttack.Interaction$")] + [TomlInlineComment("$ChatBot.AutoAttack.Interaction$")] public InteractType Interaction = InteractType.Attack; - [TomlInlineComment("$config.ChatBot.AutoAttack.Attack_Hostile$")] + [TomlInlineComment("$ChatBot.AutoAttack.Attack_Hostile$")] public bool Attack_Hostile = true; - [TomlInlineComment("$config.ChatBot.AutoAttack.Attack_Passive$")] + [TomlInlineComment("$ChatBot.AutoAttack.Attack_Passive$")] public bool Attack_Passive = false; - [TomlInlineComment("$config.ChatBot.AutoAttack.List_Mode$")] + [TomlInlineComment("$ChatBot.AutoAttack.List_Mode$")] public ListType List_Mode = ListType.whitelist; - [TomlInlineComment("$config.ChatBot.AutoAttack.Entites_List$")] + [TomlInlineComment("$ChatBot.AutoAttack.Entites_List$")] public List Entites_List = new() { EntityType.Zombie, EntityType.Cow }; public void OnSettingUpdate() @@ -112,7 +112,7 @@ namespace MinecraftClient.ChatBots attackPassive = Config.Attack_Passive; } - public override void Initialize(CommandDispatcher dispatcher) + public override void Initialize() { if (!GetEntityHandlingEnabled()) { diff --git a/MinecraftClient/ChatBots/AutoCraft.cs b/MinecraftClient/ChatBots/AutoCraft.cs index 9c700160..890f235c 100644 --- a/MinecraftClient/ChatBots/AutoCraft.cs +++ b/MinecraftClient/ChatBots/AutoCraft.cs @@ -28,13 +28,13 @@ namespace MinecraftClient.ChatBots public bool Enabled = false; - [TomlInlineComment("$config.ChatBot.AutoCraft.CraftingTable$")] + [TomlInlineComment("$ChatBot.AutoCraft.CraftingTable$")] public LocationConfig CraftingTable = new(123, 65, 456); - [TomlInlineComment("$config.ChatBot.AutoCraft.OnFailure$")] + [TomlInlineComment("$ChatBot.AutoCraft.OnFailure$")] public OnFailConfig OnFailure = OnFailConfig.abort; - [TomlPrecedingComment("$config.ChatBot.AutoCraft.Recipes$")] + [TomlPrecedingComment("$ChatBot.AutoCraft.Recipes$")] public RecipeConfig[] Recipes = new RecipeConfig[] { new RecipeConfig( @@ -286,7 +286,7 @@ namespace MinecraftClient.ChatBots } } - public override void Initialize(CommandDispatcher dispatcher) + public override void Initialize() { if (!GetInventoryEnabled()) { @@ -296,7 +296,7 @@ namespace MinecraftClient.ChatBots return; } - dispatcher.Register(l => l.Literal("help") + Handler.dispatcher.Register(l => l.Literal("help") .Then(l => l.Literal(CommandName) .Executes(r => OnCommandHelp(r.Source, string.Empty)) .Then(l => l.Literal("list") @@ -310,7 +310,7 @@ namespace MinecraftClient.ChatBots ) ); - dispatcher.Register(l => l.Literal(CommandName) + Handler.dispatcher.Register(l => l.Literal(CommandName) .Then(l => l.Literal("list") .Executes(r => OnCommandList(r.Source))) .Then(l => l.Literal("start") @@ -319,14 +319,14 @@ namespace MinecraftClient.ChatBots .Then(l => l.Literal("stop") .Executes(r => OnCommandStop(r.Source))) .Then(l => l.Literal("_help") - .Redirect(dispatcher.GetRoot().GetChild("help").GetChild(CommandName))) + .Redirect(Handler.dispatcher.GetRoot().GetChild("help").GetChild(CommandName))) ); } - public override void OnUnload(CommandDispatcher dispatcher) + public override void OnUnload() { - dispatcher.Unregister(CommandName); - dispatcher.GetRoot().GetChild("help").RemoveChild(CommandName); + Handler.dispatcher.Unregister(CommandName); + Handler.dispatcher.GetRoot().GetChild("help").RemoveChild(CommandName); } private int OnCommandHelp(CmdResult r, string? cmd) @@ -339,7 +339,7 @@ namespace MinecraftClient.ChatBots "stop" => Translations.bot_autoCraft_help_stop, "help" => Translations.bot_autoCraft_help_help, _ => string.Format(Translations.bot_autoCraft_available_cmd, "load, list, reload, resetcfg, start, stop, help") - + '\n' + McClient.dispatcher.GetAllUsageString(CommandName, false), + + '\n' + Handler.dispatcher.GetAllUsageString(CommandName, false), #pragma warning restore format // @formatter:on }); } diff --git a/MinecraftClient/ChatBots/AutoDig.cs b/MinecraftClient/ChatBots/AutoDig.cs index 740a9053..8c2180e6 100644 --- a/MinecraftClient/ChatBots/AutoDig.cs +++ b/MinecraftClient/ChatBots/AutoDig.cs @@ -26,36 +26,36 @@ namespace MinecraftClient.ChatBots public bool Enabled = false; [NonSerialized] - [TomlInlineComment("$config.ChatBot.AutoDig.Auto_Tool_Switch$")] + [TomlInlineComment("$ChatBot.AutoDig.Auto_Tool_Switch$")] public bool Auto_Tool_Switch = false; [NonSerialized] - [TomlInlineComment("$config.ChatBot.AutoDig.Durability_Limit$")] + [TomlInlineComment("$ChatBot.AutoDig.Durability_Limit$")] public int Durability_Limit = 2; [NonSerialized] - [TomlInlineComment("$config.ChatBot.AutoDig.Drop_Low_Durability_Tools$")] + [TomlInlineComment("$ChatBot.AutoDig.Drop_Low_Durability_Tools$")] public bool Drop_Low_Durability_Tools = false; - [TomlInlineComment("$config.ChatBot.AutoDig.Mode$")] + [TomlInlineComment("$ChatBot.AutoDig.Mode$")] public ModeType Mode = ModeType.lookat; - [TomlPrecedingComment("$config.ChatBot.AutoDig.Locations$")] + [TomlPrecedingComment("$ChatBot.AutoDig.Locations$")] public Coordination[] Locations = new Coordination[] { new(123.5, 64, 234.5), new(124.5, 63, 235.5) }; - [TomlInlineComment("$config.ChatBot.AutoDig.Location_Order$")] + [TomlInlineComment("$ChatBot.AutoDig.Location_Order$")] public OrderType Location_Order = OrderType.distance; - [TomlInlineComment("$config.ChatBot.AutoDig.Auto_Start_Delay$")] + [TomlInlineComment("$ChatBot.AutoDig.Auto_Start_Delay$")] public double Auto_Start_Delay = 3.0; - [TomlInlineComment("$config.ChatBot.AutoDig.Dig_Timeout$")] + [TomlInlineComment("$ChatBot.AutoDig.Dig_Timeout$")] public double Dig_Timeout = 60.0; - [TomlInlineComment("$config.ChatBot.AutoDig.Log_Block_Dig$")] + [TomlInlineComment("$ChatBot.AutoDig.Log_Block_Dig$")] public bool Log_Block_Dig = true; - [TomlInlineComment("$config.ChatBot.AutoDig.List_Type$")] + [TomlInlineComment("$ChatBot.AutoDig.List_Type$")] public ListType List_Type = ListType.whitelist; public List Blocks = new() { Material.Cobblestone, Material.Stone }; @@ -110,7 +110,7 @@ namespace MinecraftClient.ChatBots Stopping, } - public override void Initialize(CommandDispatcher dispatcher) + public override void Initialize() { if (!GetTerrainEnabled()) { @@ -124,7 +124,7 @@ namespace MinecraftClient.ChatBots if (!inventoryEnabled && Config.Auto_Tool_Switch) LogToConsole(Translations.bot_autodig_no_inv_handle); - dispatcher.Register(l => l.Literal("help") + Handler.dispatcher.Register(l => l.Literal("help") .Then(l => l.Literal(CommandName) .Executes(r => OnCommandHelp(r.Source, string.Empty)) .Then(l => l.Literal("start") @@ -136,25 +136,25 @@ namespace MinecraftClient.ChatBots ) ); - var cmd = dispatcher.Register(l => l.Literal(CommandName) + var cmd = Handler.dispatcher.Register(l => l.Literal(CommandName) .Then(l => l.Literal("start") .Executes(r => OnCommandStart(r.Source))) .Then(l => l.Literal("stop") .Executes(r => OnCommandStop(r.Source))) .Then(l => l.Literal("_help") - .Redirect(dispatcher.GetRoot().GetChild("help").GetChild(CommandName))) + .Redirect(Handler.dispatcher.GetRoot().GetChild("help").GetChild(CommandName))) ); - dispatcher.Register(l => l.Literal("digbot") + Handler.dispatcher.Register(l => l.Literal("digbot") .Redirect(cmd) ); } - public override void OnUnload(CommandDispatcher dispatcher) + public override void OnUnload() { - dispatcher.Unregister("digbot"); - dispatcher.Unregister(CommandName); - dispatcher.GetRoot().GetChild("help").RemoveChild(CommandName); + Handler.dispatcher.Unregister("digbot"); + Handler.dispatcher.Unregister(CommandName); + Handler.dispatcher.GetRoot().GetChild("help").RemoveChild(CommandName); } private int OnCommandHelp(CmdResult r, string? cmd) @@ -166,7 +166,7 @@ namespace MinecraftClient.ChatBots "stop" => Translations.bot_autodig_help_stop, "help" => Translations.bot_autodig_help_help, _ => string.Format(Translations.bot_autodig_available_cmd, "start, stop, help") - + '\n' + McClient.dispatcher.GetAllUsageString(CommandName, false), + + '\n' + Handler.dispatcher.GetAllUsageString(CommandName, false), #pragma warning restore format // @formatter:on }); } diff --git a/MinecraftClient/ChatBots/AutoDrop.cs b/MinecraftClient/ChatBots/AutoDrop.cs index 5781af9e..00854a67 100644 --- a/MinecraftClient/ChatBots/AutoDrop.cs +++ b/MinecraftClient/ChatBots/AutoDrop.cs @@ -26,7 +26,7 @@ namespace MinecraftClient.ChatBots public bool Enabled = false; - [TomlInlineComment("$config.ChatBot.AutoDrop.Mode$")] + [TomlInlineComment("$ChatBot.AutoDrop.Mode$")] public DropMode Mode = DropMode.include; public List Items = new() { ItemType.Cobblestone, ItemType.Dirt }; @@ -45,7 +45,7 @@ namespace MinecraftClient.ChatBots private readonly int updateDebounceValue = 2; private int inventoryUpdated = -1; - public override void Initialize(CommandDispatcher dispatcher) + public override void Initialize() { if (!GetInventoryEnabled()) { @@ -55,7 +55,7 @@ namespace MinecraftClient.ChatBots return; } - dispatcher.Register(l => l.Literal("help") + Handler.dispatcher.Register(l => l.Literal("help") .Then(l => l.Literal(CommandName) .Executes(r => OnCommandHelp(r.Source, string.Empty)) .Then(l => l.Literal("add") @@ -67,7 +67,7 @@ namespace MinecraftClient.ChatBots ) ); - dispatcher.Register(l => l.Literal(CommandName) + Handler.dispatcher.Register(l => l.Literal(CommandName) .Then(l => l.Literal("on") .Executes(r => OnCommandEnable(r.Source, true))) .Then(l => l.Literal("off") @@ -88,14 +88,14 @@ namespace MinecraftClient.ChatBots .Then(l => l.Literal("everything") .Executes(r => OnCommandMode(r.Source, DropMode.everything)))) .Then(l => l.Literal("_help") - .Redirect(dispatcher.GetRoot().GetChild("help").GetChild(CommandName))) + .Redirect(Handler.dispatcher.GetRoot().GetChild("help").GetChild(CommandName))) ); } - public override void OnUnload(CommandDispatcher dispatcher) + public override void OnUnload() { - dispatcher.Unregister(CommandName); - dispatcher.GetRoot().GetChild("help").RemoveChild(CommandName); + Handler.dispatcher.Unregister(CommandName); + Handler.dispatcher.GetRoot().GetChild("help").RemoveChild(CommandName); } private int OnCommandHelp(CmdResult r, string? cmd) @@ -107,7 +107,7 @@ namespace MinecraftClient.ChatBots "remove" => Translations.cmd_inventory_help_usage + ": remove ", "mode" => Translations.bot_autoDrop_unknown_mode, _ => string.Format(Translations.general_available_cmd, "on, off, add, remove, list, mode") - + '\n' + McClient.dispatcher.GetAllUsageString(CommandName, false), + + '\n' + Handler.dispatcher.GetAllUsageString(CommandName, false), #pragma warning restore format // @formatter:on }); } diff --git a/MinecraftClient/ChatBots/AutoFishing.cs b/MinecraftClient/ChatBots/AutoFishing.cs index 963cc9ad..652c7b3f 100644 --- a/MinecraftClient/ChatBots/AutoFishing.cs +++ b/MinecraftClient/ChatBots/AutoFishing.cs @@ -32,43 +32,43 @@ namespace MinecraftClient.ChatBots public bool Enabled = false; - [TomlInlineComment("$config.ChatBot.AutoFishing.Antidespawn$")] + [TomlInlineComment("$ChatBot.AutoFishing.Antidespawn$")] public bool Antidespawn = false; - [TomlInlineComment("$config.ChatBot.AutoFishing.Mainhand$")] + [TomlInlineComment("$ChatBot.AutoFishing.Mainhand$")] public bool Mainhand = true; - [TomlInlineComment("$config.ChatBot.AutoFishing.Auto_Start$")] + [TomlInlineComment("$ChatBot.AutoFishing.Auto_Start$")] public bool Auto_Start = true; - [TomlInlineComment("$config.ChatBot.AutoFishing.Cast_Delay$")] + [TomlInlineComment("$ChatBot.AutoFishing.Cast_Delay$")] public double Cast_Delay = 0.4; - [TomlInlineComment("$config.ChatBot.AutoFishing.Fishing_Delay$")] + [TomlInlineComment("$ChatBot.AutoFishing.Fishing_Delay$")] public double Fishing_Delay = 3.0; - [TomlInlineComment("$config.ChatBot.AutoFishing.Fishing_Timeout$")] + [TomlInlineComment("$ChatBot.AutoFishing.Fishing_Timeout$")] public double Fishing_Timeout = 300.0; - [TomlInlineComment("$config.ChatBot.AutoFishing.Durability_Limit$")] + [TomlInlineComment("$ChatBot.AutoFishing.Durability_Limit$")] public double Durability_Limit = 2; - [TomlInlineComment("$config.ChatBot.AutoFishing.Auto_Rod_Switch$")] + [TomlInlineComment("$ChatBot.AutoFishing.Auto_Rod_Switch$")] public bool Auto_Rod_Switch = true; - [TomlInlineComment("$config.ChatBot.AutoFishing.Stationary_Threshold$")] + [TomlInlineComment("$ChatBot.AutoFishing.Stationary_Threshold$")] public double Stationary_Threshold = 0.001; - [TomlInlineComment("$config.ChatBot.AutoFishing.Hook_Threshold$")] + [TomlInlineComment("$ChatBot.AutoFishing.Hook_Threshold$")] public double Hook_Threshold = 0.2; - [TomlInlineComment("$config.ChatBot.AutoFishing.Log_Fish_Bobber$")] + [TomlInlineComment("$ChatBot.AutoFishing.Log_Fish_Bobber$")] public bool Log_Fish_Bobber = false; - [TomlInlineComment("$config.ChatBot.AutoFishing.Enable_Move$")] + [TomlInlineComment("$ChatBot.AutoFishing.Enable_Move$")] public bool Enable_Move = false; - [TomlPrecedingComment("$config.ChatBot.AutoFishing.Movements$")] + [TomlPrecedingComment("$ChatBot.AutoFishing.Movements$")] public LocationConfig[] Movements = new LocationConfig[] { new LocationConfig(12.34, -23.45), @@ -176,7 +176,7 @@ namespace MinecraftClient.ChatBots Stopping, } - public override void Initialize(CommandDispatcher dispatcher) + public override void Initialize() { if (!GetEntityHandlingEnabled()) { @@ -188,7 +188,7 @@ namespace MinecraftClient.ChatBots if (!inventoryEnabled) LogToConsole(Translations.bot_autoFish_no_inv_handle); - dispatcher.Register(l => l.Literal("help") + Handler.dispatcher.Register(l => l.Literal("help") .Then(l => l.Literal(CommandName) .Executes(r => OnCommandHelp(r.Source, string.Empty)) .Then(l => l.Literal("start") @@ -202,7 +202,7 @@ namespace MinecraftClient.ChatBots ) ); - dispatcher.Register(l => l.Literal(CommandName) + Handler.dispatcher.Register(l => l.Literal(CommandName) .Then(l => l.Literal("start") .Executes(r => OnCommandStart(r.Source))) .Then(l => l.Literal("stop") @@ -212,14 +212,14 @@ namespace MinecraftClient.ChatBots .Then(l => l.Literal("clear") .Executes(r => OnCommandStatusClear(r.Source)))) .Then(l => l.Literal("_help") - .Redirect(dispatcher.GetRoot().GetChild("help").GetChild(CommandName))) + .Redirect(Handler.dispatcher.GetRoot().GetChild("help").GetChild(CommandName))) ); } - public override void OnUnload(CommandDispatcher dispatcher) + public override void OnUnload() { - dispatcher.Unregister(CommandName); - dispatcher.GetRoot().GetChild("help").RemoveChild(CommandName); + Handler.dispatcher.Unregister(CommandName); + Handler.dispatcher.GetRoot().GetChild("help").RemoveChild(CommandName); } private int OnCommandHelp(CmdResult r, string? cmd) @@ -232,7 +232,7 @@ namespace MinecraftClient.ChatBots "status" => Translations.bot_autoFish_help_status, "help" => Translations.bot_autoFish_help_help, _ => string.Format(Translations.bot_autoFish_available_cmd, "start, stop, status, help") - + '\n' + McClient.dispatcher.GetAllUsageString(CommandName, false), + + '\n' + Handler.dispatcher.GetAllUsageString(CommandName, false), #pragma warning restore format // @formatter:on }); } diff --git a/MinecraftClient/ChatBots/AutoRelog.cs b/MinecraftClient/ChatBots/AutoRelog.cs index ae69d76f..4f461d83 100644 --- a/MinecraftClient/ChatBots/AutoRelog.cs +++ b/MinecraftClient/ChatBots/AutoRelog.cs @@ -21,16 +21,16 @@ namespace MinecraftClient.ChatBots public bool Enabled = false; - [TomlInlineComment("$config.ChatBot.AutoRelog.Delay$")] + [TomlInlineComment("$ChatBot.AutoRelog.Delay$")] public Range Delay = new(3); - [TomlInlineComment("$config.ChatBot.AutoRelog.Retries$")] + [TomlInlineComment("$ChatBot.AutoRelog.Retries$")] public int Retries = 3; - [TomlInlineComment("$config.ChatBot.AutoRelog.Ignore_Kick_Message$")] + [TomlInlineComment("$ChatBot.AutoRelog.Ignore_Kick_Message$")] public bool Ignore_Kick_Message = false; - [TomlPrecedingComment("$config.ChatBot.AutoRelog.Kick_Messages$")] + [TomlPrecedingComment("$ChatBot.AutoRelog.Kick_Messages$")] public string[] Kick_Messages = new string[] { "Connection has been lost", "Server is restarting", "Server is full", "Too Many people" }; [NonSerialized] @@ -85,12 +85,12 @@ namespace MinecraftClient.ChatBots LogDebugToConsole(string.Format(Translations.bot_autoRelog_launch, Config.Retries)); } - public override void Initialize(CommandDispatcher dispatcher) + public override void Initialize() { - Initialize(); + _Initialize(); } - private void Initialize() + private void _Initialize() { McClient.ReconnectionAttemptsLeft = Config.Retries; if (Config.Ignore_Kick_Message) diff --git a/MinecraftClient/ChatBots/AutoRespond.cs b/MinecraftClient/ChatBots/AutoRespond.cs index bb5ff233..823dfa16 100644 --- a/MinecraftClient/ChatBots/AutoRespond.cs +++ b/MinecraftClient/ChatBots/AutoRespond.cs @@ -30,7 +30,7 @@ namespace MinecraftClient.ChatBots public string Matches_File = @"matches.ini"; - [TomlInlineComment("$config.ChatBot.AutoRespond.Match_Colors$")] + [TomlInlineComment("$ChatBot.AutoRespond.Match_Colors$")] public bool Match_Colors = false; public void OnSettingUpdate() @@ -187,7 +187,7 @@ namespace MinecraftClient.ChatBots /// /// Initialize the AutoRespond bot from the matches file /// - public override void Initialize(CommandDispatcher dispatcher) + public override void Initialize() { if (File.Exists(Config.Matches_File)) { diff --git a/MinecraftClient/ChatBots/DiscordBridge.cs b/MinecraftClient/ChatBots/DiscordBridge.cs index 848fb86b..528805b5 100644 --- a/MinecraftClient/ChatBots/DiscordBridge.cs +++ b/MinecraftClient/ChatBots/DiscordBridge.cs @@ -44,22 +44,22 @@ namespace MinecraftClient.ChatBots public bool Enabled = false; - [TomlInlineComment("$config.ChatBot.DiscordBridge.Token$")] + [TomlInlineComment("$ChatBot.DiscordBridge.Token$")] public string Token = "your bot token here"; - [TomlInlineComment("$config.ChatBot.DiscordBridge.GuildId$")] + [TomlInlineComment("$ChatBot.DiscordBridge.GuildId$")] public ulong GuildId = 1018553894831403028L; - [TomlInlineComment("$config.ChatBot.DiscordBridge.ChannelId$")] + [TomlInlineComment("$ChatBot.DiscordBridge.ChannelId$")] public ulong ChannelId = 1018565295654326364L; - [TomlInlineComment("$config.ChatBot.DiscordBridge.OwnersIds$")] + [TomlInlineComment("$ChatBot.DiscordBridge.OwnersIds$")] public ulong[] OwnersIds = new[] { 978757810781323276UL }; - [TomlInlineComment("$config.ChatBot.DiscordBridge.MessageSendTimeout$")] + [TomlInlineComment("$ChatBot.DiscordBridge.MessageSendTimeout$")] public int Message_Send_Timeout = 3; - [TomlPrecedingComment("$config.ChatBot.DiscordBridge.Formats$")] + [TomlPrecedingComment("$ChatBot.DiscordBridge.Formats$")] public string PrivateMessageFormat = "**[Private Message]** {username}: {message}"; public string PublicMessageFormat = "{username}: {message}"; public string TeleportRequestMessageFormat = "A new Teleport Request from **{username}**!"; @@ -75,15 +75,15 @@ namespace MinecraftClient.ChatBots instance = this; } - public override void Initialize(CommandDispatcher dispatcher) + public override void Initialize() { - dispatcher.Register(l => l.Literal("help") + Handler.dispatcher.Register(l => l.Literal("help") .Then(l => l.Literal(CommandName) .Executes(r => OnCommandHelp(r.Source, string.Empty)) ) ); - dispatcher.Register(l => l.Literal(CommandName) + Handler.dispatcher.Register(l => l.Literal(CommandName) .Then(l => l.Literal("direction") .Then(l => l.Literal("both") .Executes(r => OnCommandDirection(r.Source, BridgeDirection.Both))) @@ -93,16 +93,16 @@ namespace MinecraftClient.ChatBots .Executes(r => OnCommandDirection(r.Source, BridgeDirection.Discord))) ) .Then(l => l.Literal("_help") - .Redirect(dispatcher.GetRoot().GetChild("help").GetChild(CommandName))) + .Redirect(Handler.dispatcher.GetRoot().GetChild("help").GetChild(CommandName))) ); Task.Run(async () => await MainAsync()); } - public override void OnUnload(CommandDispatcher dispatcher) + public override void OnUnload() { - dispatcher.Unregister(CommandName); - dispatcher.GetRoot().GetChild("help").RemoveChild(CommandName); + Handler.dispatcher.Unregister(CommandName); + Handler.dispatcher.GetRoot().GetChild("help").RemoveChild(CommandName); Disconnect(); } @@ -112,7 +112,7 @@ namespace MinecraftClient.ChatBots { #pragma warning disable format // @formatter:off _ => "dscbridge direction " - + '\n' + McClient.dispatcher.GetAllUsageString(CommandName, false), + + '\n' + Handler.dispatcher.GetAllUsageString(CommandName, false), #pragma warning restore format // @formatter:on }); } diff --git a/MinecraftClient/ChatBots/Farmer.cs b/MinecraftClient/ChatBots/Farmer.cs index e54e5ed7..64373ed8 100644 --- a/MinecraftClient/ChatBots/Farmer.cs +++ b/MinecraftClient/ChatBots/Farmer.cs @@ -29,7 +29,7 @@ namespace MinecraftClient.ChatBots public bool Enabled = false; - [TomlInlineComment("$config.ChatBot.Farmer.Delay_Between_Tasks$")] + [TomlInlineComment("$ChatBot.Farmer.Delay_Between_Tasks$")] public double Delay_Between_Tasks = 1.0; public void OnSettingUpdate() @@ -70,7 +70,7 @@ namespace MinecraftClient.ChatBots private const string commandDescription = "farmer [radius:] [unsafe:] [teleport:] [debug:]|stop>"; - public override void Initialize(CommandDispatcher dispatcher) + public override void Initialize() { if (GetProtocolVersion() < Protocol18Handler.MC_1_13_Version) { @@ -90,13 +90,13 @@ namespace MinecraftClient.ChatBots return; } - dispatcher.Register(l => l.Literal("help") + Handler.dispatcher.Register(l => l.Literal("help") .Then(l => l.Literal(CommandName) .Executes(r => OnCommandHelp(r.Source, string.Empty)) ) ); - dispatcher.Register(l => l.Literal(CommandName) + Handler.dispatcher.Register(l => l.Literal(CommandName) .Then(l => l.Literal("stop") .Executes(r => OnCommandStop(r.Source))) .Then(l => l.Literal("start") @@ -105,14 +105,14 @@ namespace MinecraftClient.ChatBots .Then(l => l.Argument("OtherArgs", Arguments.GreedyString()) .Executes(r => OnCommandStart(r.Source, MccArguments.GetFarmerCropType(r, "CropType"), Arguments.GetString(r, "OtherArgs")))))) .Then(l => l.Literal("_help") - .Redirect(dispatcher.GetRoot().GetChild("help").GetChild(CommandName))) + .Redirect(Handler.dispatcher.GetRoot().GetChild("help").GetChild(CommandName))) ); } - public override void OnUnload(CommandDispatcher dispatcher) + public override void OnUnload() { - dispatcher.Unregister(CommandName); - dispatcher.GetRoot().GetChild("help").RemoveChild(CommandName); + Handler.dispatcher.Unregister(CommandName); + Handler.dispatcher.GetRoot().GetChild("help").RemoveChild(CommandName); } private int OnCommandHelp(CmdResult r, string? cmd) @@ -121,7 +121,7 @@ namespace MinecraftClient.ChatBots { #pragma warning disable format // @formatter:off _ => Translations.bot_farmer_desc + ": " + commandDescription - + '\n' + McClient.dispatcher.GetAllUsageString(CommandName, false), + + '\n' + Handler.dispatcher.GetAllUsageString(CommandName, false), #pragma warning restore format // @formatter:on }); } diff --git a/MinecraftClient/ChatBots/FollowPlayer.cs b/MinecraftClient/ChatBots/FollowPlayer.cs index 231332b4..4ff6695a 100644 --- a/MinecraftClient/ChatBots/FollowPlayer.cs +++ b/MinecraftClient/ChatBots/FollowPlayer.cs @@ -24,10 +24,10 @@ namespace MinecraftClient.ChatBots public bool Enabled = false; - [TomlInlineComment("$config.ChatBot.FollowPlayer.Update_Limit$")] + [TomlInlineComment("$ChatBot.FollowPlayer.Update_Limit$")] public double Update_Limit = 1.5; - [TomlInlineComment("$config.ChatBot.FollowPlayer.Stop_At_Distance$")] + [TomlInlineComment("$ChatBot.FollowPlayer.Stop_At_Distance$")] public double Stop_At_Distance = 3.0; public void OnSettingUpdate() @@ -44,7 +44,7 @@ namespace MinecraftClient.ChatBots private int _updateCounter = 0; private bool _unsafeEnabled = false; - public override void Initialize(CommandDispatcher dispatcher) + public override void Initialize() { if (!GetEntityHandlingEnabled()) { @@ -62,13 +62,13 @@ namespace MinecraftClient.ChatBots return; } - dispatcher.Register(l => l.Literal("help") + Handler.dispatcher.Register(l => l.Literal("help") .Then(l => l.Literal(CommandName) .Executes(r => OnCommandHelp(r.Source, string.Empty)) ) ); - dispatcher.Register(l => l.Literal(CommandName) + Handler.dispatcher.Register(l => l.Literal(CommandName) .Then(l => l.Literal("start") .Then(l => l.Argument("PlayerName", MccArguments.PlayerName()) .Executes(r => OnCommandStart(r.Source, Arguments.GetString(r, "PlayerName"), takeRisk: false)) @@ -77,14 +77,14 @@ namespace MinecraftClient.ChatBots .Then(l => l.Literal("stop") .Executes(r => OnCommandStop(r.Source))) .Then(l => l.Literal("_help") - .Redirect(dispatcher.GetRoot().GetChild("help").GetChild(CommandName))) + .Redirect(Handler.dispatcher.GetRoot().GetChild("help").GetChild(CommandName))) ); } - public override void OnUnload(CommandDispatcher dispatcher) + public override void OnUnload() { - dispatcher.Unregister(CommandName); - dispatcher.GetRoot().GetChild("help").RemoveChild(CommandName); + Handler.dispatcher.Unregister(CommandName); + Handler.dispatcher.GetRoot().GetChild("help").RemoveChild(CommandName); } private int OnCommandHelp(CmdResult r, string? cmd) @@ -93,7 +93,7 @@ namespace MinecraftClient.ChatBots { #pragma warning disable format // @formatter:off _ => Translations.cmd_follow_desc + ": " + Translations.cmd_follow_usage - + '\n' + McClient.dispatcher.GetAllUsageString(CommandName, false), + + '\n' + Handler.dispatcher.GetAllUsageString(CommandName, false), #pragma warning restore format // @formatter:on }); } diff --git a/MinecraftClient/ChatBots/Mailer.cs b/MinecraftClient/ChatBots/Mailer.cs index 7da1a312..1ca5f034 100644 --- a/MinecraftClient/ChatBots/Mailer.cs +++ b/MinecraftClient/ChatBots/Mailer.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Data; using System.IO; @@ -223,7 +223,7 @@ namespace MinecraftClient.ChatBots /// /// Initialization of the Mailer bot /// - public override void Initialize(CommandDispatcher dispatcher) + public override void Initialize() { LogDebugToConsole(Translations.bot_mailer_init); LogDebugToConsole(Translations.bot_mailer_init_db + Config.DatabaseFile); @@ -258,53 +258,31 @@ namespace MinecraftClient.ChatBots mailDbFileMonitor = new FileMonitor(Path.GetDirectoryName(Config.DatabaseFile)!, Path.GetFileName(Config.DatabaseFile), FileMonitorCallback); ignoreListFileMonitor = new FileMonitor(Path.GetDirectoryName(Config.IgnoreListFile)!, Path.GetFileName(Config.IgnoreListFile), FileMonitorCallback); - dispatcher.Register(l => - l.Literal("help") - .Then(l => l.Literal(CommandName) - .Executes(r => OnCommandHelp(string.Empty)) - .Then(l => l.Argument("any", Arguments.GreedyString()).Executes(r => OnCommandHelp(string.Empty))) - ) + Handler.dispatcher.Register(l => l.Literal("help") + .Then(l => l.Literal(CommandName) + .Executes(r => OnCommandHelp(string.Empty))) ); - dispatcher.Register(l => - l.Literal(CommandName) - .Executes(r => OnCommandHelp(string.Empty)) - .Then(l => l.Literal("getmails") - .Executes(r => OnCommandGetMails()) - .Then(l => l.Argument("any", Arguments.GreedyString()).Executes(r => OnCommandHelp("getmails"))) - ) - .Then(l => l.Literal("getignored") - .Executes(r => OnCommandGetIgnored()) - .Then(l => l.Argument("any", Arguments.GreedyString()).Executes(r => OnCommandHelp("getignored"))) - ) - .Then(l => l.Literal("addignored") - .Executes(r => OnCommandHelp("addignored")) - .Then(l => l.Argument("username", Arguments.String()) - .Executes(r => OnCommandAddIgnored(Arguments.GetString(r, "username"))) - .Then(l => l.Argument("any", Arguments.GreedyString()).Executes(r => OnCommandHelp("addignored"))) - ) - .Then(l => l.Argument("any", Arguments.GreedyString()).Executes(r => OnCommandHelp("addignored"))) - ) - .Then(l => l.Literal("removeignored") - .Executes(r => OnCommandHelp("removeignored")) - .Then(l => l.Argument("username", Arguments.String()) - .Executes(r => OnCommandRemoveIgnored(Arguments.GetString(r, "username"))) - .Then(l => l.Argument("any", Arguments.GreedyString()).Executes(r => OnCommandHelp("removeignored"))) - ) - .Then(l => l.Argument("any", Arguments.GreedyString()).Executes(r => OnCommandHelp("removeignored"))) - ) - .Then(l => l.Literal("_help") - .Executes(r => OnCommandHelp(string.Empty)) - .Redirect(dispatcher.GetRoot().GetChild("help").GetChild(CommandName)) - ) - .Then(l => l.Argument("any", Arguments.GreedyString()).Executes(r => OnCommandHelp(string.Empty))) + Handler.dispatcher.Register(l => l.Literal(CommandName) + .Then(l => l.Literal("getmails") + .Executes(r => OnCommandGetMails())) + .Then(l => l.Literal("getignored") + .Executes(r => OnCommandGetIgnored())) + .Then(l => l.Literal("addignored") + .Then(l => l.Argument("username", Arguments.String()) + .Executes(r => OnCommandAddIgnored(Arguments.GetString(r, "username"))))) + .Then(l => l.Literal("removeignored") + .Then(l => l.Argument("username", Arguments.String()) + .Executes(r => OnCommandRemoveIgnored(Arguments.GetString(r, "username"))))) + .Then(l => l.Literal("_help") + .Redirect(Handler.dispatcher.GetRoot().GetChild("help").GetChild(CommandName))) ); } - public override void OnUnload(CommandDispatcher dispatcher) + public override void OnUnload() { - dispatcher.Unregister(CommandName); - dispatcher.GetRoot().GetChild("help").RemoveChild(CommandName); + Handler.dispatcher.Unregister(CommandName); + Handler.dispatcher.GetRoot().GetChild("help").RemoveChild(CommandName); } private int OnCommandHelp(string cmd) @@ -313,7 +291,7 @@ namespace MinecraftClient.ChatBots { #pragma warning disable format // @formatter:off _ => Translations.bot_mailer_cmd_help + ": /mailer " - + '\n' + McClient.dispatcher.GetAllUsageString(CommandName, false), + + '\n' + Handler.dispatcher.GetAllUsageString(CommandName, false), #pragma warning restore format // @formatter:on }); return 1; diff --git a/MinecraftClient/ChatBots/Map.cs b/MinecraftClient/ChatBots/Map.cs index fd06c769..0839c2a8 100644 --- a/MinecraftClient/ChatBots/Map.cs +++ b/MinecraftClient/ChatBots/Map.cs @@ -35,28 +35,28 @@ namespace MinecraftClient.ChatBots public bool Enabled = false; - [TomlInlineComment("$config.ChatBot.Map.Render_In_Console$")] + [TomlInlineComment("$ChatBot.Map.Render_In_Console$")] public bool Render_In_Console = true; - [TomlInlineComment("$config.ChatBot.Map.Save_To_File$")] + [TomlInlineComment("$ChatBot.Map.Save_To_File$")] public bool Save_To_File = false; - [TomlInlineComment("$config.ChatBot.Map.Auto_Render_On_Update$")] + [TomlInlineComment("$ChatBot.Map.Auto_Render_On_Update$")] public bool Auto_Render_On_Update = false; - [TomlInlineComment("$config.ChatBot.Map.Delete_All_On_Unload$")] + [TomlInlineComment("$ChatBot.Map.Delete_All_On_Unload$")] public bool Delete_All_On_Unload = true; - [TomlInlineComment("$config.ChatBot.Map.Notify_On_First_Update$")] + [TomlInlineComment("$ChatBot.Map.Notify_On_First_Update$")] public bool Notify_On_First_Update = true; - [TomlInlineComment("$config.ChatBot.Map.Rasize_Rendered_Image$")] + [TomlInlineComment("$ChatBot.Map.Rasize_Rendered_Image$")] public bool Rasize_Rendered_Image = false; - [TomlInlineComment("$config.ChatBot.Map.Resize_To$")] + [TomlInlineComment("$ChatBot.Map.Resize_To$")] public int Resize_To = 512; - [TomlPrecedingComment("$config.ChatBot.Map.Send_Rendered_To_Bridges$")] + [TomlPrecedingComment("$ChatBot.Map.Send_Rendered_To_Bridges$")] public bool Send_Rendered_To_Discord = false; public bool Send_Rendered_To_Telegram = false; @@ -73,20 +73,20 @@ namespace MinecraftClient.ChatBots private readonly Queue discordQueue = new(); - public override void Initialize(CommandDispatcher dispatcher) + public override void Initialize() { if (!Directory.Exists(baseDirectory)) Directory.CreateDirectory(baseDirectory); DeleteRenderedMaps(); - dispatcher.Register(l => l.Literal("help") + Handler.dispatcher.Register(l => l.Literal("help") .Then(l => l.Literal(CommandName) .Executes(r => OnCommandHelp(r.Source, string.Empty)) ) ); - dispatcher.Register(l => l.Literal(CommandName) + Handler.dispatcher.Register(l => l.Literal(CommandName) .Executes(r => OnCommandList(r.Source)) .Then(l => l.Literal("list") .Executes(r => OnCommandList(r.Source))) @@ -94,14 +94,14 @@ namespace MinecraftClient.ChatBots .Then(l => l.Argument("MapID", MccArguments.MapBotMapId()) .Executes(r => OnCommandRender(r.Source, Arguments.GetInteger(r, "MapID"))))) .Then(l => l.Literal("_help") - .Redirect(dispatcher.GetRoot().GetChild("help").GetChild(CommandName))) + .Redirect(Handler.dispatcher.GetRoot().GetChild("help").GetChild(CommandName))) ); } - public override void OnUnload(CommandDispatcher dispatcher) + public override void OnUnload() { - dispatcher.Unregister(CommandName); - dispatcher.GetRoot().GetChild("help").RemoveChild(CommandName); + Handler.dispatcher.Unregister(CommandName); + Handler.dispatcher.GetRoot().GetChild("help").RemoveChild(CommandName); DeleteRenderedMaps(); } @@ -111,7 +111,7 @@ namespace MinecraftClient.ChatBots { #pragma warning disable format // @formatter:off _ => Translations.error_usage + ": /maps >" - + '\n' + McClient.dispatcher.GetAllUsageString(CommandName, false), + + '\n' + Handler.dispatcher.GetAllUsageString(CommandName, false), #pragma warning restore format // @formatter:on }); } diff --git a/MinecraftClient/ChatBots/PlayerListLogger.cs b/MinecraftClient/ChatBots/PlayerListLogger.cs index 4b0ad7d4..333ff1fd 100644 --- a/MinecraftClient/ChatBots/PlayerListLogger.cs +++ b/MinecraftClient/ChatBots/PlayerListLogger.cs @@ -23,7 +23,7 @@ namespace MinecraftClient.ChatBots public string File = "playerlog.txt"; - [TomlInlineComment("$config.ChatBot.PlayerListLogger.Delay$")] + [TomlInlineComment("$ChatBot.PlayerListLogger.Delay$")] public double Delay = 60; public void OnSettingUpdate() diff --git a/MinecraftClient/ChatBots/ReplayCapture.cs b/MinecraftClient/ChatBots/ReplayCapture.cs index ee0c0a55..651431f6 100644 --- a/MinecraftClient/ChatBots/ReplayCapture.cs +++ b/MinecraftClient/ChatBots/ReplayCapture.cs @@ -27,7 +27,7 @@ namespace MinecraftClient.ChatBots public bool Enabled = false; - [TomlInlineComment("$config.ChatBot.ReplayCapture.Backup_Interval$")] + [TomlInlineComment("$ChatBot.ReplayCapture.Backup_Interval$")] public double Backup_Interval = 300.0; public void OnSettingUpdate() @@ -40,33 +40,33 @@ namespace MinecraftClient.ChatBots private ReplayHandler? replay; private int backupCounter = -1; - public override void Initialize(CommandDispatcher dispatcher) + public override void Initialize() { SetNetworkPacketEventEnabled(true); replay = new ReplayHandler(GetProtocolVersion()); replay.MetaData.serverName = GetServerHost() + GetServerPort(); backupCounter = Settings.DoubleToTick(Config.Backup_Interval); - dispatcher.Register(l => l.Literal("help") + Handler.dispatcher.Register(l => l.Literal("help") .Then(l => l.Literal(CommandName) .Executes(r => OnCommandHelp(r.Source, string.Empty)) ) ); - dispatcher.Register(l => l.Literal(CommandName) + Handler.dispatcher.Register(l => l.Literal(CommandName) .Then(l => l.Literal("save") .Executes(r => OnCommandSave(r.Source))) .Then(l => l.Literal("stop") .Executes(r => OnCommandStop(r.Source))) .Then(l => l.Literal("_help") - .Redirect(dispatcher.GetRoot().GetChild("help").GetChild(CommandName))) + .Redirect(Handler.dispatcher.GetRoot().GetChild("help").GetChild(CommandName))) ); } - public override void OnUnload(CommandDispatcher dispatcher) + public override void OnUnload() { - dispatcher.Unregister(CommandName); - dispatcher.GetRoot().GetChild("help").RemoveChild(CommandName); + Handler.dispatcher.Unregister(CommandName); + Handler.dispatcher.GetRoot().GetChild("help").RemoveChild(CommandName); } private int OnCommandHelp(CmdResult r, string? cmd) @@ -75,7 +75,7 @@ namespace MinecraftClient.ChatBots { #pragma warning disable format // @formatter:off _ => string.Format(Translations.general_available_cmd, "save, stop") - + '\n' + McClient.dispatcher.GetAllUsageString(CommandName, false), + + '\n' + Handler.dispatcher.GetAllUsageString(CommandName, false), #pragma warning restore format // @formatter:on }); } diff --git a/MinecraftClient/ChatBots/Script.cs b/MinecraftClient/ChatBots/Script.cs index 8f706e11..194a1f48 100644 --- a/MinecraftClient/ChatBots/Script.cs +++ b/MinecraftClient/ChatBots/Script.cs @@ -127,7 +127,7 @@ namespace MinecraftClient.ChatBots return false; } - public override void Initialize(CommandDispatcher dispatcher) + public override void Initialize() { //Load the given file from the startup parameters if (LookForScript(ref file!)) diff --git a/MinecraftClient/ChatBots/TelegramBridge.cs b/MinecraftClient/ChatBots/TelegramBridge.cs index 8c98d4cf..f83b60a3 100644 --- a/MinecraftClient/ChatBots/TelegramBridge.cs +++ b/MinecraftClient/ChatBots/TelegramBridge.cs @@ -47,19 +47,19 @@ namespace MinecraftClient.ChatBots public bool Enabled = false; - [TomlInlineComment("$config.ChatBot.TelegramBridge.Token$")] + [TomlInlineComment("$ChatBot.TelegramBridge.Token$")] public string Token = "your bot token here"; - [TomlInlineComment("$config.ChatBot.TelegramBridge.ChannelId$")] + [TomlInlineComment("$ChatBot.TelegramBridge.ChannelId$")] public string ChannelId = ""; - [TomlInlineComment("$config.ChatBot.TelegramBridge.Authorized_Chat_Ids$")] + [TomlInlineComment("$ChatBot.TelegramBridge.Authorized_Chat_Ids$")] public long[] Authorized_Chat_Ids = Array.Empty(); - [TomlInlineComment("$config.ChatBot.TelegramBridge.MessageSendTimeout$")] + [TomlInlineComment("$ChatBot.TelegramBridge.MessageSendTimeout$")] public int Message_Send_Timeout = 3; - [TomlPrecedingComment("$config.ChatBot.TelegramBridge.Formats$")] + [TomlPrecedingComment("$ChatBot.TelegramBridge.Formats$")] public string PrivateMessageFormat = "*(Private Message)* {username}: {message}"; public string PublicMessageFormat = "{username}: {message}"; public string TeleportRequestMessageFormat = "A new Teleport Request from **{username}**!"; @@ -75,15 +75,15 @@ namespace MinecraftClient.ChatBots instance = this; } - public override void Initialize(CommandDispatcher dispatcher) + public override void Initialize() { - dispatcher.Register(l => l.Literal("help") + Handler.dispatcher.Register(l => l.Literal("help") .Then(l => l.Literal(CommandName) .Executes(r => OnCommandHelp(r.Source, string.Empty)) ) ); - dispatcher.Register(l => l.Literal(CommandName) + Handler.dispatcher.Register(l => l.Literal(CommandName) .Then(l => l.Literal("direction") .Then(l => l.Literal("both") .Executes(r => OnCommandDirection(r.Source, BridgeDirection.Both))) @@ -92,16 +92,16 @@ namespace MinecraftClient.ChatBots .Then(l => l.Literal("telegram") .Executes(r => OnCommandDirection(r.Source, BridgeDirection.Telegram)))) .Then(l => l.Literal("_help") - .Redirect(dispatcher.GetRoot().GetChild("help").GetChild(CommandName))) + .Redirect(Handler.dispatcher.GetRoot().GetChild("help").GetChild(CommandName))) ); Task.Run(async () => await MainAsync()); } - public override void OnUnload(CommandDispatcher dispatcher) + public override void OnUnload() { - dispatcher.Unregister(CommandName); - dispatcher.GetRoot().GetChild("help").RemoveChild(CommandName); + Handler.dispatcher.Unregister(CommandName); + Handler.dispatcher.GetRoot().GetChild("help").RemoveChild(CommandName); Disconnect(); } @@ -111,7 +111,7 @@ namespace MinecraftClient.ChatBots { #pragma warning disable format // @formatter:off _ => Translations.error_usage + ": /tgbridge direction " - + '\n' + McClient.dispatcher.GetAllUsageString(CommandName, false), + + '\n' + Handler.dispatcher.GetAllUsageString(CommandName, false), #pragma warning restore format // @formatter:on }); } diff --git a/MinecraftClient/Command.cs b/MinecraftClient/Command.cs index 6a6e8ae5..796e56e0 100644 --- a/MinecraftClient/Command.cs +++ b/MinecraftClient/Command.cs @@ -36,7 +36,7 @@ namespace MinecraftClient StringBuilder sb = new(); string s = (string.IsNullOrEmpty(CmdUsage) || string.IsNullOrEmpty(CmdDesc)) ? string.Empty : ": "; // If either one is empty, no colon : sb.Append("§e").Append(cmdChar).Append(CmdUsage).Append("§r").Append(s).AppendLine(CmdDesc); - sb.Append(McClient.dispatcher.GetAllUsageString(CmdName, false)); + sb.Append(CmdResult.client!.dispatcher.GetAllUsageString(CmdName, false)); return sb.ToString(); } diff --git a/MinecraftClient/Commands/Bots.cs b/MinecraftClient/Commands/Bots.cs index 58057552..60e0b41c 100644 --- a/MinecraftClient/Commands/Bots.cs +++ b/MinecraftClient/Commands/Bots.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Text; using Brigadier.NET; using Brigadier.NET.Builder; diff --git a/MinecraftClient/Commands/Entitycmd.cs b/MinecraftClient/Commands/Entitycmd.cs index ad9b8c7e..0af7c1de 100644 --- a/MinecraftClient/Commands/Entitycmd.cs +++ b/MinecraftClient/Commands/Entitycmd.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Text; diff --git a/MinecraftClient/Commands/Health.cs b/MinecraftClient/Commands/Health.cs index 29c95598..215b5d1a 100644 --- a/MinecraftClient/Commands/Health.cs +++ b/MinecraftClient/Commands/Health.cs @@ -1,4 +1,4 @@ -using Brigadier.NET; +using Brigadier.NET; using Brigadier.NET.Builder; using MinecraftClient.CommandHandler; diff --git a/MinecraftClient/Commands/Inventory.cs b/MinecraftClient/Commands/Inventory.cs index 89f48c6e..2fde9d2d 100644 --- a/MinecraftClient/Commands/Inventory.cs +++ b/MinecraftClient/Commands/Inventory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/MinecraftClient/Commands/List.cs b/MinecraftClient/Commands/List.cs index 78b3c9d2..82fd7f65 100644 --- a/MinecraftClient/Commands/List.cs +++ b/MinecraftClient/Commands/List.cs @@ -1,4 +1,4 @@ -using System; +using System; using Brigadier.NET; using Brigadier.NET.Builder; using MinecraftClient.CommandHandler; diff --git a/MinecraftClient/Commands/Move.cs b/MinecraftClient/Commands/Move.cs index d3b0897b..734dc10d 100644 --- a/MinecraftClient/Commands/Move.cs +++ b/MinecraftClient/Commands/Move.cs @@ -1,4 +1,4 @@ -using System; +using System; using Brigadier.NET; using Brigadier.NET.Builder; using MinecraftClient.CommandHandler; diff --git a/MinecraftClient/Commands/Reload.cs b/MinecraftClient/Commands/Reload.cs index 6ab4cfaf..f004c821 100644 --- a/MinecraftClient/Commands/Reload.cs +++ b/MinecraftClient/Commands/Reload.cs @@ -1,4 +1,4 @@ -using Brigadier.NET; +using Brigadier.NET; using Brigadier.NET.Builder; using MinecraftClient.CommandHandler; diff --git a/MinecraftClient/Commands/SetRnd.cs b/MinecraftClient/Commands/SetRnd.cs index 73e8673b..1f93ca24 100644 --- a/MinecraftClient/Commands/SetRnd.cs +++ b/MinecraftClient/Commands/SetRnd.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using Brigadier.NET; using Brigadier.NET.Builder; diff --git a/MinecraftClient/Commands/Upgrade.cs b/MinecraftClient/Commands/Upgrade.cs new file mode 100644 index 00000000..227cb995 --- /dev/null +++ b/MinecraftClient/Commands/Upgrade.cs @@ -0,0 +1,75 @@ +using System.Collections.Generic; +using Brigadier.NET; +using Brigadier.NET.Builder; +using MinecraftClient.CommandHandler; + +namespace MinecraftClient.Commands +{ + class Upgrade : Command + { + public override string CmdName { get { return "upgrade"; } } + public override string CmdUsage { get { return "upgrade [-f|check|cancel|download]"; } } + public override string CmdDesc { get { return string.Empty; } } + + public override void RegisterCommand(McClient handler, CommandDispatcher dispatcher) { + dispatcher.Register(l => l.Literal("help") + .Then(l => l.Literal(CmdName) + .Executes(r => GetUsage(r.Source, string.Empty)) + .Then(l => l.Literal("cancel") + .Executes(r => GetUsage(r.Source, "cancel"))) + .Then(l => l.Literal("check") + .Executes(r => GetUsage(r.Source, "check"))) + .Then(l => l.Literal("download") + .Executes(r => GetUsage(r.Source, "download"))) + ) + ); + + dispatcher.Register(l => l.Literal(CmdName) + .Executes(r => DownloadUpdate(r.Source, force: false)) + .Then(l => l.Literal("-f") + .Executes(r => DownloadUpdate(r.Source, force: true))) + .Then(l => l.Literal("download") + .Executes(r => DownloadUpdate(r.Source, force: false)) + .Then(l => l.Literal("-f") + .Executes(r => DownloadUpdate(r.Source, force: true)))) + .Then(l => l.Literal("check") + .Executes(r => CheckUpdate(r.Source))) + .Then(l => l.Literal("cancel") + .Executes(r => CancelDownloadUpdate(r.Source))) + .Then(l => l.Literal("_help") + .Redirect(dispatcher.GetRoot().GetChild("help").GetChild(CmdName))) + ); + } + + private int GetUsage(CmdResult r, string? cmd) { + return r.SetAndReturn(cmd switch { +#pragma warning disable format // @formatter:off + "cancel" => GetCmdDescTranslated(), + "check" => GetCmdDescTranslated(), + "download" => GetCmdDescTranslated(), + _ => GetCmdDescTranslated(), +#pragma warning restore format // @formatter:on + }); + } + + private static int DownloadUpdate(CmdResult r, bool force) + { + if (UpgradeHelper.DownloadLatestBuild(force)) + return r.SetAndReturn(CmdResult.Status.Done, Translations.mcc_update_start); + else + return r.SetAndReturn(CmdResult.Status.Fail, Translations.mcc_update_already_running); + } + + private static int CancelDownloadUpdate(CmdResult r) + { + UpgradeHelper.CancelDownloadUpdate(); + return r.SetAndReturn(CmdResult.Status.Done, Translations.mcc_update_cancel); + } + + private static int CheckUpdate(CmdResult r) + { + UpgradeHelper.CheckUpdate(forceUpdate: true); + return r.SetAndReturn(CmdResult.Status.Done, Translations.mcc_update_start); + } + } +} diff --git a/MinecraftClient/Commands/Useblock.cs b/MinecraftClient/Commands/Useblock.cs index 784185ee..4973d6a6 100644 --- a/MinecraftClient/Commands/Useblock.cs +++ b/MinecraftClient/Commands/Useblock.cs @@ -1,4 +1,4 @@ -using Brigadier.NET; +using Brigadier.NET; using Brigadier.NET.Builder; using MinecraftClient.CommandHandler; using MinecraftClient.Mapping; diff --git a/MinecraftClient/ConsoleIO.cs b/MinecraftClient/ConsoleIO.cs index 5561e003..099fb84b 100644 --- a/MinecraftClient/ConsoleIO.cs +++ b/MinecraftClient/ConsoleIO.cs @@ -4,6 +4,7 @@ using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; +using Brigadier.NET; using FuzzySharp; using MinecraftClient.CommandHandler; using MinecraftClient.Scripting; @@ -182,7 +183,6 @@ namespace MinecraftClient #endregion - internal static bool AutoCompleteDone = false; internal static string[] AutoCompleteResult = Array.Empty(); @@ -220,7 +220,7 @@ namespace MinecraftClient string command = fullCommand[offset..]; if (command.Length == 0) { - var childs = McClient.dispatcher.GetRoot().Children; + var childs = CmdResult.client!.dispatcher.GetRoot().Children; int index = 0; var sugList = new ConsoleInteractive.ConsoleSuggestion.Suggestion[childs.Count + Commands.Count + 1]; @@ -243,9 +243,9 @@ namespace MinecraftClient } else { - var parse = McClient.dispatcher.Parse(command, CmdResult.Empty); + var parse = CmdResult.client!.dispatcher.Parse(command, CmdResult.Empty); - var suggestion = await McClient.dispatcher.GetCompletionSuggestions(parse, buffer.CursorPosition - offset); + var suggestion = await CmdResult.client!.dispatcher.GetCompletionSuggestions(parse, buffer.CursorPosition - offset); int sugLen = suggestion.List.Count; if (sugLen == 0) @@ -324,7 +324,7 @@ namespace MinecraftClient MergeCommands(); } - public static void InitAutocomplete() + public static void InitCommandList(CommandDispatcher dispatcher) { autocomplete_engine!.AutoComplete("/"); } diff --git a/MinecraftClient/FileMonitor.cs b/MinecraftClient/FileMonitor.cs index aaa5029c..36e89ec1 100644 --- a/MinecraftClient/FileMonitor.cs +++ b/MinecraftClient/FileMonitor.cs @@ -25,7 +25,7 @@ namespace MinecraftClient if (Settings.Config.Logging.DebugMessages) { string callerClass = new System.Diagnostics.StackFrame(1).GetMethod()!.DeclaringType!.Name; - ConsoleIO.WriteLineFormatted(string.Format(Translations.filemonitor_init, callerClass, Path.Combine(folder, filename))); + ConsoleIO.WriteLineFormatted("§8" + string.Format(Translations.filemonitor_init, callerClass, Path.Combine(folder, filename))); } try @@ -43,7 +43,7 @@ namespace MinecraftClient if (Settings.Config.Logging.DebugMessages) { string callerClass = new System.Diagnostics.StackFrame(1).GetMethod()!.DeclaringType!.Name; - ConsoleIO.WriteLineFormatted(string.Format(Translations.filemonitor_fail, callerClass)); + ConsoleIO.WriteLineFormatted("§8" + string.Format(Translations.filemonitor_fail, callerClass)); } monitor = null; diff --git a/MinecraftClient/Inventory/Effects.cs b/MinecraftClient/Inventory/Effects.cs index 5ab62ee4..7b5df3bd 100644 --- a/MinecraftClient/Inventory/Effects.cs +++ b/MinecraftClient/Inventory/Effects.cs @@ -1,4 +1,4 @@ -namespace MinecraftClient.Inventory +namespace MinecraftClient.Inventory { /// /// Represents a Minecraft effects diff --git a/MinecraftClient/Inventory/Hand.cs b/MinecraftClient/Inventory/Hand.cs index c78ded7f..a150fbc5 100644 --- a/MinecraftClient/Inventory/Hand.cs +++ b/MinecraftClient/Inventory/Hand.cs @@ -1,4 +1,4 @@ -namespace MinecraftClient.Inventory +namespace MinecraftClient.Inventory { /// /// Represents a Minecraft hand diff --git a/MinecraftClient/Inventory/ItemPalettes/ItemPalette115.cs b/MinecraftClient/Inventory/ItemPalettes/ItemPalette115.cs index 0ca43415..8c67fff8 100644 --- a/MinecraftClient/Inventory/ItemPalettes/ItemPalette115.cs +++ b/MinecraftClient/Inventory/ItemPalettes/ItemPalette115.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Inventory.ItemPalettes { diff --git a/MinecraftClient/Inventory/ItemPalettes/ItemPalette1161.cs b/MinecraftClient/Inventory/ItemPalettes/ItemPalette1161.cs index a953ec2a..20dae2ad 100644 --- a/MinecraftClient/Inventory/ItemPalettes/ItemPalette1161.cs +++ b/MinecraftClient/Inventory/ItemPalettes/ItemPalette1161.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Inventory.ItemPalettes { diff --git a/MinecraftClient/Inventory/ItemPalettes/ItemPalette1162.cs b/MinecraftClient/Inventory/ItemPalettes/ItemPalette1162.cs index b2094614..bdacf33a 100644 --- a/MinecraftClient/Inventory/ItemPalettes/ItemPalette1162.cs +++ b/MinecraftClient/Inventory/ItemPalettes/ItemPalette1162.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Inventory.ItemPalettes { diff --git a/MinecraftClient/Inventory/ItemPalettes/ItemPalette117.cs b/MinecraftClient/Inventory/ItemPalettes/ItemPalette117.cs index 92715541..f21c9465 100644 --- a/MinecraftClient/Inventory/ItemPalettes/ItemPalette117.cs +++ b/MinecraftClient/Inventory/ItemPalettes/ItemPalette117.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Inventory.ItemPalettes { diff --git a/MinecraftClient/Inventory/ItemPalettes/ItemPalette118.cs b/MinecraftClient/Inventory/ItemPalettes/ItemPalette118.cs index a37a61a6..8db51826 100644 --- a/MinecraftClient/Inventory/ItemPalettes/ItemPalette118.cs +++ b/MinecraftClient/Inventory/ItemPalettes/ItemPalette118.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Inventory.ItemPalettes { diff --git a/MinecraftClient/Inventory/ItemPalettes/ItemPalette119.cs b/MinecraftClient/Inventory/ItemPalettes/ItemPalette119.cs index 48a9a6ea..a47104e7 100644 --- a/MinecraftClient/Inventory/ItemPalettes/ItemPalette119.cs +++ b/MinecraftClient/Inventory/ItemPalettes/ItemPalette119.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Inventory.ItemPalettes { diff --git a/MinecraftClient/Inventory/ItemType.cs b/MinecraftClient/Inventory/ItemType.cs index 50966bf0..0e487d5b 100644 --- a/MinecraftClient/Inventory/ItemType.cs +++ b/MinecraftClient/Inventory/ItemType.cs @@ -1,4 +1,4 @@ -namespace MinecraftClient.Inventory +namespace MinecraftClient.Inventory { /// /// Generated using the --generator flag on the client diff --git a/MinecraftClient/Mapping/BlockPalettes/Palette112.cs b/MinecraftClient/Mapping/BlockPalettes/Palette112.cs index 02dde423..023d1c05 100644 --- a/MinecraftClient/Mapping/BlockPalettes/Palette112.cs +++ b/MinecraftClient/Mapping/BlockPalettes/Palette112.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Mapping.BlockPalettes { diff --git a/MinecraftClient/Mapping/BlockPalettes/Palette113.cs b/MinecraftClient/Mapping/BlockPalettes/Palette113.cs index 55be9672..847728bd 100644 --- a/MinecraftClient/Mapping/BlockPalettes/Palette113.cs +++ b/MinecraftClient/Mapping/BlockPalettes/Palette113.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Mapping.BlockPalettes { diff --git a/MinecraftClient/Mapping/BlockPalettes/Palette114.cs b/MinecraftClient/Mapping/BlockPalettes/Palette114.cs index b21e0830..97c12231 100644 --- a/MinecraftClient/Mapping/BlockPalettes/Palette114.cs +++ b/MinecraftClient/Mapping/BlockPalettes/Palette114.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Mapping.BlockPalettes { diff --git a/MinecraftClient/Mapping/BlockPalettes/Palette115.cs b/MinecraftClient/Mapping/BlockPalettes/Palette115.cs index b43a1ce9..aabe901b 100644 --- a/MinecraftClient/Mapping/BlockPalettes/Palette115.cs +++ b/MinecraftClient/Mapping/BlockPalettes/Palette115.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Mapping.BlockPalettes { diff --git a/MinecraftClient/Mapping/BlockPalettes/Palette116.cs b/MinecraftClient/Mapping/BlockPalettes/Palette116.cs index 3b2524f5..abc31d57 100644 --- a/MinecraftClient/Mapping/BlockPalettes/Palette116.cs +++ b/MinecraftClient/Mapping/BlockPalettes/Palette116.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Mapping.BlockPalettes { diff --git a/MinecraftClient/Mapping/BlockPalettes/Palette117.cs b/MinecraftClient/Mapping/BlockPalettes/Palette117.cs index ff0358d1..34cccd75 100644 --- a/MinecraftClient/Mapping/BlockPalettes/Palette117.cs +++ b/MinecraftClient/Mapping/BlockPalettes/Palette117.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Mapping.BlockPalettes { diff --git a/MinecraftClient/Mapping/BlockPalettes/Palette119.cs b/MinecraftClient/Mapping/BlockPalettes/Palette119.cs index ab276fee..d8e9d760 100644 --- a/MinecraftClient/Mapping/BlockPalettes/Palette119.cs +++ b/MinecraftClient/Mapping/BlockPalettes/Palette119.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Mapping.BlockPalettes { diff --git a/MinecraftClient/Mapping/CommandBlockFlags.cs b/MinecraftClient/Mapping/CommandBlockFlags.cs index 9241fa61..d9e08595 100644 --- a/MinecraftClient/Mapping/CommandBlockFlags.cs +++ b/MinecraftClient/Mapping/CommandBlockFlags.cs @@ -1,4 +1,4 @@ -namespace MinecraftClient.Mapping +namespace MinecraftClient.Mapping { /// /// Represents a unit movement in the world diff --git a/MinecraftClient/Mapping/CommandBlockMode.cs b/MinecraftClient/Mapping/CommandBlockMode.cs index 9dd492ce..d7e4220c 100644 --- a/MinecraftClient/Mapping/CommandBlockMode.cs +++ b/MinecraftClient/Mapping/CommandBlockMode.cs @@ -1,4 +1,4 @@ -namespace MinecraftClient.Mapping +namespace MinecraftClient.Mapping { /// /// Represents a unit movement in the world diff --git a/MinecraftClient/Mapping/Entity.cs b/MinecraftClient/Mapping/Entity.cs index 8d11ba27..60364780 100644 --- a/MinecraftClient/Mapping/Entity.cs +++ b/MinecraftClient/Mapping/Entity.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using MinecraftClient.Inventory; using MinecraftClient.Protocol.Message; diff --git a/MinecraftClient/Mapping/EntityPalettes/EntityPalette113.cs b/MinecraftClient/Mapping/EntityPalettes/EntityPalette113.cs index cc1b1654..d78a7240 100644 --- a/MinecraftClient/Mapping/EntityPalettes/EntityPalette113.cs +++ b/MinecraftClient/Mapping/EntityPalettes/EntityPalette113.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Mapping.EntityPalettes { diff --git a/MinecraftClient/Mapping/EntityPalettes/EntityPalette114.cs b/MinecraftClient/Mapping/EntityPalettes/EntityPalette114.cs index a908cc1f..403fcc00 100644 --- a/MinecraftClient/Mapping/EntityPalettes/EntityPalette114.cs +++ b/MinecraftClient/Mapping/EntityPalettes/EntityPalette114.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Mapping.EntityPalettes { diff --git a/MinecraftClient/Mapping/EntityPalettes/EntityPalette115.cs b/MinecraftClient/Mapping/EntityPalettes/EntityPalette115.cs index d8f67560..bd4887be 100644 --- a/MinecraftClient/Mapping/EntityPalettes/EntityPalette115.cs +++ b/MinecraftClient/Mapping/EntityPalettes/EntityPalette115.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Mapping.EntityPalettes { diff --git a/MinecraftClient/Mapping/EntityPalettes/EntityPalette1161.cs b/MinecraftClient/Mapping/EntityPalettes/EntityPalette1161.cs index 7aa83ea4..4de8bdca 100644 --- a/MinecraftClient/Mapping/EntityPalettes/EntityPalette1161.cs +++ b/MinecraftClient/Mapping/EntityPalettes/EntityPalette1161.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Mapping.EntityPalettes { diff --git a/MinecraftClient/Mapping/EntityPalettes/EntityPalette1162.cs b/MinecraftClient/Mapping/EntityPalettes/EntityPalette1162.cs index fcb00cd6..606e2d94 100644 --- a/MinecraftClient/Mapping/EntityPalettes/EntityPalette1162.cs +++ b/MinecraftClient/Mapping/EntityPalettes/EntityPalette1162.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Mapping.EntityPalettes { diff --git a/MinecraftClient/Mapping/EntityPalettes/EntityPalette117.cs b/MinecraftClient/Mapping/EntityPalettes/EntityPalette117.cs index ce292066..1658aa33 100644 --- a/MinecraftClient/Mapping/EntityPalettes/EntityPalette117.cs +++ b/MinecraftClient/Mapping/EntityPalettes/EntityPalette117.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Mapping.EntityPalettes { diff --git a/MinecraftClient/Mapping/EntityPalettes/EntityPalette119.cs b/MinecraftClient/Mapping/EntityPalettes/EntityPalette119.cs index 51f87e18..f4e352d5 100644 --- a/MinecraftClient/Mapping/EntityPalettes/EntityPalette119.cs +++ b/MinecraftClient/Mapping/EntityPalettes/EntityPalette119.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Mapping.EntityPalettes { diff --git a/MinecraftClient/Mapping/EntityPose.cs b/MinecraftClient/Mapping/EntityPose.cs index 28af6e3a..1690b089 100644 --- a/MinecraftClient/Mapping/EntityPose.cs +++ b/MinecraftClient/Mapping/EntityPose.cs @@ -1,4 +1,4 @@ -namespace MinecraftClient.Mapping +namespace MinecraftClient.Mapping { public enum EntityPose { diff --git a/MinecraftClient/Mapping/EntityType.cs b/MinecraftClient/Mapping/EntityType.cs index 43bb89da..ddb8a6b2 100644 --- a/MinecraftClient/Mapping/EntityType.cs +++ b/MinecraftClient/Mapping/EntityType.cs @@ -1,4 +1,4 @@ -namespace MinecraftClient.Mapping +namespace MinecraftClient.Mapping { /// /// Represents Minecraft Entity Types diff --git a/MinecraftClient/McClient.cs b/MinecraftClient/McClient.cs index a33f0fae..668d656f 100644 --- a/MinecraftClient/McClient.cs +++ b/MinecraftClient/McClient.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Net.Sockets; @@ -30,7 +30,7 @@ namespace MinecraftClient { public static int ReconnectionAttemptsLeft = 0; - public static CommandDispatcher dispatcher = new(); + public CommandDispatcher dispatcher = new(); private readonly Dictionary onlinePlayers = new(); private static bool commandsLoaded = false; @@ -810,7 +810,7 @@ namespace MinecraftClient b.SetHandler(this); bots.Add(b); if (init) - DispatchBotEvent(bot => bot.Initialize(dispatcher), new ChatBot[] { b }); + DispatchBotEvent(bot => bot.Initialize(), new ChatBot[] { b }); if (handler != null) DispatchBotEvent(bot => bot.AfterGameJoined(), new ChatBot[] { b }); } @@ -826,7 +826,7 @@ namespace MinecraftClient return; } - b.OnUnload(dispatcher); + b.OnUnload(); bots.RemoveAll(item => ReferenceEquals(item, b)); @@ -2398,7 +2398,7 @@ namespace MinecraftClient DispatchBotEvent(bot => bot.AfterGameJoined()); - ConsoleIO.InitAutocomplete(); + ConsoleIO.InitCommandList(dispatcher); } /// @@ -2952,7 +2952,7 @@ namespace MinecraftClient /// Called on Entity Equipment /// /// Entity ID - /// Equipment slot. 0: main hand, 1: off hand, 2–5: armor slot (2: boots, 3: leggings, 4: chestplate, 5: helmet) + /// Equipment slot. 0: main hand, 1: off hand, 2-5: armor slot (2: boots, 3: leggings, 4: chestplate, 5: helmet) /// Item) public void OnEntityEquipment(int entityid, int slot, Item? item) { diff --git a/MinecraftClient/MinecraftClient.csproj b/MinecraftClient/MinecraftClient.csproj index f0a01aaa..d824a836 100644 --- a/MinecraftClient/MinecraftClient.csproj +++ b/MinecraftClient/MinecraftClient.csproj @@ -35,6 +35,7 @@ + @@ -79,6 +80,11 @@ True AsciiArt.resx + + True + True + ConfigComments.resx + True True @@ -91,6 +97,11 @@ AsciiArt.Designer.cs MinecraftClient + + ResXFileCodeGenerator + ConfigComments.Designer.cs + MinecraftClient + ResXFileCodeGenerator Translations.Designer.cs diff --git a/MinecraftClient/Program.cs b/MinecraftClient/Program.cs index 52aaf0f4..ea6af5eb 100644 --- a/MinecraftClient/Program.cs +++ b/MinecraftClient/Program.cs @@ -3,10 +3,8 @@ using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; -using System.Net.Http; using System.Reflection; using System.Text; -using System.Text.RegularExpressions; using System.Threading; using System.Threading.Tasks; using MinecraftClient.Inventory.ItemPalettes; @@ -140,7 +138,7 @@ namespace MinecraftClient Config.Main.Advanced.Language = Settings.GetDefaultGameLanguage(); WriteBackSettings(false); if (newlyGenerated) - ConsoleIO.WriteLineFormatted(Translations.mcc_settings_generated); + ConsoleIO.WriteLineFormatted("§c" + Translations.mcc_settings_generated); ConsoleIO.WriteLine(Translations.mcc_run_with_default_settings); } else if (!loadSucceed) @@ -201,6 +199,18 @@ namespace MinecraftClient return; } + if (args.Contains("--upgrade")) + { + UpgradeHelper.HandleBlockingUpdate(forceUpgrade: false); + return; + } + + if (args.Contains("--force-upgrade")) + { + UpgradeHelper.HandleBlockingUpdate(forceUpgrade: true); + return; + } + if (args.Contains("--generate")) { string dataGenerator = ""; @@ -285,47 +295,7 @@ namespace MinecraftClient } // Check for updates - { - bool needPromptUpdate = true; - if (Settings.CheckUpdate(Config.Head.CurrentVersion, Config.Head.LatestVersion)) - { - needPromptUpdate = false; - ConsoleIO.WriteLineFormatted(string.Format(Translations.mcc_has_update, Settings.GithubReleaseUrl)); - } - Task.Run(() => - { - HttpClientHandler httpClientHandler = new() { AllowAutoRedirect = false }; - HttpClient httpClient = new(httpClientHandler); - Task? httpWebRequest = null; - try - { - httpWebRequest = httpClient.GetAsync(Settings.GithubLatestReleaseUrl, HttpCompletionOption.ResponseHeadersRead); - httpWebRequest.Wait(); - HttpResponseMessage res = httpWebRequest.Result; - if (res.Headers.Location != null) - { - Match match = Regex.Match(res.Headers.Location.ToString(), Settings.GithubReleaseUrl + @"/tag/(\d{4})(\d{2})(\d{2})-(\d+)"); - if (match.Success && match.Groups.Count == 5) - { - string year = match.Groups[1].Value, month = match.Groups[2].Value, day = match.Groups[3].Value, run = match.Groups[4].Value; - string latestVersion = string.Format("GitHub build {0}, built on {1}-{2}-{3}", run, year, month, day); - if (needPromptUpdate) - if (Settings.CheckUpdate(Config.Head.CurrentVersion, Config.Head.LatestVersion)) - ConsoleIO.WriteLineFormatted(string.Format(Translations.mcc_has_update, Settings.GithubReleaseUrl)); - if (latestVersion != Config.Head.LatestVersion) - { - Config.Head.LatestVersion = latestVersion; - WriteBackSettings(false); - } - } - } - } - catch (Exception) { } - finally { httpWebRequest?.Dispose(); } - httpClient.Dispose(); - httpClientHandler.Dispose(); - }); - } + UpgradeHelper.CheckUpdate(); // Load command-line arguments if (args.Length >= 1) @@ -382,7 +352,7 @@ namespace MinecraftClient { bool cacheLoaded = SessionCache.InitializeDiskCache(); if (Config.Logging.DebugMessages) - ConsoleIO.WriteLineFormatted(cacheLoaded ? Translations.debug_session_cache_ok : Translations.debug_session_cache_fail, acceptnewlines: true); + ConsoleIO.WriteLineFormatted("§8" + (cacheLoaded ? Translations.debug_session_cache_ok : Translations.debug_session_cache_fail), acceptnewlines: true); } // Setup exit cleaning code @@ -416,7 +386,7 @@ namespace MinecraftClient /// private static void RequestPassword() { - ConsoleIO.WriteLine(ConsoleIO.BasicIO ? string.Format(Translations.mcc_password_basic_io, InternalConfig.Account.Login) + "\n" : Translations.mcc_password); + ConsoleIO.WriteLine(ConsoleIO.BasicIO ? string.Format(Translations.mcc_password_basic_io, InternalConfig.Account.Login) + "\n" : Translations.mcc_password_hidden); string? password = ConsoleIO.BasicIO ? Console.ReadLine() : ConsoleIO.ReadPassword(); if (string.IsNullOrWhiteSpace(password)) InternalConfig.Account.Password = "-"; @@ -439,7 +409,7 @@ namespace MinecraftClient string loginLower = ToLowerIfNeed(InternalConfig.Account.Login); if (InternalConfig.Account.Password == "-") { - ConsoleIO.WriteLineFormatted(Translations.mcc_offline, acceptnewlines: true); + ConsoleIO.WriteLineFormatted("§8" + Translations.mcc_offline, acceptnewlines: true); result = ProtocolHandler.LoginResult.Success; session.PlayerID = "0"; session.PlayerName = InternalConfig.Username; @@ -453,7 +423,7 @@ namespace MinecraftClient result = ProtocolHandler.GetTokenValidation(session); if (result != ProtocolHandler.LoginResult.Success) { - ConsoleIO.WriteLineFormatted(Translations.mcc_session_invalid, acceptnewlines: true); + ConsoleIO.WriteLineFormatted("§8" + Translations.mcc_session_invalid, acceptnewlines: true); // Try to refresh access token if (!string.IsNullOrWhiteSpace(session.RefreshToken)) { @@ -473,7 +443,7 @@ namespace MinecraftClient && !(Config.Main.General.AccountType == LoginType.microsoft && Config.Main.General.Method == LoginMethod.browser)) RequestPassword(); } - else ConsoleIO.WriteLineFormatted(string.Format(Translations.mcc_session_valid, session.PlayerName)); + else ConsoleIO.WriteLineFormatted("§8" + string.Format(Translations.mcc_session_valid, session.PlayerName)); } if (result != ProtocolHandler.LoginResult.Success) @@ -564,7 +534,7 @@ namespace MinecraftClient if (protocolversion != 0) ConsoleIO.WriteLineFormatted(string.Format(Translations.mcc_use_version, InternalConfig.MinecraftVersion, protocolversion)); else - ConsoleIO.WriteLineFormatted(string.Format(Translations.mcc_unknown_version, InternalConfig.MinecraftVersion)); + ConsoleIO.WriteLineFormatted("§8" + string.Format(Translations.mcc_unknown_version, InternalConfig.MinecraftVersion)); if (useMcVersionOnce) { @@ -598,16 +568,16 @@ namespace MinecraftClient { bool cacheKeyLoaded = KeysCache.InitializeDiskCache(); if (Config.Logging.DebugMessages) - ConsoleIO.WriteLineFormatted(cacheKeyLoaded ? Translations.debug_keys_cache_ok : Translations.debug_keys_cache_fail, acceptnewlines: true); + ConsoleIO.WriteLineFormatted("§8" + (cacheKeyLoaded ? Translations.debug_keys_cache_ok : Translations.debug_keys_cache_fail), acceptnewlines: true); } if (Config.Main.Advanced.ProfileKeyCache != CacheType.none && KeysCache.Contains(loginLower)) { playerKeyPair = KeysCache.Get(loginLower); if (playerKeyPair.NeedRefresh()) - ConsoleIO.WriteLineFormatted(Translations.mcc_profile_key_invalid, acceptnewlines: true); + ConsoleIO.WriteLineFormatted("§8" + Translations.mcc_profile_key_invalid, acceptnewlines: true); else - ConsoleIO.WriteLineFormatted(string.Format(Translations.mcc_profile_key_valid, session.PlayerName)); + ConsoleIO.WriteLineFormatted("§8" + string.Format(Translations.mcc_profile_key_valid, session.PlayerName)); } if (playerKeyPair == null || playerKeyPair.NeedRefresh()) diff --git a/MinecraftClient/Protocol/EntityActionType.cs b/MinecraftClient/Protocol/EntityActionType.cs index b7191ded..88005de4 100644 --- a/MinecraftClient/Protocol/EntityActionType.cs +++ b/MinecraftClient/Protocol/EntityActionType.cs @@ -1,4 +1,4 @@ -namespace MinecraftClient.Protocol +namespace MinecraftClient.Protocol { public enum EntityActionType { diff --git a/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette110.cs b/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette110.cs index cff2b2ef..5b514ab4 100644 --- a/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette110.cs +++ b/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette110.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Protocol.Handlers.PacketPalettes { diff --git a/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette112.cs b/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette112.cs index 9ceb58b2..4aa74ef0 100644 --- a/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette112.cs +++ b/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette112.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Protocol.Handlers.PacketPalettes { diff --git a/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette1122.cs b/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette1122.cs index 6bfc613c..1c32571e 100644 --- a/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette1122.cs +++ b/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette1122.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Protocol.Handlers.PacketPalettes { diff --git a/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette113.cs b/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette113.cs index 7dbeac89..cee9407a 100644 --- a/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette113.cs +++ b/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette113.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Protocol.Handlers.PacketPalettes { diff --git a/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette114.cs b/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette114.cs index 0ef512c2..5a30a16b 100644 --- a/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette114.cs +++ b/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette114.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Protocol.Handlers.PacketPalettes { diff --git a/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette115.cs b/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette115.cs index 445c4c82..ce50911b 100644 --- a/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette115.cs +++ b/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette115.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Protocol.Handlers.PacketPalettes { diff --git a/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette116.cs b/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette116.cs index 1e54c3aa..0a160cc8 100644 --- a/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette116.cs +++ b/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette116.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Protocol.Handlers.PacketPalettes { diff --git a/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette1162.cs b/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette1162.cs index 260ad360..aa6b97a8 100644 --- a/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette1162.cs +++ b/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette1162.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Protocol.Handlers.PacketPalettes { diff --git a/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette117.cs b/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette117.cs index a28ec53a..b1919827 100644 --- a/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette117.cs +++ b/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette117.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Protocol.Handlers.PacketPalettes { @@ -173,4 +173,4 @@ namespace MinecraftClient.Protocol.Handlers.PacketPalettes return typeOut; } } -} \ No newline at end of file +} diff --git a/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette118.cs b/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette118.cs index a1badb81..dd984047 100644 --- a/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette118.cs +++ b/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette118.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Protocol.Handlers.PacketPalettes { @@ -174,4 +174,4 @@ namespace MinecraftClient.Protocol.Handlers.PacketPalettes return typeOut; } } -} \ No newline at end of file +} diff --git a/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette119.cs b/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette119.cs index 256a8692..6ec16097 100644 --- a/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette119.cs +++ b/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette119.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Protocol.Handlers.PacketPalettes { @@ -177,4 +177,4 @@ namespace MinecraftClient.Protocol.Handlers.PacketPalettes return typeOut; } } -} \ No newline at end of file +} diff --git a/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette17.cs b/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette17.cs index 279e7fc6..5d7c8fdc 100644 --- a/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette17.cs +++ b/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette17.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace MinecraftClient.Protocol.Handlers.PacketPalettes { diff --git a/MinecraftClient/Protocol/Handlers/Protocol16.cs b/MinecraftClient/Protocol/Handlers/Protocol16.cs index 1bf99fdc..9bb7efcf 100644 --- a/MinecraftClient/Protocol/Handlers/Protocol16.cs +++ b/MinecraftClient/Protocol/Handlers/Protocol16.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Globalization; using System.Linq; @@ -42,19 +42,19 @@ namespace MinecraftClient.Protocol.Handlers if (Handler.GetTerrainEnabled()) { - ConsoleIO.WriteLineFormatted(Translations.extra_terrainandmovement_disabled, acceptnewlines: true); + ConsoleIO.WriteLineFormatted("§c" + Translations.extra_terrainandmovement_disabled, acceptnewlines: true); Handler.SetTerrainEnabled(false); } if (handler.GetInventoryEnabled()) { - ConsoleIO.WriteLineFormatted(Translations.extra_inventory_disabled, acceptnewlines: true); + ConsoleIO.WriteLineFormatted("§c" + Translations.extra_inventory_disabled, acceptnewlines: true); handler.SetInventoryEnabled(false); } if (handler.GetEntityHandlingEnabled()) { - ConsoleIO.WriteLineFormatted(Translations.extra_entity_disabled, acceptnewlines: true); + ConsoleIO.WriteLineFormatted("§c" + Translations.extra_entity_disabled, acceptnewlines: true); handler.SetEntityHandlingEnabled(false); } } @@ -500,15 +500,15 @@ namespace MinecraftClient.Protocol.Handlers byte[] token = ReadNextByteArray(); if (serverID == "-") - ConsoleIO.WriteLineFormatted(Translations.mcc_server_offline, acceptnewlines: true); + ConsoleIO.WriteLineFormatted("§8" + Translations.mcc_server_offline, acceptnewlines: true); else if (Settings.Config.Logging.DebugMessages) - ConsoleIO.WriteLineFormatted(string.Format(Translations.mcc_handshake, serverID)); + ConsoleIO.WriteLineFormatted("§8" + string.Format(Translations.mcc_handshake, serverID)); return StartEncryption(uuid, username, sessionID, token, serverID, PublicServerkey, session); } else { - ConsoleIO.WriteLineFormatted(Translations.error_invalid_response, acceptnewlines: true); + ConsoleIO.WriteLineFormatted("§8" + Translations.error_invalid_response, acceptnewlines: true); return false; } } @@ -519,7 +519,7 @@ namespace MinecraftClient.Protocol.Handlers byte[] secretKey = CryptoHandler.ClientAESPrivateKey ?? CryptoHandler.GenerateAESPrivateKey(); if (Settings.Config.Logging.DebugMessages) - ConsoleIO.WriteLineFormatted(Translations.debug_crypto, acceptnewlines: true); + ConsoleIO.WriteLineFormatted("§8" + Translations.debug_crypto, acceptnewlines: true); if (serverIDhash != "-") { @@ -584,7 +584,7 @@ namespace MinecraftClient.Protocol.Handlers } else { - ConsoleIO.WriteLineFormatted(Translations.error_invalid_encrypt, acceptnewlines: true); + ConsoleIO.WriteLineFormatted("§8" + Translations.error_invalid_encrypt, acceptnewlines: true); return false; } } diff --git a/MinecraftClient/Protocol/Handlers/Protocol18.cs b/MinecraftClient/Protocol/Handlers/Protocol18.cs index de33417e..1a3123c1 100644 --- a/MinecraftClient/Protocol/Handlers/Protocol18.cs +++ b/MinecraftClient/Protocol/Handlers/Protocol18.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics; @@ -106,18 +106,18 @@ namespace MinecraftClient.Protocol.Handlers if (handler.GetTerrainEnabled() && protocolVersion > MC_1_19_2_Version) { - log.Error(Translations.extra_terrainandmovement_disabled); + log.Error("§c" + Translations.extra_terrainandmovement_disabled); handler.SetTerrainEnabled(false); } if (handler.GetInventoryEnabled() && (protocolVersion < MC_1_10_Version || protocolVersion > MC_1_19_2_Version)) { - log.Error(Translations.extra_inventory_disabled); + log.Error("§c" + Translations.extra_inventory_disabled); handler.SetInventoryEnabled(false); } if (handler.GetEntityHandlingEnabled() && (protocolVersion < MC_1_10_Version || protocolVersion > MC_1_19_2_Version)) { - log.Error(Translations.extra_entity_disabled); + log.Error("§c" + Translations.extra_entity_disabled); handler.SetEntityHandlingEnabled(false); } @@ -1955,12 +1955,12 @@ namespace MinecraftClient.Protocol.Handlers } else if (packetID == 0x02) //Login successful { - log.Info(Translations.mcc_server_offline); + log.Info("§8" + Translations.mcc_server_offline); login_phase = false; if (!pForge.CompleteForgeHandshake()) { - log.Error(Translations.error_forge); + log.Error("§8" + Translations.error_forge); return false; } @@ -1980,7 +1980,7 @@ namespace MinecraftClient.Protocol.Handlers RSACryptoServiceProvider RSAService = CryptoHandler.DecodeRSAPublicKey(serverPublicKey)!; byte[] secretKey = CryptoHandler.ClientAESPrivateKey ?? CryptoHandler.GenerateAESPrivateKey(); - log.Debug(Translations.debug_crypto); + log.Debug("§8" + Translations.debug_crypto); if (serverIDhash != "-") { @@ -2049,7 +2049,7 @@ namespace MinecraftClient.Protocol.Handlers (int packetID, Queue packetData) = ReadNextPacket(); if (packetID < 0 || loopPrevention-- < 0) // Failed to read packet or too many iterations (issue #1150) { - handler.OnConnectionLost(ChatBot.DisconnectReason.ConnectionLost, Translations.error_invalid_encrypt); + handler.OnConnectionLost(ChatBot.DisconnectReason.ConnectionLost, "§8" + Translations.error_invalid_encrypt); return false; } else if (packetID == 0x00) //Login rejected @@ -2085,7 +2085,7 @@ namespace MinecraftClient.Protocol.Handlers if (!pForge.CompleteForgeHandshake()) { - log.Error(Translations.error_forge_encrypt); + log.Error("§8" + Translations.error_forge_encrypt); return false; } @@ -2207,7 +2207,7 @@ namespace MinecraftClient.Protocol.Handlers // Check for forge on the server. Protocol18Forge.ServerInfoCheckForge(jsonData, ref forgeInfo); - ConsoleIO.WriteLineFormatted(string.Format(Translations.mcc_server_protocol, version, protocolVersion + (forgeInfo != null ? Translations.mcc_with_forge : ""))); + ConsoleIO.WriteLineFormatted("§8" + string.Format(Translations.mcc_server_protocol, version, protocolVersion + (forgeInfo != null ? Translations.mcc_with_forge : ""))); return true; } diff --git a/MinecraftClient/Protocol/Handlers/Protocol18Forge.cs b/MinecraftClient/Protocol/Handlers/Protocol18Forge.cs index 922496d1..e7ff7cc2 100644 --- a/MinecraftClient/Protocol/Handlers/Protocol18Forge.cs +++ b/MinecraftClient/Protocol/Handlers/Protocol18Forge.cs @@ -133,7 +133,7 @@ namespace MinecraftClient.Protocol.Handlers byte fmlProtocolVersion = dataTypes.ReadNextByte(packetData); if (Settings.Config.Logging.DebugMessages) - ConsoleIO.WriteLineFormatted(string.Format(Translations.forge_version, fmlProtocolVersion)); + ConsoleIO.WriteLineFormatted("§8" + string.Format(Translations.forge_version, fmlProtocolVersion)); if (fmlProtocolVersion >= 1) currentDimension = dataTypes.ReadNextInt(packetData); @@ -143,7 +143,7 @@ namespace MinecraftClient.Protocol.Handlers // Then tell the server that we're running the same mods. if (Settings.Config.Logging.DebugMessages) - ConsoleIO.WriteLineFormatted(Translations.forge_send_mod, acceptnewlines: true); + ConsoleIO.WriteLineFormatted("§8" + Translations.forge_send_mod, acceptnewlines: true); byte[][] mods = new byte[forgeInfo.Mods.Count][]; for (int i = 0; i < forgeInfo.Mods.Count; i++) { @@ -163,7 +163,7 @@ namespace MinecraftClient.Protocol.Handlers Thread.Sleep(2000); if (Settings.Config.Logging.DebugMessages) - ConsoleIO.WriteLineFormatted(Translations.forge_accept, acceptnewlines: true); + ConsoleIO.WriteLineFormatted("§8" + Translations.forge_accept, acceptnewlines: true); // Tell the server that yes, we are OK with the mods it has // even though we don't actually care what mods it has. @@ -185,7 +185,7 @@ namespace MinecraftClient.Protocol.Handlers int registrySize = dataTypes.ReadNextVarInt(packetData); if (Settings.Config.Logging.DebugMessages) - ConsoleIO.WriteLineFormatted(string.Format(Translations.forge_registry, registrySize)); + ConsoleIO.WriteLineFormatted("§8" + string.Format(Translations.forge_registry, registrySize)); fmlHandshakeState = FMLHandshakeClientState.PENDINGCOMPLETE; } @@ -197,7 +197,7 @@ namespace MinecraftClient.Protocol.Handlers string registryName = dataTypes.ReadNextString(packetData); int registrySize = dataTypes.ReadNextVarInt(packetData); if (Settings.Config.Logging.DebugMessages) - ConsoleIO.WriteLineFormatted(string.Format(Translations.forge_registry_2, registryName, registrySize)); + ConsoleIO.WriteLineFormatted("§8" + string.Format(Translations.forge_registry_2, registryName, registrySize)); if (!hasNextRegistry) fmlHandshakeState = FMLHandshakeClientState.PENDINGCOMPLETE; } @@ -209,7 +209,7 @@ namespace MinecraftClient.Protocol.Handlers if (discriminator != FMLHandshakeDiscriminator.HandshakeAck) return false; if (Settings.Config.Logging.DebugMessages) - ConsoleIO.WriteLineFormatted(Translations.forge_accept_registry, acceptnewlines: true); + ConsoleIO.WriteLineFormatted("§8" + Translations.forge_accept_registry, acceptnewlines: true); SendForgeHandshakePacket(FMLHandshakeDiscriminator.HandshakeAck, new byte[] { (byte)FMLHandshakeClientState.PENDINGCOMPLETE }); fmlHandshakeState = FMLHandshakeClientState.COMPLETE; @@ -303,7 +303,7 @@ namespace MinecraftClient.Protocol.Handlers // [1]: Version is usually set to "FML2" for FML stuff and "1" for mods if (Settings.Config.Logging.DebugMessages) - ConsoleIO.WriteLineFormatted(Translations.forge_fml2_mod, acceptnewlines: true); + ConsoleIO.WriteLineFormatted("§8" + Translations.forge_fml2_mod, acceptnewlines: true); List mods = new(); int modCount = dataTypes.ReadNextVarInt(packetData); @@ -335,7 +335,7 @@ namespace MinecraftClient.Protocol.Handlers // In MCC, we just want to send a valid response so we'll reply back with data collected from the server. if (Settings.Config.Logging.DebugMessages) - ConsoleIO.WriteLineFormatted(Translations.forge_fml2_mod_send, acceptnewlines: true); + ConsoleIO.WriteLineFormatted("§8" + Translations.forge_fml2_mod_send, acceptnewlines: true); // Packet ID 2: Client to Server Mod List fmlResponsePacket.AddRange(dataTypes.GetVarInt(2)); @@ -373,7 +373,7 @@ namespace MinecraftClient.Protocol.Handlers if (Settings.Config.Logging.DebugMessages) { string registryName = dataTypes.ReadNextString(packetData); - ConsoleIO.WriteLineFormatted(string.Format(Translations.forge_fml2_registry, registryName)); + ConsoleIO.WriteLineFormatted("§8" + string.Format(Translations.forge_fml2_registry, registryName)); } fmlResponsePacket.AddRange(dataTypes.GetVarInt(99)); @@ -392,7 +392,7 @@ namespace MinecraftClient.Protocol.Handlers if (Settings.Config.Logging.DebugMessages) { string configName = dataTypes.ReadNextString(packetData); - ConsoleIO.WriteLineFormatted(string.Format(Translations.forge_fml2_config, configName)); + ConsoleIO.WriteLineFormatted("§8" + string.Format(Translations.forge_fml2_config, configName)); } fmlResponsePacket.AddRange(dataTypes.GetVarInt(99)); @@ -401,7 +401,7 @@ namespace MinecraftClient.Protocol.Handlers default: if (Settings.Config.Logging.DebugMessages) - ConsoleIO.WriteLineFormatted(string.Format(Translations.forge_fml2_unknown, packetID)); + ConsoleIO.WriteLineFormatted("§8" + string.Format(Translations.forge_fml2_unknown, packetID)); break; } @@ -417,7 +417,7 @@ namespace MinecraftClient.Protocol.Handlers } else if (Settings.Config.Logging.DebugMessages) { - ConsoleIO.WriteLineFormatted(string.Format(Translations.forge_fml2_unknown_channel, fmlChannel)); + ConsoleIO.WriteLineFormatted("§8" + string.Format(Translations.forge_fml2_unknown_channel, fmlChannel)); } } return false; @@ -506,10 +506,10 @@ namespace MinecraftClient.Protocol.Handlers forgeInfo = new ForgeInfo(modData, fmlVersion); if (forgeInfo.Mods.Any()) { - ConsoleIO.WriteLineFormatted(string.Format(Translations.forge_with_mod, forgeInfo.Mods.Count)); + ConsoleIO.WriteLineFormatted("§8" + string.Format(Translations.forge_with_mod, forgeInfo.Mods.Count)); if (Settings.Config.Logging.DebugMessages) { - ConsoleIO.WriteLineFormatted(Translations.forge_mod_list, acceptnewlines: true); + ConsoleIO.WriteLineFormatted("§8" + Translations.forge_mod_list, acceptnewlines: true); foreach (ForgeInfo.ForgeMod mod in forgeInfo.Mods) ConsoleIO.WriteLineFormatted("§8 " + mod.ToString()); } @@ -517,7 +517,7 @@ namespace MinecraftClient.Protocol.Handlers } else { - ConsoleIO.WriteLineFormatted(Translations.forge_no_mod, acceptnewlines: true); + ConsoleIO.WriteLineFormatted("§8" + Translations.forge_no_mod, acceptnewlines: true); forgeInfo = null; } } diff --git a/MinecraftClient/Protocol/IMinecraftCom.cs b/MinecraftClient/Protocol/IMinecraftCom.cs index 5597dafb..4c0513dd 100644 --- a/MinecraftClient/Protocol/IMinecraftCom.cs +++ b/MinecraftClient/Protocol/IMinecraftCom.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using MinecraftClient.Inventory; using MinecraftClient.Mapping; diff --git a/MinecraftClient/Protocol/IMinecraftComHandler.cs b/MinecraftClient/Protocol/IMinecraftComHandler.cs index 2e8986bd..61e24642 100644 --- a/MinecraftClient/Protocol/IMinecraftComHandler.cs +++ b/MinecraftClient/Protocol/IMinecraftComHandler.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using MinecraftClient.Inventory; using MinecraftClient.Logger; diff --git a/MinecraftClient/Protocol/Message/ChatParser.cs b/MinecraftClient/Protocol/Message/ChatParser.cs index 5255e957..55a1999f 100644 --- a/MinecraftClient/Protocol/Message/ChatParser.cs +++ b/MinecraftClient/Protocol/Message/ChatParser.cs @@ -218,7 +218,7 @@ namespace MinecraftClient.Protocol.Message //File not found? Try downloading language file from Mojang's servers? if (!File.Exists(Language_File)) { - ConsoleIO.WriteLineFormatted(string.Format(Translations.chat_download, Config.Main.Advanced.Language)); + ConsoleIO.WriteLineFormatted("§8" + string.Format(Translations.chat_download, Config.Main.Advanced.Language)); HttpClient httpClient = new(); try { @@ -244,11 +244,11 @@ namespace MinecraftClient.Protocol.Message stringBuilder.Append(entry.Key).Append('=').Append(entry.Value.StringValue.Replace("\n", "\\n").Replace("\r", string.Empty)).Append(Environment.NewLine); File.WriteAllText(Language_File, stringBuilder.ToString()); - ConsoleIO.WriteLineFormatted(string.Format(Translations.chat_done, Language_File)); + ConsoleIO.WriteLineFormatted("§8" + string.Format(Translations.chat_done, Language_File)); } catch { - ConsoleIO.WriteLineFormatted(Translations.chat_fail, acceptnewlines: true); + ConsoleIO.WriteLineFormatted("§8" + Translations.chat_fail, acceptnewlines: true); } httpClient.Dispose(); } @@ -281,7 +281,7 @@ namespace MinecraftClient.Protocol.Message } else //No external dictionnary found. { - ConsoleIO.WriteLineFormatted(string.Format(Translations.chat_not_found, Language_File)); + ConsoleIO.WriteLineFormatted("§8" + string.Format(Translations.chat_not_found, Language_File)); } } diff --git a/MinecraftClient/Protocol/ProfileKey/KeysCache.cs b/MinecraftClient/Protocol/ProfileKey/KeysCache.cs index 4b052f96..a6ea0620 100644 --- a/MinecraftClient/Protocol/ProfileKey/KeysCache.cs +++ b/MinecraftClient/Protocol/ProfileKey/KeysCache.cs @@ -163,7 +163,7 @@ namespace MinecraftClient.Protocol.ProfileKey } catch (IOException e) { - ConsoleIO.WriteLineFormatted(string.Format(Translations.cache_read_fail_plain_keys, e.Message)); + ConsoleIO.WriteLineFormatted("§8" + string.Format(Translations.cache_read_fail_plain_keys, e.Message)); } } @@ -176,7 +176,7 @@ namespace MinecraftClient.Protocol.ProfileKey private static void SaveToDisk() { if (Config.Logging.DebugMessages) - ConsoleIO.WriteLineFormatted(Translations.cache_saving_keys, acceptnewlines: true); + ConsoleIO.WriteLineFormatted("§8" + Translations.cache_saving_keys, acceptnewlines: true); List KeysCacheLines = new() { @@ -192,7 +192,7 @@ namespace MinecraftClient.Protocol.ProfileKey } catch (IOException e) { - ConsoleIO.WriteLineFormatted(string.Format(Translations.cache_save_fail_keys, e.Message)); + ConsoleIO.WriteLineFormatted("§8" + string.Format(Translations.cache_save_fail_keys, e.Message)); } } } diff --git a/MinecraftClient/Protocol/ProtocolHandler.cs b/MinecraftClient/Protocol/ProtocolHandler.cs index 4a5880a2..3328faf0 100644 --- a/MinecraftClient/Protocol/ProtocolHandler.cs +++ b/MinecraftClient/Protocol/ProtocolHandler.cs @@ -56,7 +56,7 @@ namespace MinecraftClient.Protocol .ThenBy(record => Guid.NewGuid()) .First(); string target = result.Target.Value.Trim('.'); - ConsoleIO.WriteLineFormatted(string.Format(Translations.mcc_found, target, result.Port, domainVal)); + ConsoleIO.WriteLineFormatted("§8" + string.Format(Translations.mcc_found, target, result.Port, domainVal)); domainVal = target; portVal = result.Port; foundService = true; @@ -64,7 +64,7 @@ namespace MinecraftClient.Protocol } catch (Exception e) { - ConsoleIO.WriteLineFormatted(string.Format(Translations.mcc_not_found, domainVal, e.GetType().FullName, e.Message)); + ConsoleIO.WriteLineFormatted("§8" + string.Format(Translations.mcc_not_found, domainVal, e.GetType().FullName, e.Message)); } }, TimeSpan.FromSeconds(Config.Main.Advanced.ResolveSrvRecords == MainConfigHealper.MainConfig.AdvancedConfig.ResolveSrvRecordType.fast ? 10 : 30)); } @@ -96,7 +96,7 @@ namespace MinecraftClient.Protocol success = true; } else - ConsoleIO.WriteLineFormatted(Translations.error_unexpect_response, acceptnewlines: true); + ConsoleIO.WriteLineFormatted("§8" + Translations.error_unexpect_response, acceptnewlines: true); } catch (Exception e) { @@ -105,9 +105,9 @@ namespace MinecraftClient.Protocol }, TimeSpan.FromSeconds(Config.Main.Advanced.ResolveSrvRecords == MainConfigHealper.MainConfig.AdvancedConfig.ResolveSrvRecordType.fast ? 10 : 30))) { if (protocolversion != 0 && protocolversion != protocolversionTmp) - ConsoleIO.WriteLineFormatted(Translations.error_version_different, acceptnewlines: true); + ConsoleIO.WriteLineFormatted("§8" + Translations.error_version_different, acceptnewlines: true); if (protocolversion == 0 && protocolversionTmp <= 1) - ConsoleIO.WriteLineFormatted(Translations.error_no_version_report, acceptnewlines: true); + ConsoleIO.WriteLineFormatted("§8" + Translations.error_no_version_report, acceptnewlines: true); if (protocolversion == 0) protocolversion = protocolversionTmp; forgeInfo = forgeInfoTmp; @@ -115,7 +115,7 @@ namespace MinecraftClient.Protocol } else { - ConsoleIO.WriteLineFormatted(Translations.error_connection_timeout, acceptnewlines: true); + ConsoleIO.WriteLineFormatted("§8" + Translations.error_connection_timeout, acceptnewlines: true); return false; } } @@ -491,7 +491,7 @@ namespace MinecraftClient.Protocol } else { - ConsoleIO.WriteLineFormatted(string.Format(Translations.error_http_code, code)); + ConsoleIO.WriteLineFormatted("§8" + string.Format(Translations.error_http_code, code)); return LoginResult.OtherError; } } @@ -694,7 +694,7 @@ namespace MinecraftClient.Protocol } else { - ConsoleIO.WriteLineFormatted(string.Format(Translations.error_auth, code)); + ConsoleIO.WriteLineFormatted("§8" + string.Format(Translations.error_auth, code)); return LoginResult.OtherError; } } @@ -895,7 +895,7 @@ namespace MinecraftClient.Protocol try { if (Settings.Config.Logging.DebugMessages) - ConsoleIO.WriteLineFormatted(string.Format(Translations.debug_request, host)); + ConsoleIO.WriteLineFormatted("§8" + string.Format(Translations.debug_request, host)); TcpClient client = ProxyHandler.NewTcpClient(host, 443, true); SslStream stream = new(client.GetStream()); diff --git a/MinecraftClient/Protocol/ProxiedWebRequest.cs b/MinecraftClient/Protocol/ProxiedWebRequest.cs index 73d9fe26..1e028abb 100644 --- a/MinecraftClient/Protocol/ProxiedWebRequest.cs +++ b/MinecraftClient/Protocol/ProxiedWebRequest.cs @@ -1,12 +1,14 @@ using System; using System.Collections.Generic; using System.Collections.Specialized; +using System.Linq; using System.Globalization; using System.IO; using System.Net.Security; using System.Net.Sockets; using System.Security.Authentication; using System.Text; +using System.Threading; using MinecraftClient.Proxy; namespace MinecraftClient.Protocol @@ -16,12 +18,21 @@ namespace MinecraftClient.Protocol /// public class ProxiedWebRequest { - private readonly string httpVersion = "HTTP/1.0"; // Use 1.0 here because 1.1 server may send chunked data + public interface ITcpFactory + { + TcpClient CreateTcpClient(string host, int port); + }; + + private readonly string httpVersion = "HTTP/1.1"; + + private ITcpFactory? tcpFactory; + private bool isProxied = false; // Send absolute Url in request if true private readonly Uri uri; private string Host { get { return uri.Host; } } private int Port { get { return uri.Port; } } private string Path { get { return uri.PathAndQuery; } } + private string AbsoluteUrl { get { return uri.AbsoluteUri; } } private bool IsSecure { get { return uri.Scheme == "https"; } } public NameValueCollection Headers = new(); @@ -30,6 +41,12 @@ namespace MinecraftClient.Protocol public string Accept { get { return Headers.Get("Accept") ?? String.Empty; } set { Headers.Set("Accept", value); } } public string Cookie { set { Headers.Set("Cookie", value); } } + /// + /// Set to true to tell the http client proxy is enabled + /// + public bool IsProxy { get { return isProxied; } set { isProxied = value; } } + public bool Debug { get { return Settings.Config.Logging.DebugMessages; } } + /// /// Create a new http request /// @@ -52,13 +69,34 @@ namespace MinecraftClient.Protocol SetupBasicHeaders(); } + /// + /// Create a new http request with custom tcp client + /// + /// Tcp factory to be used + /// Target URL + public ProxiedWebRequest(ITcpFactory tcpFactory, string url) : this(url) + { + this.tcpFactory = tcpFactory; + } + + /// + /// Create a new http request with custom tcp client and cookies + /// + /// Tcp factory to be used + /// Target URL + /// Cookies to use + public ProxiedWebRequest(ITcpFactory tcpFactory, string url, NameValueCollection cookies) : this(url, cookies) + { + this.tcpFactory = tcpFactory; + } + /// /// Setup some basic headers /// private void SetupBasicHeaders() { Headers.Add("Host", Host); - Headers.Add("User-Agent", "MCC/" + Program.Version); + Headers.Add("User-Agent", "MCC/1.0"); Headers.Add("Accept", "*/*"); Headers.Add("Connection", "close"); } @@ -96,7 +134,7 @@ namespace MinecraftClient.Protocol { List requestMessage = new() { - string.Format("{0} {1} {2}", method.ToUpper(), Path, httpVersion) // Request line + string.Format("{0} {1} {2}", method.ToUpper(), isProxied ? AbsoluteUrl : Path, httpVersion) // Request line }; foreach (string key in Headers) // Headers { @@ -109,7 +147,7 @@ namespace MinecraftClient.Protocol requestMessage.Add(body); } else requestMessage.Add(""); // - if (Settings.Config.Logging.DebugMessages) + if (Debug) { foreach (string l in requestMessage) { @@ -117,84 +155,240 @@ namespace MinecraftClient.Protocol } } Response response = Response.Empty(); - AutoTimeout.Perform(() => + + // FIXME: Use TcpFactory interface to avoid direct usage of the ProxyHandler class + // TcpClient client = tcpFactory.CreateTcpClient(Host, Port); + TcpClient client = ProxyHandler.NewTcpClient(Host, Port, true); + Stream stream; + if (IsSecure) { - TcpClient client = ProxyHandler.NewTcpClient(Host, Port, true); - Stream stream; - if (IsSecure) - { - stream = new SslStream(client.GetStream()); - ((SslStream)stream).AuthenticateAsClient(Host, null, SslProtocols.Tls12, true); // Enable TLS 1.2. Hotfix for #1774 - } - else - { - stream = client.GetStream(); - } - string h = string.Join("\r\n", requestMessage.ToArray()); - byte[] data = Encoding.ASCII.GetBytes(h); - stream.Write(data, 0, data.Length); - stream.Flush(); - StreamReader sr = new(stream); - string rawResult = sr.ReadToEnd(); - response = ParseResponse(rawResult); - try - { - sr.Close(); - stream.Close(); - client.Close(); - } - catch { } - }, - TimeSpan.FromSeconds(30)); + stream = new SslStream(client.GetStream()); + ((SslStream)stream).AuthenticateAsClient(Host, null, SslProtocols.Tls12, true); // Enable TLS 1.2. Hotfix for #1774 + } + else + { + stream = client.GetStream(); + } + string h = string.Join("\r\n", requestMessage.ToArray()); + byte[] data = Encoding.ASCII.GetBytes(h); + stream.Write(data, 0, data.Length); + stream.Flush(); + + // Read response + int statusCode = ReadHttpStatus(stream); + var headers = ReadHeader(stream); + string? rbody; + if (headers.Get("transfer-encoding") == "chunked") + { + rbody = ReadBodyChunked(stream); + } + else + { + rbody = ReadBody(stream, int.Parse(headers.Get("content-length") ?? "0")); + } + if (headers.Get("set-cookie") != null) + { + response.Cookies = ParseSetCookie(headers.GetValues("set-cookie") ?? Array.Empty()); + } + response.Body = rbody ?? ""; + response.StatusCode = statusCode; + response.Headers = headers; + + try + { + stream.Close(); + client.Close(); + } + catch { } + return response; } /// - /// Parse a raw response string to response object + /// Read HTTP response line from a Stream /// - /// raw response string + /// Stream to read /// - private Response ParseResponse(string raw) + /// If server return unknown data + private static int ReadHttpStatus(Stream s) { - int statusCode; - string responseBody = ""; - NameValueCollection headers = new(); - NameValueCollection cookies = new(); - if (raw.StartsWith("HTTP/1.1") || raw.StartsWith("HTTP/1.0")) + var httpHeader = ReadLine(s); // http header line + if (httpHeader.StartsWith("HTTP/1.1") || httpHeader.StartsWith("HTTP/1.0")) { - Queue msg = new(raw.Split(new string[] { "\r\n" }, StringSplitOptions.None)); - statusCode = int.Parse(msg.Dequeue().Split(' ')[1], NumberStyles.Any, CultureInfo.CurrentCulture); - - while (msg.Peek() != "") - { - string[] header = msg.Dequeue().Split(new char[] { ':' }, 2); // Split first ':' only - string key = header[0].ToLower(); // Key is case-insensitive - string value = header[1]; - if (key == "set-cookie") - { - string[] cookie = value.Split(';'); // cookie options are ignored - string[] tmp = cookie[0].Split(new char[] { '=' }, 2); // Split first '=' only - string cname = tmp[0].Trim(); - string cvalue = tmp[1].Trim(); - cookies.Add(cname, cvalue); - } - else - { - headers.Add(key, value.Trim()); - } - } - msg.Dequeue(); - if (msg.Count > 0) - responseBody = msg.Dequeue(); - - return new Response(statusCode, responseBody, headers, cookies); + return int.Parse(httpHeader.Split(' ')[1], NumberStyles.Any, CultureInfo.CurrentCulture); } else { - return new Response(520 /* Web Server Returned an Unknown Error */, "", headers, cookies); + throw new InvalidDataException("Unexpect data from server"); } } + /// + /// Read HTTP headers from a Stream + /// + /// Stream to read + /// Headers in lower-case + private static NameValueCollection ReadHeader(Stream s) + { + var headers = new NameValueCollection(); + // Read headers + string header; + do + { + header = ReadLine(s); + if (!String.IsNullOrEmpty(header)) + { + var tmp = header.Split(new char[] { ':' }, 2); + var name = tmp[0].ToLower(); + var value = tmp[1].Trim(); + headers.Add(name, value); + } + } + while (!String.IsNullOrEmpty(header)); + return headers; + } + + /// + /// Read HTTP body from a Stream + /// + /// Stream to read + /// Length of the body (the Content-Length header) + /// Body or null if length is zero + private static string? ReadBody(Stream s, int length) + { + if (length > 0) + { + byte[] buffer = new byte[length]; + int r = 0; + while (r < length) + { + var read = s.Read(buffer, r, length - r); + r += read; + Thread.Sleep(50); + } + return Encoding.UTF8.GetString(buffer); + } + else + { + return null; + } + } + + /// + /// Read HTTP chunked body from a Stream + /// + /// Stream to read + /// Body or empty string if nothing is received + private static string ReadBodyChunked(Stream s) + { + List buffer1 = new(); + while (true) + { + string l = ReadLine(s); + int size = Int32.Parse(l, NumberStyles.HexNumber); + if (size == 0) + break; + byte[] buffer2 = new byte[size]; + int r = 0; + while (r < size) + { + var read = s.Read(buffer2, r, size - r); + r += read; + Thread.Sleep(50); + } + ReadLine(s); + buffer1.AddRange(buffer2); + } + return Encoding.UTF8.GetString(buffer1.ToArray()); + } + + /// + /// Parse the Set-Cookie header value into NameValueCollection. Cookie options are ignored + /// + /// Array of value strings + /// Parsed cookies + private static NameValueCollection ParseSetCookie(IEnumerable headerValue) + { + NameValueCollection cookies = new(); + foreach (var value in headerValue) + { + string[] cookie = value.Split(';'); // cookie options are ignored + string[] tmp = cookie[0].Split(new char[] { '=' }, 2); // Split first '=' only + string[] options = cookie[1..]; + string cname = tmp[0].Trim(); + string cvalue = tmp[1].Trim(); + // Check expire + bool isExpired = false; + foreach (var option in options) + { + var tmp2 = option.Trim().Split(new char[] { '=' }, 2); + // Check for Expires= and Max-Age= + if (tmp2.Length == 2) + { + var optName = tmp2[0].Trim().ToLower(); + var optValue = tmp2[1].Trim(); + switch (optName) + { + case "expires": + { + if (DateTime.TryParse(optValue, out var expDate)) + { + if (expDate < DateTime.Now) + isExpired = true; + } + break; + } + case "max-age": + { + if (int.TryParse(optValue, out var expInt)) + { + if (expInt <= 0) + isExpired = true; + } + break; + } + } + } + if (isExpired) + break; + } + if (!isExpired) + cookies.Add(cname, cvalue); + } + return cookies; + } + + /// + /// Read a line from a Stream + /// + /// + /// Line break by \r\n and they are not included in returned string + /// + /// Stream to read + /// String + private static string ReadLine(Stream s) + { + List buffer = new(); + byte c; + while (true) + { + int b = s.ReadByte(); + if (b == -1) + break; + c = (byte)b; + if (c == '\n') + { + if (buffer.Last() == '\r') + { + buffer.RemoveAt(buffer.Count - 1); + break; + } + } + buffer.Add(c); + } + return Encoding.UTF8.GetString(buffer.ToArray()); + } + /// /// Get the cookie string representation to use in header /// @@ -271,4 +465,4 @@ namespace MinecraftClient.Protocol } } } -} +} \ No newline at end of file diff --git a/MinecraftClient/Protocol/Session/SessionCache.cs b/MinecraftClient/Protocol/Session/SessionCache.cs index cf1b69f8..8fd17e95 100644 --- a/MinecraftClient/Protocol/Session/SessionCache.cs +++ b/MinecraftClient/Protocol/Session/SessionCache.cs @@ -190,7 +190,7 @@ namespace MinecraftClient.Protocol.Session } catch (IOException ex) { - ConsoleIO.WriteLineFormatted(string.Format(Translations.cache_read_fail, ex.Message)); + ConsoleIO.WriteLineFormatted("§8" + string.Format(Translations.cache_read_fail, ex.Message)); } catch (SerializationException ex2) { @@ -236,7 +236,7 @@ namespace MinecraftClient.Protocol.Session } catch (IOException e) { - ConsoleIO.WriteLineFormatted(string.Format(Translations.cache_read_fail_plain, e.Message)); + ConsoleIO.WriteLineFormatted("§8" + string.Format(Translations.cache_read_fail_plain, e.Message)); } } @@ -249,7 +249,7 @@ namespace MinecraftClient.Protocol.Session private static void SaveToDisk() { if (Config.Logging.DebugMessages) - ConsoleIO.WriteLineFormatted(Translations.cache_saving, acceptnewlines: true); + ConsoleIO.WriteLineFormatted("§8" + Translations.cache_saving, acceptnewlines: true); List sessionCacheLines = new() { @@ -265,7 +265,7 @@ namespace MinecraftClient.Protocol.Session } catch (IOException e) { - ConsoleIO.WriteLineFormatted(string.Format(Translations.cache_save_fail, e.Message)); + ConsoleIO.WriteLineFormatted("§8" + string.Format(Translations.cache_save_fail, e.Message)); } } } diff --git a/MinecraftClient/Proxy/ProxyHandler.cs b/MinecraftClient/Proxy/ProxyHandler.cs index 50d65324..fca377bd 100644 --- a/MinecraftClient/Proxy/ProxyHandler.cs +++ b/MinecraftClient/Proxy/ProxyHandler.cs @@ -17,22 +17,25 @@ namespace MinecraftClient.Proxy [TomlDoNotInlineObject] public class Configs { - [TomlInlineComment("$config.Proxy.Enabled_Login$")] + [TomlInlineComment("$Proxy.Enabled_Update$")] + public bool Enabled_Update = false; + + [TomlInlineComment("$Proxy.Enabled_Login$")] public bool Enabled_Login = false; - [TomlInlineComment("$config.Proxy.Enabled_Ingame$")] + [TomlInlineComment("$Proxy.Enabled_Ingame$")] public bool Enabled_Ingame = false; - [TomlInlineComment("$config.Proxy.Server$")] + [TomlInlineComment("$Proxy.Server$")] public ProxyInfoConfig Server = new("0.0.0.0", 8080); - [TomlInlineComment("$config.Proxy.Proxy_Type$")] + [TomlInlineComment("$Proxy.Proxy_Type$")] public ProxyType Proxy_Type = ProxyType.HTTP; - [TomlInlineComment("$config.Proxy.Username$")] + [TomlInlineComment("$Proxy.Username$")] public string Username = ""; - [TomlInlineComment("$config.Proxy.Password$")] + [TomlInlineComment("$Proxy.Password$")] public string Password = ""; public void OnSettingUpdate() { } @@ -79,14 +82,14 @@ namespace MinecraftClient.Proxy case Configs.ProxyType.SOCKS5: innerProxytype = ProxyType.Socks5; break; } - if (Config.Username != "" && Config.Password != "") + if (!string.IsNullOrWhiteSpace(Config.Username)&& !string.IsNullOrWhiteSpace(Config.Password)) proxy = factory.CreateProxyClient(innerProxytype, Config.Server.Host, Config.Server.Port, Config.Username, Config.Password); else proxy = factory.CreateProxyClient(innerProxytype, Config.Server.Host, Config.Server.Port); if (!proxy_ok) { - ConsoleIO.WriteLineFormatted(string.Format(Translations.proxy_connected, Config.Server.Host, Config.Server.Port)); + ConsoleIO.WriteLineFormatted("§8" + string.Format(Translations.proxy_connected, Config.Server.Host, Config.Server.Port)); proxy_ok = true; } diff --git a/MinecraftClient/Resources/ConfigComments/ConfigComments.Designer.cs b/MinecraftClient/Resources/ConfigComments/ConfigComments.Designer.cs new file mode 100644 index 00000000..5dd4bfbb --- /dev/null +++ b/MinecraftClient/Resources/ConfigComments/ConfigComments.Designer.cs @@ -0,0 +1,1818 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace MinecraftClient { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class ConfigComments { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal ConfigComments() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("MinecraftClient.Resources.ConfigComments.ConfigComments", typeof(ConfigComments).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized string similar to can be used in some other fields as %yourvar% + ///%username% and %serverip% are reserved variables.. + /// + internal static string AppVars_Variables { + get { + return ResourceManager.GetString("AppVars.Variables", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to =============================== # + /// Minecraft Console Client Bots # + ///=============================== #. + /// + internal static string ChatBot { + get { + return ResourceManager.GetString("ChatBot", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Get alerted when specified words are detected in chat + ///Useful for moderating your server or detecting when someone is talking to you. + /// + internal static string ChatBot_Alerts { + get { + return ResourceManager.GetString("ChatBot.Alerts", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Play a beep sound when a word is detected in addition to highlighting.. + /// + internal static string ChatBot_Alerts_Beep_Enabled { + get { + return ResourceManager.GetString("ChatBot.Alerts.Beep_Enabled", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to List of words/strings to NOT alert you on.. + /// + internal static string ChatBot_Alerts_Excludes { + get { + return ResourceManager.GetString("ChatBot.Alerts.Excludes", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The name of a file where alers logs will be written.. + /// + internal static string ChatBot_Alerts_Log_File { + get { + return ResourceManager.GetString("ChatBot.Alerts.Log_File", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Log alerts info a file.. + /// + internal static string ChatBot_Alerts_Log_To_File { + get { + return ResourceManager.GetString("ChatBot.Alerts.Log_To_File", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to List of words/strings to alert you on.. + /// + internal static string ChatBot_Alerts_Matches { + get { + return ResourceManager.GetString("ChatBot.Alerts.Matches", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Trigger alerts when it rains and when it stops.. + /// + internal static string ChatBot_Alerts_Trigger_By_Rain { + get { + return ResourceManager.GetString("ChatBot.Alerts.Trigger_By_Rain", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Triggers alerts at the beginning and end of thunderstorms.. + /// + internal static string ChatBot_Alerts_Trigger_By_Thunderstorm { + get { + return ResourceManager.GetString("ChatBot.Alerts.Trigger_By_Thunderstorm", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Triggers an alert after receiving a specified keyword.. + /// + internal static string ChatBot_Alerts_Trigger_By_Words { + get { + return ResourceManager.GetString("ChatBot.Alerts.Trigger_By_Words", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 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). + /// + internal static string ChatBot_AntiAfk { + get { + return ResourceManager.GetString("ChatBot.AntiAfk", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Command to send to the server.. + /// + internal static string ChatBot_AntiAfk_Command { + get { + return ResourceManager.GetString("ChatBot.AntiAfk.Command", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The time interval for execution. (in seconds). + /// + internal static string ChatBot_AntiAfk_Delay { + get { + return ResourceManager.GetString("ChatBot.AntiAfk.Delay", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Whether to sneak when sending the command.. + /// + internal static string ChatBot_AntiAfk_Use_Sneak { + get { + return ResourceManager.GetString("ChatBot.AntiAfk.Use_Sneak", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Use terrain handling to enable the bot to move around.. + /// + internal static string ChatBot_AntiAfk_Use_Terrain_Handling { + get { + return ResourceManager.GetString("ChatBot.AntiAfk.Use_Terrain_Handling", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The range the bot can move around randomly (Note: the bigger the range, the slower the bot will be). + /// + internal static string ChatBot_AntiAfk_Walk_Range { + get { + return ResourceManager.GetString("ChatBot.AntiAfk.Walk_Range", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to How many times can the bot fail trying to move before using the command method.. + /// + internal static string ChatBot_AntiAfk_Walk_Retries { + get { + return ResourceManager.GetString("ChatBot.AntiAfk.Walk_Retries", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 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!. + /// + internal static string ChatBot_AutoAttack { + get { + return ResourceManager.GetString("ChatBot.AutoAttack", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Allow attacking hostile mobs.. + /// + internal static string ChatBot_AutoAttack_Attack_Hostile { + get { + return ResourceManager.GetString("ChatBot.AutoAttack.Attack_Hostile", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Allow attacking passive mobs.. + /// + internal static string ChatBot_AutoAttack_Attack_Passive { + get { + return ResourceManager.GetString("ChatBot.AutoAttack.Attack_Passive", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to How long to wait between each attack. Set "Custom = false" to let MCC calculate it.. + /// + internal static string ChatBot_AutoAttack_Cooldown_Time { + get { + return ResourceManager.GetString("ChatBot.AutoAttack.Cooldown_Time", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to All entity types can be found here: https://mccteam.github.io/r/entity/#L15. + /// + internal static string ChatBot_AutoAttack_Entites_List { + get { + return ResourceManager.GetString("ChatBot.AutoAttack.Entites_List", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Possible values: "Interact", "Attack" (default), "InteractAt" (Interact and Attack).. + /// + internal static string ChatBot_AutoAttack_Interaction { + get { + return ResourceManager.GetString("ChatBot.AutoAttack.Interaction", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Wether to treat the entities list as a "whitelist" or as a "blacklist".. + /// + internal static string ChatBot_AutoAttack_List_Mode { + get { + return ResourceManager.GetString("ChatBot.AutoAttack.List_Mode", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to "single" or "multi". single target one mob per attack. multi target all mobs in range per attack. + /// + internal static string ChatBot_AutoAttack_Mode { + get { + return ResourceManager.GetString("ChatBot.AutoAttack.Mode", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to "health" or "distance". Only needed when using single mode. + /// + internal static string ChatBot_AutoAttack_Priority { + get { + return ResourceManager.GetString("ChatBot.AutoAttack.Priority", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Automatically craft items in your inventory + ///See https://mccteam.github.io/g/bots/#auto-craft 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. + /// + internal static string ChatBot_AutoCraft { + get { + return ResourceManager.GetString("ChatBot.AutoCraft", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Location of the crafting table if you intended to use it. Terrain and movements must be enabled.. + /// + internal static string ChatBot_AutoCraft_CraftingTable { + get { + return ResourceManager.GetString("ChatBot.AutoCraft.CraftingTable", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to What to do on crafting failure, "abort" or "wait".. + /// + internal static string ChatBot_AutoCraft_OnFailure { + get { + return ResourceManager.GetString("ChatBot.AutoCraft.OnFailure", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Recipes.Name: The name can be whatever you like and it is used to represent the recipe. + ///Recipes.Type: crafting table type: "player" or "table" + ///Recipes.Result: the resulting item + ///Recipes.Slots: All slots, counting from left to right, top to bottom. Please fill in "Null" for empty slots. + ///For the naming of the items, please see: https://mccteam.github.io/r/item/#L12. + /// + internal static string ChatBot_AutoCraft_Recipes { + get { + return ResourceManager.GetString("ChatBot.AutoCraft.Recipes", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Auto-digging blocks. + ///You need to enable Terrain Handling to use this bot + ///You can use "/digbot start" and "/digbot stop" to control the start and stop of AutoDig. + ///Since MCC does not yet support accurate calculation of the collision volume of blocks, all blocks are considered as complete cubes when obtaining the position of the lookahead. + ///For the naming of the block, please see https://mccteam.github.io/r/block/#L15. + /// + internal static string ChatBot_AutoDig { + get { + return ResourceManager.GetString("ChatBot.AutoDig", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to How many seconds to wait after entering the game to start digging automatically, set to -1 to disable automatic start.. + /// + internal static string ChatBot_AutoDig_Auto_Start_Delay { + get { + return ResourceManager.GetString("ChatBot.AutoDig.Auto_Start_Delay", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Automatically switch to the appropriate tool.. + /// + internal static string ChatBot_AutoDig_Auto_Tool_Switch { + get { + return ResourceManager.GetString("ChatBot.AutoDig.Auto_Tool_Switch", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Mining a block for more than "Dig_Timeout" seconds will be considered a timeout.. + /// + internal static string ChatBot_AutoDig_Dig_Timeout { + get { + return ResourceManager.GetString("ChatBot.AutoDig.Dig_Timeout", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Whether to drop the current tool when its durability is too low.. + /// + internal static string ChatBot_AutoDig_Drop_Low_Durability_Tools { + get { + return ResourceManager.GetString("ChatBot.AutoDig.Drop_Low_Durability_Tools", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Will not use tools with less durability than this. Set to zero to disable this feature.. + /// + internal static string ChatBot_AutoDig_Durability_Limit { + get { + return ResourceManager.GetString("ChatBot.AutoDig.Durability_Limit", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Wether to treat the blocks list as a "whitelist" or as a "blacklist".. + /// + internal static string ChatBot_AutoDig_List_Type { + get { + return ResourceManager.GetString("ChatBot.AutoDig.List_Type", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to "distance" or "index", When using the "fixedpos" mode, the blocks are determined by distance to the player, or by the order in the list.. + /// + internal static string ChatBot_AutoDig_Location_Order { + get { + return ResourceManager.GetString("ChatBot.AutoDig.Location_Order", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The position of the blocks when using "fixedpos" or "both" mode.. + /// + internal static string ChatBot_AutoDig_Locations { + get { + return ResourceManager.GetString("ChatBot.AutoDig.Locations", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Whether to output logs when digging blocks.. + /// + internal static string ChatBot_AutoDig_Log_Block_Dig { + get { + return ResourceManager.GetString("ChatBot.AutoDig.Log_Block_Dig", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to "lookat", "fixedpos" or "both". Digging the block being looked at, the block in a fixed position, or the block that needs to be all met.. + /// + internal static string ChatBot_AutoDig_Mode { + get { + return ResourceManager.GetString("ChatBot.AutoDig.Mode", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Automatically drop items in inventory + ///You need to enable Inventory Handling to use this bot + ///See this file for an up-to-date list of item types you can use with this bot: https://mccteam.github.io/r/item/#L12. + /// + internal static string ChatBot_AutoDrop { + get { + return ResourceManager.GetString("ChatBot.AutoDrop", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to "include", "exclude" or "everything". Include: drop item IN the list. Exclude: drop item NOT IN the list. + /// + internal static string ChatBot_AutoDrop_Mode { + get { + return ResourceManager.GetString("ChatBot.AutoDrop.Mode", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Automatically eat food when your Hunger value is low + ///You need to enable Inventory Handling to use this bot. + /// + internal static string ChatBot_AutoEat { + get { + return ResourceManager.GetString("ChatBot.AutoEat", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Automatically catch fish using a fishing rod + ///Guide: https://mccteam.github.io/g/bots/#auto-fishing + ///You can use "/fish" to control the bot manually. + ////!\ Make sure server rules allow automated farming before using this bot. + /// + internal static string ChatBot_AutoFishing { + get { + return ResourceManager.GetString("ChatBot.AutoFishing", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Keep it as false if you have not changed it before.. + /// + internal static string ChatBot_AutoFishing_Antidespawn { + get { + return ResourceManager.GetString("ChatBot.AutoFishing.Antidespawn", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Switch to a new rod from inventory after the current rod is unavailable.. + /// + internal static string ChatBot_AutoFishing_Auto_Rod_Switch { + get { + return ResourceManager.GetString("ChatBot.AutoFishing.Auto_Rod_Switch", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Whether to start fishing automatically after entering a world.. + /// + internal static string ChatBot_AutoFishing_Auto_Start { + get { + return ResourceManager.GetString("ChatBot.AutoFishing.Auto_Start", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to How soon to re-cast after successful fishing.. + /// + internal static string ChatBot_AutoFishing_Cast_Delay { + get { + return ResourceManager.GetString("ChatBot.AutoFishing.Cast_Delay", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Will not use rods with less durability than this (full durability is 64). Set to zero to disable this feature.. + /// + internal static string ChatBot_AutoFishing_Durability_Limit { + get { + return ResourceManager.GetString("ChatBot.AutoFishing.Durability_Limit", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to This allows the player to change position/facing after each fish caught.. + /// + internal static string ChatBot_AutoFishing_Enable_Move { + get { + return ResourceManager.GetString("ChatBot.AutoFishing.Enable_Move", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to How long after entering the game to start fishing (seconds).. + /// + internal static string ChatBot_AutoFishing_Fishing_Delay { + get { + return ResourceManager.GetString("ChatBot.AutoFishing.Fishing_Delay", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Fishing timeout (seconds). Timeout will trigger a re-cast.. + /// + internal static string ChatBot_AutoFishing_Fishing_Timeout { + get { + return ResourceManager.GetString("ChatBot.AutoFishing.Fishing_Timeout", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to A "stationary" hook that moves above this threshold in the Y-axis will be considered to have caught a fish.. + /// + internal static string ChatBot_AutoFishing_Hook_Threshold { + get { + return ResourceManager.GetString("ChatBot.AutoFishing.Hook_Threshold", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Used to adjust the above two thresholds, which when enabled will print the change in the position of the fishhook entity upon receipt of its movement packet.. + /// + internal static string ChatBot_AutoFishing_Log_Fish_Bobber { + get { + return ResourceManager.GetString("ChatBot.AutoFishing.Log_Fish_Bobber", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Use the mainhand or the offhand to hold the rod.. + /// + internal static string ChatBot_AutoFishing_Mainhand { + get { + return ResourceManager.GetString("ChatBot.AutoFishing.Mainhand", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to It will move in order "1->2->3->4->3->2->1->2->..." and can change position or facing or both each time. It is recommended to change the facing only.. + /// + internal static string ChatBot_AutoFishing_Movements { + get { + return ResourceManager.GetString("ChatBot.AutoFishing.Movements", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Hook movement in the X and Z axis less than this value will be considered stationary.. + /// + internal static string ChatBot_AutoFishing_Stationary_Threshold { + get { + return ResourceManager.GetString("ChatBot.AutoFishing.Stationary_Threshold", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Automatically relog when disconnected by server, for example because the server is restating + ////!\ Use Ignore_Kick_Message=true at own risk! Server staff might not appreciate if you auto-relog on manual kicks. + /// + internal static string ChatBot_AutoRelog { + get { + return ResourceManager.GetString("ChatBot.AutoRelog", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The delay time before joining the server. (in seconds). + /// + internal static string ChatBot_AutoRelog_Delay { + get { + return ResourceManager.GetString("ChatBot.AutoRelog.Delay", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to When set to true, autorelog will reconnect regardless of kick messages.. + /// + internal static string ChatBot_AutoRelog_Ignore_Kick_Message { + get { + return ResourceManager.GetString("ChatBot.AutoRelog.Ignore_Kick_Message", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to If the kickout message matches any of the strings, then autorelog will be triggered.. + /// + internal static string ChatBot_AutoRelog_Kick_Messages { + get { + return ResourceManager.GetString("ChatBot.AutoRelog.Kick_Messages", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Retries when failing to relog to the server. use -1 for unlimited retries.. + /// + internal static string ChatBot_AutoRelog_Retries { + get { + return ResourceManager.GetString("ChatBot.AutoRelog.Retries", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 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. + /// + internal static string ChatBot_AutoRespond { + get { + return ResourceManager.GetString("ChatBot.AutoRespond", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Do not remove colors from text (Note: Your matches will have to include color codes (ones using the § character) in order to work). + /// + internal static string ChatBot_AutoRespond_Match_Colors { + get { + return ResourceManager.GetString("ChatBot.AutoRespond.Match_Colors", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Logs chat messages in a file on disk.. + /// + internal static string ChatBot_ChatLog { + get { + return ResourceManager.GetString("ChatBot.ChatLog", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to This bot allows you to send and recieve messages and commands via a Discord channel. + ///For Setup you can either use the documentation or read here (Documentation has images). + ///Documentation: https://mccteam.github.io/g/bots/#discord-bridge + ///Setup: + ///First you need to create a Bot on the Discord Developers Portal, here is a video tutorial: https://www.youtube.com/watch?v=2FgMnZViNPA . + ////!\ IMPORTANT /!\: When creating a bot, you MUST ENABLE "Message Content Intent", "Server Members Intent" and "Presence Intent [rest of string was truncated]";. + /// + internal static string ChatBot_DiscordBridge { + get { + return ResourceManager.GetString("ChatBot.DiscordBridge", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The ID of a channel where you want to interact with the MCC using the bot.. + /// + internal static string ChatBot_DiscordBridge_ChannelId { + get { + return ResourceManager.GetString("ChatBot.DiscordBridge.ChannelId", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Message formats + ///Words wrapped with { and } are going to be replaced during the code execution, do not change them! + ///For example. {message} is going to be replace with an actual message, {username} will be replaced with an username, {timestamp} with the current time. + ///For Discord message formatting, check the following: https://mccteam.github.io/r/dc-fmt.html. + /// + internal static string ChatBot_DiscordBridge_Formats { + get { + return ResourceManager.GetString("ChatBot.DiscordBridge.Formats", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The ID of a server/guild where you have invited the bot to.. + /// + internal static string ChatBot_DiscordBridge_GuildId { + get { + return ResourceManager.GetString("ChatBot.DiscordBridge.GuildId", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to How long to wait (in seconds) if a message can not be sent to discord before canceling the task (minimum 1 second).. + /// + internal static string ChatBot_DiscordBridge_MessageSendTimeout { + get { + return ResourceManager.GetString("ChatBot.DiscordBridge.MessageSendTimeout", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to A list of IDs of people you want to be able to interact with the MCC using the bot.. + /// + internal static string ChatBot_DiscordBridge_OwnersIds { + get { + return ResourceManager.GetString("ChatBot.DiscordBridge.OwnersIds", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Your Discord Bot token.. + /// + internal static string ChatBot_DiscordBridge_Token { + get { + return ResourceManager.GetString("ChatBot.DiscordBridge.Token", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Automatically farms crops for you (plants, breaks and bonemeals them). + ///Crop types available: Beetroot, Carrot, Melon, Netherwart, Pumpkin, Potato, Wheat. + ///Usage: "/farmer start" command and "/farmer stop" command. + ///NOTE: This a newly added bot, it is not perfect and was only tested in 1.19.2, there are some minor issues like not being able to bonemeal carrots/potatoes sometimes. + ///or bot jumps onto the farm land and breaks it (this happens rarely but still happens). We are looking forward at improving this. [rest of string was truncated]";. + /// + internal static string ChatBot_Farmer { + get { + return ResourceManager.GetString("ChatBot.Farmer", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Delay between tasks in seconds (Minimum 1 second). + /// + internal static string ChatBot_Farmer_Delay_Between_Tasks { + get { + return ResourceManager.GetString("ChatBot.Farmer.Delay_Between_Tasks", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 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, + /// [rest of string was truncated]";. + /// + internal static string ChatBot_FollowPlayer { + get { + return ResourceManager.GetString("ChatBot.FollowPlayer", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 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). + /// + internal static string ChatBot_FollowPlayer_Stop_At_Distance { + get { + return ResourceManager.GetString("ChatBot.FollowPlayer.Stop_At_Distance", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The rate at which the bot does calculations (in seconds) (You can tweak this if you feel the bot is too slow). + /// + internal static string ChatBot_FollowPlayer_Update_Limit { + get { + return ResourceManager.GetString("ChatBot.FollowPlayer.Update_Limit", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 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. + /// + internal static string ChatBot_HangmanGame { + get { + return ResourceManager.GetString("ChatBot.HangmanGame", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 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. + /// + internal static string ChatBot_Mailer { + get { + return ResourceManager.GetString("ChatBot.Mailer", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Allows you to render maps in the console and into images (which can be then sent to Discord using Discord Bridge Chat Bot) + ///This is useful for solving captchas which use maps + ///The maps are rendered into Rendered_Maps folder if the Save_To_File is enabled. + ///NOTE: + ///If some servers have a very short time for solving captchas, enabe Auto_Render_On_Update to see them immediatelly in the console. + ////!\ Make sure server rules allow bots to be used on the server, or you risk being punished.. + /// + internal static string ChatBot_Map { + get { + return ResourceManager.GetString("ChatBot.Map", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Automatically render the map once it is received or updated from/by the server. + /// + internal static string ChatBot_Map_Auto_Render_On_Update { + get { + return ResourceManager.GetString("ChatBot.Map.Auto_Render_On_Update", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Delete all rendered maps on unload/reload or when you launch the MCC again.. + /// + internal static string ChatBot_Map_Delete_All_On_Unload { + get { + return ResourceManager.GetString("ChatBot.Map.Delete_All_On_Unload", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Get a notification when you have gotten a map from the server for the first time. + /// + internal static string ChatBot_Map_Notify_On_First_Update { + get { + return ResourceManager.GetString("ChatBot.Map.Notify_On_First_Update", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Resize an rendered image, this is useful when images that are rendered are small and when are being sent to Discord.. + /// + internal static string ChatBot_Map_Rasize_Rendered_Image { + get { + return ResourceManager.GetString("ChatBot.Map.Rasize_Rendered_Image", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Whether to render the map in the console.. + /// + internal static string ChatBot_Map_Render_In_Console { + get { + return ResourceManager.GetString("ChatBot.Map.Render_In_Console", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The size that a rendered image should be resized to, in pixels (eg. 512).. + /// + internal static string ChatBot_Map_Resize_To { + get { + return ResourceManager.GetString("ChatBot.Map.Resize_To", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Whether to store the rendered map as a file (You need this setting if you want to get a map on Discord using Discord Bridge).. + /// + internal static string ChatBot_Map_Save_To_File { + get { + return ResourceManager.GetString("ChatBot.Map.Save_To_File", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Send a rendered map (saved to a file) to a Discord or a Telegram channel via the Discord or Telegram Bride chat bot (The Discord/Telegram Bridge chat bot must be enabled and configured!) + ///You need to enable Save_To_File in order for this to work. + ///We also recommend turning on resizing.. + /// + internal static string ChatBot_Map_Send_Rendered_To_Bridges { + get { + return ResourceManager.GetString("ChatBot.Map.Send_Rendered_To_Bridges", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Log the list of players periodically into a textual file.. + /// + internal static string ChatBot_PlayerListLogger { + get { + return ResourceManager.GetString("ChatBot.PlayerListLogger", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to (In seconds). + /// + internal static string ChatBot_PlayerListLogger_Delay { + get { + return ResourceManager.GetString("ChatBot.PlayerListLogger.Delay", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 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. + /// + internal static string ChatBot_RemoteControl { + get { + return ResourceManager.GetString("ChatBot.RemoteControl", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 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!. + /// + internal static string ChatBot_ReplayCapture { + get { + return ResourceManager.GetString("ChatBot.ReplayCapture", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to How long should replay file be auto-saved, in seconds. Use -1 to disable.. + /// + internal static string ChatBot_ReplayCapture_Backup_Interval { + get { + return ResourceManager.GetString("ChatBot.ReplayCapture.Backup_Interval", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Schedule commands and scripts to launch on various events such as server join, date/time or time interval + ///See https://mccteam.github.io/g/bots/#script-scheduler for more info. + /// + internal static string ChatBot_ScriptScheduler { + get { + return ResourceManager.GetString("ChatBot.ScriptScheduler", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to This bot allows you to send and receive messages and commands via a Telegram Bot DM or to receive messages in a Telegram channel. + ////!\ NOTE: You can't send messages and commands from a group channel, you can only send them in the bot DM, but you can get the messages from the client in a group channel. + ///----------------------------------------------------------- + ///Setup: + ///First you need to create a Telegram bot and obtain an API key, to do so, go to Telegram and find @botfather + ///Click on "Start" button and re [rest of string was truncated]";. + /// + internal static string ChatBot_TelegramBridge { + get { + return ResourceManager.GetString("ChatBot.TelegramBridge", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to A list of Chat IDs that are allowed to send messages and execute commands. To get an id of your chat DM with the bot use ".chatid" bot command in Telegram.. + /// + internal static string ChatBot_TelegramBridge_Authorized_Chat_Ids { + get { + return ResourceManager.GetString("ChatBot.TelegramBridge.Authorized_Chat_Ids", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to An ID of a channel where you want to interact with the MCC using the bot.. + /// + internal static string ChatBot_TelegramBridge_ChannelId { + get { + return ResourceManager.GetString("ChatBot.TelegramBridge.ChannelId", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Message formats + ///Words wrapped with { and } are going to be replaced during the code execution, do not change them! + ///For example. {message} is going to be replace with an actual message, {username} will be replaced with an username, {timestamp} with the current time. + ///For Telegram message formatting, check the following: https://mccteam.github.io/r/tg-fmt.html. + /// + internal static string ChatBot_TelegramBridge_Formats { + get { + return ResourceManager.GetString("ChatBot.TelegramBridge.Formats", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to How long to wait (in seconds) if a message can not be sent to Telegram before canceling the task (minimum 1 second).. + /// + internal static string ChatBot_TelegramBridge_MessageSendTimeout { + get { + return ResourceManager.GetString("ChatBot.TelegramBridge.MessageSendTimeout", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Your Telegram Bot token.. + /// + internal static string ChatBot_TelegramBridge_Token { + get { + return ResourceManager.GetString("ChatBot.TelegramBridge.Token", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 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 https://mccteam.github.io/g/conf/#chat-format-section. + /// + internal static string ChatFormat { + get { + return ResourceManager.GetString("ChatFormat", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to MCC support for common message formats. Set "false" to avoid conflicts with custom formats.. + /// + internal static string ChatFormat_Builtins { + get { + return ResourceManager.GetString("ChatFormat.Builtins", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Whether to use the custom regular expressions below for detection.. + /// + internal static string ChatFormat_UserDefined { + get { + return ResourceManager.GetString("ChatFormat.UserDefined", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Startup Config File + ///Please do not record extraneous data in this file as it will be overwritten by MCC. + /// + ///New to Minecraft Console Client? Check out this document: https://mccteam.github.io/g/conf.html + ///Want to upgrade to a newer version? See https://github.com/MCCTeam/Minecraft-Console-Client/#download. + /// + internal static string Head { + get { + return ResourceManager.GetString("Head", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to This setting affects only the messages in the console.. + /// + internal static string Logging { + get { + return ResourceManager.GetString("Logging", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Regex for filtering chat message.. + /// + internal static string Logging_ChatFilter { + get { + return ResourceManager.GetString("Logging.ChatFilter", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Show server chat messages.. + /// + internal static string Logging_ChatMessages { + get { + return ResourceManager.GetString("Logging.ChatMessages", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Regex for filtering debug message.. + /// + internal static string Logging_DebugFilter { + get { + return ResourceManager.GetString("Logging.DebugFilter", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Please enable this before submitting bug reports. Thanks!. + /// + internal static string Logging_DebugMessages { + get { + return ResourceManager.GetString("Logging.DebugMessages", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Show error messages.. + /// + internal static string Logging_ErrorMessages { + get { + return ResourceManager.GetString("Logging.ErrorMessages", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to "disable" or "blacklist" OR "whitelist". Blacklist hide message match regex. Whitelist show message match regex.. + /// + internal static string Logging_FilterMode { + get { + return ResourceManager.GetString("Logging.FilterMode", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Informative messages. (i.e Most of the message from MCC). + /// + internal static string Logging_InfoMessages { + get { + return ResourceManager.GetString("Logging.InfoMessages", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Log file name.. + /// + internal static string Logging_LogFile { + get { + return ResourceManager.GetString("Logging.LogFile", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Write log messages to file.. + /// + internal static string Logging_LogToFile { + get { + return ResourceManager.GetString("Logging.LogToFile", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Prepend timestamp to messages in log file.. + /// + internal static string Logging_PrependTimestamp { + get { + return ResourceManager.GetString("Logging.PrependTimestamp", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Keep color codes in the saved text.(look like "§b"). + /// + internal static string Logging_SaveColorCodes { + get { + return ResourceManager.GetString("Logging.SaveColorCodes", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Show warning messages.. + /// + internal static string Logging_WarningMessages { + get { + return ResourceManager.GetString("Logging.WarningMessages", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Make sure you understand what each setting does before changing anything!. + /// + internal static string Main_Advanced { + get { + return ResourceManager.GetString("Main.Advanced", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to AccountList: It allows a fast account switching without directly using the credentials + ///Usage examples: "/tell <mybot> reco Player2", "/connect <serverip> Player1". + /// + internal static string Main_Advanced_account_list { + get { + return ResourceManager.GetString("Main.Advanced.account_list", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Toggle auto respawn if client player was dead (make sure your spawn point is safe).. + /// + internal static string Main_Advanced_auto_respawn { + get { + return ResourceManager.GetString("Main.Advanced.auto_respawn", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Set the owner of the bot. /!\ Server admins can impersonate owners!. + /// + internal static string Main_Advanced_bot_owners { + get { + return ResourceManager.GetString("Main.Advanced.bot_owners", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Use "mcc", "vanilla" or "none". This is how MCC identifies itself to the server.. + /// + internal static string Main_Advanced_brand_info { + get { + return ResourceManager.GetString("Main.Advanced.brand_info", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Leave empty for no logfile.. + /// + internal static string Main_Advanced_chatbot_log_file { + get { + return ResourceManager.GetString("Main.Advanced.chatbot_log_file", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to If turned off, the emoji will be replaced with a simpler character (for /chunk status).. + /// + internal static string Main_Advanced_enable_emoji { + get { + return ResourceManager.GetString("Main.Advanced.enable_emoji", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Toggle entity handling.. + /// + internal static string Main_Advanced_entity_handling { + get { + return ResourceManager.GetString("Main.Advanced.entity_handling", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Whether to exit directly when an error occurs, for using MCC in non-interactive scripts.. + /// + internal static string Main_Advanced_exit_on_failure { + get { + return ResourceManager.GetString("Main.Advanced.exit_on_failure", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Use "none", "slash"(/) or "backslash"(\).. + /// + internal static string Main_Advanced_internal_cmd_char { + get { + return ResourceManager.GetString("Main.Advanced.internal_cmd_char", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Toggle inventory handling.. + /// + internal static string Main_Advanced_inventory_handling { + get { + return ResourceManager.GetString("Main.Advanced.inventory_handling", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Fill in with in-game locale code, check https://mccteam.github.io/r/l-code.html. + /// + internal static string Main_Advanced_language { + get { + return ResourceManager.GetString("Main.Advanced.language", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Load translations applied to MCC when available, turn it off to use English only.. + /// + internal static string Main_Advanced_LoadMccTrans { + get { + return ResourceManager.GetString("Main.Advanced.LoadMccTrans", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Use "auto", "no" or "force". Force-enabling only works for MC 1.13+.. + /// + internal static string Main_Advanced_mc_forge { + get { + return ResourceManager.GetString("Main.Advanced.mc_forge", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Use "auto" or "1.X.X" values. Allows to skip server info retrieval.. + /// + internal static string Main_Advanced_mc_version { + get { + return ResourceManager.GetString("Main.Advanced.mc_version", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Controls the minimum interval (in seconds) between sending each message to the server.. + /// + internal static string Main_Advanced_message_cooldown { + get { + return ResourceManager.GetString("Main.Advanced.message_cooldown", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Enable support for joining Minecraft Realms worlds.. + /// + internal static string Main_Advanced_minecraft_realms { + get { + return ResourceManager.GetString("Main.Advanced.minecraft_realms", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The minimum height to use when calculating the image size from the height of the terminal.. + /// + internal static string Main_Advanced_MinTerminalHeight { + get { + return ResourceManager.GetString("Main.Advanced.MinTerminalHeight", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The minimum width used when calculating the image size from the width of the terminal.. + /// + internal static string Main_Advanced_MinTerminalWidth { + get { + return ResourceManager.GetString("Main.Advanced.MinTerminalWidth", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Enable head movement while walking to avoid anti-cheat triggers.. + /// + internal static string Main_Advanced_move_head_while_walking { + get { + return ResourceManager.GetString("Main.Advanced.move_head_while_walking", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to A movement speed higher than 2 may be considered cheating.. + /// + internal static string Main_Advanced_movement_speed { + get { + return ResourceManager.GetString("Main.Advanced.movement_speed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Only works on Windows XP-8 or Windows 10 with old console.. + /// + internal static string Main_Advanced_player_head_icon { + get { + return ResourceManager.GetString("Main.Advanced.player_head_icon", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to For remote control of the bot.. + /// + internal static string Main_Advanced_private_msgs_cmd_name { + get { + return ResourceManager.GetString("Main.Advanced.private_msgs_cmd_name", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to How to retain profile key. Use "none", "memory" or "disk".. + /// + internal static string Main_Advanced_profilekey_cache { + get { + return ResourceManager.GetString("Main.Advanced.profilekey_cache", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Use "no", "fast" (5s timeout), or "yes". Required for joining some servers.. + /// + internal static string Main_Advanced_resolve_srv_records { + get { + return ResourceManager.GetString("Main.Advanced.resolve_srv_records", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Cache compiled scripts for faster load on low-end devices.. + /// + internal static string Main_Advanced_script_cache { + get { + return ResourceManager.GetString("Main.Advanced.script_cache", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to ServerList: It allows an easier and faster server switching with short aliases instead of full server IP + ///Aliases cannot contain dots or spaces, and the name "localhost" cannot be used as an alias. + ///Usage examples: "/tell <mybot> connect Server1", "/connect Server2". + /// + internal static string Main_Advanced_server_list { + get { + return ResourceManager.GetString("Main.Advanced.server_list", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to How to retain session tokens. Use "none", "memory" or "disk".. + /// + internal static string Main_Advanced_session_cache { + get { + return ResourceManager.GetString("Main.Advanced.session_cache", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Decode links embedded in chat messages and show them in console.. + /// + internal static string Main_Advanced_show_chat_links { + get { + return ResourceManager.GetString("Main.Advanced.show_chat_links", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Show inventory layout as ASCII art in inventory command.. + /// + internal static string Main_Advanced_show_inventory_layout { + get { + return ResourceManager.GetString("Main.Advanced.show_inventory_layout", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to System messages for server ops.. + /// + internal static string Main_Advanced_show_system_messages { + get { + return ResourceManager.GetString("Main.Advanced.show_system_messages", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Messages displayed above xp bar, set this to false in case of xp bar spam.. + /// + internal static string Main_Advanced_show_xpbar_messages { + get { + return ResourceManager.GetString("Main.Advanced.show_xpbar_messages", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Temporary fix for Badpacket issue on some servers.. + /// + internal static string Main_Advanced_temporary_fix_badpacket { + get { + return ResourceManager.GetString("Main.Advanced.temporary_fix_badpacket", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Use "none", "bit_4", "bit_8" or "bit_24". This can be checked by opening the debug log.. + /// + internal static string Main_Advanced_TerminalColorDepth { + get { + return ResourceManager.GetString("Main.Advanced.TerminalColorDepth", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Uses more ram, cpu, bandwidth but allows you to move around.. + /// + internal static string Main_Advanced_terrain_and_movements { + get { + return ResourceManager.GetString("Main.Advanced.terrain_and_movements", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Customize the TCP connection timeout with the server. (in seconds). + /// + internal static string Main_Advanced_timeout { + get { + return ResourceManager.GetString("Main.Advanced.timeout", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Prepend timestamps to chat messages.. + /// + internal static string Main_Advanced_timestamps { + get { + return ResourceManager.GetString("Main.Advanced.timestamps", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Login=Email or Name. Use "-" as password for offline mode. Leave blank to prompt user on startup.. + /// + internal static string Main_General_account { + get { + return ResourceManager.GetString("Main.General.account", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The address of the game server, "Host" can be filled in with domain name or IP address. (The "Port" field can be deleted, it will be resolved automatically). + /// + internal static string Main_General_login { + get { + return ResourceManager.GetString("Main.General.login", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Microsoft Account sign-in method: "mcc" OR "browser". If the login always fails, please try to use the "browser" once.. + /// + internal static string Main_General_method { + get { + return ResourceManager.GetString("Main.General.method", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Account type: "mojang" OR "microsoft". Also affects interactive login in console.. + /// + internal static string Main_General_server_info { + get { + return ResourceManager.GetString("Main.General.server_info", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Settings below are sent to the server and only affect server-side things like your skin.. + /// + internal static string MCSettings { + get { + return ResourceManager.GetString("MCSettings", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Allows disabling chat colors server-side.. + /// + internal static string MCSettings_ChatColors { + get { + return ResourceManager.GetString("MCSettings.ChatColors", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Use "enabled", "commands", or "disabled". Allows to mute yourself.... + /// + internal static string MCSettings_ChatMode { + get { + return ResourceManager.GetString("MCSettings.ChatMode", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to MC 1.7- difficulty. "peaceful", "easy", "normal", "difficult".. + /// + internal static string MCSettings_Difficulty { + get { + return ResourceManager.GetString("MCSettings.Difficulty", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to If disabled, settings below are not sent to the server.. + /// + internal static string MCSettings_Enabled { + get { + return ResourceManager.GetString("MCSettings.Enabled", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Use any language implemented in Minecraft.. + /// + internal static string MCSettings_Locale { + get { + return ResourceManager.GetString("MCSettings.Locale", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to MC 1.9+ main hand. "left" or "right".. + /// + internal static string MCSettings_MainHand { + get { + return ResourceManager.GetString("MCSettings.MainHand", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Value range: [0 - 255].. + /// + internal static string MCSettings_RenderDistance { + get { + return ResourceManager.GetString("MCSettings.RenderDistance", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Connect to a server via a proxy instead of connecting directly + ///If Mojang session services are blocked on your network, set Enabled_Login=true to login using proxy. + ///If the connection to the Minecraft game server is blocked by the firewall, set Enabled_Ingame=true to use a proxy to connect to the game server. + ////!\ Make sure your server rules allow Proxies or VPNs before setting enabled=true, or you may face consequences!. + /// + internal static string Proxy { + get { + return ResourceManager.GetString("Proxy", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Whether to connect to the game server through a proxy.. + /// + internal static string Proxy_Enabled_Ingame { + get { + return ResourceManager.GetString("Proxy.Enabled_Ingame", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Whether to connect to the login server through a proxy.. + /// + internal static string Proxy_Enabled_Login { + get { + return ResourceManager.GetString("Proxy.Enabled_Login", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Whether to download MCC updates via proxy.. + /// + internal static string Proxy_Enabled_Update { + get { + return ResourceManager.GetString("Proxy.Enabled_Update", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Only required for password-protected proxies.. + /// + internal static string Proxy_Password { + get { + return ResourceManager.GetString("Proxy.Password", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Supported types: "HTTP", "SOCKS4", "SOCKS4a", "SOCKS5".. + /// + internal static string Proxy_Proxy_Type { + get { + return ResourceManager.GetString("Proxy.Proxy_Type", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Proxy server must allow HTTPS for login, and non-443 ports for playing.. + /// + internal static string Proxy_Server { + get { + return ResourceManager.GetString("Proxy.Server", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Only required for password-protected proxies.. + /// + internal static string Proxy_Username { + get { + return ResourceManager.GetString("Proxy.Username", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Chat signature related settings (affects minecraft 1.19+). + /// + internal static string Signature { + get { + return ResourceManager.GetString("Signature", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Microsoft accounts only. If disabled, will not be able to sign chat and join servers configured with "enforce-secure-profile=true". + /// + internal static string Signature_LoginWithSecureProfile { + get { + return ResourceManager.GetString("Signature.LoginWithSecureProfile", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Use red    color block to mark chat without legitimate signature. + /// + internal static string Signature_MarkIllegallySignedMsg { + get { + return ResourceManager.GetString("Signature.MarkIllegallySignedMsg", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Use green  color block to mark chat with legitimate signatures. + /// + internal static string Signature_MarkLegallySignedMsg { + get { + return ResourceManager.GetString("Signature.MarkLegallySignedMsg", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Use yellow color block to mark chat that have been modified by the server.. + /// + internal static string Signature_MarkModifiedMsg { + get { + return ResourceManager.GetString("Signature.MarkModifiedMsg", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Use gray   color block to mark system message (always without signature). + /// + internal static string Signature_MarkSystemMessage { + get { + return ResourceManager.GetString("Signature.MarkSystemMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Whether to display chat and messages in commands without legal signatures. + /// + internal static string Signature_ShowIllegalSignedChat { + get { + return ResourceManager.GetString("Signature.ShowIllegalSignedChat", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Set to true to display messages modified by the server, false to display the original signed messages. + /// + internal static string Signature_ShowModifiedChat { + get { + return ResourceManager.GetString("Signature.ShowModifiedChat", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Whether to sign the chat send from MCC. + /// + internal static string Signature_SignChat { + get { + return ResourceManager.GetString("Signature.SignChat", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Whether to sign the messages contained in the commands sent by MCC. For example, the message in "/msg" and "/me". + /// + internal static string Signature_SignMessageInCommand { + get { + return ResourceManager.GetString("Signature.SignMessageInCommand", resourceCulture); + } + } + } +} diff --git a/MinecraftClient/Resources/ConfigComments/ConfigComments.resx b/MinecraftClient/Resources/ConfigComments/ConfigComments.resx new file mode 100644 index 00000000..da56bedc --- /dev/null +++ b/MinecraftClient/Resources/ConfigComments/ConfigComments.resx @@ -0,0 +1,791 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + can be used in some other fields as %yourvar% +%username% and %serverip% are reserved variables. + + + =============================== # + Minecraft Console Client Bots # +=============================== # + + + Get alerted when specified words are detected in chat +Useful for moderating your server or detecting when someone is talking to you + + + Play a beep sound when a word is detected in addition to highlighting. + + + List of words/strings to NOT alert you on. + + + The name of a file where alers logs will be written. + + + Log alerts info a file. + + + List of words/strings to alert you on. + + + Trigger alerts when it rains and when it stops. + + + Triggers alerts at the beginning and end of thunderstorms. + + + Triggers an alert after receiving a specified keyword. + + + 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) + + + Command to send to the server. + + + The time interval for execution. (in seconds) + + + Whether to sneak when sending the command. + + + Use terrain handling to enable the bot to move around. + + + The range the bot can move around randomly (Note: the bigger the range, the slower the bot will be) + + + How many times can the bot fail trying to move before using the command method. + + + 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! + + + Allow attacking hostile mobs. + + + Allow attacking passive mobs. + + + How long to wait between each attack. Set "Custom = false" to let MCC calculate it. + + + All entity types can be found here: https://mccteam.github.io/r/entity/#L15 + + + Possible values: "Interact", "Attack" (default), "InteractAt" (Interact and Attack). + + + Wether to treat the entities list as a "whitelist" or as a "blacklist". + + + "single" or "multi". single target one mob per attack. multi target all mobs in range per attack + + + "health" or "distance". Only needed when using single mode + + + Automatically craft items in your inventory +See https://mccteam.github.io/g/bots/#auto-craft 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 + + + Location of the crafting table if you intended to use it. Terrain and movements must be enabled. + + + What to do on crafting failure, "abort" or "wait". + + + Recipes.Name: The name can be whatever you like and it is used to represent the recipe. +Recipes.Type: crafting table type: "player" or "table" +Recipes.Result: the resulting item +Recipes.Slots: All slots, counting from left to right, top to bottom. Please fill in "Null" for empty slots. +For the naming of the items, please see: https://mccteam.github.io/r/item/#L12 + + + Auto-digging blocks. +You need to enable Terrain Handling to use this bot +You can use "/digbot start" and "/digbot stop" to control the start and stop of AutoDig. +Since MCC does not yet support accurate calculation of the collision volume of blocks, all blocks are considered as complete cubes when obtaining the position of the lookahead. +For the naming of the block, please see https://mccteam.github.io/r/block/#L15 + + + How many seconds to wait after entering the game to start digging automatically, set to -1 to disable automatic start. + + + Automatically switch to the appropriate tool. + + + Mining a block for more than "Dig_Timeout" seconds will be considered a timeout. + + + Whether to drop the current tool when its durability is too low. + + + Will not use tools with less durability than this. Set to zero to disable this feature. + + + Wether to treat the blocks list as a "whitelist" or as a "blacklist". + + + The position of the blocks when using "fixedpos" or "both" mode. + + + "distance" or "index", When using the "fixedpos" mode, the blocks are determined by distance to the player, or by the order in the list. + + + Whether to output logs when digging blocks. + + + "lookat", "fixedpos" or "both". Digging the block being looked at, the block in a fixed position, or the block that needs to be all met. + + + Automatically drop items in inventory +You need to enable Inventory Handling to use this bot +See this file for an up-to-date list of item types you can use with this bot: https://mccteam.github.io/r/item/#L12 + + + "include", "exclude" or "everything". Include: drop item IN the list. Exclude: drop item NOT IN the list + + + Automatically eat food when your Hunger value is low +You need to enable Inventory Handling to use this bot + + + Automatically catch fish using a fishing rod +Guide: https://mccteam.github.io/g/bots/#auto-fishing +You can use "/fish" to control the bot manually. +/!\ Make sure server rules allow automated farming before using this bot + + + Keep it as false if you have not changed it before. + + + Switch to a new rod from inventory after the current rod is unavailable. + + + Whether to start fishing automatically after entering a world. + + + How soon to re-cast after successful fishing. + + + Will not use rods with less durability than this (full durability is 64). Set to zero to disable this feature. + + + This allows the player to change position/facing after each fish caught. + + + How long after entering the game to start fishing (seconds). + + + Fishing timeout (seconds). Timeout will trigger a re-cast. + + + A "stationary" hook that moves above this threshold in the Y-axis will be considered to have caught a fish. + + + Used to adjust the above two thresholds, which when enabled will print the change in the position of the fishhook entity upon receipt of its movement packet. + + + Use the mainhand or the offhand to hold the rod. + + + It will move in order "1->2->3->4->3->2->1->2->..." and can change position or facing or both each time. It is recommended to change the facing only. + + + Hook movement in the X and Z axis less than this value will be considered stationary. + + + Automatically relog when disconnected by server, for example because the server is restating +/!\ Use Ignore_Kick_Message=true at own risk! Server staff might not appreciate if you auto-relog on manual kicks + + + The delay time before joining the server. (in seconds) + + + When set to true, autorelog will reconnect regardless of kick messages. + + + If the kickout message matches any of the strings, then autorelog will be triggered. + + + Retries when failing to relog to the server. use -1 for unlimited retries. + + + 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 + + + Do not remove colors from text (Note: Your matches will have to include color codes (ones using the § character) in order to work) + + + Logs chat messages in a file on disk. + + + This bot allows you to send and recieve messages and commands via a Discord channel. +For Setup you can either use the documentation or read here (Documentation has images). +Documentation: https://mccteam.github.io/g/bots/#discord-bridge +Setup: +First you need to create a Bot on the Discord Developers Portal, here is a video tutorial: https://www.youtube.com/watch?v=2FgMnZViNPA . +/!\ IMPORTANT /!\: When creating a bot, you MUST ENABLE "Message Content Intent", "Server Members Intent" and "Presence Intent" in order for bot to work! Also follow along carefully do not miss any steps! +When making a bot, copy the generated token and paste it here in "Token" field (tokens are important, keep them safe). +Copy the "Application ID" and go to: https://discordapi.com/permissions.html . +Paste the id you have copied and check the "Administrator" field in permissions, then click on the link at the bottom. +This will open an invitation menu with your servers, choose the server you want to invite the bot on and invite him. +Once you've invited the bot, go to your Discord client and go to Settings -> Advanced and Enable "Developer Mode". +Exit the settings and right click on a server you have invited the bot to in the server list, then click "Copy ID", and paste the id here in "GuildId". +Then right click on a channel where you want to interact with the bot and again right click -> "Copy ID", pase the copied id here in "ChannelId". +And for the end, send a message in the channel, right click on your nick and again right click -> "Copy ID", then paste the id here in "OwnersIds". +How to use: +To execute an MCC command, prefix it with a dot ".", example: ".move 143 64 735" . +To send a message, simply type it out and hit enter. + + + The ID of a channel where you want to interact with the MCC using the bot. + + + Message formats +Words wrapped with { and } are going to be replaced during the code execution, do not change them! +For example. {message} is going to be replace with an actual message, {username} will be replaced with an username, {timestamp} with the current time. +For Discord message formatting, check the following: https://mccteam.github.io/r/dc-fmt.html + + + The ID of a server/guild where you have invited the bot to. + + + How long to wait (in seconds) if a message can not be sent to discord before canceling the task (minimum 1 second). + + + A list of IDs of people you want to be able to interact with the MCC using the bot. + + + Your Discord Bot token. + + + Automatically farms crops for you (plants, breaks and bonemeals them). +Crop types available: Beetroot, Carrot, Melon, Netherwart, Pumpkin, Potato, Wheat. +Usage: "/farmer start" command and "/farmer stop" command. +NOTE: This a newly added bot, it is not perfect and was only tested in 1.19.2, there are some minor issues like not being able to bonemeal carrots/potatoes sometimes. +or bot jumps onto the farm land and breaks it (this happens rarely but still happens). We are looking forward at improving this. +It is recommended to keep the farming area walled off and flat to avoid the bot jumping. +Also, if you have your farmland that is one block high, make it 2 or more blocks high so the bot does not fall through, as it can happen sometimes when the bot reconnects. +The bot also does not pickup all items if they fly off to the side, we have a plan to implement this option in the future as well as drop off and bonemeal refill chest(s). + + + Delay between tasks in seconds (Minimum 1 second) + + + 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 + + + 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) + + + The rate at which the bot does calculations (in seconds) (You can tweak this if you feel the bot is too slow) + + + 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 + + + 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 + + + Allows you to render maps in the console and into images (which can be then sent to Discord using Discord Bridge Chat Bot) +This is useful for solving captchas which use maps +The maps are rendered into Rendered_Maps folder if the Save_To_File is enabled. +NOTE: +If some servers have a very short time for solving captchas, enabe Auto_Render_On_Update to see them immediatelly in the console. +/!\ Make sure server rules allow bots to be used on the server, or you risk being punished. + + + Automatically render the map once it is received or updated from/by the server + + + Delete all rendered maps on unload/reload or when you launch the MCC again. + + + Get a notification when you have gotten a map from the server for the first time + + + Resize an rendered image, this is useful when images that are rendered are small and when are being sent to Discord. + + + Whether to render the map in the console. + + + The size that a rendered image should be resized to, in pixels (eg. 512). + + + Whether to store the rendered map as a file (You need this setting if you want to get a map on Discord using Discord Bridge). + + + Send a rendered map (saved to a file) to a Discord or a Telegram channel via the Discord or Telegram Bride chat bot (The Discord/Telegram Bridge chat bot must be enabled and configured!) +You need to enable Save_To_File in order for this to work. +We also recommend turning on resizing. + + + Log the list of players periodically into a textual file. + + + (In seconds) + + + 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 + + + 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! + + + How long should replay file be auto-saved, in seconds. Use -1 to disable. + + + Schedule commands and scripts to launch on various events such as server join, date/time or time interval +See https://mccteam.github.io/g/bots/#script-scheduler for more info + + + This bot allows you to send and receive messages and commands via a Telegram Bot DM or to receive messages in a Telegram channel. +/!\ NOTE: You can't send messages and commands from a group channel, you can only send them in the bot DM, but you can get the messages from the client in a group channel. +----------------------------------------------------------- +Setup: +First you need to create a Telegram bot and obtain an API key, to do so, go to Telegram and find @botfather +Click on "Start" button and read the bot reply, then type "/newbot", the Botfather will guide you through the bot creation. +Once you create the bot, copy the API key that you have gotten, and put it into the "Token" field of "ChatBot.TelegramBridge" section (this section). +/!\ Do not share this token with anyone else as it will give them the control over your bot. Save it securely. +Then launch the client and go to Telegram, find your newly created bot by searching for it with its username, and open a DM with it. +Click on "Start" button and type and send the following command ".chatid" to obtain the chat id. +Copy the chat id number (eg. 2627844670) and paste it in the "ChannelId" field and add it to the "Authorized_Chat_Ids" field (in this section) (an id in "Authorized_Chat_Ids" field is a number/long, not a string!), then save the file. +Now you can use the bot using it's DM. +/!\ If you do not add the id of your chat DM with the bot to the "Authorized_Chat_Ids" field, ayone who finds your bot via search will be able to execute commands and send messages! +/!\ An id pasted in to the "Authorized_Chat_Ids" should be a number/long, not a string! +----------------------------------------------------------- +NOTE: If you want to recieve messages to a group channel instead, make the channel temporarely public, invite the bot to it and make it an administrator, then set the channel to private if you want. +Then set the "ChannelId" field to the @ of your channel (you must include the @ in the settings, eg. "@mysupersecretchannel"), this is the username you can see in the invite link of the channel. +/!\ Only include the username with @ prefix, do not include the rest of the link. Example if you have "https://t.me/mysupersecretchannel", the "ChannelId" will be "@mysupersecretchannel". +/!\ Note that you will not be able to send messages to the client from a group channel! +----------------------------------------------------------- +How to use the bot: +To execute an MCC command, prefix it with a dot ".", example: ".move 143 64 735" . +To send a message, simply type it out and hit enter. + + + A list of Chat IDs that are allowed to send messages and execute commands. To get an id of your chat DM with the bot use ".chatid" bot command in Telegram. + + + An ID of a channel where you want to interact with the MCC using the bot. + + + Message formats +Words wrapped with { and } are going to be replaced during the code execution, do not change them! +For example. {message} is going to be replace with an actual message, {username} will be replaced with an username, {timestamp} with the current time. +For Telegram message formatting, check the following: https://mccteam.github.io/r/tg-fmt.html + + + How long to wait (in seconds) if a message can not be sent to Telegram before canceling the task (minimum 1 second). + + + Your Telegram Bot token. + + + 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 https://mccteam.github.io/g/conf/#chat-format-section + + + MCC support for common message formats. Set "false" to avoid conflicts with custom formats. + + + Whether to use the custom regular expressions below for detection. + + + Startup Config File +Please do not record extraneous data in this file as it will be overwritten by MCC. + +New to Minecraft Console Client? Check out this document: https://mccteam.github.io/g/conf.html +Want to upgrade to a newer version? See https://github.com/MCCTeam/Minecraft-Console-Client/#download + + + This setting affects only the messages in the console. + + + Regex for filtering chat message. + + + Show server chat messages. + + + Regex for filtering debug message. + + + Please enable this before submitting bug reports. Thanks! + + + Show error messages. + + + "disable" or "blacklist" OR "whitelist". Blacklist hide message match regex. Whitelist show message match regex. + + + Informative messages. (i.e Most of the message from MCC) + + + Log file name. + + + Write log messages to file. + + + Prepend timestamp to messages in log file. + + + Keep color codes in the saved text.(look like "§b") + + + Show warning messages. + + + Make sure you understand what each setting does before changing anything! + + + AccountList: It allows a fast account switching without directly using the credentials +Usage examples: "/tell <mybot> reco Player2", "/connect <serverip> Player1" + + + Toggle auto respawn if client player was dead (make sure your spawn point is safe). + + + Set the owner of the bot. /!\ Server admins can impersonate owners! + + + Use "mcc", "vanilla" or "none". This is how MCC identifies itself to the server. + + + Leave empty for no logfile. + + + If turned off, the emoji will be replaced with a simpler character (for /chunk status). + + + Toggle entity handling. + + + Whether to exit directly when an error occurs, for using MCC in non-interactive scripts. + + + Use "none", "slash"(/) or "backslash"(\). + + + Toggle inventory handling. + + + Fill in with in-game locale code, check https://mccteam.github.io/r/l-code.html + + + Load translations applied to MCC when available, turn it off to use English only. + + + Use "auto", "no" or "force". Force-enabling only works for MC 1.13+. + + + Use "auto" or "1.X.X" values. Allows to skip server info retrieval. + + + Controls the minimum interval (in seconds) between sending each message to the server. + + + Enable support for joining Minecraft Realms worlds. + + + The minimum height to use when calculating the image size from the height of the terminal. + + + The minimum width used when calculating the image size from the width of the terminal. + + + A movement speed higher than 2 may be considered cheating. + + + Enable head movement while walking to avoid anti-cheat triggers. + + + Only works on Windows XP-8 or Windows 10 with old console. + + + For remote control of the bot. + + + How to retain profile key. Use "none", "memory" or "disk". + + + Use "no", "fast" (5s timeout), or "yes". Required for joining some servers. + + + Cache compiled scripts for faster load on low-end devices. + + + ServerList: It allows an easier and faster server switching with short aliases instead of full server IP +Aliases cannot contain dots or spaces, and the name "localhost" cannot be used as an alias. +Usage examples: "/tell <mybot> connect Server1", "/connect Server2" + + + How to retain session tokens. Use "none", "memory" or "disk". + + + Decode links embedded in chat messages and show them in console. + + + Show inventory layout as ASCII art in inventory command. + + + System messages for server ops. + + + Messages displayed above xp bar, set this to false in case of xp bar spam. + + + Temporary fix for Badpacket issue on some servers. + + + Use "none", "bit_4", "bit_8" or "bit_24". This can be checked by opening the debug log. + + + Uses more ram, cpu, bandwidth but allows you to move around. + + + Customize the TCP connection timeout with the server. (in seconds) + + + Prepend timestamps to chat messages. + + + Login=Email or Name. Use "-" as password for offline mode. Leave blank to prompt user on startup. + + + The address of the game server, "Host" can be filled in with domain name or IP address. (The "Port" field can be deleted, it will be resolved automatically) + + + Microsoft Account sign-in method: "mcc" OR "browser". If the login always fails, please try to use the "browser" once. + + + Account type: "mojang" OR "microsoft". Also affects interactive login in console. + + + Settings below are sent to the server and only affect server-side things like your skin. + + + Allows disabling chat colors server-side. + + + Use "enabled", "commands", or "disabled". Allows to mute yourself... + + + MC 1.7- difficulty. "peaceful", "easy", "normal", "difficult". + + + If disabled, settings below are not sent to the server. + + + Use any language implemented in Minecraft. + + + MC 1.9+ main hand. "left" or "right". + + + Value range: [0 - 255]. + + + Connect to a server via a proxy instead of connecting directly +If Mojang session services are blocked on your network, set Enabled_Login=true to login using proxy. +If the connection to the Minecraft game server is blocked by the firewall, set Enabled_Ingame=true to use a proxy to connect to the game server. +/!\ Make sure your server rules allow Proxies or VPNs before setting enabled=true, or you may face consequences! + + + Whether to connect to the game server through a proxy. + + + Whether to connect to the login server through a proxy. + + + Whether to download MCC updates via proxy. + + + Only required for password-protected proxies. + + + Supported types: "HTTP", "SOCKS4", "SOCKS4a", "SOCKS5". + + + Proxy server must allow HTTPS for login, and non-443 ports for playing. + + + Only required for password-protected proxies. + + + Chat signature related settings (affects minecraft 1.19+) + + + Microsoft accounts only. If disabled, will not be able to sign chat and join servers configured with "enforce-secure-profile=true" + + + Use red    color block to mark chat without legitimate signature + + + Use green  color block to mark chat with legitimate signatures + + + Use yellow color block to mark chat that have been modified by the server. + + + Use gray   color block to mark system message (always without signature) + + + Whether to display chat and messages in commands without legal signatures + + + Set to true to display messages modified by the server, false to display the original signed messages + + + Whether to sign the chat send from MCC + + + Whether to sign the messages contained in the commands sent by MCC. For example, the message in "/msg" and "/me" + + \ No newline at end of file diff --git a/MinecraftClient/Resources/Translations/Translations.Designer.cs b/MinecraftClient/Resources/Translations/Translations.Designer.cs index fd93a259..64fe6379 100644 --- a/MinecraftClient/Resources/Translations/Translations.Designer.cs +++ b/MinecraftClient/Resources/Translations/Translations.Designer.cs @@ -1,7414 +1,5706 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace MinecraftClient { - using System; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Translations { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Translations() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("MinecraftClient.Resources.Translations.Translations", typeof(Translations).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to §cWeather change: It is no longer raining.§r. - /// - internal static string bot_alerts_end_rain { - get { - return ResourceManager.GetString("bot.alerts.end_rain", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §cWeather change: It is no longer a thunderstorm.§r. - /// - internal static string bot_alerts_end_thunderstorm { - get { - return ResourceManager.GetString("bot.alerts.end_thunderstorm", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §cWeather change: It is raining now.§r. - /// - internal static string bot_alerts_start_rain { - get { - return ResourceManager.GetString("bot.alerts.start_rain", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §cWeather change: It is a thunderstorm.§r. - /// - internal static string bot_alerts_start_thunderstorm { - get { - return ResourceManager.GetString("bot.alerts.start_thunderstorm", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Invalid walk range provided, must be a positive integer greater than 0, using default value of 5!. - /// - internal static string bot_antiafk_invalid_walk_range { - get { - return ResourceManager.GetString("bot.antiafk.invalid_walk_range", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The terrain handling is not enabled in the settings of the client, enable it if you want to use it with this bot. Using alternative (command) method.. - /// - internal static string bot_antiafk_not_using_terrain_handling { - get { - return ResourceManager.GetString("bot.antiafk.not_using_terrain_handling", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The time range begins with a bigger value, swapped them around.. - /// - internal static string bot_antiafk_swapping { - get { - return ResourceManager.GetString("bot.antiafk.swapping", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Attack cooldown value cannot be smaller than 0.. - /// - internal static string bot_autoAttack_invalidcooldown { - get { - return ResourceManager.GetString("bot.autoAttack.invalidcooldown", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Crafting aborted! Check your available materials.. - /// - internal static string bot_autoCraft_aborted { - get { - return ResourceManager.GetString("bot.autoCraft.aborted", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Auto-crafting ChatBot command alias. - /// - internal static string bot_autoCraft_alias { - get { - return ResourceManager.GetString("bot.autoCraft.alias", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Available commands: {0}. Use /autocraft help <cmd name> for more information.. - /// - internal static string bot_autoCraft_available_cmd { - get { - return ResourceManager.GetString("bot.autoCraft.available_cmd", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Inventory #{0} was closed by AutoCraft. - /// - internal static string bot_autoCraft_close_inventory { - get { - return ResourceManager.GetString("bot.autoCraft.close_inventory", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Auto-crafting ChatBot command. - /// - internal static string bot_autoCraft_cmd { - get { - return ResourceManager.GetString("bot.autoCraft.cmd", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Total {0} recipes loaded: {1}. - /// - internal static string bot_autoCraft_cmd_list { - get { - return ResourceManager.GetString("bot.autoCraft.cmd.list", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Resetting your config to default. - /// - internal static string bot_autoCraft_cmd_resetcfg { - get { - return ResourceManager.GetString("bot.autoCraft.cmd.resetcfg", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Crafting failed! Waiting for more materials. - /// - internal static string bot_autoCraft_craft_fail { - get { - return ResourceManager.GetString("bot.autoCraft.craft_fail", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to No config found. Writing a new one.. - /// - internal static string bot_autoCraft_debug_no_config { - get { - return ResourceManager.GetString("bot.autoCraft.debug.no_config", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Error while parsing config: {0}. - /// - internal static string bot_autoCraft_error_config { - get { - return ResourceManager.GetString("bot.autoCraft.error.config", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Duplicate recipe name specified: {0}. - /// - internal static string bot_autoCraft_exception_duplicate { - get { - return ResourceManager.GetString("bot.autoCraft.exception.duplicate", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Missing recipe name while parsing a recipe. - /// - internal static string bot_autoCraft_exception_name_miss { - get { - return ResourceManager.GetString("bot.autoCraft.exception.name_miss", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Get the command description. Usage: /autocraft help <command name>. - /// - internal static string bot_autoCraft_help_help { - get { - return ResourceManager.GetString("bot.autoCraft.help.help", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to List available recipes.. - /// - internal static string bot_autoCraft_help_list { - get { - return ResourceManager.GetString("bot.autoCraft.help.list", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Load the config file.. - /// - internal static string bot_autoCraft_help_load { - get { - return ResourceManager.GetString("bot.autoCraft.help.load", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Reload the config file.. - /// - internal static string bot_autoCraft_help_reload { - get { - return ResourceManager.GetString("bot.autoCraft.help.reload", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Write the default example config to default location.. - /// - internal static string bot_autoCraft_help_resetcfg { - get { - return ResourceManager.GetString("bot.autoCraft.help.resetcfg", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Start the crafting. Usage: /autocraft start <recipe name>. - /// - internal static string bot_autoCraft_help_start { - get { - return ResourceManager.GetString("bot.autoCraft.help.start", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Stop the current running crafting process. - /// - internal static string bot_autoCraft_help_stop { - get { - return ResourceManager.GetString("bot.autoCraft.help.stop", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Invalid result item!. - /// - internal static string bot_autocraft_invaild_result { - get { - return ResourceManager.GetString("bot.autocraft.invaild_result", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The number of slots does not match and has been adjusted automatically.. - /// - internal static string bot_autocraft_invaild_slots { - get { - return ResourceManager.GetString("bot.autocraft.invaild_slots", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Successfully loaded. - /// - internal static string bot_autoCraft_loaded { - get { - return ResourceManager.GetString("bot.autoCraft.loaded", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Missing material: {0}. - /// - internal static string bot_autoCraft_missing_material { - get { - return ResourceManager.GetString("bot.autoCraft.missing_material", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Please specify the recipe name you want to craft.. - /// - internal static string bot_autoCraft_no_recipe_name { - get { - return ResourceManager.GetString("bot.autoCraft.no_recipe_name", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Specified recipe name does not exist. Check your config file.. - /// - internal static string bot_autoCraft_recipe_not_exist { - get { - return ResourceManager.GetString("bot.autoCraft.recipe_not_exist", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Starting AutoCraft: {0}. - /// - internal static string bot_autoCraft_start { - get { - return ResourceManager.GetString("bot.autoCraft.start", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to AutoCraft cannot be started. Check your available materials for crafting {0}. - /// - internal static string bot_autoCraft_start_fail { - get { - return ResourceManager.GetString("bot.autoCraft.start_fail", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to AutoCraft stopped. - /// - internal static string bot_autoCraft_stop { - get { - return ResourceManager.GetString("bot.autoCraft.stop", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to table not found. - /// - internal static string bot_autoCraft_table_not_found { - get { - return ResourceManager.GetString("bot.autoCraft.table_not_found", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Action timeout! Reason: {0}. - /// - internal static string bot_autoCraft_timeout { - get { - return ResourceManager.GetString("bot.autoCraft.timeout", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Available commands: {0}. Use /autodig help <cmd name> for more information.. - /// - internal static string bot_autodig_available_cmd { - get { - return ResourceManager.GetString("bot.autodig.available_cmd", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Auto-digging ChatBot command. - /// - internal static string bot_autodig_cmd { - get { - return ResourceManager.GetString("bot.autodig.cmd", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Digging block timeout, retry.. - /// - internal static string bot_autodig_dig_timeout { - get { - return ResourceManager.GetString("bot.autodig.dig_timeout", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Get the command description. Usage: /autodig help <command name>. - /// - internal static string bot_autodig_help_help { - get { - return ResourceManager.GetString("bot.autodig.help.help", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Start the automatic digging bot.. - /// - internal static string bot_autodig_help_start { - get { - return ResourceManager.GetString("bot.autodig.help.start", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Deactivate the automatic digging bot.. - /// - internal static string bot_autodig_help_stop { - get { - return ResourceManager.GetString("bot.autodig.help.stop", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Inventory handling is not enabled. Unable to switch tools automatically.. - /// - internal static string bot_autodig_no_inv_handle { - get { - return ResourceManager.GetString("bot.autodig.no_inv_handle", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The block currently pointed to is not in the allowed list.. - /// - internal static string bot_autodig_not_allow { - get { - return ResourceManager.GetString("bot.autodig.not_allow", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Automatic digging has started.. - /// - internal static string bot_autodig_start { - get { - return ResourceManager.GetString("bot.autodig.start", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Digging will start in {0:0.0} second(s).. - /// - internal static string bot_autodig_start_delay { - get { - return ResourceManager.GetString("bot.autodig.start_delay", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Auto-digging has been stopped.. - /// - internal static string bot_autodig_stop { - get { - return ResourceManager.GetString("bot.autodig.stop", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Added item {0}. - /// - internal static string bot_autoDrop_added { - get { - return ResourceManager.GetString("bot.autoDrop.added", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to AutoDrop ChatBot command alias. - /// - internal static string bot_autoDrop_alias { - get { - return ResourceManager.GetString("bot.autoDrop.alias", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to AutoDrop ChatBot command. - /// - internal static string bot_autoDrop_cmd { - get { - return ResourceManager.GetString("bot.autoDrop.cmd", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Incorrect item name {0}. Please try again.. - /// - internal static string bot_autoDrop_incorrect_name { - get { - return ResourceManager.GetString("bot.autoDrop.incorrect_name", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Total {0} in the list: - /// {1}. - /// - internal static string bot_autoDrop_list { - get { - return ResourceManager.GetString("bot.autoDrop.list", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot find inventory {0}!. - /// - internal static string bot_autoDrop_no_inventory { - get { - return ResourceManager.GetString("bot.autoDrop.no_inventory", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to No item in the list. - /// - internal static string bot_autoDrop_no_item { - get { - return ResourceManager.GetString("bot.autoDrop.no_item", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot read drop mode from config. Using include mode.. - /// - internal static string bot_autoDrop_no_mode { - get { - return ResourceManager.GetString("bot.autoDrop.no_mode", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Item not in the list. - /// - internal static string bot_autoDrop_not_in_list { - get { - return ResourceManager.GetString("bot.autoDrop.not_in_list", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to AutoDrop disabled. - /// - internal static string bot_autoDrop_off { - get { - return ResourceManager.GetString("bot.autoDrop.off", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to AutoDrop enabled. - /// - internal static string bot_autoDrop_on { - get { - return ResourceManager.GetString("bot.autoDrop.on", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Removed item {0}. - /// - internal static string bot_autoDrop_removed { - get { - return ResourceManager.GetString("bot.autoDrop.removed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Switched to {0} mode.. - /// - internal static string bot_autoDrop_switched { - get { - return ResourceManager.GetString("bot.autoDrop.switched", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Unknwon mode. Available modes: Include, Exclude, Everything. - /// - internal static string bot_autoDrop_unknown_mode { - get { - return ResourceManager.GetString("bot.autoDrop.unknown_mode", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Available commands: {0}. Use /fish help <cmd name> for more information.. - /// - internal static string bot_autoFish_available_cmd { - get { - return ResourceManager.GetString("bot.autoFish.available_cmd", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Casting timeout and will soon retry. (Timeout increased to {0:0.0} sec).. - /// - internal static string bot_autoFish_cast_timeout { - get { - return ResourceManager.GetString("bot.autoFish.cast_timeout", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Retract the fishing rod. (Count: {0}). - /// - internal static string bot_autoFish_caught { - get { - return ResourceManager.GetString("bot.autoFish.caught", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Retract the fishing rod at ({0:0.0},{1:0.0},{2:0.0})! (Count: {3}). - /// - internal static string bot_autoFish_caught_at { - get { - return ResourceManager.GetString("bot.autoFish.caught_at", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Auto-Fishing ChatBot command. - /// - internal static string bot_autoFish_cmd { - get { - return ResourceManager.GetString("bot.autoFish.cmd", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Fish floating despawn, will re-cast.. - /// - internal static string bot_autoFish_despawn { - get { - return ResourceManager.GetString("bot.autoFish.despawn", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Fishing timeout, will soon re-cast.. - /// - internal static string bot_autoFish_fishing_timeout { - get { - return ResourceManager.GetString("bot.autoFish.fishing_timeout", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Fishing got {0}. - /// - internal static string bot_autoFish_got { - get { - return ResourceManager.GetString("bot.autoFish.got", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Get the command description. Usage: /fish help <command name>. - /// - internal static string bot_autoFish_help_help { - get { - return ResourceManager.GetString("bot.autoFish.help.help", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Start auto-fishing.. - /// - internal static string bot_autoFish_help_start { - get { - return ResourceManager.GetString("bot.autoFish.help.start", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to List all obtained items. Or use "/fish status clear" to clear the list.. - /// - internal static string bot_autoFish_help_status { - get { - return ResourceManager.GetString("bot.autoFish.help.status", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Stop auto-fishing.. - /// - internal static string bot_autoFish_help_stop { - get { - return ResourceManager.GetString("bot.autoFish.help.stop", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Inventory handling is not enabled. Cannot check rod durability and switch rods.. - /// - internal static string bot_autoFish_no_inv_handle { - get { - return ResourceManager.GetString("bot.autoFish.no_inv_handle", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Current fishing rod is not available. Maybe broken or low durability?. - /// - internal static string bot_autoFish_no_rod { - get { - return ResourceManager.GetString("bot.autoFish.no_rod", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Start auto-fishing.. - /// - internal static string bot_autoFish_start { - get { - return ResourceManager.GetString("bot.autoFish.start", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Fishing will start in {0:0.0} second(s).. - /// - internal static string bot_autoFish_start_at { - get { - return ResourceManager.GetString("bot.autoFish.start_at", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The record of the obtained items has been cleared.. - /// - internal static string bot_autoFish_status_clear { - get { - return ResourceManager.GetString("bot.autoFish.status_clear", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to All items obtained from fishing (not entirely accurate):. - /// - internal static string bot_autoFish_status_info { - get { - return ResourceManager.GetString("bot.autoFish.status_info", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Stop auto-fishing.. - /// - internal static string bot_autoFish_stop { - get { - return ResourceManager.GetString("bot.autoFish.stop", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Switch to the rod in slot {0}, durability {1}/64.. - /// - internal static string bot_autoFish_switch { - get { - return ResourceManager.GetString("bot.autoFish.switch", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Casting successfully.. - /// - internal static string bot_autoFish_throw { - get { - return ResourceManager.GetString("bot.autoFish.throw", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Update yaw = {0:0.00}, pitch = {1:0.00}.. - /// - internal static string bot_autoFish_update_lookat { - get { - return ResourceManager.GetString("bot.autoFish.update_lookat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Current directory was: {0}. - /// - internal static string bot_autoRelog_curr_dir { - get { - return ResourceManager.GetString("bot.autoRelog.curr_dir", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Got disconnected with message: {0}. - /// - internal static string bot_autoRelog_disconnect_msg { - get { - return ResourceManager.GetString("bot.autoRelog.disconnect_msg", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Disconnection initiated by User or MCC bot. Ignoring.. - /// - internal static string bot_autoRelog_ignore_user_logout { - get { - return ResourceManager.GetString("bot.autoRelog.ignore_user_logout", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Launching with {0} reconnection attempts. - /// - internal static string bot_autoRelog_launch { - get { - return ResourceManager.GetString("bot.autoRelog.launch", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Loaded message: {0}. - /// - internal static string bot_autoRelog_loaded { - get { - return ResourceManager.GetString("bot.autoRelog.loaded", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Loading messages from file: {0}. - /// - internal static string bot_autoRelog_loading { - get { - return ResourceManager.GetString("bot.autoRelog.loading", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Initializing without a kick message file. - /// - internal static string bot_autoRelog_no_kick_msg { - get { - return ResourceManager.GetString("bot.autoRelog.no_kick_msg", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to File not found: {0}. - /// - internal static string bot_autoRelog_not_found { - get { - return ResourceManager.GetString("bot.autoRelog.not_found", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Message contains '{0}'. Reconnecting.. - /// - internal static string bot_autoRelog_reconnect { - get { - return ResourceManager.GetString("bot.autoRelog.reconnect", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Ignoring kick message, reconnecting anyway.. - /// - internal static string bot_autoRelog_reconnect_always { - get { - return ResourceManager.GetString("bot.autoRelog.reconnect_always", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Message not containing any defined keywords. Ignoring.. - /// - internal static string bot_autoRelog_reconnect_ignore { - get { - return ResourceManager.GetString("bot.autoRelog.reconnect_ignore", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Waiting {0:0.000} seconds before reconnecting.... - /// - internal static string bot_autoRelog_wait { - get { - return ResourceManager.GetString("bot.autoRelog.wait", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to File not found: '{0}'. - /// - internal static string bot_autoRespond_file_not_found { - get { - return ResourceManager.GetString("bot.autoRespond.file_not_found", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Loaded match: - ///{0}. - /// - internal static string bot_autoRespond_loaded_match { - get { - return ResourceManager.GetString("bot.autoRespond.loaded_match", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Loading matches from '{0}'. - /// - internal static string bot_autoRespond_loading { - get { - return ResourceManager.GetString("bot.autoRespond.loading", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to match: {0} - ///regex: {1} - ///action: {2} - ///actionPrivate: {3} - ///actionOther: {4} - ///ownersOnly: {5} - ///cooldown: {6}. - /// - internal static string bot_autoRespond_match { - get { - return ResourceManager.GetString("bot.autoRespond.match", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Running action: {0}. - /// - internal static string bot_autoRespond_match_run { - get { - return ResourceManager.GetString("bot.autoRespond.match_run", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to No action for match: - ///{0}. - /// - internal static string bot_autoRespond_no_action { - get { - return ResourceManager.GetString("bot.autoRespond.no_action", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to This match will never trigger: - ///{0}. - /// - internal static string bot_autoRespond_no_trigger { - get { - return ResourceManager.GetString("bot.autoRespond.no_trigger", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Path '{0}' contains invalid characters.. - /// - internal static string bot_chatLog_invalid_file { - get { - return ResourceManager.GetString("bot.chatLog.invalid_file", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Sending message to Discord was canceled due an error occuring. For more info enable Debug.. - /// - internal static string bot_DiscordBridge_canceled_sending { - get { - return ResourceManager.GetString("bot.DiscordBridge.canceled_sending", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The provided channel with an id '{0}' has not been found!. - /// - internal static string bot_DiscordBridge_channel_not_found { - get { - return ResourceManager.GetString("bot.DiscordBridge.channel_not_found", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The command was executed with the result. - /// - internal static string bot_DiscordBridge_command_executed { - get { - return ResourceManager.GetString("bot.DiscordBridge.command_executed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Succesfully connected with MCC!. - /// - internal static string bot_DiscordBridge_connected { - get { - return ResourceManager.GetString("bot.DiscordBridge.connected", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to This command allows you to specify in the which direction the messages will be relayed via the Discord Bridge chat bot.. - /// - internal static string bot_DiscordBridge_desc { - get { - return ResourceManager.GetString("bot.DiscordBridge.desc", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Direction of the Discord Brdige has been switched to '{0}'!. - /// - internal static string bot_DiscordBridge_direction { - get { - return ResourceManager.GetString("bot.DiscordBridge.direction", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Both. - /// - internal static string bot_DiscordBridge_direction_both { - get { - return ResourceManager.GetString("bot.DiscordBridge.direction.both", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Discord. - /// - internal static string bot_DiscordBridge_direction_discord { - get { - return ResourceManager.GetString("bot.DiscordBridge.direction.discord", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Minecraft. - /// - internal static string bot_DiscordBridge_direction_minecraft { - get { - return ResourceManager.GetString("bot.DiscordBridge.direction.minecraft", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Successfully disconnected with MCC!. - /// - internal static string bot_DiscordBridge_disconnected { - get { - return ResourceManager.GetString("bot.DiscordBridge.disconnected", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The provided guild/server with an id '{0}' has not been found!. - /// - internal static string bot_DiscordBridge_guild_not_found { - get { - return ResourceManager.GetString("bot.DiscordBridge.guild_not_found", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Invalid direction provided! Available directions: both|b, minecraft|mc, discord|dsc. Example: "dscbridge direction mc". - /// - internal static string bot_DiscordBridge_invalid_direction { - get { - return ResourceManager.GetString("bot.DiscordBridge.invalid_direction", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Please provide a valid token!. - /// - internal static string bot_DiscordBridge_missing_token { - get { - return ResourceManager.GetString("bot.DiscordBridge.missing_token", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to An unknown error has occured!. - /// - internal static string bot_DiscordBridge_unknown_error { - get { - return ResourceManager.GetString("bot.DiscordBridge.unknown_error", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The bot is already farming!. - /// - internal static string bot_farmer_already_running { - get { - return ResourceManager.GetString("bot.farmer.already_running", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The bot has already stopped farming!. - /// - internal static string bot_farmer_already_stopped { - get { - return ResourceManager.GetString("bot.farmer.already_stopped", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Crop type. - /// - internal static string bot_farmer_crop_type { - get { - return ResourceManager.GetString("bot.farmer.crop_type", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Farming bot. - /// - internal static string bot_farmer_desc { - get { - return ResourceManager.GetString("bot.farmer.desc", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Invalid crop type provided (Types which you can use: Beetroot, Carrot, Melon, Netherwart, Pumpkin, Potato, Wheat)!. - /// - internal static string bot_farmer_invalid_crop_type { - get { - return ResourceManager.GetString("bot.farmer.invalid_crop_type", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Invalid radius provided, you must provide a valid integer number greater than 0!. - /// - internal static string bot_farmer_invalid_radius { - get { - return ResourceManager.GetString("bot.farmer.invalid_radius", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The Farmer bot needs Inventory Handling in order to work, please enable it!. - /// - internal static string bot_farmer_needs_inventory { - get { - return ResourceManager.GetString("bot.farmer.needs_inventory", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The Farmer bot needs Terrain Handling in order to work, please enable it!. - /// - internal static string bot_farmer_needs_terrain { - get { - return ResourceManager.GetString("bot.farmer.needs_terrain", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Not implemented bellow 1.13!. - /// - internal static string bot_farmer_not_implemented { - get { - return ResourceManager.GetString("bot.farmer.not_implemented", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Radius. - /// - internal static string bot_farmer_radius { - get { - return ResourceManager.GetString("bot.farmer.radius", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Started farming!. - /// - internal static string bot_farmer_started { - get { - return ResourceManager.GetString("bot.farmer.started", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Stopped farming!. - /// - internal static string bot_farmer_stopped { - get { - return ResourceManager.GetString("bot.farmer.stopped", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Stoping farming, this might take a second.... - /// - internal static string bot_farmer_stopping { - get { - return ResourceManager.GetString("bot.farmer.stopping", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to You have enabled teleporting, this might get your bot account kicked and in the worst case scenario banned! Use with caution!. - /// - internal static string bot_farmer_warining_allow_teleport { - get { - return ResourceManager.GetString("bot.farmer.warining_allow_teleport", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to You have enabled un-safe movement, the bot might get hurt!. - /// - internal static string bot_farmer_warining_force_unsafe { - get { - return ResourceManager.GetString("bot.farmer.warining_force_unsafe", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Invalid parameter "{0}" provided (Use format: "key:value")!. - /// - internal static string bot_farmer_warining_invalid_parameter { - get { - return ResourceManager.GetString("bot.farmer.warining_invalid_parameter", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to mailer command. - /// - internal static string bot_mailer_cmd { - get { - return ResourceManager.GetString("bot.mailer.cmd", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to --- Ignore list --- - ///{0}. - /// - internal static string bot_mailer_cmd_getignored { - get { - return ResourceManager.GetString("bot.mailer.cmd.getignored", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to --- Mails in database --- - ///{0}. - /// - internal static string bot_mailer_cmd_getmails { - get { - return ResourceManager.GetString("bot.mailer.cmd.getmails", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to See usage. - /// - internal static string bot_mailer_cmd_help { - get { - return ResourceManager.GetString("bot.mailer.cmd.help", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Added {0} to the ignore list!. - /// - internal static string bot_mailer_cmd_ignore_added { - get { - return ResourceManager.GetString("bot.mailer.cmd.ignore.added", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Missing or invalid name. Usage: {0} <username>. - /// - internal static string bot_mailer_cmd_ignore_invalid { - get { - return ResourceManager.GetString("bot.mailer.cmd.ignore.invalid", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Removed {0} from the ignore list!. - /// - internal static string bot_mailer_cmd_ignore_removed { - get { - return ResourceManager.GetString("bot.mailer.cmd.ignore.removed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Creating new database file: {0}. - /// - internal static string bot_mailer_create_db { - get { - return ResourceManager.GetString("bot.mailer.create.db", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Creating new ignore list: {0}. - /// - internal static string bot_mailer_create_ignore { - get { - return ResourceManager.GetString("bot.mailer.create.ignore", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Delivered: {0}. - /// - internal static string bot_mailer_delivered { - get { - return ResourceManager.GetString("bot.mailer.delivered", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Initializing Mailer with settings:. - /// - internal static string bot_mailer_init { - get { - return ResourceManager.GetString("bot.mailer.init", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to  - Database File: {0}. - /// - internal static string bot_mailer_init_db { - get { - return ResourceManager.GetString("bot.mailer.init.db", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to  - Max Database Size: {0}. - /// - internal static string bot_mailer_init_db_size { - get { - return ResourceManager.GetString("bot.mailer.init.db_size", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot enable Mailer: Max Database Size must be greater than zero. Please review the settings.. - /// - internal static string bot_mailer_init_fail_db_size { - get { - return ResourceManager.GetString("bot.mailer.init_fail.db_size", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot enable Mailer: Mail Retention must be greater than zero. Please review the settings.. - /// - internal static string bot_mailer_init_fail_mail_retention { - get { - return ResourceManager.GetString("bot.mailer.init_fail.mail_retention", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot enable Mailer: Max Mails per Player must be greater than zero. Please review the settings.. - /// - internal static string bot_mailer_init_fail_max_mails { - get { - return ResourceManager.GetString("bot.mailer.init_fail.max_mails", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to  - Ignore List: {0}. - /// - internal static string bot_mailer_init_ignore { - get { - return ResourceManager.GetString("bot.mailer.init.ignore", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to  - Mail Retention: {0}. - /// - internal static string bot_mailer_init_mail_retention { - get { - return ResourceManager.GetString("bot.mailer.init.mail_retention", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to  - Max Mails per Player: {0}. - /// - internal static string bot_mailer_init_max_mails { - get { - return ResourceManager.GetString("bot.mailer.init.max_mails", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to  - Public Interactions: {0}. - /// - internal static string bot_mailer_init_public { - get { - return ResourceManager.GetString("bot.mailer.init.public", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Loading database file: {0}. - /// - internal static string bot_mailer_load_db { - get { - return ResourceManager.GetString("bot.mailer.load.db", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Loading ignore list: . - /// - internal static string bot_mailer_load_ignore { - get { - return ResourceManager.GetString("bot.mailer.load.ignore", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Looking for mails to send @ {0}. - /// - internal static string bot_mailer_process_mails { - get { - return ResourceManager.GetString("bot.mailer.process_mails", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Saving message: {0}. - /// - internal static string bot_mailer_saving { - get { - return ResourceManager.GetString("bot.mailer.saving", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to {0} is ignored!. - /// - internal static string bot_mailer_user_ignored { - get { - return ResourceManager.GetString("bot.mailer.user_ignored", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Render maps (item maps). - /// - internal static string bot_map_cmd_desc { - get { - return ResourceManager.GetString("bot.map.cmd.desc", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Invalid ID provided, must be a number!. - /// - internal static string bot_map_cmd_invalid_id { - get { - return ResourceManager.GetString("bot.map.cmd.invalid_id", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A map with id '{0}' does not exists!. - /// - internal static string bot_map_cmd_not_found { - get { - return ResourceManager.GetString("bot.map.cmd.not_found", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Failed to render the map with id: '{0}'. - /// - internal static string bot_map_failed_to_render { - get { - return ResourceManager.GetString("bot.map.failed_to_render", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to - Map id: {0} (Last Updated: {1}). - /// - internal static string bot_map_list_item { - get { - return ResourceManager.GetString("bot.map.list_item", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to No maps received!. - /// - internal static string bot_map_no_maps { - get { - return ResourceManager.GetString("bot.map.no_maps", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The list of received maps from the server:. - /// - internal static string bot_map_received { - get { - return ResourceManager.GetString("bot.map.received", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Received a new Map, with Id: {0}. - /// - internal static string bot_map_received_map { - get { - return ResourceManager.GetString("bot.map.received_map", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Succesfully rendered a map with id '{0}' to: '{1}'. - /// - internal static string bot_map_rendered { - get { - return ResourceManager.GetString("bot.map.rendered", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Resized the rendered image of the map with id: '{0}' to {1}x{1}.. - /// - internal static string bot_map_resized_rendered_image { - get { - return ResourceManager.GetString("bot.map.resized_rendered_image", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The size of the map is reduced from ({0}x{1}) to ({2}x{3}) due to the size limitation of the current terminal.. - /// - internal static string bot_map_scale { - get { - return ResourceManager.GetString("bot.map.scale", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Sent a rendered image of a map with an id '{0}' to the Discord via Discord Brdige chat bot!. - /// - internal static string bot_map_sent_to_discord { - get { - return ResourceManager.GetString("bot.map.sent_to_discord", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Sent a rendered image of a map with an id '{0}' to the Telegram via Telegram Bridge chat bot!. - /// - internal static string bot_map_sent_to_telegram { - get { - return ResourceManager.GetString("bot.map.sent_to_telegram", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to replay command. - /// - internal static string bot_replayCapture_cmd { - get { - return ResourceManager.GetString("bot.replayCapture.cmd", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Replay file created.. - /// - internal static string bot_replayCapture_created { - get { - return ResourceManager.GetString("bot.replayCapture.created", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Record was stopped. Restart the program to start another record.. - /// - internal static string bot_replayCapture_restart { - get { - return ResourceManager.GetString("bot.replayCapture.restart", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Record stopped.. - /// - internal static string bot_replayCapture_stopped { - get { - return ResourceManager.GetString("bot.replayCapture.stopped", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Script '{0}' failed to run ({1}).. - /// - internal static string bot_script_fail { - get { - return ResourceManager.GetString("bot.script.fail", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to File not found: '{0}'. - /// - internal static string bot_script_file_not_found { - get { - return ResourceManager.GetString("bot.script.file_not_found", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8[MCC] [{0}] Cannot find script file: {1}. - /// - internal static string bot_script_not_found { - get { - return ResourceManager.GetString("bot.script.not_found", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Script '{0}' loaded.. - /// - internal static string bot_script_pm_loaded { - get { - return ResourceManager.GetString("bot.script.pm.loaded", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Loaded task: - ///{0}. - /// - internal static string bot_scriptScheduler_loaded_task { - get { - return ResourceManager.GetString("bot.scriptScheduler.loaded_task", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to No action for task: - ///{0}. - /// - internal static string bot_scriptScheduler_no_action { - get { - return ResourceManager.GetString("bot.scriptScheduler.no_action", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to This task will never trigger: - ///{0}. - /// - internal static string bot_scriptScheduler_no_trigger { - get { - return ResourceManager.GetString("bot.scriptScheduler.no_trigger", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Interval / Running action: {0}. - /// - internal static string bot_scriptScheduler_running_inverval { - get { - return ResourceManager.GetString("bot.scriptScheduler.running_inverval", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Login / Running action: {0}. - /// - internal static string bot_scriptScheduler_running_login { - get { - return ResourceManager.GetString("bot.scriptScheduler.running_login", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Time / Running action: {0}. - /// - internal static string bot_scriptScheduler_running_time { - get { - return ResourceManager.GetString("bot.scriptScheduler.running_time", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to triggeronfirstlogin: {0} - /// triggeronlogin: {1} - /// triggerontime: {2} - /// triggeroninterval: {3} - /// timevalue: {4} - /// timeinterval: {5} - /// action: {6}. - /// - internal static string bot_scriptScheduler_task { - get { - return ResourceManager.GetString("bot.scriptScheduler.task", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Sending message to Telegram was canceled due an error occuring. For more info enable Debug.. - /// - internal static string bot_TelegramBridge_canceled_sending { - get { - return ResourceManager.GetString("bot.TelegramBridge.canceled_sending", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The command was executed with the result. - /// - internal static string bot_TelegramBridge_command_executed { - get { - return ResourceManager.GetString("bot.TelegramBridge.command_executed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Succesfully connected with the MCC!. - /// - internal static string bot_TelegramBridge_connected { - get { - return ResourceManager.GetString("bot.TelegramBridge.connected", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to This command allows you to specify in the which direction the messages will be relayed via the Telegram Bridge chat bot.. - /// - internal static string bot_TelegramBridge_desc { - get { - return ResourceManager.GetString("bot.TelegramBridge.desc", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Direction of the Telegram Brdige has been switched to '{0}'!. - /// - internal static string bot_TelegramBridge_direction { - get { - return ResourceManager.GetString("bot.TelegramBridge.direction", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Both. - /// - internal static string bot_TelegramBridge_direction_both { - get { - return ResourceManager.GetString("bot.TelegramBridge.direction.both", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Minecraft. - /// - internal static string bot_TelegramBridge_direction_minecraft { - get { - return ResourceManager.GetString("bot.TelegramBridge.direction.minecraft", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Telegram. - /// - internal static string bot_TelegramBridge_direction_Telegram { - get { - return ResourceManager.GetString("bot.TelegramBridge.direction.Telegram", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Disconnected from from the MCC!. - /// - internal static string bot_TelegramBridge_disconnected { - get { - return ResourceManager.GetString("bot.TelegramBridge.disconnected", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Invalid direction provided! Available directions: both|b, minecraft|mc, telegram|tg|t. Example: "tgbridge direction mc". - /// - internal static string bot_TelegramBridge_invalid_direction { - get { - return ResourceManager.GetString("bot.TelegramBridge.invalid_direction", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to [WARNING] You have not provided any Channel IDs, for "Authorized_Chat_Ids" field, anyone who finds your bot will be able to send messages and commands to it!. - /// - internal static string bot_TelegramBridge_missing_authorized_channels { - get { - return ResourceManager.GetString("bot.TelegramBridge.missing_authorized_channels", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to [WARNING] You have not provided a Channel ID, you will ONLY get replies to commands sent from Telegram!. - /// - internal static string bot_TelegramBridge_missing_channel_id { - get { - return ResourceManager.GetString("bot.TelegramBridge.missing_channel_id", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Please provide a valid bot token!. - /// - internal static string bot_TelegramBridge_missing_token { - get { - return ResourceManager.GetString("bot.TelegramBridge.missing_token", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to **🛑 Unauthorized access! 🛑 - /// - ///Add the ID of this chat to "Authorized_Chat_Ids" field in the configuration file to gain access!**. - /// - internal static string bot_TelegramBridge_unauthorized { - get { - return ResourceManager.GetString("bot.TelegramBridge.unauthorized", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to An unknown error has occured!. - /// - internal static string bot_TelegramBridge_unknown_error { - get { - return ResourceManager.GetString("bot.TelegramBridge.unknown_error", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Bot: {0} said : {1}. - /// - internal static string bot_testBot_said { - get { - return ResourceManager.GetString("bot.testBot.said", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Bot: {0} told me : {1}. - /// - internal static string bot_testBot_told { - get { - return ResourceManager.GetString("bot.testBot.told", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Alerts. - /// - internal static string botname_Alerts { - get { - return ResourceManager.GetString("botname.Alerts", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to AntiAFK. - /// - internal static string botname_AntiAFK { - get { - return ResourceManager.GetString("botname.AntiAFK", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to AutoAttack. - /// - internal static string botname_AutoAttack { - get { - return ResourceManager.GetString("botname.AutoAttack", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to AutoCraft. - /// - internal static string botname_AutoCraft { - get { - return ResourceManager.GetString("botname.AutoCraft", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to AutoDig. - /// - internal static string botname_AutoDig { - get { - return ResourceManager.GetString("botname.AutoDig", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to AutoDrop. - /// - internal static string botname_AutoDrop { - get { - return ResourceManager.GetString("botname.AutoDrop", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to AutoEat. - /// - internal static string botname_AutoEat { - get { - return ResourceManager.GetString("botname.AutoEat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to AutoFishing. - /// - internal static string botname_AutoFishing { - get { - return ResourceManager.GetString("botname.AutoFishing", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to AutoRelog. - /// - internal static string botname_AutoRelog { - get { - return ResourceManager.GetString("botname.AutoRelog", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to AutoRespond. - /// - internal static string botname_AutoRespond { - get { - return ResourceManager.GetString("botname.AutoRespond", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to ChatLog. - /// - internal static string botname_ChatLog { - get { - return ResourceManager.GetString("botname.ChatLog", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to DiscordBridge. - /// - internal static string botname_DiscordBridge { - get { - return ResourceManager.GetString("botname.DiscordBridge", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Farmer. - /// - internal static string botname_Farmer { - get { - return ResourceManager.GetString("botname.Farmer", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to FollowPlayer. - /// - internal static string botname_FollowPlayer { - get { - return ResourceManager.GetString("botname.FollowPlayer", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to HangmanGame. - /// - internal static string botname_HangmanGame { - get { - return ResourceManager.GetString("botname.HangmanGame", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Mailer. - /// - internal static string botname_Mailer { - get { - return ResourceManager.GetString("botname.Mailer", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Map. - /// - internal static string botname_Map { - get { - return ResourceManager.GetString("botname.Map", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to PlayerListLogger. - /// - internal static string botname_PlayerListLogger { - get { - return ResourceManager.GetString("botname.PlayerListLogger", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to RemoteControl. - /// - internal static string botname_RemoteControl { - get { - return ResourceManager.GetString("botname.RemoteControl", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to ReplayCapture. - /// - internal static string botname_ReplayCapture { - get { - return ResourceManager.GetString("botname.ReplayCapture", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Script. - /// - internal static string botname_Script { - get { - return ResourceManager.GetString("botname.Script", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to ScriptScheduler. - /// - internal static string botname_ScriptScheduler { - get { - return ResourceManager.GetString("botname.ScriptScheduler", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to TelegramBridge. - /// - internal static string botname_TelegramBridge { - get { - return ResourceManager.GetString("botname.TelegramBridge", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to TestBot. - /// - internal static string botname_TestBot { - get { - return ResourceManager.GetString("botname.TestBot", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Converting session cache from disk: {0}. - /// - internal static string cache_converting { - get { - return ResourceManager.GetString("cache.converting", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Ignoring invalid session token line: {0}. - /// - internal static string cache_ignore_line { - get { - return ResourceManager.GetString("cache.ignore_line", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Ignoring invalid profile key token line: {0}. - /// - internal static string cache_ignore_line_keys { - get { - return ResourceManager.GetString("cache.ignore_line_keys", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Ignoring session token string '{0}': {1}. - /// - internal static string cache_ignore_string { - get { - return ResourceManager.GetString("cache.ignore_string", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Ignoring profile key token string '{0}': {1}. - /// - internal static string cache_ignore_string_keys { - get { - return ResourceManager.GetString("cache.ignore_string_keys", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Loaded session: {0}:{1}. - /// - internal static string cache_loaded { - get { - return ResourceManager.GetString("cache.loaded", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Loaded profile key, it will be refresh at {0}. - /// - internal static string cache_loaded_keys { - get { - return ResourceManager.GetString("cache.loaded_keys", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Loading Minecraft profiles: {0}. - /// - internal static string cache_loading { - get { - return ResourceManager.GetString("cache.loading", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Loading profile key cache from disk: {0}. - /// - internal static string cache_loading_keys { - get { - return ResourceManager.GetString("cache.loading_keys", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Loading session cache from disk: {0}. - /// - internal static string cache_loading_session { - get { - return ResourceManager.GetString("cache.loading_session", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Got malformed data while reading serialized session cache from disk: {0}. - /// - internal static string cache_malformed { - get { - return ResourceManager.GetString("cache.malformed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Failed to read serialized session cache from disk: {0}. - /// - internal static string cache_read_fail { - get { - return ResourceManager.GetString("cache.read_fail", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Failed to read session cache from disk: {0}. - /// - internal static string cache_read_fail_plain { - get { - return ResourceManager.GetString("cache.read_fail_plain", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Failed to read profile key cache from disk: {0}. - /// - internal static string cache_read_fail_plain_keys { - get { - return ResourceManager.GetString("cache.read_fail_plain_keys", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Failed to write session cache to disk: {0}. - /// - internal static string cache_save_fail { - get { - return ResourceManager.GetString("cache.save_fail", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Failed to write profile key cache to disk: {0}. - /// - internal static string cache_save_fail_keys { - get { - return ResourceManager.GetString("cache.save_fail_keys", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Saving session cache to disk. - /// - internal static string cache_saving { - get { - return ResourceManager.GetString("cache.saving", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Saving profile key cache to disk. - /// - internal static string cache_saving_keys { - get { - return ResourceManager.GetString("cache.saving_keys", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Done. File saved as '{0}'. - /// - internal static string chat_done { - get { - return ResourceManager.GetString("chat.done", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Downloading '{0}.lang' from Mojang servers.... - /// - internal static string chat_download { - get { - return ResourceManager.GetString("chat.download", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Failed to download the file.. - /// - internal static string chat_fail { - get { - return ResourceManager.GetString("chat.fail", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Defaulting to en_GB.lang from your Minecraft directory.. - /// - internal static string chat_from_dir { - get { - return ResourceManager.GetString("chat.from_dir", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Translations file loaded.. - /// - internal static string chat_loaded { - get { - return ResourceManager.GetString("chat.loaded", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Player {0}'s message chain is broken!. - /// - internal static string chat_message_chain_broken { - get { - return ResourceManager.GetString("chat.message_chain_broken", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Translations file not found: '{0}' - ///Some messages won't be properly printed without this file.. - /// - internal static string chat_not_found { - get { - return ResourceManager.GetString("chat.not_found", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Performing request to {0}. - /// - internal static string chat_request { - get { - return ResourceManager.GetString("chat.request", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to [{0}] Disconnecting and Reconnecting to the Server. - /// - internal static string chatbot_reconnect { - get { - return ResourceManager.GetString("chatbot.reconnect", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Swing your arm.. - /// - internal static string cmd_animation_desc { - get { - return ResourceManager.GetString("cmd.animation.desc", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Could not find a bed!. - /// - internal static string cmd_bed_bed_not_found { - get { - return ResourceManager.GetString("cmd.bed.bed_not_found", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Can not reach the bed safely!. - /// - internal static string cmd_bed_cant_reach_safely { - get { - return ResourceManager.GetString("cmd.bed.cant_reach_safely", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Used to sleep in or leave a bed.. - /// - internal static string cmd_bed_desc { - get { - return ResourceManager.GetString("cmd.bed.desc", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Failed to reach the bed position (X: {0:0.0}, Y: {1:0.0}, Z: {2:0.0}) in time (30 seconds). Giving up!. - /// - internal static string cmd_bed_failed_to_reach_in_time { - get { - return ResourceManager.GetString("cmd.bed.failed_to_reach_in_time", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Found a bet at (X: {0:0.0}, Y: {1:0.0}, Z: {2:0.0}).. - /// - internal static string cmd_bed_found_a_bed_at { - get { - return ResourceManager.GetString("cmd.bed.found_a_bed_at", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Succesfully laid in bed!. - /// - internal static string cmd_bed_in { - get { - return ResourceManager.GetString("cmd.bed.in", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Sending a command to leave a bed to the server.. - /// - internal static string cmd_bed_leaving { - get { - return ResourceManager.GetString("cmd.bed.leaving", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Moving to (X: {0:0.0}, Y: {1:0.0}, Z: {2:0.0}) where the bed is located.. - /// - internal static string cmd_bed_moving { - get { - return ResourceManager.GetString("cmd.bed.moving", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The block on (X: {0:0.0}, Y: {1:0.0}, Z: {2:0.0}) is not a bed!. - /// - internal static string cmd_bed_not_a_bed { - get { - return ResourceManager.GetString("cmd.bed.not_a_bed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Could not lay in bed. Are you trying to sleep in a bed? (PS: You must use the head block coordinates of the bed). - /// - internal static string cmd_bed_not_in { - get { - return ResourceManager.GetString("cmd.bed.not_in", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Searching for a bed in radius of {0:0.00}.... - /// - internal static string cmd_bed_searching { - get { - return ResourceManager.GetString("cmd.bed.searching", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Trying to sleep in a bed on location (X: {0:0.0}, Y: {1:0.0}, Z: {2:0.0}). Result: {3}. - /// - internal static string cmd_bed_trying_to_use { - get { - return ResourceManager.GetString("cmd.bed.trying_to_use", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Blocks around. - /// - internal static string cmd_blockinfo_BlocksAround { - get { - return ResourceManager.GetString("cmd.blockinfo.BlocksAround", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Block type. - /// - internal static string cmd_blockinfo_BlockType { - get { - return ResourceManager.GetString("cmd.blockinfo.BlockType", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Reports the type of the block on the provided coordinates. (Use -s to report blocks around the target block).. - /// - internal static string cmd_blockinfo_desc { - get { - return ResourceManager.GetString("cmd.blockinfo.desc", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Negative. - /// - internal static string cmd_blockinfo_Negative { - get { - return ResourceManager.GetString("cmd.blockinfo.Negative", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Positive. - /// - internal static string cmd_blockinfo_Positive { - get { - return ResourceManager.GetString("cmd.blockinfo.Positive", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to List bots, unload a bot or all bots.. - /// - internal static string cmd_bots_desc { - get { - return ResourceManager.GetString("cmd.bots.desc", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Loaded bots. - /// - internal static string cmd_bots_list { - get { - return ResourceManager.GetString("cmd.bots.list", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to No bots loaded!. - /// - internal static string cmd_bots_noloaded { - get { - return ResourceManager.GetString("cmd.bots.noloaded", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Bot {0} is not loaded, check if you have made a typo!. - /// - internal static string cmd_bots_notfound { - get { - return ResourceManager.GetString("cmd.bots.notfound", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Successfully unloaded bot: {0}. - /// - internal static string cmd_bots_unloaded { - get { - return ResourceManager.GetString("cmd.bots.unloaded", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Successfully unloaded all bots!. - /// - internal static string cmd_bots_unloaded_all { - get { - return ResourceManager.GetString("cmd.bots.unloaded_all", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Changed to slot {0}. - /// - internal static string cmd_changeSlot_changed { - get { - return ResourceManager.GetString("cmd.changeSlot.changed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Change slot in hotbar. - /// - internal static string cmd_changeSlot_desc { - get { - return ResourceManager.GetString("cmd.changeSlot.desc", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Could not change slot. - /// - internal static string cmd_changeSlot_fail { - get { - return ResourceManager.GetString("cmd.changeSlot.fail", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Could not change slot: Not a Number. - /// - internal static string cmd_changeSlot_nan { - get { - return ResourceManager.GetString("cmd.changeSlot.nan", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to chunk: ({0}, {1}).. - /// - internal static string cmd_chunk_chunk_pos { - get { - return ResourceManager.GetString("cmd.chunk.chunk_pos", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Current location:{0}, chunk: ({1}, {2}).. - /// - internal static string cmd_chunk_current { - get { - return ResourceManager.GetString("cmd.chunk.current", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Displays the chunk loading status. - ///Change EnableEmoji=false in the settings if the display is confusing.. - /// - internal static string cmd_chunk_desc { - get { - return ResourceManager.GetString("cmd.chunk.desc", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §x§0This command is used for debugging, make sure you know what you are doing.§r. - /// - internal static string cmd_chunk_for_debug { - get { - return ResourceManager.GetString("cmd.chunk.for_debug", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Player:{0}, MarkedChunk:{1}, NotReceived:{2}, Loading:{3}, Loaded:{4}. - /// - internal static string cmd_chunk_icon { - get { - return ResourceManager.GetString("cmd.chunk.icon", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Marked location: . - /// - internal static string cmd_chunk_marked { - get { - return ResourceManager.GetString("cmd.chunk.marked", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §x§0Since the marked chunk is outside the graph, it will not be displayed!§r. - /// - internal static string cmd_chunk_outside { - get { - return ResourceManager.GetString("cmd.chunk.outside", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to connect to the specified server.. - /// - internal static string cmd_connect_desc { - get { - return ResourceManager.GetString("cmd.connect.desc", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Invalid server IP '{0}'.. - /// - internal static string cmd_connect_invalid_ip { - get { - return ResourceManager.GetString("cmd.connect.invalid_ip", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Unknown account '{0}'.. - /// - internal static string cmd_connect_unknown { - get { - return ResourceManager.GetString("cmd.connect.unknown", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to toggle debug messages.. - /// - internal static string cmd_debug_desc { - get { - return ResourceManager.GetString("cmd.debug.desc", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Debug messages are now OFF. - /// - internal static string cmd_debug_state_off { - get { - return ResourceManager.GetString("cmd.debug.state_off", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Debug messages are now ON. - /// - internal static string cmd_debug_state_on { - get { - return ResourceManager.GetString("cmd.debug.state_on", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Attempt to break a block. - /// - internal static string cmd_dig_desc { - get { - return ResourceManager.GetString("cmd.dig.desc", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Attempting to dig block at {0} {1} {2} ({3}). - /// - internal static string cmd_dig_dig { - get { - return ResourceManager.GetString("cmd.dig.dig", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Failed to start digging block.. - /// - internal static string cmd_dig_fail { - get { - return ResourceManager.GetString("cmd.dig.fail", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to No block at this location (Air). - /// - internal static string cmd_dig_no_block { - get { - return ResourceManager.GetString("cmd.dig.no_block", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to You are too far away from this block.. - /// - internal static string cmd_dig_too_far { - get { - return ResourceManager.GetString("cmd.dig.too_far", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Drop specified type of items from player inventory or opened container. - /// - internal static string cmd_dropItem_desc { - get { - return ResourceManager.GetString("cmd.dropItem.desc", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Dropped all {0} from inventory #{1}. - /// - internal static string cmd_dropItem_dropped { - get { - return ResourceManager.GetString("cmd.dropItem.dropped", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Unknown item {0}. - /// - internal static string cmd_dropItem_unknown_item { - get { - return ResourceManager.GetString("cmd.dropItem.unknown_item", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Sent a click to the server, if you have enough levels and if you have placed the items in the correct slots it should enchant!. - /// - internal static string cmd_enchant_clicked { - get { - return ResourceManager.GetString("cmd.enchant.clicked", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Enchant an item when you have the Enchantment table opened and the list of enchants recieved.. - /// - internal static string cmd_enchant_desc { - get { - return ResourceManager.GetString("cmd.enchant.desc", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to You must put an item inside the enchanting table in slot 0!. - /// - internal static string cmd_enchant_enchanting_no_item { - get { - return ResourceManager.GetString("cmd.enchant.enchanting_no_item", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to You must put at least 3 lapis lazuli inside the enchanting table in slot 1!. - /// - internal static string cmd_enchant_enchanting_no_lapis { - get { - return ResourceManager.GetString("cmd.enchant.enchanting_no_lapis", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to You must open a an enchanting table in order to use this option!. - /// - internal static string cmd_enchant_enchanting_table_not_opened { - get { - return ResourceManager.GetString("cmd.enchant.enchanting_table_not_opened", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Invalid slot provided (Available: top, middle, bottom)!. - /// - internal static string cmd_enchant_invalid_slot { - get { - return ResourceManager.GetString("cmd.enchant.invalid_slot", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to You must first put an item to enchant to the enchanting table in order to get enchantments from the server, then you can execute this command!. - /// - internal static string cmd_enchant_no_enchantments { - get { - return ResourceManager.GetString("cmd.enchant.no_enchantments", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to You do not have enouhg levels to enchant! (Your current level is {0}, you need to be level {1}).. - /// - internal static string cmd_enchant_no_levels { - get { - return ResourceManager.GetString("cmd.enchant.no_levels", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Could not click!. - /// - internal static string cmd_enchant_not_clicked { - get { - return ResourceManager.GetString("cmd.enchant.not_clicked", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Entity attacked. - /// - internal static string cmd_entityCmd_attacked { - get { - return ResourceManager.GetString("cmd.entityCmd.attacked", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Boots. - /// - internal static string cmd_entityCmd_boots { - get { - return ResourceManager.GetString("cmd.entityCmd.boots", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Chestplate. - /// - internal static string cmd_entityCmd_chestplate { - get { - return ResourceManager.GetString("cmd.entityCmd.chestplate", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Custom Name. - /// - internal static string cmd_entityCmd_customname { - get { - return ResourceManager.GetString("cmd.entityCmd.customname", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Distance. - /// - internal static string cmd_entityCmd_distance { - get { - return ResourceManager.GetString("cmd.entityCmd.distance", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Entities. - /// - internal static string cmd_entityCmd_entities { - get { - return ResourceManager.GetString("cmd.entityCmd.entities", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Entity. - /// - internal static string cmd_entityCmd_entity { - get { - return ResourceManager.GetString("cmd.entityCmd.entity", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Equipment. - /// - internal static string cmd_entityCmd_equipment { - get { - return ResourceManager.GetString("cmd.entityCmd.equipment", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Health. - /// - internal static string cmd_entityCmd_health { - get { - return ResourceManager.GetString("cmd.entityCmd.health", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Helmet. - /// - internal static string cmd_entityCmd_helmet { - get { - return ResourceManager.GetString("cmd.entityCmd.helmet", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Item. - /// - internal static string cmd_entityCmd_item { - get { - return ResourceManager.GetString("cmd.entityCmd.item", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Latency. - /// - internal static string cmd_entityCmd_latency { - get { - return ResourceManager.GetString("cmd.entityCmd.latency", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Leggings. - /// - internal static string cmd_entityCmd_leggings { - get { - return ResourceManager.GetString("cmd.entityCmd.leggings", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Location. - /// - internal static string cmd_entityCmd_location { - get { - return ResourceManager.GetString("cmd.entityCmd.location", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Main Hand. - /// - internal static string cmd_entityCmd_mainhand { - get { - return ResourceManager.GetString("cmd.entityCmd.mainhand", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Nickname. - /// - internal static string cmd_entityCmd_nickname { - get { - return ResourceManager.GetString("cmd.entityCmd.nickname", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Entity not found. - /// - internal static string cmd_entityCmd_not_found { - get { - return ResourceManager.GetString("cmd.entityCmd.not_found", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Off Hand. - /// - internal static string cmd_entityCmd_offhand { - get { - return ResourceManager.GetString("cmd.entityCmd.offhand", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Pose. - /// - internal static string cmd_entityCmd_pose { - get { - return ResourceManager.GetString("cmd.entityCmd.pose", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Type. - /// - internal static string cmd_entityCmd_type { - get { - return ResourceManager.GetString("cmd.entityCmd.type", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Entity used. - /// - internal static string cmd_entityCmd_used { - get { - return ResourceManager.GetString("cmd.entityCmd.used", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Allows you to execute a command if a condition is met. (You can use variables from MinecraftClient.ini and /set command, as well as CSharp expressions). - /// - internal static string cmd_execif_desc { - get { - return ResourceManager.GetString("cmd.execif.desc", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Error: {0}. - /// - internal static string cmd_execif_error { - get { - return ResourceManager.GetString("cmd.execif.error", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to An error has occured while executing the command: {0}. - /// - internal static string cmd_execif_error_occured { - get { - return ResourceManager.GetString("cmd.execif.error_occured", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The condition '{0}' was met, executed command '{1}' with result '{2}'.. - /// - internal static string cmd_execif_executed { - get { - return ResourceManager.GetString("cmd.execif.executed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The condition '{0}' was met, executed command '{1}', no result was returned.. - /// - internal static string cmd_execif_executed_no_output { - get { - return ResourceManager.GetString("cmd.execif.executed_no_output", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Execute multiple commands one after another. - /// - internal static string cmd_execmulti_desc { - get { - return ResourceManager.GetString("cmd.execmulti.desc", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Executed the command '{0}' with {1}. - /// - internal static string cmd_execmulti_executed { - get { - return ResourceManager.GetString("cmd.execmulti.executed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to no result!. - /// - internal static string cmd_execmulti_no_result { - get { - return ResourceManager.GetString("cmd.execmulti.no_result", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to You can not use execmulti or execif within execmulti command!. - /// - internal static string cmd_execmulti_prevent { - get { - return ResourceManager.GetString("cmd.execmulti.prevent", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to result '{0}'!. - /// - internal static string cmd_execmulti_result { - get { - return ResourceManager.GetString("cmd.execmulti.result", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to disconnect from the server.. - /// - internal static string cmd_exit_desc { - get { - return ResourceManager.GetString("cmd.exit.desc", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Already following {0}!. - /// - internal static string cmd_follow_already_following { - get { - return ResourceManager.GetString("cmd.follow.already_following", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Already stopped. - /// - internal static string cmd_follow_already_stopped { - get { - return ResourceManager.GetString("cmd.follow.already_stopped", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Can not reach the player, he is either in chunks that are not loaded, too far away or not reachable by a bot due to obstacles like gaps or water bodies!. - /// - internal static string cmd_follow_cant_reach_player { - get { - return ResourceManager.GetString("cmd.follow.cant_reach_player", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Makes the bot follow a specified player. - /// - internal static string cmd_follow_desc { - get { - return ResourceManager.GetString("cmd.follow.desc", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Invalid or empty player name provided!. - /// - internal static string cmd_follow_invalid_name { - get { - return ResourceManager.GetString("cmd.follow.invalid_name", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The specified player is either not connected out out of the range!. - /// - internal static string cmd_follow_invalid_player { - get { - return ResourceManager.GetString("cmd.follow.invalid_player", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to NOTE: The bot is quite slow, you need to walk slowly and at a close distance for it to be able to keep up, kinda like when you make animals follow you by holding food in your hand. This is a limitation due to a pathfinding algorithm, we are working to get a better one.. - /// - internal static string cmd_follow_note { - get { - return ResourceManager.GetString("cmd.follow.note", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Pausing!. - /// - internal static string cmd_follow_pausing { - get { - return ResourceManager.GetString("cmd.follow.pausing", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The player {0} came back to the range!. - /// - internal static string cmd_follow_player_came_to_the_range { - get { - return ResourceManager.GetString("cmd.follow.player_came_to_the_range", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The player {0} left the server!. - /// - internal static string cmd_follow_player_left { - get { - return ResourceManager.GetString("cmd.follow.player_left", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The player {0} has left the range!. - /// - internal static string cmd_follow_player_left_the_range { - get { - return ResourceManager.GetString("cmd.follow.player_left_the_range", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Resuming to follow!. - /// - internal static string cmd_follow_resuming { - get { - return ResourceManager.GetString("cmd.follow.resuming", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Started following {0}!. - /// - internal static string cmd_follow_started { - get { - return ResourceManager.GetString("cmd.follow.started", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Stopped!. - /// - internal static string cmd_follow_stopped { - get { - return ResourceManager.GetString("cmd.follow.stopped", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Stopped following!. - /// - internal static string cmd_follow_stopping { - get { - return ResourceManager.GetString("cmd.follow.stopping", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Switched to following {0}!. - /// - internal static string cmd_follow_switched { - get { - return ResourceManager.GetString("cmd.follow.switched", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Enabled us-safe walking (NOTE: The bot might die or get hurt!). - /// - internal static string cmd_follow_unsafe_enabled { - get { - return ResourceManager.GetString("cmd.follow.unsafe_enabled", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to follow <player name|stop> [-f] (Use -f to enable un-safe walking). - /// - internal static string cmd_follow_usage { - get { - return ResourceManager.GetString("cmd.follow.usage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Display Health and Food saturation.. - /// - internal static string cmd_health_desc { - get { - return ResourceManager.GetString("cmd.health.desc", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Health: {0}, Saturation: {1}, Level: {2}, TotalExperience: {3}. - /// - internal static string cmd_health_response { - get { - return ResourceManager.GetString("cmd.health.response", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to {0} clicking slot {1} in window #{2}. - /// - internal static string cmd_inventory_clicking { - get { - return ResourceManager.GetString("cmd.inventory.clicking", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Closing Inventoy #{0}. - /// - internal static string cmd_inventory_close { - get { - return ResourceManager.GetString("cmd.inventory.close", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Failed to close Inventory #{0}. - /// - internal static string cmd_inventory_close_fail { - get { - return ResourceManager.GetString("cmd.inventory.close_fail", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot find container, please retry with explicit ID. - /// - internal static string cmd_inventory_container_not_found { - get { - return ResourceManager.GetString("cmd.inventory.container_not_found", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Requested to clear slot #{0}. - /// - internal static string cmd_inventory_creative_delete { - get { - return ResourceManager.GetString("cmd.inventory.creative_delete", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Requested {0} x{1} in slot #{2}. - /// - internal static string cmd_inventory_creative_done { - get { - return ResourceManager.GetString("cmd.inventory.creative_done", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Failed to request Creative action. - /// - internal static string cmd_inventory_creative_fail { - get { - return ResourceManager.GetString("cmd.inventory.creative_fail", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Damage. - /// - internal static string cmd_inventory_damage { - get { - return ResourceManager.GetString("cmd.inventory.damage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Inventory command. - /// - internal static string cmd_inventory_desc { - get { - return ResourceManager.GetString("cmd.inventory.desc", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Dropped 1 item from slot #{0}. - /// - internal static string cmd_inventory_drop { - get { - return ResourceManager.GetString("cmd.inventory.drop", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Dropped whole item stack from slot #{0}. - /// - internal static string cmd_inventory_drop_stack { - get { - return ResourceManager.GetString("cmd.inventory.drop_stack", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Found items. - /// - internal static string cmd_inventory_found_items { - get { - return ResourceManager.GetString("cmd.inventory.found_items", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Available actions. - /// - internal static string cmd_inventory_help_available { - get { - return ResourceManager.GetString("cmd.inventory.help.available", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Basic usage. - /// - internal static string cmd_inventory_help_basic { - get { - return ResourceManager.GetString("cmd.inventory.help.basic", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Click on an item.. - /// - internal static string cmd_inventory_help_click { - get { - return ResourceManager.GetString("cmd.inventory.help.click", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Close an opened container.. - /// - internal static string cmd_inventory_help_close { - get { - return ResourceManager.GetString("cmd.inventory.help.close", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Clear slot in creative mode.. - /// - internal static string cmd_inventory_help_creativedelete { - get { - return ResourceManager.GetString("cmd.inventory.help.creativedelete", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Give item in creative mode.. - /// - internal static string cmd_inventory_help_creativegive { - get { - return ResourceManager.GetString("cmd.inventory.help.creativegive", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Drop an item from inventory.. - /// - internal static string cmd_inventory_help_drop { - get { - return ResourceManager.GetString("cmd.inventory.help.drop", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to {0} - ///Use '/inventory help <action>' for action help. - ///'player' and 'container' can be simplified to 'p' and 'c'. - ///Note that parameters in '[]' are optional.. - /// - internal static string cmd_inventory_help_help { - get { - return ResourceManager.GetString("cmd.inventory.help.help", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to List avaliable inventories. - /// - internal static string cmd_inventory_help_inventories { - get { - return ResourceManager.GetString("cmd.inventory.help.inventories", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to List your inventory.. - /// - internal static string cmd_inventory_help_list { - get { - return ResourceManager.GetString("cmd.inventory.help.list", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Search for an item in avaliable Inventories. - /// - internal static string cmd_inventory_help_search { - get { - return ResourceManager.GetString("cmd.inventory.help.search", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Shift click an item.. - /// - internal static string cmd_inventory_help_shiftclick { - get { - return ResourceManager.GetString("cmd.inventory.help.shiftclick", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Unknown action.. - /// - internal static string cmd_inventory_help_unknown { - get { - return ResourceManager.GetString("cmd.inventory.help.unknown", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Usage. - /// - internal static string cmd_inventory_help_usage { - get { - return ResourceManager.GetString("cmd.inventory.help.usage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Your selected hotbar is {0}. - /// - internal static string cmd_inventory_hotbar { - get { - return ResourceManager.GetString("cmd.inventory.hotbar", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Inventories. - /// - internal static string cmd_inventory_inventories { - get { - return ResourceManager.GetString("cmd.inventory.inventories", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Available Inventories. - /// - internal static string cmd_inventory_inventories_available { - get { - return ResourceManager.GetString("cmd.inventory.inventories_available", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Inventory. - /// - internal static string cmd_inventory_inventory { - get { - return ResourceManager.GetString("cmd.inventory.inventory", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Left. - /// - internal static string cmd_inventory_left { - get { - return ResourceManager.GetString("cmd.inventory.left", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Middle. - /// - internal static string cmd_inventory_middle { - get { - return ResourceManager.GetString("cmd.inventory.middle", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to You must be in Creative gamemode. - /// - internal static string cmd_inventory_need_creative { - get { - return ResourceManager.GetString("cmd.inventory.need_creative", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Could not find the specified item in any of avaliable Inventories!. - /// - internal static string cmd_inventory_no_found_items { - get { - return ResourceManager.GetString("cmd.inventory.no_found_items", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to No item in slot #{0}. - /// - internal static string cmd_inventory_no_item { - get { - return ResourceManager.GetString("cmd.inventory.no_item", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Inventory #{0} do not exist. - /// - internal static string cmd_inventory_not_exist { - get { - return ResourceManager.GetString("cmd.inventory.not_exist", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Right. - /// - internal static string cmd_inventory_right { - get { - return ResourceManager.GetString("cmd.inventory.right", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Shift clicking slot {0} in window #{1}. - /// - internal static string cmd_inventory_shiftclick { - get { - return ResourceManager.GetString("cmd.inventory.shiftclick", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Shift click failed, this may be because this container type is not supported. - /// - internal static string cmd_inventory_shiftclick_fail { - get { - return ResourceManager.GetString("cmd.inventory.shiftclick_fail", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to get the player list.. - /// - internal static string cmd_list_desc { - get { - return ResourceManager.GetString("cmd.list.desc", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to PlayerList: {0}. - /// - internal static string cmd_list_players { - get { - return ResourceManager.GetString("cmd.list.players", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to log some text to the console.. - /// - internal static string cmd_log_desc { - get { - return ResourceManager.GetString("cmd.log.desc", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Looking at yaw: {0} pitch: {1}. - /// - internal static string cmd_look_at { - get { - return ResourceManager.GetString("cmd.look.at", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Looking at {0}. - /// - internal static string cmd_look_block { - get { - return ResourceManager.GetString("cmd.look.block", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to look at direction or coordinates.. - /// - internal static string cmd_look_desc { - get { - return ResourceManager.GetString("cmd.look.desc", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The block currently intersecting the line of sight is {0} ({1:0}, {2:0}, {3:0}), distance is {4:0.0}({5:0.0}).. - /// - internal static string cmd_look_inspection { - get { - return ResourceManager.GetString("cmd.look.inspection", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to There is no block within {0} meters that intersects with the line of sight.. - /// - internal static string cmd_look_noinspection { - get { - return ResourceManager.GetString("cmd.look.noinspection", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Unknown direction '{0}'. - /// - internal static string cmd_look_unknown { - get { - return ResourceManager.GetString("cmd.look.unknown", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Chunk loading status: {0:P} - {1} out of {2} load completed.. - /// - internal static string cmd_move_chunk_loading_status { - get { - return ResourceManager.GetString("cmd.move.chunk_loading_status", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The chunk where the target location resides has not yet been loaded. - ///You can use "/chunk status {0:0.0} {1:0.0} {2:0.0}" to check the chunk loading status.. - /// - internal static string cmd_move_chunk_not_loaded { - get { - return ResourceManager.GetString("cmd.move.chunk_not_loaded", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to walk or start walking.. - /// - internal static string cmd_move_desc { - get { - return ResourceManager.GetString("cmd.move.desc", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to force unsafe movements like falling or touching fire. - /// - internal static string cmd_move_desc_force { - get { - return ResourceManager.GetString("cmd.move.desc_force", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot move in that direction.. - /// - internal static string cmd_move_dir_fail { - get { - return ResourceManager.GetString("cmd.move.dir_fail", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Disabling Terrain and Movements.. - /// - internal static string cmd_move_disable { - get { - return ResourceManager.GetString("cmd.move.disable", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Enabling Terrain and Movements on next server login, respawn or world change.. - /// - internal static string cmd_move_enable { - get { - return ResourceManager.GetString("cmd.move.enable", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Failed to compute path to {0}. - /// - internal static string cmd_move_fail { - get { - return ResourceManager.GetString("cmd.move.fail", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Gravity is disabled.. - /// - internal static string cmd_move_gravity_disabled { - get { - return ResourceManager.GetString("cmd.move.gravity.disabled", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Gravity is enabled.. - /// - internal static string cmd_move_gravity_enabled { - get { - return ResourceManager.GetString("cmd.move.gravity.enabled", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Moving {0}. - /// - internal static string cmd_move_moving { - get { - return ResourceManager.GetString("cmd.move.moving", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Failed to compute a safe path to {0}. Try -f parameter to allow unsafe movements.. - /// - internal static string cmd_move_suggestforce { - get { - return ResourceManager.GetString("cmd.move.suggestforce", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Walking from {1} to {0}. - /// - internal static string cmd_move_walk { - get { - return ResourceManager.GetString("cmd.move.walk", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to restart and reconnect to the server.. - /// - internal static string cmd_reco_desc { - get { - return ResourceManager.GetString("cmd.reco.desc", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Reloads MCC settings.. - /// - internal static string cmd_reload_desc { - get { - return ResourceManager.GetString("cmd.reload.desc", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Reloaded Settings!. - /// - internal static string cmd_reload_finished { - get { - return ResourceManager.GetString("cmd.reload.finished", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Reloading settings.... - /// - internal static string cmd_reload_started { - get { - return ResourceManager.GetString("cmd.reload.started", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to This command will NOT affect certain settings which are used before connecting to a server!. - /// - internal static string cmd_reload_warning1 { - get { - return ResourceManager.GetString("cmd.reload.warning1", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Some settings passed through the command line parameters might get overriden!. - /// - internal static string cmd_reload_warning2 { - get { - return ResourceManager.GetString("cmd.reload.warning2", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to You also might need to reconnect for some settings to take effect.. - /// - internal static string cmd_reload_warning3 { - get { - return ResourceManager.GetString("cmd.reload.warning3", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Replay Chat Bot will not be hard reloaded due to technical limitations!. - /// - internal static string cmd_reload_warning4 { - get { - return ResourceManager.GetString("cmd.reload.warning4", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Use this to respawn if you are dead.. - /// - internal static string cmd_respawn_desc { - get { - return ResourceManager.GetString("cmd.respawn.desc", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to You have respawned.. - /// - internal static string cmd_respawn_done { - get { - return ResourceManager.GetString("cmd.respawn.done", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to run a script file.. - /// - internal static string cmd_script_desc { - get { - return ResourceManager.GetString("cmd.script.desc", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to send a chat message or command.. - /// - internal static string cmd_send_desc { - get { - return ResourceManager.GetString("cmd.send.desc", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to set a custom %variable%.. - /// - internal static string cmd_set_desc { - get { - return ResourceManager.GetString("cmd.set.desc", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to variable name must be A-Za-z0-9.. - /// - internal static string cmd_set_format { - get { - return ResourceManager.GetString("cmd.set.format", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to set a custom %variable% randomly to a given value.. - /// - internal static string cmd_setrnd_desc { - get { - return ResourceManager.GetString("cmd.setrnd.desc", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to setrnd variable -7 to 17 OR setrnd variable string1 "\"string2\" string3". - /// - internal static string cmd_setrnd_format { - get { - return ResourceManager.GetString("cmd.setrnd.format", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to setrnd variable -7 to 17. - /// - internal static string cmd_setrndnum_format { - get { - return ResourceManager.GetString("cmd.setrndnum.format", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to setrnd variable string1 "\"string2\" string3". - /// - internal static string cmd_setrndstr_format { - get { - return ResourceManager.GetString("cmd.setrndstr.format", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Toggles sneaking. - /// - internal static string cmd_sneak_desc { - get { - return ResourceManager.GetString("cmd.sneak.desc", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to You are not sneaking anymore. - /// - internal static string cmd_sneak_off { - get { - return ResourceManager.GetString("cmd.sneak.off", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to You are sneaking now. - /// - internal static string cmd_sneak_on { - get { - return ResourceManager.GetString("cmd.sneak.on", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Current tps. - /// - internal static string cmd_tps_current { - get { - return ResourceManager.GetString("cmd.tps.current", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Display server current tps (tick per second). May not be accurate. - /// - internal static string cmd_tps_desc { - get { - return ResourceManager.GetString("cmd.tps.desc", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Place a block or open chest. - /// - internal static string cmd_useblock_desc { - get { - return ResourceManager.GetString("cmd.useblock.desc", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Useblock at ({0:0.0}, {1:0.0}, {2:0.0}) {3}.. - /// - internal static string cmd_useblock_use { - get { - return ResourceManager.GetString("cmd.useblock.use", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Use (left click) an item on the hand. - /// - internal static string cmd_useitem_desc { - get { - return ResourceManager.GetString("cmd.useitem.desc", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Used an item. - /// - internal static string cmd_useitem_use { - get { - return ResourceManager.GetString("cmd.useitem.use", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to can be used in some other fields as %yourvar% - ///%username% and %serverip% are reserved variables.. - /// - internal static string config_AppVars_Variables { - get { - return ResourceManager.GetString("config.AppVars.Variables", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §cFailed to write to backup file {0}§r. - /// - internal static string config_backup_fail { - get { - return ResourceManager.GetString("config.backup.fail", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to =============================== # - /// Minecraft Console Client Bots # - ///=============================== #. - /// - internal static string config_ChatBot { - get { - return ResourceManager.GetString("config.ChatBot", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Get alerted when specified words are detected in chat - ///Useful for moderating your server or detecting when someone is talking to you. - /// - internal static string config_ChatBot_Alerts { - get { - return ResourceManager.GetString("config.ChatBot.Alerts", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Play a beep sound when a word is detected in addition to highlighting.. - /// - internal static string config_ChatBot_Alerts_Beep_Enabled { - get { - return ResourceManager.GetString("config.ChatBot.Alerts.Beep_Enabled", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to List of words/strings to NOT alert you on.. - /// - internal static string config_ChatBot_Alerts_Excludes { - get { - return ResourceManager.GetString("config.ChatBot.Alerts.Excludes", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The name of a file where alers logs will be written.. - /// - internal static string config_ChatBot_Alerts_Log_File { - get { - return ResourceManager.GetString("config.ChatBot.Alerts.Log_File", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Log alerts info a file.. - /// - internal static string config_ChatBot_Alerts_Log_To_File { - get { - return ResourceManager.GetString("config.ChatBot.Alerts.Log_To_File", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to List of words/strings to alert you on.. - /// - internal static string config_ChatBot_Alerts_Matches { - get { - return ResourceManager.GetString("config.ChatBot.Alerts.Matches", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Trigger alerts when it rains and when it stops.. - /// - internal static string config_ChatBot_Alerts_Trigger_By_Rain { - get { - return ResourceManager.GetString("config.ChatBot.Alerts.Trigger_By_Rain", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Triggers alerts at the beginning and end of thunderstorms.. - /// - internal static string config_ChatBot_Alerts_Trigger_By_Thunderstorm { - get { - return ResourceManager.GetString("config.ChatBot.Alerts.Trigger_By_Thunderstorm", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Triggers an alert after receiving a specified keyword.. - /// - internal static string config_ChatBot_Alerts_Trigger_By_Words { - get { - return ResourceManager.GetString("config.ChatBot.Alerts.Trigger_By_Words", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to 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). - /// - internal static string config_ChatBot_AntiAfk { - get { - return ResourceManager.GetString("config.ChatBot.AntiAfk", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Command to send to the server.. - /// - internal static string config_ChatBot_AntiAfk_Command { - get { - return ResourceManager.GetString("config.ChatBot.AntiAfk.Command", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The time interval for execution. (in seconds). - /// - internal static string config_ChatBot_AntiAfk_Delay { - get { - return ResourceManager.GetString("config.ChatBot.AntiAfk.Delay", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Whether to sneak when sending the command.. - /// - internal static string config_ChatBot_AntiAfk_Use_Sneak { - get { - return ResourceManager.GetString("config.ChatBot.AntiAfk.Use_Sneak", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Use terrain handling to enable the bot to move around.. - /// - internal static string config_ChatBot_AntiAfk_Use_Terrain_Handling { - get { - return ResourceManager.GetString("config.ChatBot.AntiAfk.Use_Terrain_Handling", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The range the bot can move around randomly (Note: the bigger the range, the slower the bot will be). - /// - internal static string config_ChatBot_AntiAfk_Walk_Range { - get { - return ResourceManager.GetString("config.ChatBot.AntiAfk.Walk_Range", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to How many times can the bot fail trying to move before using the command method.. - /// - internal static string config_ChatBot_AntiAfk_Walk_Retries { - get { - return ResourceManager.GetString("config.ChatBot.AntiAfk.Walk_Retries", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to 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!. - /// - internal static string config_ChatBot_AutoAttack { - get { - return ResourceManager.GetString("config.ChatBot.AutoAttack", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Allow attacking hostile mobs.. - /// - internal static string config_ChatBot_AutoAttack_Attack_Hostile { - get { - return ResourceManager.GetString("config.ChatBot.AutoAttack.Attack_Hostile", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Allow attacking passive mobs.. - /// - internal static string config_ChatBot_AutoAttack_Attack_Passive { - get { - return ResourceManager.GetString("config.ChatBot.AutoAttack.Attack_Passive", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to How long to wait between each attack. Set "Custom = false" to let MCC calculate it.. - /// - internal static string config_ChatBot_AutoAttack_Cooldown_Time { - get { - return ResourceManager.GetString("config.ChatBot.AutoAttack.Cooldown_Time", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to All entity types can be found here: https://mccteam.github.io/r/entity/#L15. - /// - internal static string config_ChatBot_AutoAttack_Entites_List { - get { - return ResourceManager.GetString("config.ChatBot.AutoAttack.Entites_List", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Possible values: "Interact", "Attack" (default), "InteractAt" (Interact and Attack).. - /// - internal static string config_ChatBot_AutoAttack_Interaction { - get { - return ResourceManager.GetString("config.ChatBot.AutoAttack.Interaction", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Wether to treat the entities list as a "whitelist" or as a "blacklist".. - /// - internal static string config_ChatBot_AutoAttack_List_Mode { - get { - return ResourceManager.GetString("config.ChatBot.AutoAttack.List_Mode", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to "single" or "multi". single target one mob per attack. multi target all mobs in range per attack. - /// - internal static string config_ChatBot_AutoAttack_Mode { - get { - return ResourceManager.GetString("config.ChatBot.AutoAttack.Mode", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to "health" or "distance". Only needed when using single mode. - /// - internal static string config_ChatBot_AutoAttack_Priority { - get { - return ResourceManager.GetString("config.ChatBot.AutoAttack.Priority", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Automatically craft items in your inventory - ///See https://mccteam.github.io/g/bots/#auto-craft 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. - /// - internal static string config_ChatBot_AutoCraft { - get { - return ResourceManager.GetString("config.ChatBot.AutoCraft", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Location of the crafting table if you intended to use it. Terrain and movements must be enabled.. - /// - internal static string config_ChatBot_AutoCraft_CraftingTable { - get { - return ResourceManager.GetString("config.ChatBot.AutoCraft.CraftingTable", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to What to do on crafting failure, "abort" or "wait".. - /// - internal static string config_ChatBot_AutoCraft_OnFailure { - get { - return ResourceManager.GetString("config.ChatBot.AutoCraft.OnFailure", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Recipes.Name: The name can be whatever you like and it is used to represent the recipe. - ///Recipes.Type: crafting table type: "player" or "table" - ///Recipes.Result: the resulting item - ///Recipes.Slots: All slots, counting from left to right, top to bottom. Please fill in "Null" for empty slots. - ///For the naming of the items, please see: https://mccteam.github.io/r/item/#L12. - /// - internal static string config_ChatBot_AutoCraft_Recipes { - get { - return ResourceManager.GetString("config.ChatBot.AutoCraft.Recipes", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Auto-digging blocks. - ///You need to enable Terrain Handling to use this bot - ///You can use "/digbot start" and "/digbot stop" to control the start and stop of AutoDig. - ///Since MCC does not yet support accurate calculation of the collision volume of blocks, all blocks are considered as complete cubes when obtaining the position of the lookahead. - ///For the naming of the block, please see https://mccteam.github.io/r/block/#L15. - /// - internal static string config_ChatBot_AutoDig { - get { - return ResourceManager.GetString("config.ChatBot.AutoDig", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to How many seconds to wait after entering the game to start digging automatically, set to -1 to disable automatic start.. - /// - internal static string config_ChatBot_AutoDig_Auto_Start_Delay { - get { - return ResourceManager.GetString("config.ChatBot.AutoDig.Auto_Start_Delay", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Automatically switch to the appropriate tool.. - /// - internal static string config_ChatBot_AutoDig_Auto_Tool_Switch { - get { - return ResourceManager.GetString("config.ChatBot.AutoDig.Auto_Tool_Switch", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Mining a block for more than "Dig_Timeout" seconds will be considered a timeout.. - /// - internal static string config_ChatBot_AutoDig_Dig_Timeout { - get { - return ResourceManager.GetString("config.ChatBot.AutoDig.Dig_Timeout", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Whether to drop the current tool when its durability is too low.. - /// - internal static string config_ChatBot_AutoDig_Drop_Low_Durability_Tools { - get { - return ResourceManager.GetString("config.ChatBot.AutoDig.Drop_Low_Durability_Tools", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Will not use tools with less durability than this. Set to zero to disable this feature.. - /// - internal static string config_ChatBot_AutoDig_Durability_Limit { - get { - return ResourceManager.GetString("config.ChatBot.AutoDig.Durability_Limit", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Wether to treat the blocks list as a "whitelist" or as a "blacklist".. - /// - internal static string config_ChatBot_AutoDig_List_Type { - get { - return ResourceManager.GetString("config.ChatBot.AutoDig.List_Type", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to "distance" or "index", When using the "fixedpos" mode, the blocks are determined by distance to the player, or by the order in the list.. - /// - internal static string config_ChatBot_AutoDig_Location_Order { - get { - return ResourceManager.GetString("config.ChatBot.AutoDig.Location_Order", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The position of the blocks when using "fixedpos" or "both" mode.. - /// - internal static string config_ChatBot_AutoDig_Locations { - get { - return ResourceManager.GetString("config.ChatBot.AutoDig.Locations", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Whether to output logs when digging blocks.. - /// - internal static string config_ChatBot_AutoDig_Log_Block_Dig { - get { - return ResourceManager.GetString("config.ChatBot.AutoDig.Log_Block_Dig", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to "lookat", "fixedpos" or "both". Digging the block being looked at, the block in a fixed position, or the block that needs to be all met.. - /// - internal static string config_ChatBot_AutoDig_Mode { - get { - return ResourceManager.GetString("config.ChatBot.AutoDig.Mode", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Automatically drop items in inventory - ///You need to enable Inventory Handling to use this bot - ///See this file for an up-to-date list of item types you can use with this bot: https://mccteam.github.io/r/item/#L12. - /// - internal static string config_ChatBot_AutoDrop { - get { - return ResourceManager.GetString("config.ChatBot.AutoDrop", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to "include", "exclude" or "everything". Include: drop item IN the list. Exclude: drop item NOT IN the list. - /// - internal static string config_ChatBot_AutoDrop_Mode { - get { - return ResourceManager.GetString("config.ChatBot.AutoDrop.Mode", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Automatically eat food when your Hunger value is low - ///You need to enable Inventory Handling to use this bot. - /// - internal static string config_ChatBot_AutoEat { - get { - return ResourceManager.GetString("config.ChatBot.AutoEat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Automatically catch fish using a fishing rod - ///Guide: https://mccteam.github.io/g/bots/#auto-fishing - ///You can use "/fish" to control the bot manually. - ////!\ Make sure server rules allow automated farming before using this bot. - /// - internal static string config_ChatBot_AutoFishing { - get { - return ResourceManager.GetString("config.ChatBot.AutoFishing", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Keep it as false if you have not changed it before.. - /// - internal static string config_ChatBot_AutoFishing_Antidespawn { - get { - return ResourceManager.GetString("config.ChatBot.AutoFishing.Antidespawn", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Switch to a new rod from inventory after the current rod is unavailable.. - /// - internal static string config_ChatBot_AutoFishing_Auto_Rod_Switch { - get { - return ResourceManager.GetString("config.ChatBot.AutoFishing.Auto_Rod_Switch", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Whether to start fishing automatically after entering a world.. - /// - internal static string config_ChatBot_AutoFishing_Auto_Start { - get { - return ResourceManager.GetString("config.ChatBot.AutoFishing.Auto_Start", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to How soon to re-cast after successful fishing.. - /// - internal static string config_ChatBot_AutoFishing_Cast_Delay { - get { - return ResourceManager.GetString("config.ChatBot.AutoFishing.Cast_Delay", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Will not use rods with less durability than this (full durability is 64). Set to zero to disable this feature.. - /// - internal static string config_ChatBot_AutoFishing_Durability_Limit { - get { - return ResourceManager.GetString("config.ChatBot.AutoFishing.Durability_Limit", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to This allows the player to change position/facing after each fish caught.. - /// - internal static string config_ChatBot_AutoFishing_Enable_Move { - get { - return ResourceManager.GetString("config.ChatBot.AutoFishing.Enable_Move", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to How long after entering the game to start fishing (seconds).. - /// - internal static string config_ChatBot_AutoFishing_Fishing_Delay { - get { - return ResourceManager.GetString("config.ChatBot.AutoFishing.Fishing_Delay", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Fishing timeout (seconds). Timeout will trigger a re-cast.. - /// - internal static string config_ChatBot_AutoFishing_Fishing_Timeout { - get { - return ResourceManager.GetString("config.ChatBot.AutoFishing.Fishing_Timeout", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A "stationary" hook that moves above this threshold in the Y-axis will be considered to have caught a fish.. - /// - internal static string config_ChatBot_AutoFishing_Hook_Threshold { - get { - return ResourceManager.GetString("config.ChatBot.AutoFishing.Hook_Threshold", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Used to adjust the above two thresholds, which when enabled will print the change in the position of the fishhook entity upon receipt of its movement packet.. - /// - internal static string config_ChatBot_AutoFishing_Log_Fish_Bobber { - get { - return ResourceManager.GetString("config.ChatBot.AutoFishing.Log_Fish_Bobber", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Use the mainhand or the offhand to hold the rod.. - /// - internal static string config_ChatBot_AutoFishing_Mainhand { - get { - return ResourceManager.GetString("config.ChatBot.AutoFishing.Mainhand", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to It will move in order "1->2->3->4->3->2->1->2->..." and can change position or facing or both each time. It is recommended to change the facing only.. - /// - internal static string config_ChatBot_AutoFishing_Movements { - get { - return ResourceManager.GetString("config.ChatBot.AutoFishing.Movements", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Hook movement in the X and Z axis less than this value will be considered stationary.. - /// - internal static string config_ChatBot_AutoFishing_Stationary_Threshold { - get { - return ResourceManager.GetString("config.ChatBot.AutoFishing.Stationary_Threshold", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Automatically relog when disconnected by server, for example because the server is restating - ////!\ Use Ignore_Kick_Message=true at own risk! Server staff might not appreciate if you auto-relog on manual kicks. - /// - internal static string config_ChatBot_AutoRelog { - get { - return ResourceManager.GetString("config.ChatBot.AutoRelog", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The delay time before joining the server. (in seconds). - /// - internal static string config_ChatBot_AutoRelog_Delay { - get { - return ResourceManager.GetString("config.ChatBot.AutoRelog.Delay", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to When set to true, autorelog will reconnect regardless of kick messages.. - /// - internal static string config_ChatBot_AutoRelog_Ignore_Kick_Message { - get { - return ResourceManager.GetString("config.ChatBot.AutoRelog.Ignore_Kick_Message", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to If the kickout message matches any of the strings, then autorelog will be triggered.. - /// - internal static string config_ChatBot_AutoRelog_Kick_Messages { - get { - return ResourceManager.GetString("config.ChatBot.AutoRelog.Kick_Messages", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Retries when failing to relog to the server. use -1 for unlimited retries.. - /// - internal static string config_ChatBot_AutoRelog_Retries { - get { - return ResourceManager.GetString("config.ChatBot.AutoRelog.Retries", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to 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. - /// - internal static string config_ChatBot_AutoRespond { - get { - return ResourceManager.GetString("config.ChatBot.AutoRespond", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Do not remove colors from text (Note: Your matches will have to include color codes (ones using the § character) in order to work). - /// - internal static string config_ChatBot_AutoRespond_Match_Colors { - get { - return ResourceManager.GetString("config.ChatBot.AutoRespond.Match_Colors", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Logs chat messages in a file on disk.. - /// - internal static string config_ChatBot_ChatLog { - get { - return ResourceManager.GetString("config.ChatBot.ChatLog", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to This bot allows you to send and recieve messages and commands via a Discord channel. - ///For Setup you can either use the documentation or read here (Documentation has images). - ///Documentation: https://mccteam.github.io/g/bots/#discord-bridge - ///Setup: - ///First you need to create a Bot on the Discord Developers Portal, here is a video tutorial: https://www.youtube.com/watch?v=2FgMnZViNPA . - ////!\ IMPORTANT /!\: When creating a bot, you MUST ENABLE "Message Content Intent", "Server Members Intent" and "Presence Intent [rest of string was truncated]";. - /// - internal static string config_ChatBot_DiscordBridge { - get { - return ResourceManager.GetString("config.ChatBot.DiscordBridge", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The ID of a channel where you want to interact with the MCC using the bot.. - /// - internal static string config_ChatBot_DiscordBridge_ChannelId { - get { - return ResourceManager.GetString("config.ChatBot.DiscordBridge.ChannelId", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Message formats - ///Words wrapped with { and } are going to be replaced during the code execution, do not change them! - ///For example. {message} is going to be replace with an actual message, {username} will be replaced with an username, {timestamp} with the current time. - ///For Discord message formatting, check the following: https://mccteam.github.io/r/dc-fmt.html. - /// - internal static string config_ChatBot_DiscordBridge_Formats { - get { - return ResourceManager.GetString("config.ChatBot.DiscordBridge.Formats", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The ID of a server/guild where you have invited the bot to.. - /// - internal static string config_ChatBot_DiscordBridge_GuildId { - get { - return ResourceManager.GetString("config.ChatBot.DiscordBridge.GuildId", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to How long to wait (in seconds) if a message can not be sent to discord before canceling the task (minimum 1 second).. - /// - internal static string config_ChatBot_DiscordBridge_MessageSendTimeout { - get { - return ResourceManager.GetString("config.ChatBot.DiscordBridge.MessageSendTimeout", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A list of IDs of people you want to be able to interact with the MCC using the bot.. - /// - internal static string config_ChatBot_DiscordBridge_OwnersIds { - get { - return ResourceManager.GetString("config.ChatBot.DiscordBridge.OwnersIds", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Your Discord Bot token.. - /// - internal static string config_ChatBot_DiscordBridge_Token { - get { - return ResourceManager.GetString("config.ChatBot.DiscordBridge.Token", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Automatically farms crops for you (plants, breaks and bonemeals them). - ///Crop types available: Beetroot, Carrot, Melon, Netherwart, Pumpkin, Potato, Wheat. - ///Usage: "/farmer start" command and "/farmer stop" command. - ///NOTE: This a newly added bot, it is not perfect and was only tested in 1.19.2, there are some minor issues like not being able to bonemeal carrots/potatoes sometimes. - ///or bot jumps onto the farm land and breaks it (this happens rarely but still happens). We are looking forward at improving this. [rest of string was truncated]";. - /// - internal static string config_ChatBot_Farmer { - get { - return ResourceManager.GetString("config.ChatBot.Farmer", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Delay between tasks in seconds (Minimum 1 second). - /// - internal static string config_ChatBot_Farmer_Delay_Between_Tasks { - get { - return ResourceManager.GetString("config.ChatBot.Farmer.Delay_Between_Tasks", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to 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, /// [rest of string was truncated]";. - /// - internal static string config_ChatBot_FollowPlayer { - get { - return ResourceManager.GetString("config.ChatBot.FollowPlayer", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to 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). - /// - internal static string config_ChatBot_FollowPlayer_Stop_At_Distance { - get { - return ResourceManager.GetString("config.ChatBot.FollowPlayer.Stop_At_Distance", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The rate at which the bot does calculations (in seconds) (You can tweak this if you feel the bot is too slow). - /// - internal static string config_ChatBot_FollowPlayer_Update_Limit { - get { - return ResourceManager.GetString("config.ChatBot.FollowPlayer.Update_Limit", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to 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. - /// - internal static string config_ChatBot_HangmanGame { - get { - return ResourceManager.GetString("config.ChatBot.HangmanGame", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to 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. - /// - internal static string config_ChatBot_Mailer { - get { - return ResourceManager.GetString("config.ChatBot.Mailer", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Allows you to render maps in the console and into images (which can be then sent to Discord using Discord Bridge Chat Bot) - ///This is useful for solving captchas which use maps - ///The maps are rendered into Rendered_Maps folder if the Save_To_File is enabled. - ///NOTE: - ///If some servers have a very short time for solving captchas, enabe Auto_Render_On_Update to see them immediatelly in the console. - ////!\ Make sure server rules allow bots to be used on the server, or you risk being punished.. - /// - internal static string config_ChatBot_Map { - get { - return ResourceManager.GetString("config.ChatBot.Map", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Automatically render the map once it is received or updated from/by the server. - /// - internal static string config_ChatBot_Map_Auto_Render_On_Update { - get { - return ResourceManager.GetString("config.ChatBot.Map.Auto_Render_On_Update", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Delete all rendered maps on unload/reload or when you launch the MCC again.. - /// - internal static string config_ChatBot_Map_Delete_All_On_Unload { - get { - return ResourceManager.GetString("config.ChatBot.Map.Delete_All_On_Unload", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Get a notification when you have gotten a map from the server for the first time. - /// - internal static string config_ChatBot_Map_Notify_On_First_Update { - get { - return ResourceManager.GetString("config.ChatBot.Map.Notify_On_First_Update", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Resize an rendered image, this is useful when images that are rendered are small and when are being sent to Discord.. - /// - internal static string config_ChatBot_Map_Rasize_Rendered_Image { - get { - return ResourceManager.GetString("config.ChatBot.Map.Rasize_Rendered_Image", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Whether to render the map in the console.. - /// - internal static string config_ChatBot_Map_Render_In_Console { - get { - return ResourceManager.GetString("config.ChatBot.Map.Render_In_Console", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The size that a rendered image should be resized to, in pixels (eg. 512).. - /// - internal static string config_ChatBot_Map_Resize_To { - get { - return ResourceManager.GetString("config.ChatBot.Map.Resize_To", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Whether to store the rendered map as a file (You need this setting if you want to get a map on Discord using Discord Bridge).. - /// - internal static string config_ChatBot_Map_Save_To_File { - get { - return ResourceManager.GetString("config.ChatBot.Map.Save_To_File", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Send a rendered map (saved to a file) to a Discord or a Telegram channel via the Discord or Telegram Bride chat bot (The Discord/Telegram Bridge chat bot must be enabled and configured!) - ///You need to enable Save_To_File in order for this to work. - ///We also recommend turning on resizing.. - /// - internal static string config_ChatBot_Map_Send_Rendered_To_Bridges { - get { - return ResourceManager.GetString("config.ChatBot.Map.Send_Rendered_To_Bridges", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Log the list of players periodically into a textual file.. - /// - internal static string config_ChatBot_PlayerListLogger { - get { - return ResourceManager.GetString("config.ChatBot.PlayerListLogger", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to (In seconds). - /// - internal static string config_ChatBot_PlayerListLogger_Delay { - get { - return ResourceManager.GetString("config.ChatBot.PlayerListLogger.Delay", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to 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. - /// - internal static string config_ChatBot_RemoteControl { - get { - return ResourceManager.GetString("config.ChatBot.RemoteControl", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to 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!. - /// - internal static string config_ChatBot_ReplayCapture { - get { - return ResourceManager.GetString("config.ChatBot.ReplayCapture", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to How long should replay file be auto-saved, in seconds. Use -1 to disable.. - /// - internal static string config_ChatBot_ReplayCapture_Backup_Interval { - get { - return ResourceManager.GetString("config.ChatBot.ReplayCapture.Backup_Interval", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Schedule commands and scripts to launch on various events such as server join, date/time or time interval - ///See https://mccteam.github.io/g/bots/#script-scheduler for more info. - /// - internal static string config_ChatBot_ScriptScheduler { - get { - return ResourceManager.GetString("config.ChatBot.ScriptScheduler", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to This bot allows you to send and receive messages and commands via a Telegram Bot DM or to receive messages in a Telegram channel. - ////!\ NOTE: You can't send messages and commands from a group channel, you can only send them in the bot DM, but you can get the messages from the client in a group channel. - ///----------------------------------------------------------- - ///Setup: - ///First you need to create a Telegram bot and obtain an API key, to do so, go to Telegram and find @botfather - ///Click on "Start" button and re [rest of string was truncated]";. - /// - internal static string config_ChatBot_TelegramBridge { - get { - return ResourceManager.GetString("config.ChatBot.TelegramBridge", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A list of Chat IDs that are allowed to send messages and execute commands. To get an id of your chat DM with the bot use ".chatid" bot command in Telegram.. - /// - internal static string config_ChatBot_TelegramBridge_Authorized_Chat_Ids { - get { - return ResourceManager.GetString("config.ChatBot.TelegramBridge.Authorized_Chat_Ids", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to An ID of a channel where you want to interact with the MCC using the bot.. - /// - internal static string config_ChatBot_TelegramBridge_ChannelId { - get { - return ResourceManager.GetString("config.ChatBot.TelegramBridge.ChannelId", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Message formats - ///Words wrapped with { and } are going to be replaced during the code execution, do not change them! - ///For example. {message} is going to be replace with an actual message, {username} will be replaced with an username, {timestamp} with the current time. - ///For Telegram message formatting, check the following: https://mccteam.github.io/r/tg-fmt.html. - /// - internal static string config_ChatBot_TelegramBridge_Formats { - get { - return ResourceManager.GetString("config.ChatBot.TelegramBridge.Formats", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to How long to wait (in seconds) if a message can not be sent to Telegram before canceling the task (minimum 1 second).. - /// - internal static string config_ChatBot_TelegramBridge_MessageSendTimeout { - get { - return ResourceManager.GetString("config.ChatBot.TelegramBridge.MessageSendTimeout", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Your Telegram Bot token.. - /// - internal static string config_ChatBot_TelegramBridge_Token { - get { - return ResourceManager.GetString("config.ChatBot.TelegramBridge.Token", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to 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 https://mccteam.github.io/g/conf/#chat-format-section. - /// - internal static string config_ChatFormat { - get { - return ResourceManager.GetString("config.ChatFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to MCC support for common message formats. Set "false" to avoid conflicts with custom formats.. - /// - internal static string config_ChatFormat_Builtins { - get { - return ResourceManager.GetString("config.ChatFormat.Builtins", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Whether to use the custom regular expressions below for detection.. - /// - internal static string config_ChatFormat_UserDefined { - get { - return ResourceManager.GetString("config.ChatFormat.UserDefined", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Startup Config File - ///Please do not record extraneous data in this file as it will be overwritten by MCC. - /// - ///New to Minecraft Console Client? Check out this document: https://mccteam.github.io/g/conf.html - ///Want to upgrade to a newer version? See https://github.com/MCCTeam/Minecraft-Console-Client/#download. - /// - internal static string config_Head { - get { - return ResourceManager.GetString("config.Head", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Settings have been loaded from {0}. - /// - internal static string config_load { - get { - return ResourceManager.GetString("config.load", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §cFailed to load settings:§r. - /// - internal static string config_load_fail { - get { - return ResourceManager.GetString("config.load.fail", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to This setting affects only the messages in the console.. - /// - internal static string config_Logging { - get { - return ResourceManager.GetString("config.Logging", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Regex for filtering chat message.. - /// - internal static string config_Logging_ChatFilter { - get { - return ResourceManager.GetString("config.Logging.ChatFilter", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Show server chat messages.. - /// - internal static string config_Logging_ChatMessages { - get { - return ResourceManager.GetString("config.Logging.ChatMessages", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Regex for filtering debug message.. - /// - internal static string config_Logging_DebugFilter { - get { - return ResourceManager.GetString("config.Logging.DebugFilter", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Please enable this before submitting bug reports. Thanks!. - /// - internal static string config_Logging_DebugMessages { - get { - return ResourceManager.GetString("config.Logging.DebugMessages", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Show error messages.. - /// - internal static string config_Logging_ErrorMessages { - get { - return ResourceManager.GetString("config.Logging.ErrorMessages", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to "disable" or "blacklist" OR "whitelist". Blacklist hide message match regex. Whitelist show message match regex.. - /// - internal static string config_Logging_FilterMode { - get { - return ResourceManager.GetString("config.Logging.FilterMode", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Informative messages. (i.e Most of the message from MCC). - /// - internal static string config_Logging_InfoMessages { - get { - return ResourceManager.GetString("config.Logging.InfoMessages", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Log file name.. - /// - internal static string config_Logging_LogFile { - get { - return ResourceManager.GetString("config.Logging.LogFile", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Write log messages to file.. - /// - internal static string config_Logging_LogToFile { - get { - return ResourceManager.GetString("config.Logging.LogToFile", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Prepend timestamp to messages in log file.. - /// - internal static string config_Logging_PrependTimestamp { - get { - return ResourceManager.GetString("config.Logging.PrependTimestamp", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Keep color codes in the saved text.(look like "§b"). - /// - internal static string config_Logging_SaveColorCodes { - get { - return ResourceManager.GetString("config.Logging.SaveColorCodes", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Show warning messages.. - /// - internal static string config_Logging_WarningMessages { - get { - return ResourceManager.GetString("config.Logging.WarningMessages", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Make sure you understand what each setting does before changing anything!. - /// - internal static string config_Main_Advanced { - get { - return ResourceManager.GetString("config.Main.Advanced", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to AccountList: It allows a fast account switching without directly using the credentials - ///Usage examples: "/tell <mybot> reco Player2", "/connect <serverip> Player1". - /// - internal static string config_Main_Advanced_account_list { - get { - return ResourceManager.GetString("config.Main.Advanced.account_list", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Toggle auto respawn if client player was dead (make sure your spawn point is safe).. - /// - internal static string config_Main_Advanced_auto_respawn { - get { - return ResourceManager.GetString("config.Main.Advanced.auto_respawn", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Set the owner of the bot. /!\ Server admins can impersonate owners!. - /// - internal static string config_Main_Advanced_bot_owners { - get { - return ResourceManager.GetString("config.Main.Advanced.bot_owners", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Use "mcc", "vanilla" or "none". This is how MCC identifies itself to the server.. - /// - internal static string config_Main_Advanced_brand_info { - get { - return ResourceManager.GetString("config.Main.Advanced.brand_info", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Leave empty for no logfile.. - /// - internal static string config_Main_Advanced_chatbot_log_file { - get { - return ResourceManager.GetString("config.Main.Advanced.chatbot_log_file", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to If turned off, the emoji will be replaced with a simpler character (for /chunk status).. - /// - internal static string config_Main_Advanced_enable_emoji { - get { - return ResourceManager.GetString("config.Main.Advanced.enable_emoji", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Toggle entity handling.. - /// - internal static string config_Main_Advanced_entity_handling { - get { - return ResourceManager.GetString("config.Main.Advanced.entity_handling", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Whether to exit directly when an error occurs, for using MCC in non-interactive scripts.. - /// - internal static string config_Main_Advanced_exit_on_failure { - get { - return ResourceManager.GetString("config.Main.Advanced.exit_on_failure", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Use "none", "slash"(/) or "backslash"(\).. - /// - internal static string config_Main_Advanced_internal_cmd_char { - get { - return ResourceManager.GetString("config.Main.Advanced.internal_cmd_char", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Toggle inventory handling.. - /// - internal static string config_Main_Advanced_inventory_handling { - get { - return ResourceManager.GetString("config.Main.Advanced.inventory_handling", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Fill in with in-game locale code, check https://mccteam.github.io/r/l-code.html. - /// - internal static string config_Main_Advanced_language { - get { - return ResourceManager.GetString("config.Main.Advanced.language", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The language code is invalid!. - /// - internal static string config_Main_Advanced_language_invaild { - get { - return ResourceManager.GetString("config.Main.Advanced.language.invaild", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Load translations applied to MCC when available, turn it off to use English only.. - /// - internal static string config_Main_Advanced_LoadMccTrans { - get { - return ResourceManager.GetString("config.Main.Advanced.LoadMccTrans", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Use "auto", "no" or "force". Force-enabling only works for MC 1.13+.. - /// - internal static string config_Main_Advanced_mc_forge { - get { - return ResourceManager.GetString("config.Main.Advanced.mc_forge", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Use "auto" or "1.X.X" values. Allows to skip server info retrieval.. - /// - internal static string config_Main_Advanced_mc_version { - get { - return ResourceManager.GetString("config.Main.Advanced.mc_version", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Controls the minimum interval (in seconds) between sending each message to the server.. - /// - internal static string config_Main_Advanced_message_cooldown { - get { - return ResourceManager.GetString("config.Main.Advanced.message_cooldown", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Enable support for joining Minecraft Realms worlds.. - /// - internal static string config_Main_Advanced_minecraft_realms { - get { - return ResourceManager.GetString("config.Main.Advanced.minecraft_realms", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The minimum height to use when calculating the image size from the height of the terminal.. - /// - internal static string config_Main_Advanced_MinTerminalHeight { - get { - return ResourceManager.GetString("config.Main.Advanced.MinTerminalHeight", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The minimum width used when calculating the image size from the width of the terminal.. - /// - internal static string config_Main_Advanced_MinTerminalWidth { - get { - return ResourceManager.GetString("config.Main.Advanced.MinTerminalWidth", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Enable head movement while walking to avoid anti-cheat triggers.. - /// - internal static string config_Main_Advanced_move_head_while_walking { - get { - return ResourceManager.GetString("config.Main.Advanced.move_head_while_walking", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A movement speed higher than 2 may be considered cheating.. - /// - internal static string config_Main_Advanced_movement_speed { - get { - return ResourceManager.GetString("config.Main.Advanced.movement_speed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Only works on Windows XP-8 or Windows 10 with old console.. - /// - internal static string config_Main_Advanced_player_head_icon { - get { - return ResourceManager.GetString("config.Main.Advanced.player_head_icon", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to For remote control of the bot.. - /// - internal static string config_Main_Advanced_private_msgs_cmd_name { - get { - return ResourceManager.GetString("config.Main.Advanced.private_msgs_cmd_name", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to How to retain profile key. Use "none", "memory" or "disk".. - /// - internal static string config_Main_Advanced_profilekey_cache { - get { - return ResourceManager.GetString("config.Main.Advanced.profilekey_cache", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Use "no", "fast" (5s timeout), or "yes". Required for joining some servers.. - /// - internal static string config_Main_Advanced_resolve_srv_records { - get { - return ResourceManager.GetString("config.Main.Advanced.resolve_srv_records", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cache compiled scripts for faster load on low-end devices.. - /// - internal static string config_Main_Advanced_script_cache { - get { - return ResourceManager.GetString("config.Main.Advanced.script_cache", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to ServerList: It allows an easier and faster server switching with short aliases instead of full server IP - ///Aliases cannot contain dots or spaces, and the name "localhost" cannot be used as an alias. - ///Usage examples: "/tell <mybot> connect Server1", "/connect Server2". - /// - internal static string config_Main_Advanced_server_list { - get { - return ResourceManager.GetString("config.Main.Advanced.server_list", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to How to retain session tokens. Use "none", "memory" or "disk".. - /// - internal static string config_Main_Advanced_session_cache { - get { - return ResourceManager.GetString("config.Main.Advanced.session_cache", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Decode links embedded in chat messages and show them in console.. - /// - internal static string config_Main_Advanced_show_chat_links { - get { - return ResourceManager.GetString("config.Main.Advanced.show_chat_links", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Show inventory layout as ASCII art in inventory command.. - /// - internal static string config_Main_Advanced_show_inventory_layout { - get { - return ResourceManager.GetString("config.Main.Advanced.show_inventory_layout", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to System messages for server ops.. - /// - internal static string config_Main_Advanced_show_system_messages { - get { - return ResourceManager.GetString("config.Main.Advanced.show_system_messages", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Messages displayed above xp bar, set this to false in case of xp bar spam.. - /// - internal static string config_Main_Advanced_show_xpbar_messages { - get { - return ResourceManager.GetString("config.Main.Advanced.show_xpbar_messages", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Temporary fix for Badpacket issue on some servers.. - /// - internal static string config_Main_Advanced_temporary_fix_badpacket { - get { - return ResourceManager.GetString("config.Main.Advanced.temporary_fix_badpacket", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Use "none", "bit_4", "bit_8" or "bit_24". This can be checked by opening the debug log.. - /// - internal static string config_Main_Advanced_TerminalColorDepth { - get { - return ResourceManager.GetString("config.Main.Advanced.TerminalColorDepth", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Uses more ram, cpu, bandwidth but allows you to move around.. - /// - internal static string config_Main_Advanced_terrain_and_movements { - get { - return ResourceManager.GetString("config.Main.Advanced.terrain_and_movements", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Customize the TCP connection timeout with the server. (in seconds). - /// - internal static string config_Main_Advanced_timeout { - get { - return ResourceManager.GetString("config.Main.Advanced.timeout", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Prepend timestamps to chat messages.. - /// - internal static string config_Main_Advanced_timestamps { - get { - return ResourceManager.GetString("config.Main.Advanced.timestamps", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Login=Email or Name. Use "-" as password for offline mode. Leave blank to prompt user on startup.. - /// - internal static string config_Main_General_account { - get { - return ResourceManager.GetString("config.Main.General.account", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The address of the game server, "Host" can be filled in with domain name or IP address. (The "Port" field can be deleted, it will be resolved automatically). - /// - internal static string config_Main_General_login { - get { - return ResourceManager.GetString("config.Main.General.login", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Microsoft Account sign-in method: "mcc" OR "browser". If the login always fails, please try to use the "browser" once.. - /// - internal static string config_Main_General_method { - get { - return ResourceManager.GetString("config.Main.General.method", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Account type: "mojang" OR "microsoft". Also affects interactive login in console.. - /// - internal static string config_Main_General_server_info { - get { - return ResourceManager.GetString("config.Main.General.server_info", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Settings below are sent to the server and only affect server-side things like your skin.. - /// - internal static string config_MCSettings { - get { - return ResourceManager.GetString("config.MCSettings", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Allows disabling chat colors server-side.. - /// - internal static string config_MCSettings_ChatColors { - get { - return ResourceManager.GetString("config.MCSettings.ChatColors", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Use "enabled", "commands", or "disabled". Allows to mute yourself.... - /// - internal static string config_MCSettings_ChatMode { - get { - return ResourceManager.GetString("config.MCSettings.ChatMode", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to MC 1.7- difficulty. "peaceful", "easy", "normal", "difficult".. - /// - internal static string config_MCSettings_Difficulty { - get { - return ResourceManager.GetString("config.MCSettings.Difficulty", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to If disabled, settings below are not sent to the server.. - /// - internal static string config_MCSettings_Enabled { - get { - return ResourceManager.GetString("config.MCSettings.Enabled", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Use any language implemented in Minecraft.. - /// - internal static string config_MCSettings_Locale { - get { - return ResourceManager.GetString("config.MCSettings.Locale", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to MC 1.9+ main hand. "left" or "right".. - /// - internal static string config_MCSettings_MainHand { - get { - return ResourceManager.GetString("config.MCSettings.MainHand", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Value range: [0 - 255].. - /// - internal static string config_MCSettings_RenderDistance { - get { - return ResourceManager.GetString("config.MCSettings.RenderDistance", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Connect to a server via a proxy instead of connecting directly - ///If Mojang session services are blocked on your network, set Enabled_Login=true to login using proxy. - ///If the connection to the Minecraft game server is blocked by the firewall, set Enabled_Ingame=true to use a proxy to connect to the game server. - ////!\ Make sure your server rules allow Proxies or VPNs before setting enabled=true, or you may face consequences!. - /// - internal static string config_Proxy { - get { - return ResourceManager.GetString("config.Proxy", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Whether to connect to the game server through a proxy.. - /// - internal static string config_Proxy_Enabled_Ingame { - get { - return ResourceManager.GetString("config.Proxy.Enabled_Ingame", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Whether to connect to the login server through a proxy.. - /// - internal static string config_Proxy_Enabled_Login { - get { - return ResourceManager.GetString("config.Proxy.Enabled_Login", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Only required for password-protected proxies.. - /// - internal static string config_Proxy_Password { - get { - return ResourceManager.GetString("config.Proxy.Password", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Supported types: "HTTP", "SOCKS4", "SOCKS4a", "SOCKS5".. - /// - internal static string config_Proxy_Proxy_Type { - get { - return ResourceManager.GetString("config.Proxy.Proxy_Type", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Proxy server must allow HTTPS for login, and non-443 ports for playing.. - /// - internal static string config_Proxy_Server { - get { - return ResourceManager.GetString("config.Proxy.Server", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Only required for password-protected proxies.. - /// - internal static string config_Proxy_Username { - get { - return ResourceManager.GetString("config.Proxy.Username", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §aThe current setting is saved as {0}. - /// - internal static string config_saving { - get { - return ResourceManager.GetString("config.saving", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Chat signature related settings (affects minecraft 1.19+). - /// - internal static string config_Signature { - get { - return ResourceManager.GetString("config.Signature", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Microsoft accounts only. If disabled, will not be able to sign chat and join servers configured with "enforce-secure-profile=true". - /// - internal static string config_Signature_LoginWithSecureProfile { - get { - return ResourceManager.GetString("config.Signature.LoginWithSecureProfile", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Use red    color block to mark chat without legitimate signature. - /// - internal static string config_Signature_MarkIllegallySignedMsg { - get { - return ResourceManager.GetString("config.Signature.MarkIllegallySignedMsg", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Use green  color block to mark chat with legitimate signatures. - /// - internal static string config_Signature_MarkLegallySignedMsg { - get { - return ResourceManager.GetString("config.Signature.MarkLegallySignedMsg", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Use yellow color block to mark chat that have been modified by the server.. - /// - internal static string config_Signature_MarkModifiedMsg { - get { - return ResourceManager.GetString("config.Signature.MarkModifiedMsg", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Use gray   color block to mark system message (always without signature). - /// - internal static string config_Signature_MarkSystemMessage { - get { - return ResourceManager.GetString("config.Signature.MarkSystemMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Whether to display chat and messages in commands without legal signatures. - /// - internal static string config_Signature_ShowIllegalSignedChat { - get { - return ResourceManager.GetString("config.Signature.ShowIllegalSignedChat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Set to true to display messages modified by the server, false to display the original signed messages. - /// - internal static string config_Signature_ShowModifiedChat { - get { - return ResourceManager.GetString("config.Signature.ShowModifiedChat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Whether to sign the chat send from MCC. - /// - internal static string config_Signature_SignChat { - get { - return ResourceManager.GetString("config.Signature.SignChat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Whether to sign the messages contained in the commands sent by MCC. For example, the message in "/msg" and "/me". - /// - internal static string config_Signature_SignMessageInCommand { - get { - return ResourceManager.GetString("config.Signature.SignMessageInCommand", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §cFailed to write to settings file {0}§r. - /// - internal static string config_write_fail { - get { - return ResourceManager.GetString("config.write.fail", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Color test: Your terminal should display {0}. - /// - internal static string debug_color_test { - get { - return ResourceManager.GetString("debug.color_test", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Crypto keys & hash generated.. - /// - internal static string debug_crypto { - get { - return ResourceManager.GetString("debug.crypto", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8No profile keys could be loaded from disk. - /// - internal static string debug_keys_cache_fail { - get { - return ResourceManager.GetString("debug.keys_cache_fail", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Profile keys has been successfully loaded from disk.. - /// - internal static string debug_keys_cache_ok { - get { - return ResourceManager.GetString("debug.keys_cache_ok", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Performing request to {0}. - /// - internal static string debug_request { - get { - return ResourceManager.GetString("debug.request", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8No sessions could be loaded from disk. - /// - internal static string debug_session_cache_fail { - get { - return ResourceManager.GetString("debug.session_cache_fail", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Session data has been successfully loaded from disk.. - /// - internal static string debug_session_cache_ok { - get { - return ResourceManager.GetString("debug.session_cache_ok", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Success. (session ID: {0}). - /// - internal static string debug_session_id { - get { - return ResourceManager.GetString("debug.session_id", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Bottom slot. - /// - internal static string Enchantment_bottom_slot { - get { - return ResourceManager.GetString("Enchantment.bottom_slot", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Enchantments available. - /// - internal static string Enchantment_enchantments_available { - get { - return ResourceManager.GetString("Enchantment.enchantments_available", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Levels. - /// - internal static string Enchantment_levels { - get { - return ResourceManager.GetString("Enchantment.levels", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Middle slot. - /// - internal static string Enchantment_middle_slot { - get { - return ResourceManager.GetString("Enchantment.middle_slot", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Top slot. - /// - internal static string Enchantment_tops_slot { - get { - return ResourceManager.GetString("Enchantment.tops_slot", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Got error code from server while refreshing authentication: {0}. - /// - internal static string error_auth { - get { - return ResourceManager.GetString("error.auth", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Failed to connect to this IP.. - /// - internal static string error_connect { - get { - return ResourceManager.GetString("error.connect", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8A timeout occured while attempting to connect to this IP.. - /// - internal static string error_connection_timeout { - get { - return ResourceManager.GetString("error.connection_timeout", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Failed to determine server version.. - /// - internal static string error_determine { - get { - return ResourceManager.GetString("error.determine", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Forge Login Handshake did not complete successfully. - /// - internal static string error_forge { - get { - return ResourceManager.GetString("error.forge", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Forge StartEncryption Handshake did not complete successfully. - /// - internal static string error_forge_encrypt { - get { - return ResourceManager.GetString("error.forge_encrypt", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot force Forge support for this Minecraft version!. - /// - internal static string error_forgeforce { - get { - return ResourceManager.GetString("error.forgeforce", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Invalid usage of the generator command!. - /// - internal static string error_generator_invalid { - get { - return ResourceManager.GetString("error.generator.invalid", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The provided path must be a path to a file that is in .json format!. - /// - internal static string error_generator_json { - get { - return ResourceManager.GetString("error.generator.json", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Invalid data path provided! (The path either does not exists or you have made a typo). - /// - internal static string error_generator_path { - get { - return ResourceManager.GetString("error.generator.path", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Got error code from server: {0}. - /// - internal static string error_http_code { - get { - return ResourceManager.GetString("error.http_code", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Invalid response to StartEncryption packet. - /// - internal static string error_invalid_encrypt { - get { - return ResourceManager.GetString("error.invalid_encrypt", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Invalid response to Handshake packet. - /// - internal static string error_invalid_response { - get { - return ResourceManager.GetString("error.invalid_response", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to This feature requires Inventory Handling to be enabled in order to work!. - /// - internal static string error_inventoryhandling_not_enabled { - get { - return ResourceManager.GetString("error.inventoryhandling_not_enabled", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to An error occured when attempting to join this server.. - /// - internal static string error_join { - get { - return ResourceManager.GetString("error.join", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Login failed : . - /// - internal static string error_login { - get { - return ResourceManager.GetString("error.login", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Incorrect username/password, blacklisted IP or too many logins.. - /// - internal static string error_login_blocked { - get { - return ResourceManager.GetString("error.login.blocked", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to User cancelled.. - /// - internal static string error_login_cancel { - get { - return ResourceManager.GetString("error.login.cancel", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Failed to login to this server.. - /// - internal static string error_login_failed { - get { - return ResourceManager.GetString("error.login_failed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Account migrated, use e-mail as username.. - /// - internal static string error_login_migrated { - get { - return ResourceManager.GetString("error.login.migrated", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Network error.. - /// - internal static string error_login_network { - get { - return ResourceManager.GetString("error.login.network", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to User not premium.. - /// - internal static string error_login_premium { - get { - return ResourceManager.GetString("error.login.premium", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Invalid server response.. - /// - internal static string error_login_response { - get { - return ResourceManager.GetString("error.login.response", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Login servers are unavailable. Please try again later.. - /// - internal static string error_login_server { - get { - return ResourceManager.GetString("error.login.server", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to SSL Error.. - /// - internal static string error_login_ssl { - get { - return ResourceManager.GetString("error.login.ssl", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Unknown Error.. - /// - internal static string error_login_unknown { - get { - return ResourceManager.GetString("error.login.unknown", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to You are missing argument {0}. - /// - internal static string error_missing_argument { - get { - return ResourceManager.GetString("error.missing.argument", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Server does not report its protocol version, autodetection will not work.. - /// - internal static string error_no_version_report { - get { - return ResourceManager.GetString("error.no_version_report", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Failed to ping this IP.. - /// - internal static string error_ping { - get { - return ResourceManager.GetString("error.ping", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to This Realms world does not exist or access was denied. - /// - internal static string error_realms_access_denied { - get { - return ResourceManager.GetString("error.realms.access_denied", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Trying to join a Realms world but Realms support is disabled in config. - /// - internal static string error_realms_disabled { - get { - return ResourceManager.GetString("error.realms.disabled", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot retrieve the server IP of your Realms world. - /// - internal static string error_realms_ip_error { - get { - return ResourceManager.GetString("error.realms.ip_error", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Invalid or unknown Realms server ID.. - /// - internal static string error_realms_server_id { - get { - return ResourceManager.GetString("error.realms.server_id", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Realms server may require some time to start up. Please retry again later.. - /// - internal static string error_realms_server_unavailable { - get { - return ResourceManager.GetString("error.realms.server_unavailable", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to {0}: Invalid syntax, expecting --argname=value or --section.argname=value. - /// - internal static string error_setting_argument_syntax { - get { - return ResourceManager.GetString("error.setting.argument_syntax", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to This feature requires Terrain And Movements to be enabled in order to work!. - /// - internal static string error_terrain_not_enabled { - get { - return ResourceManager.GetString("error.terrain_not_enabled", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Connection Timeout. - /// - internal static string error_timeout { - get { - return ResourceManager.GetString("error.timeout", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Unexpected response from the server (is that a Minecraft server?). - /// - internal static string error_unexpect_response { - get { - return ResourceManager.GetString("error.unexpect_response", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot connect to the server : This version is not supported !. - /// - internal static string error_unsupported { - get { - return ResourceManager.GetString("error.unsupported", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Usage:. - /// - internal static string error_usage { - get { - return ResourceManager.GetString("error.usage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Server reports a different version than manually set. Login may not work.. - /// - internal static string error_version_different { - get { - return ResourceManager.GetString("error.version_different", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to ChatBot methods should NOT be called in the constructor as API handler is not initialized yet. Override Initialize() or AfterGameJoined() instead to perform initialization tasks.. - /// - internal static string exception_chatbot_init { - get { - return ResourceManager.GetString("exception.chatbot.init", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The provided script does not have a valid MCCScript header. - /// - internal static string exception_csrunner_invalid_head { - get { - return ResourceManager.GetString("exception.csrunner.invalid_head", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Failed to process incoming packet of type {0}. (PacketID: {1}, Protocol: {2}, LoginPhase: {3}, InnerException: {4}).. - /// - internal static string exception_packet_process { - get { - return ResourceManager.GetString("exception.packet_process", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Please update block types handling for this Minecraft version. See Material.cs. - /// - internal static string exception_palette_block { - get { - return ResourceManager.GetString("exception.palette.block", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Please update entity types handling for this Minecraft version. See EntityType.cs. - /// - internal static string exception_palette_entity { - get { - return ResourceManager.GetString("exception.palette.entity", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Please update health field handling for this Minecraft version.. - /// - internal static string exception_palette_healthfield { - get { - return ResourceManager.GetString("exception.palette.healthfield", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Please update item types handling for this Minecraft version. See ItemType.cs. - /// - internal static string exception_palette_item { - get { - return ResourceManager.GetString("exception.palette.item", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Please update packet type palette for this Minecraft version. See PacketTypePalette.cs. - /// - internal static string exception_palette_packet { - get { - return ResourceManager.GetString("exception.palette.packet", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Unknown direction. - /// - internal static string exception_unknown_direction { - get { - return ResourceManager.GetString("exception.unknown_direction", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to User-initiated logout should be done by calling Disconnect(). - /// - internal static string exception_user_logout { - get { - return ResourceManager.GetString("exception.user_logout", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The protocol version no.{0} is not supported.. - /// - internal static string exception_version_unsupport { - get { - return ResourceManager.GetString("exception.version_unsupport", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §cEntities are currently not handled for that MC version.. - /// - internal static string extra_entity_disabled { - get { - return ResourceManager.GetString("extra.entity_disabled", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Please enable EntityHandling in the config file first.. - /// - internal static string extra_entity_required { - get { - return ResourceManager.GetString("extra.entity_required", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Inventory # {0} closed.. - /// - internal static string extra_inventory_close { - get { - return ResourceManager.GetString("extra.inventory_close", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §cInventories are currently not handled for that MC version.. - /// - internal static string extra_inventory_disabled { - get { - return ResourceManager.GetString("extra.inventory_disabled", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Inventory handling is now enabled.. - /// - internal static string extra_inventory_enabled { - get { - return ResourceManager.GetString("extra.inventory_enabled", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Use /inventory to interact with it.. - /// - internal static string extra_inventory_interact { - get { - return ResourceManager.GetString("extra.inventory_interact", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Inventory # {0} opened: {1}. - /// - internal static string extra_inventory_open { - get { - return ResourceManager.GetString("extra.inventory_open", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Please enable InventoryHandling in the config file first.. - /// - internal static string extra_inventory_required { - get { - return ResourceManager.GetString("extra.inventory_required", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §cTerrain & Movements currently not handled for that MC version.. - /// - internal static string extra_terrainandmovement_disabled { - get { - return ResourceManager.GetString("extra.terrainandmovement_disabled", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Terrain and Movements is now enabled.. - /// - internal static string extra_terrainandmovement_enabled { - get { - return ResourceManager.GetString("extra.terrainandmovement_enabled", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Please enable Terrain and Movements in the config file first.. - /// - internal static string extra_terrainandmovement_required { - get { - return ResourceManager.GetString("extra.terrainandmovement_required", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8[{0}] Failed to initialize FileSystemWatcher, retrying using Polling. - /// - internal static string filemonitor_fail { - get { - return ResourceManager.GetString("filemonitor.fail", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8[{0}] Initializing FileSystemWatcher for file: {1}. - /// - internal static string filemonitor_init { - get { - return ResourceManager.GetString("filemonitor.init", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Accepting server mod list.... - /// - internal static string forge_accept { - get { - return ResourceManager.GetString("forge.accept", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Accepting server registries.... - /// - internal static string forge_accept_registry { - get { - return ResourceManager.GetString("forge.accept_registry", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Forge server connection complete!. - /// - internal static string forge_complete { - get { - return ResourceManager.GetString("forge.complete", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Acknowledging FML2 Server Config: {0}. - /// - internal static string forge_fml2_config { - get { - return ResourceManager.GetString("forge.fml2.config", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Received FML2 Server Mod List. - /// - internal static string forge_fml2_mod { - get { - return ResourceManager.GetString("forge.fml2.mod", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Sending back FML2 Client Mod List. - /// - internal static string forge_fml2_mod_send { - get { - return ResourceManager.GetString("forge.fml2.mod_send", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Acknowledging FML2 Server Registry: {0}. - /// - internal static string forge_fml2_registry { - get { - return ResourceManager.GetString("forge.fml2.registry", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Got Unknown FML2 Handshake message no. {0}. - /// - internal static string forge_fml2_unknown { - get { - return ResourceManager.GetString("forge.fml2.unknown", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Ignoring Unknown FML2 LoginMessage channel: {0}. - /// - internal static string forge_fml2_unknown_channel { - get { - return ResourceManager.GetString("forge.fml2.unknown_channel", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Mod list:. - /// - internal static string forge_mod_list { - get { - return ResourceManager.GetString("forge.mod_list", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Server is running Forge without mods.. - /// - internal static string forge_no_mod { - get { - return ResourceManager.GetString("forge.no_mod", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Received registry with {0} entries. - /// - internal static string forge_registry { - get { - return ResourceManager.GetString("forge.registry", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Received registry {0} with {1} entries. - /// - internal static string forge_registry_2 { - get { - return ResourceManager.GetString("forge.registry_2", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Sending falsified mod list to server.... - /// - internal static string forge_send_mod { - get { - return ResourceManager.GetString("forge.send_mod", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Forge protocol version : {0}. - /// - internal static string forge_version { - get { - return ResourceManager.GetString("forge.version", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Server is running Forge with {0} mods.. - /// - internal static string forge_with_mod { - get { - return ResourceManager.GetString("forge.with_mod", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Available commands: {0}. - /// - internal static string general_available_cmd { - get { - return ResourceManager.GetString("general.available_cmd", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to This bot will be unloaded.. - /// - internal static string general_bot_unload { - get { - return ResourceManager.GetString("general.bot_unload", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Done. - /// - internal static string general_done { - get { - return ResourceManager.GetString("general.done", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Fail. - /// - internal static string general_fail { - get { - return ResourceManager.GetString("general.fail", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to OnInternalCommand: Got error from {0}: {1}. - /// - internal static string icmd_error { - get { - return ResourceManager.GetString("icmd.error", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to help <cmdname>: show brief help about a command.. - /// - internal static string icmd_help { - get { - return ResourceManager.GetString("icmd.help", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to help <cmdname>. Available commands: - ///{0}For server help, use '{1}send /help' instead.. - /// - internal static string icmd_list { - get { - return ResourceManager.GetString("icmd.list", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Unknown command '{0}'. Use 'help' for command list.. - /// - internal static string icmd_unknown { - get { - return ResourceManager.GetString("icmd.unknown", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The old MinecraftClient.ini has been backed up as {0}. - /// - internal static string mcc_backup_old_config { - get { - return ResourceManager.GetString("mcc.backup_old_config", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Paste your code here:. - /// - internal static string mcc_browser_login_code { - get { - return ResourceManager.GetString("mcc.browser_login_code", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Your browser should open automatically. If not, open the link below in your browser.. - /// - internal static string mcc_browser_open { - get { - return ResourceManager.GetString("mcc.browser_open", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Connecting to {0}.... - /// - internal static string mcc_connecting { - get { - return ResourceManager.GetString("mcc.connecting", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Login failed :. - /// - internal static string mcc_disconnect_login { - get { - return ResourceManager.GetString("mcc.disconnect.login", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Connection has been lost.. - /// - internal static string mcc_disconnect_lost { - get { - return ResourceManager.GetString("mcc.disconnect.lost", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Disconnected by Server :. - /// - internal static string mcc_disconnect_server { - get { - return ResourceManager.GetString("mcc.disconnect.server", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Not connected to any server. Use '{0}help' for help.. - /// - internal static string mcc_disconnected { - get { - return ResourceManager.GetString("mcc.disconnected", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Fetching profile key from Microsoft.. - /// - internal static string mcc_fetching_key { - get { - return ResourceManager.GetString("mcc.fetching_key", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Checking if server is running Forge.... - /// - internal static string mcc_forge { - get { - return ResourceManager.GetString("mcc.forge", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Force-enabling Forge support.. - /// - internal static string mcc_forgeforce { - get { - return ResourceManager.GetString("mcc.forgeforce", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Found server {0}:{1} for domain {2}. - /// - internal static string mcc_found { - get { - return ResourceManager.GetString("mcc.found", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to New configuration file "{0}" is generated.. - /// - internal static string mcc_gen_new_config { - get { - return ResourceManager.GetString("mcc.gen_new_config", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Succesfully generated {0} palette using the dataset: {1}. - /// - internal static string mcc_generator_done { - get { - return ResourceManager.GetString("mcc.generator.done", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Generating {0} palette using the dataset: {1}. - /// - internal static string mcc_generator_generating { - get { - return ResourceManager.GetString("mcc.generator.generating", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Handshake successful. (Server ID: {0}). - /// - internal static string mcc_handshake { - get { - return ResourceManager.GetString("mcc.handshake", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §eNew version of MCC available: {0}. - /// - internal static string mcc_has_update { - get { - return ResourceManager.GetString("mcc.has_update", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Help us translate MCC: {0}. - /// - internal static string mcc_help_us_translate { - get { - return ResourceManager.GetString("mcc.help_us_translate", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Failed to parse the settings file, enter "{0}new" to generate a new configuration.. - /// - internal static string mcc_invaild_config { - get { - return ResourceManager.GetString("mcc.invaild_config", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Server IP : . - /// - internal static string mcc_ip { - get { - return ResourceManager.GetString("mcc.ip", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Server was successfully joined. - ///Type '{0}quit' to leave the server.. - /// - internal static string mcc_joined { - get { - return ResourceManager.GetString("mcc.joined", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Link: {0}. - /// - internal static string mcc_link { - get { - return ResourceManager.GetString("mcc.link", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Login :. - /// - internal static string mcc_login { - get { - return ResourceManager.GetString("mcc.login", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Please type the username or email of your choice.. - /// - internal static string mcc_login_basic_io { - get { - return ResourceManager.GetString("mcc.login_basic_io", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Failed to perform SRV lookup for {0} - ///{1}: {2}. - /// - internal static string mcc_not_found { - get { - return ResourceManager.GetString("mcc.not_found", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8You chose to run in offline mode.. - /// - internal static string mcc_offline { - get { - return ResourceManager.GetString("mcc.offline", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Password: . - /// - internal static string mcc_password { - get { - return ResourceManager.GetString("mcc.password", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Please type the password for {0}.. - /// - internal static string mcc_password_basic_io { - get { - return ResourceManager.GetString("mcc.password_basic_io", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Password(invisible): {0}. - /// - internal static string mcc_password_hidden { - get { - return ResourceManager.GetString("mcc.password_hidden", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to You are dead. Type '{0}respawn' to respawn.. - /// - internal static string mcc_player_dead { - get { - return ResourceManager.GetString("mcc.player_dead", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to You are dead. Automatically respawning after 1 second.. - /// - internal static string mcc_player_dead_respawn { - get { - return ResourceManager.GetString("mcc.player_dead_respawn", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Or press Enter to exit Minecraft Console Client.. - /// - internal static string mcc_press_exit { - get { - return ResourceManager.GetString("mcc.press_exit", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Cached profile key needs to be refreshed.. - /// - internal static string mcc_profile_key_invalid { - get { - return ResourceManager.GetString("mcc.profile_key_invalid", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Cached profile key is still valid for {0}.. - /// - internal static string mcc_profile_key_valid { - get { - return ResourceManager.GetString("mcc.profile_key_valid", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to You have access to the following Realms worlds. - /// - internal static string mcc_realms_available { - get { - return ResourceManager.GetString("mcc.realms_available", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Use realms:<index> as server IP to join a Realms world. - /// - internal static string mcc_realms_join { - get { - return ResourceManager.GetString("mcc.realms_join", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Waiting 5 seconds ({0} attempts left).... - /// - internal static string mcc_reconnect { - get { - return ResourceManager.GetString("mcc.reconnect", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Resolving {0}.... - /// - internal static string mcc_resolve { - get { - return ResourceManager.GetString("mcc.resolve", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Restarting Minecraft Console Client.... - /// - internal static string mcc_restart { - get { - return ResourceManager.GetString("mcc.restart", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Waiting {0} seconds before restarting.... - /// - internal static string mcc_restart_delay { - get { - return ResourceManager.GetString("mcc.restart_delay", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Retrieving Server Info.... - /// - internal static string mcc_retrieve { - get { - return ResourceManager.GetString("mcc.retrieve", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to - ///MCC is running with default settings.. - /// - internal static string mcc_run_with_default_settings { - get { - return ResourceManager.GetString("mcc.run_with_default_settings", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Server is in offline mode.. - /// - internal static string mcc_server_offline { - get { - return ResourceManager.GetString("mcc.server_offline", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Server version : {0} (protocol v{1}). - /// - internal static string mcc_server_protocol { - get { - return ResourceManager.GetString("mcc.server_protocol", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Server version : . - /// - internal static string mcc_server_version { - get { - return ResourceManager.GetString("mcc.server_version", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Checking Session.... - /// - internal static string mcc_session { - get { - return ResourceManager.GetString("mcc.session", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Failed to check session.. - /// - internal static string mcc_session_fail { - get { - return ResourceManager.GetString("mcc.session_fail", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Cached session is invalid or expired.. - /// - internal static string mcc_session_invalid { - get { - return ResourceManager.GetString("mcc.session_invalid", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Cached session is still valid for {0}.. - /// - internal static string mcc_session_valid { - get { - return ResourceManager.GetString("mcc.session_valid", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §cSettings file MinecraftClient.ini has been generated.. - /// - internal static string mcc_settings_generated { - get { - return ResourceManager.GetString("mcc.settings_generated", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §7Command §8 {0} §7 sent.. - /// - internal static string mcc_single_cmd { - get { - return ResourceManager.GetString("mcc.single_cmd", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Unknown or not supported MC version {0}. - ///Switching to autodetection mode.. - /// - internal static string mcc_unknown_version { - get { - return ResourceManager.GetString("mcc.unknown_version", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Please use the newly generated MinecraftClient.ini. - /// - internal static string mcc_use_new_config { - get { - return ResourceManager.GetString("mcc.use_new_config", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Using Minecraft version {0} (protocol v{1}). - /// - internal static string mcc_use_version { - get { - return ResourceManager.GetString("mcc.use_version", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Version is supported. - ///Logging in.... - /// - internal static string mcc_version_supported { - get { - return ResourceManager.GetString("mcc.version_supported", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to , with Forge. - /// - internal static string mcc_with_forge { - get { - return ResourceManager.GetString("mcc.with_forge", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to §8Connected to proxy {0}:{1}. - /// - internal static string proxy_connected { - get { - return ResourceManager.GetString("proxy.connected", resourceCulture); - } - } - } -} +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace MinecraftClient { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Translations { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Translations() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("MinecraftClient.Resources.Translations.Translations", typeof(Translations).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized string similar to Weather change: It is no longer raining.. + /// + internal static string bot_alerts_end_rain { + get { + return ResourceManager.GetString("bot.alerts.end_rain", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Weather change: It is no longer a thunderstorm.. + /// + internal static string bot_alerts_end_thunderstorm { + get { + return ResourceManager.GetString("bot.alerts.end_thunderstorm", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Weather change: It is raining now.. + /// + internal static string bot_alerts_start_rain { + get { + return ResourceManager.GetString("bot.alerts.start_rain", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Weather change: It is a thunderstorm.. + /// + internal static string bot_alerts_start_thunderstorm { + get { + return ResourceManager.GetString("bot.alerts.start_thunderstorm", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Invalid walk range provided, must be a positive integer greater than 0, using default value of 5!. + /// + internal static string bot_antiafk_invalid_walk_range { + get { + return ResourceManager.GetString("bot.antiafk.invalid_walk_range", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The terrain handling is not enabled in the settings of the client, enable it if you want to use it with this bot. Using alternative (command) method.. + /// + internal static string bot_antiafk_not_using_terrain_handling { + get { + return ResourceManager.GetString("bot.antiafk.not_using_terrain_handling", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The time range begins with a bigger value, swapped them around.. + /// + internal static string bot_antiafk_swapping { + get { + return ResourceManager.GetString("bot.antiafk.swapping", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Attack cooldown value cannot be smaller than 0.. + /// + internal static string bot_autoAttack_invalidcooldown { + get { + return ResourceManager.GetString("bot.autoAttack.invalidcooldown", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Crafting aborted! Check your available materials.. + /// + internal static string bot_autoCraft_aborted { + get { + return ResourceManager.GetString("bot.autoCraft.aborted", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Auto-crafting ChatBot command alias. + /// + internal static string bot_autoCraft_alias { + get { + return ResourceManager.GetString("bot.autoCraft.alias", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Available commands: {0}. Use /autocraft help <cmd name> for more information.. + /// + internal static string bot_autoCraft_available_cmd { + get { + return ResourceManager.GetString("bot.autoCraft.available_cmd", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Inventory #{0} was closed by AutoCraft. + /// + internal static string bot_autoCraft_close_inventory { + get { + return ResourceManager.GetString("bot.autoCraft.close_inventory", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Auto-crafting ChatBot command. + /// + internal static string bot_autoCraft_cmd { + get { + return ResourceManager.GetString("bot.autoCraft.cmd", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Total {0} recipes loaded: {1}. + /// + internal static string bot_autoCraft_cmd_list { + get { + return ResourceManager.GetString("bot.autoCraft.cmd.list", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Crafting failed! Waiting for more materials. + /// + internal static string bot_autoCraft_craft_fail { + get { + return ResourceManager.GetString("bot.autoCraft.craft_fail", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Duplicate recipe name specified: {0}. + /// + internal static string bot_autoCraft_exception_duplicate { + get { + return ResourceManager.GetString("bot.autoCraft.exception.duplicate", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Missing recipe name while parsing a recipe. + /// + internal static string bot_autoCraft_exception_name_miss { + get { + return ResourceManager.GetString("bot.autoCraft.exception.name_miss", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Get the command description. Usage: /autocraft help <command name>. + /// + internal static string bot_autoCraft_help_help { + get { + return ResourceManager.GetString("bot.autoCraft.help.help", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to List available recipes.. + /// + internal static string bot_autoCraft_help_list { + get { + return ResourceManager.GetString("bot.autoCraft.help.list", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Load the config file.. + /// + internal static string bot_autoCraft_help_load { + get { + return ResourceManager.GetString("bot.autoCraft.help.load", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Reload the config file.. + /// + internal static string bot_autoCraft_help_reload { + get { + return ResourceManager.GetString("bot.autoCraft.help.reload", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Write the default example config to default location.. + /// + internal static string bot_autoCraft_help_resetcfg { + get { + return ResourceManager.GetString("bot.autoCraft.help.resetcfg", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Start the crafting. Usage: /autocraft start <recipe name>. + /// + internal static string bot_autoCraft_help_start { + get { + return ResourceManager.GetString("bot.autoCraft.help.start", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Stop the current running crafting process. + /// + internal static string bot_autoCraft_help_stop { + get { + return ResourceManager.GetString("bot.autoCraft.help.stop", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Invalid result item!. + /// + internal static string bot_autocraft_invaild_result { + get { + return ResourceManager.GetString("bot.autocraft.invaild_result", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The number of slots does not match and has been adjusted automatically.. + /// + internal static string bot_autocraft_invaild_slots { + get { + return ResourceManager.GetString("bot.autocraft.invaild_slots", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Missing material: {0}. + /// + internal static string bot_autoCraft_missing_material { + get { + return ResourceManager.GetString("bot.autoCraft.missing_material", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Please specify the recipe name you want to craft.. + /// + internal static string bot_autoCraft_no_recipe_name { + get { + return ResourceManager.GetString("bot.autoCraft.no_recipe_name", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Specified recipe name does not exist. Check your config file.. + /// + internal static string bot_autoCraft_recipe_not_exist { + get { + return ResourceManager.GetString("bot.autoCraft.recipe_not_exist", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Starting AutoCraft: {0}. + /// + internal static string bot_autoCraft_start { + get { + return ResourceManager.GetString("bot.autoCraft.start", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to AutoCraft cannot be started. Check your available materials for crafting {0}. + /// + internal static string bot_autoCraft_start_fail { + get { + return ResourceManager.GetString("bot.autoCraft.start_fail", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to AutoCraft stopped. + /// + internal static string bot_autoCraft_stop { + get { + return ResourceManager.GetString("bot.autoCraft.stop", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to table not found. + /// + internal static string bot_autoCraft_table_not_found { + get { + return ResourceManager.GetString("bot.autoCraft.table_not_found", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Action timeout! Reason: {0}. + /// + internal static string bot_autoCraft_timeout { + get { + return ResourceManager.GetString("bot.autoCraft.timeout", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Available commands: {0}. Use /autodig help <cmd name> for more information.. + /// + internal static string bot_autodig_available_cmd { + get { + return ResourceManager.GetString("bot.autodig.available_cmd", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Auto-digging ChatBot command. + /// + internal static string bot_autodig_cmd { + get { + return ResourceManager.GetString("bot.autodig.cmd", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Digging block timeout, retry.. + /// + internal static string bot_autodig_dig_timeout { + get { + return ResourceManager.GetString("bot.autodig.dig_timeout", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Get the command description. Usage: /autodig help <command name>. + /// + internal static string bot_autodig_help_help { + get { + return ResourceManager.GetString("bot.autodig.help.help", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Start the automatic digging bot.. + /// + internal static string bot_autodig_help_start { + get { + return ResourceManager.GetString("bot.autodig.help.start", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Deactivate the automatic digging bot.. + /// + internal static string bot_autodig_help_stop { + get { + return ResourceManager.GetString("bot.autodig.help.stop", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Inventory handling is not enabled. Unable to switch tools automatically.. + /// + internal static string bot_autodig_no_inv_handle { + get { + return ResourceManager.GetString("bot.autodig.no_inv_handle", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The block currently pointed to is not in the allowed list.. + /// + internal static string bot_autodig_not_allow { + get { + return ResourceManager.GetString("bot.autodig.not_allow", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Automatic digging has started.. + /// + internal static string bot_autodig_start { + get { + return ResourceManager.GetString("bot.autodig.start", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Digging will start in {0:0.0} second(s).. + /// + internal static string bot_autodig_start_delay { + get { + return ResourceManager.GetString("bot.autodig.start_delay", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Auto-digging has been stopped.. + /// + internal static string bot_autodig_stop { + get { + return ResourceManager.GetString("bot.autodig.stop", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Added item {0}. + /// + internal static string bot_autoDrop_added { + get { + return ResourceManager.GetString("bot.autoDrop.added", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to AutoDrop ChatBot command alias. + /// + internal static string bot_autoDrop_alias { + get { + return ResourceManager.GetString("bot.autoDrop.alias", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to AutoDrop ChatBot command. + /// + internal static string bot_autoDrop_cmd { + get { + return ResourceManager.GetString("bot.autoDrop.cmd", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Incorrect item name {0}. Please try again.. + /// + internal static string bot_autoDrop_incorrect_name { + get { + return ResourceManager.GetString("bot.autoDrop.incorrect_name", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Total {0} in the list: + /// {1}. + /// + internal static string bot_autoDrop_list { + get { + return ResourceManager.GetString("bot.autoDrop.list", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Cannot find inventory {0}!. + /// + internal static string bot_autoDrop_no_inventory { + get { + return ResourceManager.GetString("bot.autoDrop.no_inventory", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to No item in the list. + /// + internal static string bot_autoDrop_no_item { + get { + return ResourceManager.GetString("bot.autoDrop.no_item", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Cannot read drop mode from config. Using include mode.. + /// + internal static string bot_autoDrop_no_mode { + get { + return ResourceManager.GetString("bot.autoDrop.no_mode", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Item not in the list. + /// + internal static string bot_autoDrop_not_in_list { + get { + return ResourceManager.GetString("bot.autoDrop.not_in_list", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to AutoDrop disabled. + /// + internal static string bot_autoDrop_off { + get { + return ResourceManager.GetString("bot.autoDrop.off", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to AutoDrop enabled. + /// + internal static string bot_autoDrop_on { + get { + return ResourceManager.GetString("bot.autoDrop.on", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Removed item {0}. + /// + internal static string bot_autoDrop_removed { + get { + return ResourceManager.GetString("bot.autoDrop.removed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Switched to {0} mode.. + /// + internal static string bot_autoDrop_switched { + get { + return ResourceManager.GetString("bot.autoDrop.switched", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Unknwon mode. Available modes: Include, Exclude, Everything. + /// + internal static string bot_autoDrop_unknown_mode { + get { + return ResourceManager.GetString("bot.autoDrop.unknown_mode", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Available commands: {0}. Use /fish help <cmd name> for more information.. + /// + internal static string bot_autoFish_available_cmd { + get { + return ResourceManager.GetString("bot.autoFish.available_cmd", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Casting timeout and will soon retry. (Timeout increased to {0:0.0} sec).. + /// + internal static string bot_autoFish_cast_timeout { + get { + return ResourceManager.GetString("bot.autoFish.cast_timeout", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Retract the fishing rod. (Count: {0}). + /// + internal static string bot_autoFish_caught { + get { + return ResourceManager.GetString("bot.autoFish.caught", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Retract the fishing rod at ({0:0.0},{1:0.0},{2:0.0})! (Count: {3}). + /// + internal static string bot_autoFish_caught_at { + get { + return ResourceManager.GetString("bot.autoFish.caught_at", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Auto-Fishing ChatBot command. + /// + internal static string bot_autoFish_cmd { + get { + return ResourceManager.GetString("bot.autoFish.cmd", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Fish floating despawn, will re-cast.. + /// + internal static string bot_autoFish_despawn { + get { + return ResourceManager.GetString("bot.autoFish.despawn", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Fishing timeout, will soon re-cast.. + /// + internal static string bot_autoFish_fishing_timeout { + get { + return ResourceManager.GetString("bot.autoFish.fishing_timeout", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Fishing got {0}. + /// + internal static string bot_autoFish_got { + get { + return ResourceManager.GetString("bot.autoFish.got", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Get the command description. Usage: /fish help <command name>. + /// + internal static string bot_autoFish_help_help { + get { + return ResourceManager.GetString("bot.autoFish.help.help", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Start auto-fishing.. + /// + internal static string bot_autoFish_help_start { + get { + return ResourceManager.GetString("bot.autoFish.help.start", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to List all obtained items. Or use "/fish status clear" to clear the list.. + /// + internal static string bot_autoFish_help_status { + get { + return ResourceManager.GetString("bot.autoFish.help.status", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Stop auto-fishing.. + /// + internal static string bot_autoFish_help_stop { + get { + return ResourceManager.GetString("bot.autoFish.help.stop", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Inventory handling is not enabled. Cannot check rod durability and switch rods.. + /// + internal static string bot_autoFish_no_inv_handle { + get { + return ResourceManager.GetString("bot.autoFish.no_inv_handle", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Current fishing rod is not available. Maybe broken or low durability?. + /// + internal static string bot_autoFish_no_rod { + get { + return ResourceManager.GetString("bot.autoFish.no_rod", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Start auto-fishing.. + /// + internal static string bot_autoFish_start { + get { + return ResourceManager.GetString("bot.autoFish.start", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Fishing will start in {0:0.0} second(s).. + /// + internal static string bot_autoFish_start_at { + get { + return ResourceManager.GetString("bot.autoFish.start_at", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The record of the obtained items has been cleared.. + /// + internal static string bot_autoFish_status_clear { + get { + return ResourceManager.GetString("bot.autoFish.status_clear", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to All items obtained from fishing (not entirely accurate):. + /// + internal static string bot_autoFish_status_info { + get { + return ResourceManager.GetString("bot.autoFish.status_info", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Stop auto-fishing.. + /// + internal static string bot_autoFish_stop { + get { + return ResourceManager.GetString("bot.autoFish.stop", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Switch to the rod in slot {0}, durability {1}/64.. + /// + internal static string bot_autoFish_switch { + get { + return ResourceManager.GetString("bot.autoFish.switch", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Casting successfully.. + /// + internal static string bot_autoFish_throw { + get { + return ResourceManager.GetString("bot.autoFish.throw", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Update yaw = {0:0.00}, pitch = {1:0.00}.. + /// + internal static string bot_autoFish_update_lookat { + get { + return ResourceManager.GetString("bot.autoFish.update_lookat", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Current directory was: {0}. + /// + internal static string bot_autoRelog_curr_dir { + get { + return ResourceManager.GetString("bot.autoRelog.curr_dir", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Got disconnected with message: {0}. + /// + internal static string bot_autoRelog_disconnect_msg { + get { + return ResourceManager.GetString("bot.autoRelog.disconnect_msg", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Disconnection initiated by User or MCC bot. Ignoring.. + /// + internal static string bot_autoRelog_ignore_user_logout { + get { + return ResourceManager.GetString("bot.autoRelog.ignore_user_logout", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Launching with {0} reconnection attempts. + /// + internal static string bot_autoRelog_launch { + get { + return ResourceManager.GetString("bot.autoRelog.launch", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Initializing without a kick message file. + /// + internal static string bot_autoRelog_no_kick_msg { + get { + return ResourceManager.GetString("bot.autoRelog.no_kick_msg", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Message contains '{0}'. Reconnecting.. + /// + internal static string bot_autoRelog_reconnect { + get { + return ResourceManager.GetString("bot.autoRelog.reconnect", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Ignoring kick message, reconnecting anyway.. + /// + internal static string bot_autoRelog_reconnect_always { + get { + return ResourceManager.GetString("bot.autoRelog.reconnect_always", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Message not containing any defined keywords. Ignoring.. + /// + internal static string bot_autoRelog_reconnect_ignore { + get { + return ResourceManager.GetString("bot.autoRelog.reconnect_ignore", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Waiting {0:0.000} seconds before reconnecting.... + /// + internal static string bot_autoRelog_wait { + get { + return ResourceManager.GetString("bot.autoRelog.wait", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to File not found: '{0}'. + /// + internal static string bot_autoRespond_file_not_found { + get { + return ResourceManager.GetString("bot.autoRespond.file_not_found", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Loaded match: + ///{0}. + /// + internal static string bot_autoRespond_loaded_match { + get { + return ResourceManager.GetString("bot.autoRespond.loaded_match", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Loading matches from '{0}'. + /// + internal static string bot_autoRespond_loading { + get { + return ResourceManager.GetString("bot.autoRespond.loading", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to match: {0} + ///regex: {1} + ///action: {2} + ///actionPrivate: {3} + ///actionOther: {4} + ///ownersOnly: {5} + ///cooldown: {6}. + /// + internal static string bot_autoRespond_match { + get { + return ResourceManager.GetString("bot.autoRespond.match", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Running action: {0}. + /// + internal static string bot_autoRespond_match_run { + get { + return ResourceManager.GetString("bot.autoRespond.match_run", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to No action for match: + ///{0}. + /// + internal static string bot_autoRespond_no_action { + get { + return ResourceManager.GetString("bot.autoRespond.no_action", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to This match will never trigger: + ///{0}. + /// + internal static string bot_autoRespond_no_trigger { + get { + return ResourceManager.GetString("bot.autoRespond.no_trigger", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Path '{0}' contains invalid characters.. + /// + internal static string bot_chatLog_invalid_file { + get { + return ResourceManager.GetString("bot.chatLog.invalid_file", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Sending message to Discord was canceled due an error occuring. For more info enable Debug.. + /// + internal static string bot_DiscordBridge_canceled_sending { + get { + return ResourceManager.GetString("bot.DiscordBridge.canceled_sending", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The provided channel with an id '{0}' has not been found!. + /// + internal static string bot_DiscordBridge_channel_not_found { + get { + return ResourceManager.GetString("bot.DiscordBridge.channel_not_found", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The command was executed with the result. + /// + internal static string bot_DiscordBridge_command_executed { + get { + return ResourceManager.GetString("bot.DiscordBridge.command_executed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Succesfully connected with MCC!. + /// + internal static string bot_DiscordBridge_connected { + get { + return ResourceManager.GetString("bot.DiscordBridge.connected", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to This command allows you to specify in the which direction the messages will be relayed via the Discord Bridge chat bot.. + /// + internal static string bot_DiscordBridge_desc { + get { + return ResourceManager.GetString("bot.DiscordBridge.desc", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Direction of the Discord Brdige has been switched to '{0}'!. + /// + internal static string bot_DiscordBridge_direction { + get { + return ResourceManager.GetString("bot.DiscordBridge.direction", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Both. + /// + internal static string bot_DiscordBridge_direction_both { + get { + return ResourceManager.GetString("bot.DiscordBridge.direction.both", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Discord. + /// + internal static string bot_DiscordBridge_direction_discord { + get { + return ResourceManager.GetString("bot.DiscordBridge.direction.discord", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Minecraft. + /// + internal static string bot_DiscordBridge_direction_minecraft { + get { + return ResourceManager.GetString("bot.DiscordBridge.direction.minecraft", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Successfully disconnected with MCC!. + /// + internal static string bot_DiscordBridge_disconnected { + get { + return ResourceManager.GetString("bot.DiscordBridge.disconnected", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The provided guild/server with an id '{0}' has not been found!. + /// + internal static string bot_DiscordBridge_guild_not_found { + get { + return ResourceManager.GetString("bot.DiscordBridge.guild_not_found", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Invalid direction provided! Available directions: both|b, minecraft|mc, discord|dsc. Example: "dscbridge direction mc". + /// + internal static string bot_DiscordBridge_invalid_direction { + get { + return ResourceManager.GetString("bot.DiscordBridge.invalid_direction", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Please provide a valid token!. + /// + internal static string bot_DiscordBridge_missing_token { + get { + return ResourceManager.GetString("bot.DiscordBridge.missing_token", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to An unknown error has occured!. + /// + internal static string bot_DiscordBridge_unknown_error { + get { + return ResourceManager.GetString("bot.DiscordBridge.unknown_error", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The bot is already farming!. + /// + internal static string bot_farmer_already_running { + get { + return ResourceManager.GetString("bot.farmer.already_running", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The bot has already stopped farming!. + /// + internal static string bot_farmer_already_stopped { + get { + return ResourceManager.GetString("bot.farmer.already_stopped", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Crop type. + /// + internal static string bot_farmer_crop_type { + get { + return ResourceManager.GetString("bot.farmer.crop_type", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Farming bot. + /// + internal static string bot_farmer_desc { + get { + return ResourceManager.GetString("bot.farmer.desc", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Invalid crop type provided (Types which you can use: Beetroot, Carrot, Melon, Netherwart, Pumpkin, Potato, Wheat)!. + /// + internal static string bot_farmer_invalid_crop_type { + get { + return ResourceManager.GetString("bot.farmer.invalid_crop_type", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Invalid radius provided, you must provide a valid integer number greater than 0!. + /// + internal static string bot_farmer_invalid_radius { + get { + return ResourceManager.GetString("bot.farmer.invalid_radius", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The Farmer bot needs Inventory Handling in order to work, please enable it!. + /// + internal static string bot_farmer_needs_inventory { + get { + return ResourceManager.GetString("bot.farmer.needs_inventory", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The Farmer bot needs Terrain Handling in order to work, please enable it!. + /// + internal static string bot_farmer_needs_terrain { + get { + return ResourceManager.GetString("bot.farmer.needs_terrain", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Not implemented bellow 1.13!. + /// + internal static string bot_farmer_not_implemented { + get { + return ResourceManager.GetString("bot.farmer.not_implemented", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Radius. + /// + internal static string bot_farmer_radius { + get { + return ResourceManager.GetString("bot.farmer.radius", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Started farming!. + /// + internal static string bot_farmer_started { + get { + return ResourceManager.GetString("bot.farmer.started", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Stopped farming!. + /// + internal static string bot_farmer_stopped { + get { + return ResourceManager.GetString("bot.farmer.stopped", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Stoping farming, this might take a second.... + /// + internal static string bot_farmer_stopping { + get { + return ResourceManager.GetString("bot.farmer.stopping", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to You have enabled teleporting, this might get your bot account kicked and in the worst case scenario banned! Use with caution!. + /// + internal static string bot_farmer_warining_allow_teleport { + get { + return ResourceManager.GetString("bot.farmer.warining_allow_teleport", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to You have enabled un-safe movement, the bot might get hurt!. + /// + internal static string bot_farmer_warining_force_unsafe { + get { + return ResourceManager.GetString("bot.farmer.warining_force_unsafe", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Invalid parameter "{0}" provided (Use format: "key:value")!. + /// + internal static string bot_farmer_warining_invalid_parameter { + get { + return ResourceManager.GetString("bot.farmer.warining_invalid_parameter", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to mailer command. + /// + internal static string bot_mailer_cmd { + get { + return ResourceManager.GetString("bot.mailer.cmd", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to --- Ignore list --- + ///{0}. + /// + internal static string bot_mailer_cmd_getignored { + get { + return ResourceManager.GetString("bot.mailer.cmd.getignored", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to --- Mails in database --- + ///{0}. + /// + internal static string bot_mailer_cmd_getmails { + get { + return ResourceManager.GetString("bot.mailer.cmd.getmails", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to See usage. + /// + internal static string bot_mailer_cmd_help { + get { + return ResourceManager.GetString("bot.mailer.cmd.help", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Added {0} to the ignore list!. + /// + internal static string bot_mailer_cmd_ignore_added { + get { + return ResourceManager.GetString("bot.mailer.cmd.ignore.added", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Missing or invalid name. Usage: {0} <username>. + /// + internal static string bot_mailer_cmd_ignore_invalid { + get { + return ResourceManager.GetString("bot.mailer.cmd.ignore.invalid", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Removed {0} from the ignore list!. + /// + internal static string bot_mailer_cmd_ignore_removed { + get { + return ResourceManager.GetString("bot.mailer.cmd.ignore.removed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Creating new database file: {0}. + /// + internal static string bot_mailer_create_db { + get { + return ResourceManager.GetString("bot.mailer.create.db", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Creating new ignore list: {0}. + /// + internal static string bot_mailer_create_ignore { + get { + return ResourceManager.GetString("bot.mailer.create.ignore", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Delivered: {0}. + /// + internal static string bot_mailer_delivered { + get { + return ResourceManager.GetString("bot.mailer.delivered", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Initializing Mailer with settings:. + /// + internal static string bot_mailer_init { + get { + return ResourceManager.GetString("bot.mailer.init", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to  - Database File: {0}. + /// + internal static string bot_mailer_init_db { + get { + return ResourceManager.GetString("bot.mailer.init.db", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to  - Max Database Size: {0}. + /// + internal static string bot_mailer_init_db_size { + get { + return ResourceManager.GetString("bot.mailer.init.db_size", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Cannot enable Mailer: Max Database Size must be greater than zero. Please review the settings.. + /// + internal static string bot_mailer_init_fail_db_size { + get { + return ResourceManager.GetString("bot.mailer.init_fail.db_size", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Cannot enable Mailer: Mail Retention must be greater than zero. Please review the settings.. + /// + internal static string bot_mailer_init_fail_mail_retention { + get { + return ResourceManager.GetString("bot.mailer.init_fail.mail_retention", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Cannot enable Mailer: Max Mails per Player must be greater than zero. Please review the settings.. + /// + internal static string bot_mailer_init_fail_max_mails { + get { + return ResourceManager.GetString("bot.mailer.init_fail.max_mails", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to  - Ignore List: {0}. + /// + internal static string bot_mailer_init_ignore { + get { + return ResourceManager.GetString("bot.mailer.init.ignore", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to  - Mail Retention: {0}. + /// + internal static string bot_mailer_init_mail_retention { + get { + return ResourceManager.GetString("bot.mailer.init.mail_retention", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to  - Max Mails per Player: {0}. + /// + internal static string bot_mailer_init_max_mails { + get { + return ResourceManager.GetString("bot.mailer.init.max_mails", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to  - Public Interactions: {0}. + /// + internal static string bot_mailer_init_public { + get { + return ResourceManager.GetString("bot.mailer.init.public", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Loading database file: {0}. + /// + internal static string bot_mailer_load_db { + get { + return ResourceManager.GetString("bot.mailer.load.db", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Loading ignore list: . + /// + internal static string bot_mailer_load_ignore { + get { + return ResourceManager.GetString("bot.mailer.load.ignore", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Looking for mails to send @ {0}. + /// + internal static string bot_mailer_process_mails { + get { + return ResourceManager.GetString("bot.mailer.process_mails", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Saving message: {0}. + /// + internal static string bot_mailer_saving { + get { + return ResourceManager.GetString("bot.mailer.saving", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to {0} is ignored!. + /// + internal static string bot_mailer_user_ignored { + get { + return ResourceManager.GetString("bot.mailer.user_ignored", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Render maps (item maps). + /// + internal static string bot_map_cmd_desc { + get { + return ResourceManager.GetString("bot.map.cmd.desc", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Invalid ID provided, must be a number!. + /// + internal static string bot_map_cmd_invalid_id { + get { + return ResourceManager.GetString("bot.map.cmd.invalid_id", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to A map with id '{0}' does not exists!. + /// + internal static string bot_map_cmd_not_found { + get { + return ResourceManager.GetString("bot.map.cmd.not_found", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Failed to render the map with id: '{0}'. + /// + internal static string bot_map_failed_to_render { + get { + return ResourceManager.GetString("bot.map.failed_to_render", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to - Map id: {0} (Last Updated: {1}). + /// + internal static string bot_map_list_item { + get { + return ResourceManager.GetString("bot.map.list_item", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to No maps received!. + /// + internal static string bot_map_no_maps { + get { + return ResourceManager.GetString("bot.map.no_maps", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The list of received maps from the server:. + /// + internal static string bot_map_received { + get { + return ResourceManager.GetString("bot.map.received", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Received a new Map, with Id: {0}. + /// + internal static string bot_map_received_map { + get { + return ResourceManager.GetString("bot.map.received_map", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Succesfully rendered a map with id '{0}' to: '{1}'. + /// + internal static string bot_map_rendered { + get { + return ResourceManager.GetString("bot.map.rendered", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Resized the rendered image of the map with id: '{0}' to {1}x{1}.. + /// + internal static string bot_map_resized_rendered_image { + get { + return ResourceManager.GetString("bot.map.resized_rendered_image", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The size of the map is reduced from ({0}x{1}) to ({2}x{3}) due to the size limitation of the current terminal.. + /// + internal static string bot_map_scale { + get { + return ResourceManager.GetString("bot.map.scale", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Sent a rendered image of a map with an id '{0}' to the Discord via Discord Brdige chat bot!. + /// + internal static string bot_map_sent_to_discord { + get { + return ResourceManager.GetString("bot.map.sent_to_discord", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Sent a rendered image of a map with an id '{0}' to the Telegram via Telegram Bridge chat bot!. + /// + internal static string bot_map_sent_to_telegram { + get { + return ResourceManager.GetString("bot.map.sent_to_telegram", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to replay command. + /// + internal static string bot_replayCapture_cmd { + get { + return ResourceManager.GetString("bot.replayCapture.cmd", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Replay file created.. + /// + internal static string bot_replayCapture_created { + get { + return ResourceManager.GetString("bot.replayCapture.created", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Record was stopped. Restart the program to start another record.. + /// + internal static string bot_replayCapture_restart { + get { + return ResourceManager.GetString("bot.replayCapture.restart", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Record stopped.. + /// + internal static string bot_replayCapture_stopped { + get { + return ResourceManager.GetString("bot.replayCapture.stopped", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Script '{0}' failed to run ({1}).. + /// + internal static string bot_script_fail { + get { + return ResourceManager.GetString("bot.script.fail", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to File not found: '{0}'. + /// + internal static string bot_script_file_not_found { + get { + return ResourceManager.GetString("bot.script.file_not_found", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to [MCC] [{0}] Cannot find script file: {1}. + /// + internal static string bot_script_not_found { + get { + return ResourceManager.GetString("bot.script.not_found", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Script '{0}' loaded.. + /// + internal static string bot_script_pm_loaded { + get { + return ResourceManager.GetString("bot.script.pm.loaded", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Loaded task: + ///{0}. + /// + internal static string bot_scriptScheduler_loaded_task { + get { + return ResourceManager.GetString("bot.scriptScheduler.loaded_task", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to No action for task: + ///{0}. + /// + internal static string bot_scriptScheduler_no_action { + get { + return ResourceManager.GetString("bot.scriptScheduler.no_action", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to This task will never trigger: + ///{0}. + /// + internal static string bot_scriptScheduler_no_trigger { + get { + return ResourceManager.GetString("bot.scriptScheduler.no_trigger", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Interval / Running action: {0}. + /// + internal static string bot_scriptScheduler_running_inverval { + get { + return ResourceManager.GetString("bot.scriptScheduler.running_inverval", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Login / Running action: {0}. + /// + internal static string bot_scriptScheduler_running_login { + get { + return ResourceManager.GetString("bot.scriptScheduler.running_login", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Time / Running action: {0}. + /// + internal static string bot_scriptScheduler_running_time { + get { + return ResourceManager.GetString("bot.scriptScheduler.running_time", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to triggeronfirstlogin: {0} + /// triggeronlogin: {1} + /// triggerontime: {2} + /// triggeroninterval: {3} + /// timevalue: {4} + /// timeinterval: {5} + /// action: {6}. + /// + internal static string bot_scriptScheduler_task { + get { + return ResourceManager.GetString("bot.scriptScheduler.task", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Sending message to Telegram was canceled due an error occuring. For more info enable Debug.. + /// + internal static string bot_TelegramBridge_canceled_sending { + get { + return ResourceManager.GetString("bot.TelegramBridge.canceled_sending", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The command was executed with the result. + /// + internal static string bot_TelegramBridge_command_executed { + get { + return ResourceManager.GetString("bot.TelegramBridge.command_executed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Succesfully connected with the MCC!. + /// + internal static string bot_TelegramBridge_connected { + get { + return ResourceManager.GetString("bot.TelegramBridge.connected", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to This command allows you to specify in the which direction the messages will be relayed via the Telegram Bridge chat bot.. + /// + internal static string bot_TelegramBridge_desc { + get { + return ResourceManager.GetString("bot.TelegramBridge.desc", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Direction of the Telegram Brdige has been switched to '{0}'!. + /// + internal static string bot_TelegramBridge_direction { + get { + return ResourceManager.GetString("bot.TelegramBridge.direction", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Both. + /// + internal static string bot_TelegramBridge_direction_both { + get { + return ResourceManager.GetString("bot.TelegramBridge.direction.both", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Minecraft. + /// + internal static string bot_TelegramBridge_direction_minecraft { + get { + return ResourceManager.GetString("bot.TelegramBridge.direction.minecraft", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Telegram. + /// + internal static string bot_TelegramBridge_direction_Telegram { + get { + return ResourceManager.GetString("bot.TelegramBridge.direction.Telegram", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Disconnected from from the MCC!. + /// + internal static string bot_TelegramBridge_disconnected { + get { + return ResourceManager.GetString("bot.TelegramBridge.disconnected", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Invalid direction provided! Available directions: both|b, minecraft|mc, telegram|tg|t. Example: "tgbridge direction mc". + /// + internal static string bot_TelegramBridge_invalid_direction { + get { + return ResourceManager.GetString("bot.TelegramBridge.invalid_direction", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to [WARNING] You have not provided any Channel IDs, for "Authorized_Chat_Ids" field, anyone who finds your bot will be able to send messages and commands to it!. + /// + internal static string bot_TelegramBridge_missing_authorized_channels { + get { + return ResourceManager.GetString("bot.TelegramBridge.missing_authorized_channels", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to [WARNING] You have not provided a Channel ID, you will ONLY get replies to commands sent from Telegram!. + /// + internal static string bot_TelegramBridge_missing_channel_id { + get { + return ResourceManager.GetString("bot.TelegramBridge.missing_channel_id", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Please provide a valid bot token!. + /// + internal static string bot_TelegramBridge_missing_token { + get { + return ResourceManager.GetString("bot.TelegramBridge.missing_token", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to **🛑 Unauthorized access! 🛑 + /// + ///Add the ID of this chat to "Authorized_Chat_Ids" field in the configuration file to gain access!**. + /// + internal static string bot_TelegramBridge_unauthorized { + get { + return ResourceManager.GetString("bot.TelegramBridge.unauthorized", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to An unknown error has occured!. + /// + internal static string bot_TelegramBridge_unknown_error { + get { + return ResourceManager.GetString("bot.TelegramBridge.unknown_error", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Bot: {0} said : {1}. + /// + internal static string bot_testBot_said { + get { + return ResourceManager.GetString("bot.testBot.said", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Bot: {0} told me : {1}. + /// + internal static string bot_testBot_told { + get { + return ResourceManager.GetString("bot.testBot.told", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Alerts. + /// + internal static string botname_Alerts { + get { + return ResourceManager.GetString("botname.Alerts", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to AntiAFK. + /// + internal static string botname_AntiAFK { + get { + return ResourceManager.GetString("botname.AntiAFK", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to AutoAttack. + /// + internal static string botname_AutoAttack { + get { + return ResourceManager.GetString("botname.AutoAttack", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to AutoCraft. + /// + internal static string botname_AutoCraft { + get { + return ResourceManager.GetString("botname.AutoCraft", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to AutoDig. + /// + internal static string botname_AutoDig { + get { + return ResourceManager.GetString("botname.AutoDig", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to AutoDrop. + /// + internal static string botname_AutoDrop { + get { + return ResourceManager.GetString("botname.AutoDrop", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to AutoEat. + /// + internal static string botname_AutoEat { + get { + return ResourceManager.GetString("botname.AutoEat", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to AutoFishing. + /// + internal static string botname_AutoFishing { + get { + return ResourceManager.GetString("botname.AutoFishing", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to AutoRelog. + /// + internal static string botname_AutoRelog { + get { + return ResourceManager.GetString("botname.AutoRelog", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to AutoRespond. + /// + internal static string botname_AutoRespond { + get { + return ResourceManager.GetString("botname.AutoRespond", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to ChatLog. + /// + internal static string botname_ChatLog { + get { + return ResourceManager.GetString("botname.ChatLog", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to DiscordBridge. + /// + internal static string botname_DiscordBridge { + get { + return ResourceManager.GetString("botname.DiscordBridge", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Farmer. + /// + internal static string botname_Farmer { + get { + return ResourceManager.GetString("botname.Farmer", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to FollowPlayer. + /// + internal static string botname_FollowPlayer { + get { + return ResourceManager.GetString("botname.FollowPlayer", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to HangmanGame. + /// + internal static string botname_HangmanGame { + get { + return ResourceManager.GetString("botname.HangmanGame", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Mailer. + /// + internal static string botname_Mailer { + get { + return ResourceManager.GetString("botname.Mailer", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Map. + /// + internal static string botname_Map { + get { + return ResourceManager.GetString("botname.Map", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to PlayerListLogger. + /// + internal static string botname_PlayerListLogger { + get { + return ResourceManager.GetString("botname.PlayerListLogger", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to RemoteControl. + /// + internal static string botname_RemoteControl { + get { + return ResourceManager.GetString("botname.RemoteControl", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to ReplayCapture. + /// + internal static string botname_ReplayCapture { + get { + return ResourceManager.GetString("botname.ReplayCapture", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Script. + /// + internal static string botname_Script { + get { + return ResourceManager.GetString("botname.Script", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to ScriptScheduler. + /// + internal static string botname_ScriptScheduler { + get { + return ResourceManager.GetString("botname.ScriptScheduler", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to TelegramBridge. + /// + internal static string botname_TelegramBridge { + get { + return ResourceManager.GetString("botname.TelegramBridge", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to TestBot. + /// + internal static string botname_TestBot { + get { + return ResourceManager.GetString("botname.TestBot", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Converting session cache from disk: {0}. + /// + internal static string cache_converting { + get { + return ResourceManager.GetString("cache.converting", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Ignoring invalid session token line: {0}. + /// + internal static string cache_ignore_line { + get { + return ResourceManager.GetString("cache.ignore_line", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Ignoring invalid profile key token line: {0}. + /// + internal static string cache_ignore_line_keys { + get { + return ResourceManager.GetString("cache.ignore_line_keys", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Ignoring session token string '{0}': {1}. + /// + internal static string cache_ignore_string { + get { + return ResourceManager.GetString("cache.ignore_string", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Ignoring profile key token string '{0}': {1}. + /// + internal static string cache_ignore_string_keys { + get { + return ResourceManager.GetString("cache.ignore_string_keys", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Loaded session: {0}:{1}. + /// + internal static string cache_loaded { + get { + return ResourceManager.GetString("cache.loaded", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Loaded profile key, it will be refresh at {0}. + /// + internal static string cache_loaded_keys { + get { + return ResourceManager.GetString("cache.loaded_keys", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Loading Minecraft profiles: {0}. + /// + internal static string cache_loading { + get { + return ResourceManager.GetString("cache.loading", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Loading profile key cache from disk: {0}. + /// + internal static string cache_loading_keys { + get { + return ResourceManager.GetString("cache.loading_keys", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Loading session cache from disk: {0}. + /// + internal static string cache_loading_session { + get { + return ResourceManager.GetString("cache.loading_session", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Got malformed data while reading serialized session cache from disk: {0}. + /// + internal static string cache_malformed { + get { + return ResourceManager.GetString("cache.malformed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Failed to read serialized session cache from disk: {0}. + /// + internal static string cache_read_fail { + get { + return ResourceManager.GetString("cache.read_fail", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Failed to read session cache from disk: {0}. + /// + internal static string cache_read_fail_plain { + get { + return ResourceManager.GetString("cache.read_fail_plain", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Failed to read profile key cache from disk: {0}. + /// + internal static string cache_read_fail_plain_keys { + get { + return ResourceManager.GetString("cache.read_fail_plain_keys", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Failed to write session cache to disk: {0}. + /// + internal static string cache_save_fail { + get { + return ResourceManager.GetString("cache.save_fail", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Failed to write profile key cache to disk: {0}. + /// + internal static string cache_save_fail_keys { + get { + return ResourceManager.GetString("cache.save_fail_keys", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Saving session cache to disk. + /// + internal static string cache_saving { + get { + return ResourceManager.GetString("cache.saving", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Saving profile key cache to disk. + /// + internal static string cache_saving_keys { + get { + return ResourceManager.GetString("cache.saving_keys", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Done. File saved as '{0}'. + /// + internal static string chat_done { + get { + return ResourceManager.GetString("chat.done", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Downloading '{0}.lang' from Mojang servers.... + /// + internal static string chat_download { + get { + return ResourceManager.GetString("chat.download", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Failed to download the file.. + /// + internal static string chat_fail { + get { + return ResourceManager.GetString("chat.fail", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Defaulting to en_GB.lang from your Minecraft directory.. + /// + internal static string chat_from_dir { + get { + return ResourceManager.GetString("chat.from_dir", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Translations file loaded.. + /// + internal static string chat_loaded { + get { + return ResourceManager.GetString("chat.loaded", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Player {0}'s message chain is broken!. + /// + internal static string chat_message_chain_broken { + get { + return ResourceManager.GetString("chat.message_chain_broken", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Translations file not found: '{0}' + ///Some messages won't be properly printed without this file.. + /// + internal static string chat_not_found { + get { + return ResourceManager.GetString("chat.not_found", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Performing request to {0}. + /// + internal static string chat_request { + get { + return ResourceManager.GetString("chat.request", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to [{0}] Disconnecting and Reconnecting to the Server. + /// + internal static string chatbot_reconnect { + get { + return ResourceManager.GetString("chatbot.reconnect", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Swing your arm.. + /// + internal static string cmd_animation_desc { + get { + return ResourceManager.GetString("cmd.animation.desc", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Could not find a bed!. + /// + internal static string cmd_bed_bed_not_found { + get { + return ResourceManager.GetString("cmd.bed.bed_not_found", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Can not reach the bed safely!. + /// + internal static string cmd_bed_cant_reach_safely { + get { + return ResourceManager.GetString("cmd.bed.cant_reach_safely", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Used to sleep in or leave a bed.. + /// + internal static string cmd_bed_desc { + get { + return ResourceManager.GetString("cmd.bed.desc", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Failed to reach the bed position (X: {0:0.0}, Y: {1:0.0}, Z: {2:0.0}) in time (30 seconds). Giving up!. + /// + internal static string cmd_bed_failed_to_reach_in_time { + get { + return ResourceManager.GetString("cmd.bed.failed_to_reach_in_time", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Found a bet at (X: {0:0.0}, Y: {1:0.0}, Z: {2:0.0}).. + /// + internal static string cmd_bed_found_a_bed_at { + get { + return ResourceManager.GetString("cmd.bed.found_a_bed_at", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Succesfully laid in bed!. + /// + internal static string cmd_bed_in { + get { + return ResourceManager.GetString("cmd.bed.in", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Sending a command to leave a bed to the server.. + /// + internal static string cmd_bed_leaving { + get { + return ResourceManager.GetString("cmd.bed.leaving", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Moving to (X: {0:0.0}, Y: {1:0.0}, Z: {2:0.0}) where the bed is located.. + /// + internal static string cmd_bed_moving { + get { + return ResourceManager.GetString("cmd.bed.moving", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The block on (X: {0:0.0}, Y: {1:0.0}, Z: {2:0.0}) is not a bed!. + /// + internal static string cmd_bed_not_a_bed { + get { + return ResourceManager.GetString("cmd.bed.not_a_bed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Could not lay in bed. Are you trying to sleep in a bed? (PS: You must use the head block coordinates of the bed). + /// + internal static string cmd_bed_not_in { + get { + return ResourceManager.GetString("cmd.bed.not_in", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Searching for a bed in radius of {0:0.00}.... + /// + internal static string cmd_bed_searching { + get { + return ResourceManager.GetString("cmd.bed.searching", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Trying to sleep in a bed on location (X: {0:0.0}, Y: {1:0.0}, Z: {2:0.0}). Result: {3}. + /// + internal static string cmd_bed_trying_to_use { + get { + return ResourceManager.GetString("cmd.bed.trying_to_use", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Blocks around. + /// + internal static string cmd_blockinfo_BlocksAround { + get { + return ResourceManager.GetString("cmd.blockinfo.BlocksAround", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Block type. + /// + internal static string cmd_blockinfo_BlockType { + get { + return ResourceManager.GetString("cmd.blockinfo.BlockType", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Reports the type of the block on the provided coordinates. (Use -s to report blocks around the target block).. + /// + internal static string cmd_blockinfo_desc { + get { + return ResourceManager.GetString("cmd.blockinfo.desc", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Negative. + /// + internal static string cmd_blockinfo_Negative { + get { + return ResourceManager.GetString("cmd.blockinfo.Negative", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Positive. + /// + internal static string cmd_blockinfo_Positive { + get { + return ResourceManager.GetString("cmd.blockinfo.Positive", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to List bots, unload a bot or all bots.. + /// + internal static string cmd_bots_desc { + get { + return ResourceManager.GetString("cmd.bots.desc", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Loaded bots. + /// + internal static string cmd_bots_list { + get { + return ResourceManager.GetString("cmd.bots.list", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to No bots loaded!. + /// + internal static string cmd_bots_noloaded { + get { + return ResourceManager.GetString("cmd.bots.noloaded", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Bot {0} is not loaded, check if you have made a typo!. + /// + internal static string cmd_bots_notfound { + get { + return ResourceManager.GetString("cmd.bots.notfound", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Successfully unloaded bot: {0}. + /// + internal static string cmd_bots_unloaded { + get { + return ResourceManager.GetString("cmd.bots.unloaded", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Successfully unloaded all bots!. + /// + internal static string cmd_bots_unloaded_all { + get { + return ResourceManager.GetString("cmd.bots.unloaded_all", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Changed to slot {0}. + /// + internal static string cmd_changeSlot_changed { + get { + return ResourceManager.GetString("cmd.changeSlot.changed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Change slot in hotbar. + /// + internal static string cmd_changeSlot_desc { + get { + return ResourceManager.GetString("cmd.changeSlot.desc", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Could not change slot. + /// + internal static string cmd_changeSlot_fail { + get { + return ResourceManager.GetString("cmd.changeSlot.fail", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Could not change slot: Not a Number. + /// + internal static string cmd_changeSlot_nan { + get { + return ResourceManager.GetString("cmd.changeSlot.nan", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to chunk: ({0}, {1}).. + /// + internal static string cmd_chunk_chunk_pos { + get { + return ResourceManager.GetString("cmd.chunk.chunk_pos", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Current location:{0}, chunk: ({1}, {2}).. + /// + internal static string cmd_chunk_current { + get { + return ResourceManager.GetString("cmd.chunk.current", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Displays the chunk loading status. + ///Change EnableEmoji=false in the settings if the display is confusing.. + /// + internal static string cmd_chunk_desc { + get { + return ResourceManager.GetString("cmd.chunk.desc", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to This command is used for debugging, make sure you know what you are doing.. + /// + internal static string cmd_chunk_for_debug { + get { + return ResourceManager.GetString("cmd.chunk.for_debug", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Player:{0}, MarkedChunk:{1}, NotReceived:{2}, Loading:{3}, Loaded:{4}. + /// + internal static string cmd_chunk_icon { + get { + return ResourceManager.GetString("cmd.chunk.icon", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Marked location: . + /// + internal static string cmd_chunk_marked { + get { + return ResourceManager.GetString("cmd.chunk.marked", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Since the marked chunk is outside the graph, it will not be displayed!. + /// + internal static string cmd_chunk_outside { + get { + return ResourceManager.GetString("cmd.chunk.outside", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to connect to the specified server.. + /// + internal static string cmd_connect_desc { + get { + return ResourceManager.GetString("cmd.connect.desc", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Invalid server IP '{0}'.. + /// + internal static string cmd_connect_invalid_ip { + get { + return ResourceManager.GetString("cmd.connect.invalid_ip", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Unknown account '{0}'.. + /// + internal static string cmd_connect_unknown { + get { + return ResourceManager.GetString("cmd.connect.unknown", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to toggle debug messages.. + /// + internal static string cmd_debug_desc { + get { + return ResourceManager.GetString("cmd.debug.desc", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Debug messages are now OFF. + /// + internal static string cmd_debug_state_off { + get { + return ResourceManager.GetString("cmd.debug.state_off", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Debug messages are now ON. + /// + internal static string cmd_debug_state_on { + get { + return ResourceManager.GetString("cmd.debug.state_on", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Attempt to break a block. + /// + internal static string cmd_dig_desc { + get { + return ResourceManager.GetString("cmd.dig.desc", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Attempting to dig block at {0} {1} {2} ({3}). + /// + internal static string cmd_dig_dig { + get { + return ResourceManager.GetString("cmd.dig.dig", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Failed to start digging block.. + /// + internal static string cmd_dig_fail { + get { + return ResourceManager.GetString("cmd.dig.fail", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to No block at this location (Air). + /// + internal static string cmd_dig_no_block { + get { + return ResourceManager.GetString("cmd.dig.no_block", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to You are too far away from this block.. + /// + internal static string cmd_dig_too_far { + get { + return ResourceManager.GetString("cmd.dig.too_far", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Drop specified type of items from player inventory or opened container. + /// + internal static string cmd_dropItem_desc { + get { + return ResourceManager.GetString("cmd.dropItem.desc", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Dropped all {0} from inventory #{1}. + /// + internal static string cmd_dropItem_dropped { + get { + return ResourceManager.GetString("cmd.dropItem.dropped", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Unknown item {0}. + /// + internal static string cmd_dropItem_unknown_item { + get { + return ResourceManager.GetString("cmd.dropItem.unknown_item", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Sent a click to the server, if you have enough levels and if you have placed the items in the correct slots it should enchant!. + /// + internal static string cmd_enchant_clicked { + get { + return ResourceManager.GetString("cmd.enchant.clicked", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Enchant an item when you have the Enchantment table opened and the list of enchants recieved.. + /// + internal static string cmd_enchant_desc { + get { + return ResourceManager.GetString("cmd.enchant.desc", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to You must put an item inside the enchanting table in slot 0!. + /// + internal static string cmd_enchant_enchanting_no_item { + get { + return ResourceManager.GetString("cmd.enchant.enchanting_no_item", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to You must put at least 3 lapis lazuli inside the enchanting table in slot 1!. + /// + internal static string cmd_enchant_enchanting_no_lapis { + get { + return ResourceManager.GetString("cmd.enchant.enchanting_no_lapis", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to You must open a an enchanting table in order to use this option!. + /// + internal static string cmd_enchant_enchanting_table_not_opened { + get { + return ResourceManager.GetString("cmd.enchant.enchanting_table_not_opened", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Invalid slot provided (Available: top, middle, bottom)!. + /// + internal static string cmd_enchant_invalid_slot { + get { + return ResourceManager.GetString("cmd.enchant.invalid_slot", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to You must first put an item to enchant to the enchanting table in order to get enchantments from the server, then you can execute this command!. + /// + internal static string cmd_enchant_no_enchantments { + get { + return ResourceManager.GetString("cmd.enchant.no_enchantments", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to You do not have enouhg levels to enchant! (Your current level is {0}, you need to be level {1}).. + /// + internal static string cmd_enchant_no_levels { + get { + return ResourceManager.GetString("cmd.enchant.no_levels", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Could not click!. + /// + internal static string cmd_enchant_not_clicked { + get { + return ResourceManager.GetString("cmd.enchant.not_clicked", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Entity attacked. + /// + internal static string cmd_entityCmd_attacked { + get { + return ResourceManager.GetString("cmd.entityCmd.attacked", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Boots. + /// + internal static string cmd_entityCmd_boots { + get { + return ResourceManager.GetString("cmd.entityCmd.boots", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Chestplate. + /// + internal static string cmd_entityCmd_chestplate { + get { + return ResourceManager.GetString("cmd.entityCmd.chestplate", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Custom Name. + /// + internal static string cmd_entityCmd_customname { + get { + return ResourceManager.GetString("cmd.entityCmd.customname", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Distance. + /// + internal static string cmd_entityCmd_distance { + get { + return ResourceManager.GetString("cmd.entityCmd.distance", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Entities. + /// + internal static string cmd_entityCmd_entities { + get { + return ResourceManager.GetString("cmd.entityCmd.entities", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Entity. + /// + internal static string cmd_entityCmd_entity { + get { + return ResourceManager.GetString("cmd.entityCmd.entity", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Equipment. + /// + internal static string cmd_entityCmd_equipment { + get { + return ResourceManager.GetString("cmd.entityCmd.equipment", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Health. + /// + internal static string cmd_entityCmd_health { + get { + return ResourceManager.GetString("cmd.entityCmd.health", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Helmet. + /// + internal static string cmd_entityCmd_helmet { + get { + return ResourceManager.GetString("cmd.entityCmd.helmet", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Item. + /// + internal static string cmd_entityCmd_item { + get { + return ResourceManager.GetString("cmd.entityCmd.item", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Latency. + /// + internal static string cmd_entityCmd_latency { + get { + return ResourceManager.GetString("cmd.entityCmd.latency", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Leggings. + /// + internal static string cmd_entityCmd_leggings { + get { + return ResourceManager.GetString("cmd.entityCmd.leggings", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Location. + /// + internal static string cmd_entityCmd_location { + get { + return ResourceManager.GetString("cmd.entityCmd.location", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Main Hand. + /// + internal static string cmd_entityCmd_mainhand { + get { + return ResourceManager.GetString("cmd.entityCmd.mainhand", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Nickname. + /// + internal static string cmd_entityCmd_nickname { + get { + return ResourceManager.GetString("cmd.entityCmd.nickname", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Entity not found. + /// + internal static string cmd_entityCmd_not_found { + get { + return ResourceManager.GetString("cmd.entityCmd.not_found", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Off Hand. + /// + internal static string cmd_entityCmd_offhand { + get { + return ResourceManager.GetString("cmd.entityCmd.offhand", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Pose. + /// + internal static string cmd_entityCmd_pose { + get { + return ResourceManager.GetString("cmd.entityCmd.pose", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Type. + /// + internal static string cmd_entityCmd_type { + get { + return ResourceManager.GetString("cmd.entityCmd.type", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Entity used. + /// + internal static string cmd_entityCmd_used { + get { + return ResourceManager.GetString("cmd.entityCmd.used", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Allows you to execute a command if a condition is met. (You can use variables from MinecraftClient.ini and /set command, as well as CSharp expressions). + /// + internal static string cmd_execif_desc { + get { + return ResourceManager.GetString("cmd.execif.desc", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Error: {0}. + /// + internal static string cmd_execif_error { + get { + return ResourceManager.GetString("cmd.execif.error", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to An error has occured while executing the command: {0}. + /// + internal static string cmd_execif_error_occured { + get { + return ResourceManager.GetString("cmd.execif.error_occured", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The condition '{0}' was met, executed command '{1}' with result '{2}'.. + /// + internal static string cmd_execif_executed { + get { + return ResourceManager.GetString("cmd.execif.executed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The condition '{0}' was met, executed command '{1}', no result was returned.. + /// + internal static string cmd_execif_executed_no_output { + get { + return ResourceManager.GetString("cmd.execif.executed_no_output", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Execute multiple commands one after another. + /// + internal static string cmd_execmulti_desc { + get { + return ResourceManager.GetString("cmd.execmulti.desc", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Executed the command '{0}' with {1}. + /// + internal static string cmd_execmulti_executed { + get { + return ResourceManager.GetString("cmd.execmulti.executed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to no result!. + /// + internal static string cmd_execmulti_no_result { + get { + return ResourceManager.GetString("cmd.execmulti.no_result", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to You can not use execmulti or execif within execmulti command!. + /// + internal static string cmd_execmulti_prevent { + get { + return ResourceManager.GetString("cmd.execmulti.prevent", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to result '{0}'!. + /// + internal static string cmd_execmulti_result { + get { + return ResourceManager.GetString("cmd.execmulti.result", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to disconnect from the server.. + /// + internal static string cmd_exit_desc { + get { + return ResourceManager.GetString("cmd.exit.desc", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Already following {0}!. + /// + internal static string cmd_follow_already_following { + get { + return ResourceManager.GetString("cmd.follow.already_following", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Already stopped. + /// + internal static string cmd_follow_already_stopped { + get { + return ResourceManager.GetString("cmd.follow.already_stopped", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Can not reach the player, he is either in chunks that are not loaded, too far away or not reachable by a bot due to obstacles like gaps or water bodies!. + /// + internal static string cmd_follow_cant_reach_player { + get { + return ResourceManager.GetString("cmd.follow.cant_reach_player", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Makes the bot follow a specified player. + /// + internal static string cmd_follow_desc { + get { + return ResourceManager.GetString("cmd.follow.desc", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Invalid or empty player name provided!. + /// + internal static string cmd_follow_invalid_name { + get { + return ResourceManager.GetString("cmd.follow.invalid_name", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The specified player is either not connected out out of the range!. + /// + internal static string cmd_follow_invalid_player { + get { + return ResourceManager.GetString("cmd.follow.invalid_player", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to NOTE: The bot is quite slow, you need to walk slowly and at a close distance for it to be able to keep up, kinda like when you make animals follow you by holding food in your hand. This is a limitation due to a pathfinding algorithm, we are working to get a better one.. + /// + internal static string cmd_follow_note { + get { + return ResourceManager.GetString("cmd.follow.note", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Pausing!. + /// + internal static string cmd_follow_pausing { + get { + return ResourceManager.GetString("cmd.follow.pausing", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The player {0} came back to the range!. + /// + internal static string cmd_follow_player_came_to_the_range { + get { + return ResourceManager.GetString("cmd.follow.player_came_to_the_range", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The player {0} left the server!. + /// + internal static string cmd_follow_player_left { + get { + return ResourceManager.GetString("cmd.follow.player_left", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The player {0} has left the range!. + /// + internal static string cmd_follow_player_left_the_range { + get { + return ResourceManager.GetString("cmd.follow.player_left_the_range", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Resuming to follow!. + /// + internal static string cmd_follow_resuming { + get { + return ResourceManager.GetString("cmd.follow.resuming", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Started following {0}!. + /// + internal static string cmd_follow_started { + get { + return ResourceManager.GetString("cmd.follow.started", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Stopped following!. + /// + internal static string cmd_follow_stopping { + get { + return ResourceManager.GetString("cmd.follow.stopping", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Switched to following {0}!. + /// + internal static string cmd_follow_switched { + get { + return ResourceManager.GetString("cmd.follow.switched", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Enabled us-safe walking (NOTE: The bot might die or get hurt!). + /// + internal static string cmd_follow_unsafe_enabled { + get { + return ResourceManager.GetString("cmd.follow.unsafe_enabled", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to follow <player name|stop> [-f] (Use -f to enable un-safe walking). + /// + internal static string cmd_follow_usage { + get { + return ResourceManager.GetString("cmd.follow.usage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Display Health and Food saturation.. + /// + internal static string cmd_health_desc { + get { + return ResourceManager.GetString("cmd.health.desc", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Health: {0}, Saturation: {1}, Level: {2}, TotalExperience: {3}. + /// + internal static string cmd_health_response { + get { + return ResourceManager.GetString("cmd.health.response", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to {0} clicking slot {1} in window #{2}. + /// + internal static string cmd_inventory_clicking { + get { + return ResourceManager.GetString("cmd.inventory.clicking", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Closing Inventoy #{0}. + /// + internal static string cmd_inventory_close { + get { + return ResourceManager.GetString("cmd.inventory.close", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Failed to close Inventory #{0}. + /// + internal static string cmd_inventory_close_fail { + get { + return ResourceManager.GetString("cmd.inventory.close_fail", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Cannot find container, please retry with explicit ID. + /// + internal static string cmd_inventory_container_not_found { + get { + return ResourceManager.GetString("cmd.inventory.container_not_found", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Requested to clear slot #{0}. + /// + internal static string cmd_inventory_creative_delete { + get { + return ResourceManager.GetString("cmd.inventory.creative_delete", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Requested {0} x{1} in slot #{2}. + /// + internal static string cmd_inventory_creative_done { + get { + return ResourceManager.GetString("cmd.inventory.creative_done", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Failed to request Creative action. + /// + internal static string cmd_inventory_creative_fail { + get { + return ResourceManager.GetString("cmd.inventory.creative_fail", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Damage. + /// + internal static string cmd_inventory_damage { + get { + return ResourceManager.GetString("cmd.inventory.damage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Inventory command. + /// + internal static string cmd_inventory_desc { + get { + return ResourceManager.GetString("cmd.inventory.desc", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Dropped 1 item from slot #{0}. + /// + internal static string cmd_inventory_drop { + get { + return ResourceManager.GetString("cmd.inventory.drop", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Dropped whole item stack from slot #{0}. + /// + internal static string cmd_inventory_drop_stack { + get { + return ResourceManager.GetString("cmd.inventory.drop_stack", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Found items. + /// + internal static string cmd_inventory_found_items { + get { + return ResourceManager.GetString("cmd.inventory.found_items", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Available actions. + /// + internal static string cmd_inventory_help_available { + get { + return ResourceManager.GetString("cmd.inventory.help.available", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Basic usage. + /// + internal static string cmd_inventory_help_basic { + get { + return ResourceManager.GetString("cmd.inventory.help.basic", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Click on an item.. + /// + internal static string cmd_inventory_help_click { + get { + return ResourceManager.GetString("cmd.inventory.help.click", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Close an opened container.. + /// + internal static string cmd_inventory_help_close { + get { + return ResourceManager.GetString("cmd.inventory.help.close", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Clear slot in creative mode.. + /// + internal static string cmd_inventory_help_creativedelete { + get { + return ResourceManager.GetString("cmd.inventory.help.creativedelete", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Give item in creative mode.. + /// + internal static string cmd_inventory_help_creativegive { + get { + return ResourceManager.GetString("cmd.inventory.help.creativegive", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Drop an item from inventory.. + /// + internal static string cmd_inventory_help_drop { + get { + return ResourceManager.GetString("cmd.inventory.help.drop", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to {0} + ///Use '/inventory help <action>' for action help. + ///'player' and 'container' can be simplified to 'p' and 'c'. + ///Note that parameters in '[]' are optional.. + /// + internal static string cmd_inventory_help_help { + get { + return ResourceManager.GetString("cmd.inventory.help.help", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to List avaliable inventories. + /// + internal static string cmd_inventory_help_inventories { + get { + return ResourceManager.GetString("cmd.inventory.help.inventories", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to List your inventory.. + /// + internal static string cmd_inventory_help_list { + get { + return ResourceManager.GetString("cmd.inventory.help.list", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Search for an item in avaliable Inventories. + /// + internal static string cmd_inventory_help_search { + get { + return ResourceManager.GetString("cmd.inventory.help.search", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Shift click an item.. + /// + internal static string cmd_inventory_help_shiftclick { + get { + return ResourceManager.GetString("cmd.inventory.help.shiftclick", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Unknown action.. + /// + internal static string cmd_inventory_help_unknown { + get { + return ResourceManager.GetString("cmd.inventory.help.unknown", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Usage. + /// + internal static string cmd_inventory_help_usage { + get { + return ResourceManager.GetString("cmd.inventory.help.usage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Your selected hotbar is {0}. + /// + internal static string cmd_inventory_hotbar { + get { + return ResourceManager.GetString("cmd.inventory.hotbar", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Inventories. + /// + internal static string cmd_inventory_inventories { + get { + return ResourceManager.GetString("cmd.inventory.inventories", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Available Inventories. + /// + internal static string cmd_inventory_inventories_available { + get { + return ResourceManager.GetString("cmd.inventory.inventories_available", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Inventory. + /// + internal static string cmd_inventory_inventory { + get { + return ResourceManager.GetString("cmd.inventory.inventory", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Left. + /// + internal static string cmd_inventory_left { + get { + return ResourceManager.GetString("cmd.inventory.left", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Middle. + /// + internal static string cmd_inventory_middle { + get { + return ResourceManager.GetString("cmd.inventory.middle", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to You must be in Creative gamemode. + /// + internal static string cmd_inventory_need_creative { + get { + return ResourceManager.GetString("cmd.inventory.need_creative", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Could not find the specified item in any of avaliable Inventories!. + /// + internal static string cmd_inventory_no_found_items { + get { + return ResourceManager.GetString("cmd.inventory.no_found_items", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to No item in slot #{0}. + /// + internal static string cmd_inventory_no_item { + get { + return ResourceManager.GetString("cmd.inventory.no_item", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Inventory #{0} do not exist. + /// + internal static string cmd_inventory_not_exist { + get { + return ResourceManager.GetString("cmd.inventory.not_exist", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Right. + /// + internal static string cmd_inventory_right { + get { + return ResourceManager.GetString("cmd.inventory.right", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Shift clicking slot {0} in window #{1}. + /// + internal static string cmd_inventory_shiftclick { + get { + return ResourceManager.GetString("cmd.inventory.shiftclick", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Shift click failed, this may be because this container type is not supported. + /// + internal static string cmd_inventory_shiftclick_fail { + get { + return ResourceManager.GetString("cmd.inventory.shiftclick_fail", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to get the player list.. + /// + internal static string cmd_list_desc { + get { + return ResourceManager.GetString("cmd.list.desc", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to PlayerList: {0}. + /// + internal static string cmd_list_players { + get { + return ResourceManager.GetString("cmd.list.players", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to log some text to the console.. + /// + internal static string cmd_log_desc { + get { + return ResourceManager.GetString("cmd.log.desc", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Looking at yaw: {0} pitch: {1}. + /// + internal static string cmd_look_at { + get { + return ResourceManager.GetString("cmd.look.at", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Looking at {0}. + /// + internal static string cmd_look_block { + get { + return ResourceManager.GetString("cmd.look.block", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to look at direction or coordinates.. + /// + internal static string cmd_look_desc { + get { + return ResourceManager.GetString("cmd.look.desc", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The block currently intersecting the line of sight is {0} ({1:0}, {2:0}, {3:0}), distance is {4:0.0}({5:0.0}).. + /// + internal static string cmd_look_inspection { + get { + return ResourceManager.GetString("cmd.look.inspection", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to There is no block within {0} meters that intersects with the line of sight.. + /// + internal static string cmd_look_noinspection { + get { + return ResourceManager.GetString("cmd.look.noinspection", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Unknown direction '{0}'. + /// + internal static string cmd_look_unknown { + get { + return ResourceManager.GetString("cmd.look.unknown", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Chunk loading status: {0:P} - {1} out of {2} load completed.. + /// + internal static string cmd_move_chunk_loading_status { + get { + return ResourceManager.GetString("cmd.move.chunk_loading_status", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The chunk where the target location resides has not yet been loaded. + ///You can use "/chunk status {0:0.0} {1:0.0} {2:0.0}" to check the chunk loading status.. + /// + internal static string cmd_move_chunk_not_loaded { + get { + return ResourceManager.GetString("cmd.move.chunk_not_loaded", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to walk or start walking.. + /// + internal static string cmd_move_desc { + get { + return ResourceManager.GetString("cmd.move.desc", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to force unsafe movements like falling or touching fire. + /// + internal static string cmd_move_desc_force { + get { + return ResourceManager.GetString("cmd.move.desc_force", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Cannot move in that direction.. + /// + internal static string cmd_move_dir_fail { + get { + return ResourceManager.GetString("cmd.move.dir_fail", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Disabling Terrain and Movements.. + /// + internal static string cmd_move_disable { + get { + return ResourceManager.GetString("cmd.move.disable", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Enabling Terrain and Movements on next server login, respawn or world change.. + /// + internal static string cmd_move_enable { + get { + return ResourceManager.GetString("cmd.move.enable", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Failed to compute path to {0}. + /// + internal static string cmd_move_fail { + get { + return ResourceManager.GetString("cmd.move.fail", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Gravity is disabled.. + /// + internal static string cmd_move_gravity_disabled { + get { + return ResourceManager.GetString("cmd.move.gravity.disabled", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Gravity is enabled.. + /// + internal static string cmd_move_gravity_enabled { + get { + return ResourceManager.GetString("cmd.move.gravity.enabled", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Moving {0}. + /// + internal static string cmd_move_moving { + get { + return ResourceManager.GetString("cmd.move.moving", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Failed to compute a safe path to {0}. Try -f parameter to allow unsafe movements.. + /// + internal static string cmd_move_suggestforce { + get { + return ResourceManager.GetString("cmd.move.suggestforce", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Walking from {1} to {0}. + /// + internal static string cmd_move_walk { + get { + return ResourceManager.GetString("cmd.move.walk", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to restart and reconnect to the server.. + /// + internal static string cmd_reco_desc { + get { + return ResourceManager.GetString("cmd.reco.desc", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Reloads MCC settings.. + /// + internal static string cmd_reload_desc { + get { + return ResourceManager.GetString("cmd.reload.desc", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Reloaded Settings!. + /// + internal static string cmd_reload_finished { + get { + return ResourceManager.GetString("cmd.reload.finished", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Reloading settings.... + /// + internal static string cmd_reload_started { + get { + return ResourceManager.GetString("cmd.reload.started", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to This command will NOT affect certain settings which are used before connecting to a server!. + /// + internal static string cmd_reload_warning1 { + get { + return ResourceManager.GetString("cmd.reload.warning1", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Some settings passed through the command line parameters might get overriden!. + /// + internal static string cmd_reload_warning2 { + get { + return ResourceManager.GetString("cmd.reload.warning2", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to You also might need to reconnect for some settings to take effect.. + /// + internal static string cmd_reload_warning3 { + get { + return ResourceManager.GetString("cmd.reload.warning3", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Replay Chat Bot will not be hard reloaded due to technical limitations!. + /// + internal static string cmd_reload_warning4 { + get { + return ResourceManager.GetString("cmd.reload.warning4", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Use this to respawn if you are dead.. + /// + internal static string cmd_respawn_desc { + get { + return ResourceManager.GetString("cmd.respawn.desc", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to You have respawned.. + /// + internal static string cmd_respawn_done { + get { + return ResourceManager.GetString("cmd.respawn.done", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to run a script file.. + /// + internal static string cmd_script_desc { + get { + return ResourceManager.GetString("cmd.script.desc", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to send a chat message or command.. + /// + internal static string cmd_send_desc { + get { + return ResourceManager.GetString("cmd.send.desc", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to set a custom %variable%.. + /// + internal static string cmd_set_desc { + get { + return ResourceManager.GetString("cmd.set.desc", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to variable name must be A-Za-z0-9.. + /// + internal static string cmd_set_format { + get { + return ResourceManager.GetString("cmd.set.format", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to set a custom %variable% randomly to a given value.. + /// + internal static string cmd_setrnd_desc { + get { + return ResourceManager.GetString("cmd.setrnd.desc", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to setrnd variable -7 to 17 OR setrnd variable string1 "\"string2\" string3". + /// + internal static string cmd_setrnd_format { + get { + return ResourceManager.GetString("cmd.setrnd.format", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to setrnd variable -7 to 17. + /// + internal static string cmd_setrndnum_format { + get { + return ResourceManager.GetString("cmd.setrndnum.format", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to setrnd variable string1 "\"string2\" string3". + /// + internal static string cmd_setrndstr_format { + get { + return ResourceManager.GetString("cmd.setrndstr.format", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Toggles sneaking. + /// + internal static string cmd_sneak_desc { + get { + return ResourceManager.GetString("cmd.sneak.desc", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to You are not sneaking anymore. + /// + internal static string cmd_sneak_off { + get { + return ResourceManager.GetString("cmd.sneak.off", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to You are sneaking now. + /// + internal static string cmd_sneak_on { + get { + return ResourceManager.GetString("cmd.sneak.on", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Current tps. + /// + internal static string cmd_tps_current { + get { + return ResourceManager.GetString("cmd.tps.current", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Display server current tps (tick per second). May not be accurate. + /// + internal static string cmd_tps_desc { + get { + return ResourceManager.GetString("cmd.tps.desc", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Place a block or open chest. + /// + internal static string cmd_useblock_desc { + get { + return ResourceManager.GetString("cmd.useblock.desc", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Useblock at ({0:0.0}, {1:0.0}, {2:0.0}) {3}.. + /// + internal static string cmd_useblock_use { + get { + return ResourceManager.GetString("cmd.useblock.use", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Use (left click) an item on the hand. + /// + internal static string cmd_useitem_desc { + get { + return ResourceManager.GetString("cmd.useitem.desc", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Used an item. + /// + internal static string cmd_useitem_use { + get { + return ResourceManager.GetString("cmd.useitem.use", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Failed to write to backup file {0}. + /// + internal static string config_backup_fail { + get { + return ResourceManager.GetString("config.backup.fail", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Settings have been loaded from {0}. + /// + internal static string config_load { + get { + return ResourceManager.GetString("config.load", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Failed to load settings:. + /// + internal static string config_load_fail { + get { + return ResourceManager.GetString("config.load.fail", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The language code is invalid!. + /// + internal static string config_Main_Advanced_language_invaild { + get { + return ResourceManager.GetString("config.Main.Advanced.language.invaild", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The current setting is saved as {0}. + /// + internal static string config_saving { + get { + return ResourceManager.GetString("config.saving", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Failed to write to settings file {0}. + /// + internal static string config_write_fail { + get { + return ResourceManager.GetString("config.write.fail", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Color test: Your terminal should display {0}. + /// + internal static string debug_color_test { + get { + return ResourceManager.GetString("debug.color_test", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Crypto keys & hash generated.. + /// + internal static string debug_crypto { + get { + return ResourceManager.GetString("debug.crypto", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to No profile keys could be loaded from disk. + /// + internal static string debug_keys_cache_fail { + get { + return ResourceManager.GetString("debug.keys_cache_fail", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Profile keys has been successfully loaded from disk.. + /// + internal static string debug_keys_cache_ok { + get { + return ResourceManager.GetString("debug.keys_cache_ok", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Performing request to {0}. + /// + internal static string debug_request { + get { + return ResourceManager.GetString("debug.request", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to No sessions could be loaded from disk. + /// + internal static string debug_session_cache_fail { + get { + return ResourceManager.GetString("debug.session_cache_fail", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Session data has been successfully loaded from disk.. + /// + internal static string debug_session_cache_ok { + get { + return ResourceManager.GetString("debug.session_cache_ok", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Success. (session ID: {0}). + /// + internal static string debug_session_id { + get { + return ResourceManager.GetString("debug.session_id", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Bottom slot. + /// + internal static string Enchantment_bottom_slot { + get { + return ResourceManager.GetString("Enchantment.bottom_slot", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Enchantments available. + /// + internal static string Enchantment_enchantments_available { + get { + return ResourceManager.GetString("Enchantment.enchantments_available", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Levels. + /// + internal static string Enchantment_levels { + get { + return ResourceManager.GetString("Enchantment.levels", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Middle slot. + /// + internal static string Enchantment_middle_slot { + get { + return ResourceManager.GetString("Enchantment.middle_slot", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Top slot. + /// + internal static string Enchantment_tops_slot { + get { + return ResourceManager.GetString("Enchantment.tops_slot", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Got error code from server while refreshing authentication: {0}. + /// + internal static string error_auth { + get { + return ResourceManager.GetString("error.auth", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Failed to connect to this IP.. + /// + internal static string error_connect { + get { + return ResourceManager.GetString("error.connect", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to A timeout occured while attempting to connect to this IP.. + /// + internal static string error_connection_timeout { + get { + return ResourceManager.GetString("error.connection_timeout", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Failed to determine server version.. + /// + internal static string error_determine { + get { + return ResourceManager.GetString("error.determine", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Forge Login Handshake did not complete successfully. + /// + internal static string error_forge { + get { + return ResourceManager.GetString("error.forge", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Forge StartEncryption Handshake did not complete successfully. + /// + internal static string error_forge_encrypt { + get { + return ResourceManager.GetString("error.forge_encrypt", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Cannot force Forge support for this Minecraft version!. + /// + internal static string error_forgeforce { + get { + return ResourceManager.GetString("error.forgeforce", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Invalid usage of the generator command!. + /// + internal static string error_generator_invalid { + get { + return ResourceManager.GetString("error.generator.invalid", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The provided path must be a path to a file that is in .json format!. + /// + internal static string error_generator_json { + get { + return ResourceManager.GetString("error.generator.json", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Invalid data path provided! (The path either does not exists or you have made a typo). + /// + internal static string error_generator_path { + get { + return ResourceManager.GetString("error.generator.path", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Got error code from server: {0}. + /// + internal static string error_http_code { + get { + return ResourceManager.GetString("error.http_code", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Invalid response to StartEncryption packet. + /// + internal static string error_invalid_encrypt { + get { + return ResourceManager.GetString("error.invalid_encrypt", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Invalid response to Handshake packet. + /// + internal static string error_invalid_response { + get { + return ResourceManager.GetString("error.invalid_response", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to This feature requires Inventory Handling to be enabled in order to work!. + /// + internal static string error_inventoryhandling_not_enabled { + get { + return ResourceManager.GetString("error.inventoryhandling_not_enabled", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to An error occured when attempting to join this server.. + /// + internal static string error_join { + get { + return ResourceManager.GetString("error.join", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Login failed : . + /// + internal static string error_login { + get { + return ResourceManager.GetString("error.login", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Incorrect username/password, blacklisted IP or too many logins.. + /// + internal static string error_login_blocked { + get { + return ResourceManager.GetString("error.login.blocked", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to User cancelled.. + /// + internal static string error_login_cancel { + get { + return ResourceManager.GetString("error.login.cancel", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Failed to login to this server.. + /// + internal static string error_login_failed { + get { + return ResourceManager.GetString("error.login_failed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Account migrated, use e-mail as username.. + /// + internal static string error_login_migrated { + get { + return ResourceManager.GetString("error.login.migrated", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Network error.. + /// + internal static string error_login_network { + get { + return ResourceManager.GetString("error.login.network", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to User not premium.. + /// + internal static string error_login_premium { + get { + return ResourceManager.GetString("error.login.premium", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Invalid server response.. + /// + internal static string error_login_response { + get { + return ResourceManager.GetString("error.login.response", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Login servers are unavailable. Please try again later.. + /// + internal static string error_login_server { + get { + return ResourceManager.GetString("error.login.server", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to SSL Error.. + /// + internal static string error_login_ssl { + get { + return ResourceManager.GetString("error.login.ssl", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Unknown Error.. + /// + internal static string error_login_unknown { + get { + return ResourceManager.GetString("error.login.unknown", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to You are missing argument {0}. + /// + internal static string error_missing_argument { + get { + return ResourceManager.GetString("error.missing.argument", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Server does not report its protocol version, autodetection will not work.. + /// + internal static string error_no_version_report { + get { + return ResourceManager.GetString("error.no_version_report", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Failed to ping this IP.. + /// + internal static string error_ping { + get { + return ResourceManager.GetString("error.ping", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to This Realms world does not exist or access was denied. + /// + internal static string error_realms_access_denied { + get { + return ResourceManager.GetString("error.realms.access_denied", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Trying to join a Realms world but Realms support is disabled in config. + /// + internal static string error_realms_disabled { + get { + return ResourceManager.GetString("error.realms.disabled", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Cannot retrieve the server IP of your Realms world. + /// + internal static string error_realms_ip_error { + get { + return ResourceManager.GetString("error.realms.ip_error", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Invalid or unknown Realms server ID.. + /// + internal static string error_realms_server_id { + get { + return ResourceManager.GetString("error.realms.server_id", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Realms server may require some time to start up. Please retry again later.. + /// + internal static string error_realms_server_unavailable { + get { + return ResourceManager.GetString("error.realms.server_unavailable", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to {0}: Invalid syntax, expecting --argname=value or --section.argname=value. + /// + internal static string error_setting_argument_syntax { + get { + return ResourceManager.GetString("error.setting.argument_syntax", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to This feature requires Terrain And Movements to be enabled in order to work!. + /// + internal static string error_terrain_not_enabled { + get { + return ResourceManager.GetString("error.terrain_not_enabled", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Connection Timeout. + /// + internal static string error_timeout { + get { + return ResourceManager.GetString("error.timeout", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Unexpected response from the server (is that a Minecraft server?). + /// + internal static string error_unexpect_response { + get { + return ResourceManager.GetString("error.unexpect_response", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Cannot connect to the server : This version is not supported !. + /// + internal static string error_unsupported { + get { + return ResourceManager.GetString("error.unsupported", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Usage:. + /// + internal static string error_usage { + get { + return ResourceManager.GetString("error.usage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Server reports a different version than manually set. Login may not work.. + /// + internal static string error_version_different { + get { + return ResourceManager.GetString("error.version_different", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to ChatBot methods should NOT be called in the constructor as API handler is not initialized yet. Override Initialize() or AfterGameJoined() instead to perform initialization tasks.. + /// + internal static string exception_chatbot_init { + get { + return ResourceManager.GetString("exception.chatbot.init", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The provided script does not have a valid MCCScript header. + /// + internal static string exception_csrunner_invalid_head { + get { + return ResourceManager.GetString("exception.csrunner.invalid_head", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Failed to process incoming packet of type {0}. (PacketID: {1}, Protocol: {2}, LoginPhase: {3}, InnerException: {4}).. + /// + internal static string exception_packet_process { + get { + return ResourceManager.GetString("exception.packet_process", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Please update block types handling for this Minecraft version. See Material.cs. + /// + internal static string exception_palette_block { + get { + return ResourceManager.GetString("exception.palette.block", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Please update entity types handling for this Minecraft version. See EntityType.cs. + /// + internal static string exception_palette_entity { + get { + return ResourceManager.GetString("exception.palette.entity", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Please update health field handling for this Minecraft version.. + /// + internal static string exception_palette_healthfield { + get { + return ResourceManager.GetString("exception.palette.healthfield", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Please update item types handling for this Minecraft version. See ItemType.cs. + /// + internal static string exception_palette_item { + get { + return ResourceManager.GetString("exception.palette.item", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Please update packet type palette for this Minecraft version. See PacketTypePalette.cs. + /// + internal static string exception_palette_packet { + get { + return ResourceManager.GetString("exception.palette.packet", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Unknown direction. + /// + internal static string exception_unknown_direction { + get { + return ResourceManager.GetString("exception.unknown_direction", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to User-initiated logout should be done by calling Disconnect(). + /// + internal static string exception_user_logout { + get { + return ResourceManager.GetString("exception.user_logout", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The protocol version no.{0} is not supported.. + /// + internal static string exception_version_unsupport { + get { + return ResourceManager.GetString("exception.version_unsupport", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Entities are currently not handled for that MC version.. + /// + internal static string extra_entity_disabled { + get { + return ResourceManager.GetString("extra.entity_disabled", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Please enable EntityHandling in the config file first.. + /// + internal static string extra_entity_required { + get { + return ResourceManager.GetString("extra.entity_required", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Inventory # {0} closed.. + /// + internal static string extra_inventory_close { + get { + return ResourceManager.GetString("extra.inventory_close", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Inventories are currently not handled for that MC version.. + /// + internal static string extra_inventory_disabled { + get { + return ResourceManager.GetString("extra.inventory_disabled", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Inventory handling is now enabled.. + /// + internal static string extra_inventory_enabled { + get { + return ResourceManager.GetString("extra.inventory_enabled", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Use /inventory to interact with it.. + /// + internal static string extra_inventory_interact { + get { + return ResourceManager.GetString("extra.inventory_interact", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Inventory # {0} opened: {1}. + /// + internal static string extra_inventory_open { + get { + return ResourceManager.GetString("extra.inventory_open", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Please enable InventoryHandling in the config file first.. + /// + internal static string extra_inventory_required { + get { + return ResourceManager.GetString("extra.inventory_required", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Terrain & Movements currently not handled for that MC version.. + /// + internal static string extra_terrainandmovement_disabled { + get { + return ResourceManager.GetString("extra.terrainandmovement_disabled", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Terrain and Movements is now enabled.. + /// + internal static string extra_terrainandmovement_enabled { + get { + return ResourceManager.GetString("extra.terrainandmovement_enabled", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Please enable Terrain and Movements in the config file first.. + /// + internal static string extra_terrainandmovement_required { + get { + return ResourceManager.GetString("extra.terrainandmovement_required", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to [{0}] Failed to initialize FileSystemWatcher, retrying using Polling. + /// + internal static string filemonitor_fail { + get { + return ResourceManager.GetString("filemonitor.fail", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to [{0}] Initializing FileSystemWatcher for file: {1}. + /// + internal static string filemonitor_init { + get { + return ResourceManager.GetString("filemonitor.init", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Accepting server mod list.... + /// + internal static string forge_accept { + get { + return ResourceManager.GetString("forge.accept", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Accepting server registries.... + /// + internal static string forge_accept_registry { + get { + return ResourceManager.GetString("forge.accept_registry", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Forge server connection complete!. + /// + internal static string forge_complete { + get { + return ResourceManager.GetString("forge.complete", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Acknowledging FML2 Server Config: {0}. + /// + internal static string forge_fml2_config { + get { + return ResourceManager.GetString("forge.fml2.config", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Received FML2 Server Mod List. + /// + internal static string forge_fml2_mod { + get { + return ResourceManager.GetString("forge.fml2.mod", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Sending back FML2 Client Mod List. + /// + internal static string forge_fml2_mod_send { + get { + return ResourceManager.GetString("forge.fml2.mod_send", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Acknowledging FML2 Server Registry: {0}. + /// + internal static string forge_fml2_registry { + get { + return ResourceManager.GetString("forge.fml2.registry", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Got Unknown FML2 Handshake message no. {0}. + /// + internal static string forge_fml2_unknown { + get { + return ResourceManager.GetString("forge.fml2.unknown", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Ignoring Unknown FML2 LoginMessage channel: {0}. + /// + internal static string forge_fml2_unknown_channel { + get { + return ResourceManager.GetString("forge.fml2.unknown_channel", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Mod list:. + /// + internal static string forge_mod_list { + get { + return ResourceManager.GetString("forge.mod_list", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Server is running Forge without mods.. + /// + internal static string forge_no_mod { + get { + return ResourceManager.GetString("forge.no_mod", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Received registry with {0} entries. + /// + internal static string forge_registry { + get { + return ResourceManager.GetString("forge.registry", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Received registry {0} with {1} entries. + /// + internal static string forge_registry_2 { + get { + return ResourceManager.GetString("forge.registry_2", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Sending falsified mod list to server.... + /// + internal static string forge_send_mod { + get { + return ResourceManager.GetString("forge.send_mod", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Forge protocol version : {0}. + /// + internal static string forge_version { + get { + return ResourceManager.GetString("forge.version", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Server is running Forge with {0} mods.. + /// + internal static string forge_with_mod { + get { + return ResourceManager.GetString("forge.with_mod", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Available commands: {0}. + /// + internal static string general_available_cmd { + get { + return ResourceManager.GetString("general.available_cmd", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to This bot will be unloaded.. + /// + internal static string general_bot_unload { + get { + return ResourceManager.GetString("general.bot_unload", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Done. + /// + internal static string general_done { + get { + return ResourceManager.GetString("general.done", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Fail. + /// + internal static string general_fail { + get { + return ResourceManager.GetString("general.fail", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to OnInternalCommand: Got error from {0}: {1}. + /// + internal static string icmd_error { + get { + return ResourceManager.GetString("icmd.error", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to help <cmdname>: show brief help about a command.. + /// + internal static string icmd_help { + get { + return ResourceManager.GetString("icmd.help", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to help <cmdname>. Available commands: + ///{0}For server help, use '{1}send /help' instead.. + /// + internal static string icmd_list { + get { + return ResourceManager.GetString("icmd.list", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Unknown command '{0}'. Use 'help' for command list.. + /// + internal static string icmd_unknown { + get { + return ResourceManager.GetString("icmd.unknown", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The old MinecraftClient.ini has been backed up as {0}. + /// + internal static string mcc_backup_old_config { + get { + return ResourceManager.GetString("mcc.backup_old_config", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Paste your code here:. + /// + internal static string mcc_browser_login_code { + get { + return ResourceManager.GetString("mcc.browser_login_code", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Your browser should open automatically. If not, open the link below in your browser.. + /// + internal static string mcc_browser_open { + get { + return ResourceManager.GetString("mcc.browser_open", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Connecting to {0}.... + /// + internal static string mcc_connecting { + get { + return ResourceManager.GetString("mcc.connecting", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Login failed :. + /// + internal static string mcc_disconnect_login { + get { + return ResourceManager.GetString("mcc.disconnect.login", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Connection has been lost.. + /// + internal static string mcc_disconnect_lost { + get { + return ResourceManager.GetString("mcc.disconnect.lost", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Disconnected by Server :. + /// + internal static string mcc_disconnect_server { + get { + return ResourceManager.GetString("mcc.disconnect.server", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Not connected to any server. Use '{0}help' for help.. + /// + internal static string mcc_disconnected { + get { + return ResourceManager.GetString("mcc.disconnected", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Fetching profile key from Microsoft.. + /// + internal static string mcc_fetching_key { + get { + return ResourceManager.GetString("mcc.fetching_key", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Checking if server is running Forge.... + /// + internal static string mcc_forge { + get { + return ResourceManager.GetString("mcc.forge", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Force-enabling Forge support.. + /// + internal static string mcc_forgeforce { + get { + return ResourceManager.GetString("mcc.forgeforce", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Found server {0}:{1} for domain {2}. + /// + internal static string mcc_found { + get { + return ResourceManager.GetString("mcc.found", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to New configuration file "{0}" is generated.. + /// + internal static string mcc_gen_new_config { + get { + return ResourceManager.GetString("mcc.gen_new_config", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Succesfully generated {0} palette using the dataset: {1}. + /// + internal static string mcc_generator_done { + get { + return ResourceManager.GetString("mcc.generator.done", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Generating {0} palette using the dataset: {1}. + /// + internal static string mcc_generator_generating { + get { + return ResourceManager.GetString("mcc.generator.generating", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Handshake successful. (Server ID: {0}). + /// + internal static string mcc_handshake { + get { + return ResourceManager.GetString("mcc.handshake", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to A new version of MCC is available and you can download it via /upgrade + ///Or download it manually: {0}. + /// + internal static string mcc_has_update { + get { + return ResourceManager.GetString("mcc.has_update", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Help us translate MCC: {0}. + /// + internal static string mcc_help_us_translate { + get { + return ResourceManager.GetString("mcc.help_us_translate", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Failed to parse the settings file, enter "{0}new" to generate a new configuration.. + /// + internal static string mcc_invaild_config { + get { + return ResourceManager.GetString("mcc.invaild_config", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Server IP : . + /// + internal static string mcc_ip { + get { + return ResourceManager.GetString("mcc.ip", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Server was successfully joined. + ///Type '{0}quit' to leave the server.. + /// + internal static string mcc_joined { + get { + return ResourceManager.GetString("mcc.joined", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Link: {0}. + /// + internal static string mcc_link { + get { + return ResourceManager.GetString("mcc.link", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Login :. + /// + internal static string mcc_login { + get { + return ResourceManager.GetString("mcc.login", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Please type the username or email of your choice.. + /// + internal static string mcc_login_basic_io { + get { + return ResourceManager.GetString("mcc.login_basic_io", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Failed to perform SRV lookup for {0} + ///{1}: {2}. + /// + internal static string mcc_not_found { + get { + return ResourceManager.GetString("mcc.not_found", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to You chose to run in offline mode.. + /// + internal static string mcc_offline { + get { + return ResourceManager.GetString("mcc.offline", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Please type the password for {0}.. + /// + internal static string mcc_password_basic_io { + get { + return ResourceManager.GetString("mcc.password_basic_io", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Password(invisible): {0}. + /// + internal static string mcc_password_hidden { + get { + return ResourceManager.GetString("mcc.password_hidden", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to You are dead. Type '{0}respawn' to respawn.. + /// + internal static string mcc_player_dead { + get { + return ResourceManager.GetString("mcc.player_dead", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to You are dead. Automatically respawning after 1 second.. + /// + internal static string mcc_player_dead_respawn { + get { + return ResourceManager.GetString("mcc.player_dead_respawn", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Or press Enter to exit Minecraft Console Client.. + /// + internal static string mcc_press_exit { + get { + return ResourceManager.GetString("mcc.press_exit", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Cached profile key needs to be refreshed.. + /// + internal static string mcc_profile_key_invalid { + get { + return ResourceManager.GetString("mcc.profile_key_invalid", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Cached profile key is still valid for {0}.. + /// + internal static string mcc_profile_key_valid { + get { + return ResourceManager.GetString("mcc.profile_key_valid", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to You have access to the following Realms worlds. + /// + internal static string mcc_realms_available { + get { + return ResourceManager.GetString("mcc.realms_available", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Use realms:<index> as server IP to join a Realms world. + /// + internal static string mcc_realms_join { + get { + return ResourceManager.GetString("mcc.realms_join", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Waiting 5 seconds ({0} attempts left).... + /// + internal static string mcc_reconnect { + get { + return ResourceManager.GetString("mcc.reconnect", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Resolving {0}.... + /// + internal static string mcc_resolve { + get { + return ResourceManager.GetString("mcc.resolve", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Restarting Minecraft Console Client.... + /// + internal static string mcc_restart { + get { + return ResourceManager.GetString("mcc.restart", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Waiting {0} seconds before restarting.... + /// + internal static string mcc_restart_delay { + get { + return ResourceManager.GetString("mcc.restart_delay", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Retrieving Server Info.... + /// + internal static string mcc_retrieve { + get { + return ResourceManager.GetString("mcc.retrieve", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to + ///MCC is running with default settings.. + /// + internal static string mcc_run_with_default_settings { + get { + return ResourceManager.GetString("mcc.run_with_default_settings", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Server is in offline mode.. + /// + internal static string mcc_server_offline { + get { + return ResourceManager.GetString("mcc.server_offline", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Server version : {0} (protocol v{1}). + /// + internal static string mcc_server_protocol { + get { + return ResourceManager.GetString("mcc.server_protocol", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Server version : . + /// + internal static string mcc_server_version { + get { + return ResourceManager.GetString("mcc.server_version", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Checking Session.... + /// + internal static string mcc_session { + get { + return ResourceManager.GetString("mcc.session", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Failed to check session.. + /// + internal static string mcc_session_fail { + get { + return ResourceManager.GetString("mcc.session_fail", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Cached session is invalid or expired.. + /// + internal static string mcc_session_invalid { + get { + return ResourceManager.GetString("mcc.session_invalid", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Cached session is still valid for {0}.. + /// + internal static string mcc_session_valid { + get { + return ResourceManager.GetString("mcc.session_valid", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Settings file MinecraftClient.ini has been generated.. + /// + internal static string mcc_settings_generated { + get { + return ResourceManager.GetString("mcc.settings_generated", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Unknown or not supported MC version {0}. + ///Switching to autodetection mode.. + /// + internal static string mcc_unknown_version { + get { + return ResourceManager.GetString("mcc.unknown_version", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The current version is already up to date or is a development build.. + /// + internal static string mcc_update_already_latest { + get { + return ResourceManager.GetString("mcc.update.already_latest", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Checking for updates has already started.. + /// + internal static string mcc_update_already_running { + get { + return ResourceManager.GetString("mcc.update.already_running", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The download has been cancelled.. + /// + internal static string mcc_update_cancel { + get { + return ResourceManager.GetString("mcc.update.cancel", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Unable to check for updates from Github, please check your internet connection or enable proxy.. + /// + internal static string mcc_update_check_fail { + get { + return ResourceManager.GetString("mcc.update.check_fail", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Self-updating: Download is complete, decompressing.. + /// + internal static string mcc_update_download_complete { + get { + return ResourceManager.GetString("mcc.update.download_complete", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Self-updating: An error occurred while downloading or saving the file:. + /// + internal static string mcc_update_download_fail { + get { + return ResourceManager.GetString("mcc.update.download_fail", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Self-updating: New version detected: "{0}", download will start soon (platform: {1}).. + /// + internal static string mcc_update_exist_update { + get { + return ResourceManager.GetString("mcc.update.exist_update", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The latest release does not contain a build that matches your operating system and CPU architecture.. + /// + internal static string mcc_update_platform_not_support { + get { + return ResourceManager.GetString("mcc.update.platform_not_support", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Self-updating: {0:00.00}%, ETA {4}, Downloaded {1:00.0}MB of {2:00.0}MB, Avg {3:0.0}KB/s. + /// + internal static string mcc_update_progress { + get { + return ResourceManager.GetString("mcc.update.progress", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Self-updating: Downloaded {0:00.0}MB, Avg {1:0.0}KB/s. + /// + internal static string mcc_update_progress_type2 { + get { + return ResourceManager.GetString("mcc.update.progress_type2", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Add "-f" to force the download.. + /// + internal static string mcc_update_promote_force { + get { + return ResourceManager.GetString("mcc.update.promote_force", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Use "--force-upgrade" to force the download.. + /// + internal static string mcc_update_promote_force_cmd { + get { + return ResourceManager.GetString("mcc.update.promote_force_cmd", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Self-updating: File saved as: {0}. + /// + internal static string mcc_update_save_as { + get { + return ResourceManager.GetString("mcc.update.save_as", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Start checking for updates.. + /// + internal static string mcc_update_start { + get { + return ResourceManager.GetString("mcc.update.start", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Please use the newly generated MinecraftClient.ini. + /// + internal static string mcc_use_new_config { + get { + return ResourceManager.GetString("mcc.use_new_config", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Using Minecraft version {0} (protocol v{1}). + /// + internal static string mcc_use_version { + get { + return ResourceManager.GetString("mcc.use_version", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Version is supported. + ///Logging in.... + /// + internal static string mcc_version_supported { + get { + return ResourceManager.GetString("mcc.version_supported", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to , with Forge. + /// + internal static string mcc_with_forge { + get { + return ResourceManager.GetString("mcc.with_forge", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Connected to proxy {0}:{1}. + /// + internal static string proxy_connected { + get { + return ResourceManager.GetString("proxy.connected", resourceCulture); + } + } + } +} diff --git a/MinecraftClient/Resources/Translations/Translations.resx b/MinecraftClient/Resources/Translations/Translations.resx index 2beab3d2..ed73e510 100644 --- a/MinecraftClient/Resources/Translations/Translations.resx +++ b/MinecraftClient/Resources/Translations/Translations.resx @@ -118,16 +118,16 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - §cWeather change: It is no longer raining.§r + Weather change: It is no longer raining. - §cWeather change: It is no longer a thunderstorm.§r + Weather change: It is no longer a thunderstorm. - §cWeather change: It is raining now.§r + Weather change: It is raining now. - §cWeather change: It is a thunderstorm.§r + Weather change: It is a thunderstorm. Invalid walk range provided, must be a positive integer greater than 0, using default value of 5! @@ -159,18 +159,9 @@ Total {0} recipes loaded: {1} - - Resetting your config to default - Crafting failed! Waiting for more materials - - No config found. Writing a new one. - - - Error while parsing config: {0} - Duplicate recipe name specified: {0} @@ -204,9 +195,6 @@ The number of slots does not match and has been adjusted automatically. - - Successfully loaded - Missing material: {0} @@ -252,6 +240,9 @@ The block currently pointed to is not in the allowed list. + + Inventory handling is not enabled. Unable to switch tools automatically. + Automatic digging has started. @@ -277,6 +268,9 @@ Total {0} in the list: {1} + + Item not in the list + Cannot find inventory {0}! @@ -286,9 +280,6 @@ Cannot read drop mode from config. Using include mode. - - Item not in the list - AutoDrop disabled @@ -382,18 +373,9 @@ Launching with {0} reconnection attempts - - Loaded message: {0} - - - Loading messages from file: {0} - Initializing without a kick message file - - File not found: {0} - Message contains '{0}'. Reconnecting. @@ -466,6 +448,9 @@ cooldown: {6} Minecraft + + Successfully disconnected with MCC! + The provided guild/server with an id '{0}' has not been found! @@ -661,7 +646,7 @@ cooldown: {6} File not found: '{0}' - §8[MCC] [{0}] Cannot find script file: {1} + [MCC] [{0}] Cannot find script file: {1} Script '{0}' loaded. @@ -822,83 +807,83 @@ Add the ID of this chat to "Authorized_Chat_Ids" field in the configuration file TestBot - §8Converting session cache from disk: {0} + Converting session cache from disk: {0} - §8Ignoring invalid session token line: {0} + Ignoring invalid session token line: {0} - §8Ignoring invalid profile key token line: {0} + Ignoring invalid profile key token line: {0} - §8Ignoring session token string '{0}': {1} + Ignoring session token string '{0}': {1} - §8Ignoring profile key token string '{0}': {1} + Ignoring profile key token string '{0}': {1} - §8Loaded session: {0}:{1} + Loaded session: {0}:{1} - §8Loaded profile key, it will be refresh at {0} + Loaded profile key, it will be refresh at {0} - §8Loading Minecraft profiles: {0} + Loading Minecraft profiles: {0} - §8Loading profile key cache from disk: {0} + Loading profile key cache from disk: {0} - §8Loading session cache from disk: {0} + Loading session cache from disk: {0} - §8Got malformed data while reading serialized session cache from disk: {0} + Got malformed data while reading serialized session cache from disk: {0} - §8Failed to read serialized session cache from disk: {0} + Failed to read serialized session cache from disk: {0} - §8Failed to read session cache from disk: {0} + Failed to read session cache from disk: {0} - §8Failed to read profile key cache from disk: {0} + Failed to read profile key cache from disk: {0} - §8Failed to write session cache to disk: {0} + Failed to write session cache to disk: {0} - §8Failed to write profile key cache to disk: {0} + Failed to write profile key cache to disk: {0} - §8Saving session cache to disk + Saving session cache to disk - §8Saving profile key cache to disk + Saving profile key cache to disk - §8Done. File saved as '{0}' + Done. File saved as '{0}' - §8Downloading '{0}.lang' from Mojang servers... + Downloading '{0}.lang' from Mojang servers... - §8Failed to download the file. + Failed to download the file. - §8Defaulting to en_GB.lang from your Minecraft directory. + Defaulting to en_GB.lang from your Minecraft directory. - §8Translations file loaded. + Translations file loaded. Player {0}'s message chain is broken! - §8Translations file not found: '{0}' + Translations file not found: '{0}' Some messages won't be properly printed without this file. - §8Performing request to {0} + Performing request to {0} [{0}] Disconnecting and Reconnecting to the Server @@ -998,7 +983,7 @@ Some messages won't be properly printed without this file. Change EnableEmoji=false in the settings if the display is confusing. - §x§0This command is used for debugging, make sure you know what you are doing.§r + This command is used for debugging, make sure you know what you are doing. Player:{0}, MarkedChunk:{1}, NotReceived:{2}, Loading:{3}, Loaded:{4} @@ -1007,7 +992,7 @@ Change EnableEmoji=false in the settings if the display is confusing. Marked location: - §x§0Since the marked chunk is outside the graph, it will not be displayed!§r + Since the marked chunk is outside the graph, it will not be displayed! connect to the specified server. @@ -1069,15 +1054,15 @@ Change EnableEmoji=false in the settings if the display is confusing. Invalid slot provided (Available: top, middle, bottom)! + + Could not click! + You must first put an item to enchant to the enchanting table in order to get enchantments from the server, then you can execute this command! You do not have enouhg levels to enchant! (Your current level is {0}, you need to be level {1}). - - Could not click! - Entity attacked @@ -1165,6 +1150,9 @@ Change EnableEmoji=false in the settings if the display is confusing. no result! + + You can not use execmulti or execif within execmulti command! + result '{0}'! @@ -1210,9 +1198,6 @@ Change EnableEmoji=false in the settings if the display is confusing. Started following {0}! - - Stopped! - Stopped following! @@ -1333,15 +1318,15 @@ Note that parameters in '[]' are optional. You must be in Creative gamemode + + Inventory #{0} do not exist + Could not find the specified item in any of avaliable Inventories! No item in slot #{0} - - Inventory #{0} do not exist - Right @@ -1388,6 +1373,9 @@ You can use "/chunk status {0:0.0} {1:0.0} {2:0.0}" to check the chunk loading s walk or start walking. + + force unsafe movements like falling or touching fire + Cannot move in that direction. @@ -1460,6 +1448,9 @@ You can use "/chunk status {0:0.0} {1:0.0} {2:0.0}" to check the chunk loading s set a custom %variable% randomly to a given value. + + setrnd variable -7to17 OR setrnd variable string1 "\"string2\" string3" + setrnd variable -7 to 17 @@ -1493,706 +1484,44 @@ You can use "/chunk status {0:0.0} {1:0.0} {2:0.0}" to check the chunk loading s Used an item - - can be used in some other fields as %yourvar% -%username% and %serverip% are reserved variables. - - §cFailed to write to backup file {0}§r - - - =============================== # - Minecraft Console Client Bots # -=============================== # - - - Get alerted when specified words are detected in chat -Useful for moderating your server or detecting when someone is talking to you - - - Play a beep sound when a word is detected in addition to highlighting. - - - List of words/strings to NOT alert you on. - - - The name of a file where alers logs will be written. - - - Log alerts info a file. - - - List of words/strings to alert you on. - - - Trigger alerts when it rains and when it stops. - - - Triggers alerts at the beginning and end of thunderstorms. - - - Triggers an alert after receiving a specified keyword. - - - 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) - - - Command to send to the server. - - - The time interval for execution. (in seconds) - - - Whether to sneak when sending the command. - - - Use terrain handling to enable the bot to move around. - - - The range the bot can move around randomly (Note: the bigger the range, the slower the bot will be) - - - How many times can the bot fail trying to move before using the command method. - - - 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! - - - Allow attacking hostile mobs. - - - Allow attacking passive mobs. - - - How long to wait between each attack. Set "Custom = false" to let MCC calculate it. - - - All entity types can be found here: https://mccteam.github.io/r/entity/#L15 - - - Possible values: "Interact", "Attack" (default), "InteractAt" (Interact and Attack). - - - Wether to treat the entities list as a "whitelist" or as a "blacklist". - - - "single" or "multi". single target one mob per attack. multi target all mobs in range per attack - - - "health" or "distance". Only needed when using single mode - - - Automatically craft items in your inventory -See https://mccteam.github.io/g/bots/#auto-craft 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 - - - Location of the crafting table if you intended to use it. Terrain and movements must be enabled. - - - What to do on crafting failure, "abort" or "wait". - - - Recipes.Name: The name can be whatever you like and it is used to represent the recipe. -Recipes.Type: crafting table type: "player" or "table" -Recipes.Result: the resulting item -Recipes.Slots: All slots, counting from left to right, top to bottom. Please fill in "Null" for empty slots. -For the naming of the items, please see: https://mccteam.github.io/r/item/#L12 - - - Auto-digging blocks. -You need to enable Terrain Handling to use this bot -You can use "/digbot start" and "/digbot stop" to control the start and stop of AutoDig. -Since MCC does not yet support accurate calculation of the collision volume of blocks, all blocks are considered as complete cubes when obtaining the position of the lookahead. -For the naming of the block, please see https://mccteam.github.io/r/block/#L15 - - - How many seconds to wait after entering the game to start digging automatically, set to -1 to disable automatic start. - - - Automatically switch to the appropriate tool. - - - Mining a block for more than "Dig_Timeout" seconds will be considered a timeout. - - - Whether to drop the current tool when its durability is too low. - - - Will not use tools with less durability than this. Set to zero to disable this feature. - - - Wether to treat the blocks list as a "whitelist" or as a "blacklist". - - - "distance" or "index", When using the "fixedpos" mode, the blocks are determined by distance to the player, or by the order in the list. - - - The position of the blocks when using "fixedpos" or "both" mode. - - - Whether to output logs when digging blocks. - - - "lookat", "fixedpos" or "both". Digging the block being looked at, the block in a fixed position, or the block that needs to be all met. - - - Automatically drop items in inventory -You need to enable Inventory Handling to use this bot -See this file for an up-to-date list of item types you can use with this bot: https://mccteam.github.io/r/item/#L12 - - - "include", "exclude" or "everything". Include: drop item IN the list. Exclude: drop item NOT IN the list - - - Automatically eat food when your Hunger value is low -You need to enable Inventory Handling to use this bot - - - Automatically catch fish using a fishing rod -Guide: https://mccteam.github.io/g/bots/#auto-fishing -You can use "/fish" to control the bot manually. -/!\ Make sure server rules allow automated farming before using this bot - - - Keep it as false if you have not changed it before. - - - Switch to a new rod from inventory after the current rod is unavailable. - - - Whether to start fishing automatically after entering a world. - - - How soon to re-cast after successful fishing. - - - Will not use rods with less durability than this (full durability is 64). Set to zero to disable this feature. - - - This allows the player to change position/facing after each fish caught. - - - How long after entering the game to start fishing (seconds). - - - Fishing timeout (seconds). Timeout will trigger a re-cast. - - - A "stationary" hook that moves above this threshold in the Y-axis will be considered to have caught a fish. - - - Used to adjust the above two thresholds, which when enabled will print the change in the position of the fishhook entity upon receipt of its movement packet. - - - Use the mainhand or the offhand to hold the rod. - - - It will move in order "1->2->3->4->3->2->1->2->..." and can change position or facing or both each time. It is recommended to change the facing only. - - - Hook movement in the X and Z axis less than this value will be considered stationary. - - - Automatically relog when disconnected by server, for example because the server is restating -/!\ Use Ignore_Kick_Message=true at own risk! Server staff might not appreciate if you auto-relog on manual kicks - - - The delay time before joining the server. (in seconds) - - - When set to true, autorelog will reconnect regardless of kick messages. - - - If the kickout message matches any of the strings, then autorelog will be triggered. - - - Retries when failing to relog to the server. use -1 for unlimited retries. - - - 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 - - - Do not remove colors from text (Note: Your matches will have to include color codes (ones using the § character) in order to work) - - - Logs chat messages in a file on disk. - - - This bot allows you to send and recieve messages and commands via a Discord channel. -For Setup you can either use the documentation or read here (Documentation has images). -Documentation: https://mccteam.github.io/g/bots/#discord-bridge -Setup: -First you need to create a Bot on the Discord Developers Portal, here is a video tutorial: https://www.youtube.com/watch?v=2FgMnZViNPA . -/!\ IMPORTANT /!\: When creating a bot, you MUST ENABLE "Message Content Intent", "Server Members Intent" and "Presence Intent" in order for bot to work! Also follow along carefully do not miss any steps! -When making a bot, copy the generated token and paste it here in "Token" field (tokens are important, keep them safe). -Copy the "Application ID" and go to: https://discordapi.com/permissions.html . -Paste the id you have copied and check the "Administrator" field in permissions, then click on the link at the bottom. -This will open an invitation menu with your servers, choose the server you want to invite the bot on and invite him. -Once you've invited the bot, go to your Discord client and go to Settings -> Advanced and Enable "Developer Mode". -Exit the settings and right click on a server you have invited the bot to in the server list, then click "Copy ID", and paste the id here in "GuildId". -Then right click on a channel where you want to interact with the bot and again right click -> "Copy ID", pase the copied id here in "ChannelId". -And for the end, send a message in the channel, right click on your nick and again right click -> "Copy ID", then paste the id here in "OwnersIds". -How to use: -To execute an MCC command, prefix it with a dot ".", example: ".move 143 64 735" . -To send a message, simply type it out and hit enter. - - - The ID of a channel where you want to interact with the MCC using the bot. - - - Message formats -Words wrapped with { and } are going to be replaced during the code execution, do not change them! -For example. {message} is going to be replace with an actual message, {username} will be replaced with an username, {timestamp} with the current time. -For Discord message formatting, check the following: https://mccteam.github.io/r/dc-fmt.html - - - The ID of a server/guild where you have invited the bot to. - - - How long to wait (in seconds) if a message can not be sent to discord before canceling the task (minimum 1 second). - - - A list of IDs of people you want to be able to interact with the MCC using the bot. - - - Your Discord Bot token. - - - Automatically farms crops for you (plants, breaks and bonemeals them). -Crop types available: Beetroot, Carrot, Melon, Netherwart, Pumpkin, Potato, Wheat. -Usage: "/farmer start" command and "/farmer stop" command. -NOTE: This a newly added bot, it is not perfect and was only tested in 1.19.2, there are some minor issues like not being able to bonemeal carrots/potatoes sometimes. -or bot jumps onto the farm land and breaks it (this happens rarely but still happens). We are looking forward at improving this. -It is recommended to keep the farming area walled off and flat to avoid the bot jumping. -Also, if you have your farmland that is one block high, make it 2 or more blocks high so the bot does not fall through, as it can happen sometimes when the bot reconnects. -The bot also does not pickup all items if they fly off to the side, we have a plan to implement this option in the future as well as drop off and bonemeal refill chest(s). - - - Delay between tasks in seconds (Minimum 1 second) - - - 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 - - - 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) - - - The rate at which the bot does calculations (in seconds) (You can tweak this if you feel the bot is too slow) - - - 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 - - - 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 - - - Allows you to render maps in the console and into images (which can be then sent to Discord using Discord Bridge Chat Bot) -This is useful for solving captchas which use maps -The maps are rendered into Rendered_Maps folder if the Save_To_File is enabled. -NOTE: -If some servers have a very short time for solving captchas, enabe Auto_Render_On_Update to see them immediatelly in the console. -/!\ Make sure server rules allow bots to be used on the server, or you risk being punished. - - - Automatically render the map once it is received or updated from/by the server - - - Delete all rendered maps on unload/reload or when you launch the MCC again. - - - Get a notification when you have gotten a map from the server for the first time - - - Resize an rendered image, this is useful when images that are rendered are small and when are being sent to Discord. - - - Whether to render the map in the console. - - - The size that a rendered image should be resized to, in pixels (eg. 512). - - - Whether to store the rendered map as a file (You need this setting if you want to get a map on Discord using Discord Bridge). - - - Send a rendered map (saved to a file) to a Discord or a Telegram channel via the Discord or Telegram Bride chat bot (The Discord/Telegram Bridge chat bot must be enabled and configured!) -You need to enable Save_To_File in order for this to work. -We also recommend turning on resizing. - - - Log the list of players periodically into a textual file. - - - (In seconds) - - - 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 - - - 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! - - - How long should replay file be auto-saved, in seconds. Use -1 to disable. - - - Schedule commands and scripts to launch on various events such as server join, date/time or time interval -See https://mccteam.github.io/g/bots/#script-scheduler for more info - - - This bot allows you to send and receive messages and commands via a Telegram Bot DM or to receive messages in a Telegram channel. -/!\ NOTE: You can't send messages and commands from a group channel, you can only send them in the bot DM, but you can get the messages from the client in a group channel. ------------------------------------------------------------ -Setup: -First you need to create a Telegram bot and obtain an API key, to do so, go to Telegram and find @botfather -Click on "Start" button and read the bot reply, then type "/newbot", the Botfather will guide you through the bot creation. -Once you create the bot, copy the API key that you have gotten, and put it into the "Token" field of "ChatBot.TelegramBridge" section (this section). -/!\ Do not share this token with anyone else as it will give them the control over your bot. Save it securely. -Then launch the client and go to Telegram, find your newly created bot by searching for it with its username, and open a DM with it. -Click on "Start" button and type and send the following command ".chatid" to obtain the chat id. -Copy the chat id number (eg. 2627844670) and paste it in the "ChannelId" field and add it to the "Authorized_Chat_Ids" field (in this section) (an id in "Authorized_Chat_Ids" field is a number/long, not a string!), then save the file. -Now you can use the bot using it's DM. -/!\ If you do not add the id of your chat DM with the bot to the "Authorized_Chat_Ids" field, ayone who finds your bot via search will be able to execute commands and send messages! -/!\ An id pasted in to the "Authorized_Chat_Ids" should be a number/long, not a string! ------------------------------------------------------------ -NOTE: If you want to recieve messages to a group channel instead, make the channel temporarely public, invite the bot to it and make it an administrator, then set the channel to private if you want. -Then set the "ChannelId" field to the @ of your channel (you must include the @ in the settings, eg. "@mysupersecretchannel"), this is the username you can see in the invite link of the channel. -/!\ Only include the username with @ prefix, do not include the rest of the link. Example if you have "https://t.me/mysupersecretchannel", the "ChannelId" will be "@mysupersecretchannel". -/!\ Note that you will not be able to send messages to the client from a group channel! ------------------------------------------------------------ -How to use the bot: -To execute an MCC command, prefix it with a dot ".", example: ".move 143 64 735" . -To send a message, simply type it out and hit enter. - - - A list of Chat IDs that are allowed to send messages and execute commands. To get an id of your chat DM with the bot use ".chatid" bot command in Telegram. - - - An ID of a channel where you want to interact with the MCC using the bot. - - - Message formats -Words wrapped with { and } are going to be replaced during the code execution, do not change them! -For example. {message} is going to be replace with an actual message, {username} will be replaced with an username, {timestamp} with the current time. -For Telegram message formatting, check the following: https://mccteam.github.io/r/tg-fmt.html - - - How long to wait (in seconds) if a message can not be sent to Telegram before canceling the task (minimum 1 second). - - - Your Telegram Bot token. - - - 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 https://mccteam.github.io/g/conf/#chat-format-section - - - MCC support for common message formats. Set "false" to avoid conflicts with custom formats. - - - Whether to use the custom regular expressions below for detection. - - - Startup Config File -Please do not record extraneous data in this file as it will be overwritten by MCC. - -New to Minecraft Console Client? Check out this document: https://mccteam.github.io/g/conf.html -Want to upgrade to a newer version? See https://github.com/MCCTeam/Minecraft-Console-Client/#download + Failed to write to backup file {0} Settings have been loaded from {0} - §cFailed to load settings:§r - - - This setting affects only the messages in the console. - - - Regex for filtering chat message. - - - Show server chat messages. - - - Regex for filtering debug message. - - - Please enable this before submitting bug reports. Thanks! - - - Show error messages. - - - "disable" or "blacklist" OR "whitelist". Blacklist hide message match regex. Whitelist show message match regex. - - - Informative messages. (i.e Most of the message from MCC) - - - Log file name. - - - Write log messages to file. - - - Prepend timestamp to messages in log file. - - - Keep color codes in the saved text.(look like "§b") - - - Show warning messages. - - - Make sure you understand what each setting does before changing anything! - - - AccountList: It allows a fast account switching without directly using the credentials -Usage examples: "/tell <mybot> reco Player2", "/connect <serverip> Player1" - - - Toggle auto respawn if client player was dead (make sure your spawn point is safe). - - - Set the owner of the bot. /!\ Server admins can impersonate owners! - - - Use "mcc", "vanilla" or "none". This is how MCC identifies itself to the server. - - - Leave empty for no logfile. - - - If turned off, the emoji will be replaced with a simpler character (for /chunk status). - - - Toggle entity handling. - - - Whether to exit directly when an error occurs, for using MCC in non-interactive scripts. - - - Use "none", "slash"(/) or "backslash"(\). - - - Toggle inventory handling. - - - Fill in with in-game locale code, check https://mccteam.github.io/r/l-code.html + Failed to load settings: The language code is invalid! - - Use "auto", "no" or "force". Force-enabling only works for MC 1.13+. - - - Use "auto" or "1.X.X" values. Allows to skip server info retrieval. - - - Controls the minimum interval (in seconds) between sending each message to the server. - - - Enable support for joining Minecraft Realms worlds. - - - The minimum height to use when calculating the image size from the height of the terminal. - - - The minimum width used when calculating the image size from the width of the terminal. - - - Enable head movement while walking to avoid anti-cheat triggers. - - - A movement speed higher than 2 may be considered cheating. - - - Only works on Windows XP-8 or Windows 10 with old console. - - - For remote control of the bot. - - - How to retain profile key. Use "none", "memory" or "disk". - - - Use "no", "fast" (5s timeout), or "yes". Required for joining some servers. - - - Cache compiled scripts for faster load on low-end devices. - - - ServerList: It allows an easier and faster server switching with short aliases instead of full server IP -Aliases cannot contain dots or spaces, and the name "localhost" cannot be used as an alias. -Usage examples: "/tell <mybot> connect Server1", "/connect Server2" - - - How to retain session tokens. Use "none", "memory" or "disk". - - - Decode links embedded in chat messages and show them in console. - - - Show inventory layout as ASCII art in inventory command. - - - System messages for server ops. - - - Messages displayed above xp bar, set this to false in case of xp bar spam. - - - Use "none", "bit_4", "bit_8" or "bit_24". This can be checked by opening the debug log. - - - Uses more ram, cpu, bandwidth but allows you to move around. - - - Customize the TCP connection timeout with the server. (in seconds) - - - Prepend timestamps to chat messages. - - - Login=Email or Name. Use "-" as password for offline mode. Leave blank to prompt user on startup. - - - The address of the game server, "Host" can be filled in with domain name or IP address. (The "Port" field can be deleted, it will be resolved automatically) - - - Microsoft Account sign-in method: "mcc" OR "browser". If the login always fails, please try to use the "browser" once. - - - Account type: "mojang" OR "microsoft". Also affects interactive login in console. - - - Settings below are sent to the server and only affect server-side things like your skin. - - - Allows disabling chat colors server-side. - - - Use "enabled", "commands", or "disabled". Allows to mute yourself... - - - MC 1.7- difficulty. "peaceful", "easy", "normal", "difficult". - - - If disabled, settings below are not sent to the server. - - - Use any language implemented in Minecraft. - - - MC 1.9+ main hand. "left" or "right". - - - Value range: [0 - 255]. - - - Connect to a server via a proxy instead of connecting directly -If Mojang session services are blocked on your network, set Enabled_Login=true to login using proxy. -If the connection to the Minecraft game server is blocked by the firewall, set Enabled_Ingame=true to use a proxy to connect to the game server. -/!\ Make sure your server rules allow Proxies or VPNs before setting enabled=true, or you may face consequences! - - - Whether to connect to the game server through a proxy. - - - Whether to connect to the login server through a proxy. - - - Only required for password-protected proxies. - - - Supported types: "HTTP", "SOCKS4", "SOCKS4a", "SOCKS5". - - - Proxy server must allow HTTPS for login, and non-443 ports for playing. - - - Only required for password-protected proxies. - - §aThe current setting is saved as {0} - - - Chat signature related settings (affects minecraft 1.19+) - - - Microsoft accounts only. If disabled, will not be able to sign chat and join servers configured with "enforce-secure-profile=true" - - - Use red    color block to mark chat without legitimate signature - - - Use green  color block to mark chat with legitimate signatures - - - Use yellow color block to mark chat that have been modified by the server. - - - Use gray   color block to mark system message (always without signature) - - - Whether to display chat and messages in commands without legal signatures - - - Set to true to display messages modified by the server, false to display the original signed messages - - - Whether to sign the chat send from MCC - - - Whether to sign the messages contained in the commands sent by MCC. For example, the message in "/msg" and "/me" + The current setting is saved as {0} - §cFailed to write to settings file {0}§r + Failed to write to settings file {0} Color test: Your terminal should display {0} - §8Crypto keys & hash generated. + Crypto keys & hash generated. - §8No profile keys could be loaded from disk + No profile keys could be loaded from disk - §8Profile keys has been successfully loaded from disk. + Profile keys has been successfully loaded from disk. - §8Performing request to {0} + Performing request to {0} - §8No sessions could be loaded from disk + No sessions could be loaded from disk - §8Session data has been successfully loaded from disk. + Session data has been successfully loaded from disk. Success. (session ID: {0}) @@ -2213,26 +1542,26 @@ If the connection to the Minecraft game server is blocked by the firewall, set E Top slot - §8Got error code from server while refreshing authentication: {0} + Got error code from server while refreshing authentication: {0} Failed to connect to this IP. - §8A timeout occured while attempting to connect to this IP. + A timeout occured while attempting to connect to this IP. Failed to determine server version. - §8Forge Login Handshake did not complete successfully - - - §8Forge StartEncryption Handshake did not complete successfully + Forge Login Handshake did not complete successfully Cannot force Forge support for this Minecraft version! + + Forge StartEncryption Handshake did not complete successfully + Invalid usage of the generator command! @@ -2243,13 +1572,13 @@ If the connection to the Minecraft game server is blocked by the firewall, set E Invalid data path provided! (The path either does not exists or you have made a typo) - §8Got error code from server: {0} + Got error code from server: {0} - §8Invalid response to StartEncryption packet + Invalid response to StartEncryption packet - §8Invalid response to Handshake packet + Invalid response to Handshake packet This feature requires Inventory Handling to be enabled in order to work! @@ -2294,7 +1623,7 @@ If the connection to the Minecraft game server is blocked by the firewall, set E You are missing argument {0} - §8Server does not report its protocol version, autodetection will not work. + Server does not report its protocol version, autodetection will not work. Failed to ping this IP. @@ -2324,7 +1653,7 @@ If the connection to the Minecraft game server is blocked by the firewall, set E Connection Timeout - §8Unexpected response from the server (is that a Minecraft server?) + Unexpected response from the server (is that a Minecraft server?) Cannot connect to the server : This version is not supported ! @@ -2333,7 +1662,7 @@ If the connection to the Minecraft game server is blocked by the firewall, set E Usage: - §8Server reports a different version than manually set. Login may not work. + Server reports a different version than manually set. Login may not work. ChatBot methods should NOT be called in the constructor as API handler is not initialized yet. Override Initialize() or AfterGameJoined() instead to perform initialization tasks. @@ -2350,6 +1679,9 @@ If the connection to the Minecraft game server is blocked by the firewall, set E Please update entity types handling for this Minecraft version. See EntityType.cs + + Please update health field handling for this Minecraft version. + Please update item types handling for this Minecraft version. See ItemType.cs @@ -2366,7 +1698,7 @@ If the connection to the Minecraft game server is blocked by the firewall, set E The protocol version no.{0} is not supported. - §cEntities are currently not handled for that MC version. + Entities are currently not handled for that MC version. Please enable EntityHandling in the config file first. @@ -2375,7 +1707,7 @@ If the connection to the Minecraft game server is blocked by the firewall, set E Inventory # {0} closed. - §cInventories are currently not handled for that MC version. + Inventories are currently not handled for that MC version. Inventory handling is now enabled. @@ -2390,7 +1722,7 @@ If the connection to the Minecraft game server is blocked by the firewall, set E Please enable InventoryHandling in the config file first. - §cTerrain & Movements currently not handled for that MC version. + Terrain & Movements currently not handled for that MC version. Terrain and Movements is now enabled. @@ -2399,58 +1731,58 @@ If the connection to the Minecraft game server is blocked by the firewall, set E Please enable Terrain and Movements in the config file first. - §8[{0}] Failed to initialize FileSystemWatcher, retrying using Polling + [{0}] Failed to initialize FileSystemWatcher, retrying using Polling - §8[{0}] Initializing FileSystemWatcher for file: {1} + [{0}] Initializing FileSystemWatcher for file: {1} - §8Accepting server mod list... + Accepting server mod list... - §8Accepting server registries... + Accepting server registries... Forge server connection complete! - §8Acknowledging FML2 Server Config: {0} + Acknowledging FML2 Server Config: {0} - §8Received FML2 Server Mod List + Received FML2 Server Mod List - §8Sending back FML2 Client Mod List + Sending back FML2 Client Mod List - §8Acknowledging FML2 Server Registry: {0} + Acknowledging FML2 Server Registry: {0} - §8Got Unknown FML2 Handshake message no. {0} + Got Unknown FML2 Handshake message no. {0} - §8Ignoring Unknown FML2 LoginMessage channel: {0} + Ignoring Unknown FML2 LoginMessage channel: {0} - §8Mod list: + Mod list: - §8Server is running Forge without mods. + Server is running Forge without mods. - §8Received registry with {0} entries + Received registry with {0} entries - §8Received registry {0} with {1} entries + Received registry {0} with {1} entries - §8Sending falsified mod list to server... + Sending falsified mod list to server... - §8Forge protocol version : {0} + Forge protocol version : {0} - §8Server is running Forge with {0} mods. + Server is running Forge with {0} mods. Available commands: {0} @@ -2477,6 +1809,15 @@ If the connection to the Minecraft game server is blocked by the firewall, set E Unknown command '{0}'. Use 'help' for command list. + + The old MinecraftClient.ini has been backed up as {0} + + + Paste your code here: + + + Your browser should open automatically. If not, open the link below in your browser. + Connecting to {0}... @@ -2502,10 +1843,7 @@ If the connection to the Minecraft game server is blocked by the firewall, set E Force-enabling Forge support. - §8Found server {0}:{1} for domain {2} - - - New configuration file "{0}" is generated. + Found server {0}:{1} for domain {2} Succesfully generated {0} palette using the dataset: {1} @@ -2513,11 +1851,15 @@ If the connection to the Minecraft game server is blocked by the firewall, set E Generating {0} palette using the dataset: {1} + + New configuration file "{0}" is generated. + - §8Handshake successful. (Server ID: {0}) + Handshake successful. (Server ID: {0}) - §eNew version of MCC available: {0} + A new version of MCC is available and you can download it via /upgrade +Or download it manually: {0} Help us translate MCC: {0} @@ -2542,14 +1884,11 @@ Type '{0}quit' to leave the server. Please type the username or email of your choice. - §8Failed to perform SRV lookup for {0} + Failed to perform SRV lookup for {0} {1}: {2} - §8You chose to run in offline mode. - - - Password: + You chose to run in offline mode. Please type the password for {0}. @@ -2567,10 +1906,10 @@ Type '{0}quit' to leave the server. Or press Enter to exit Minecraft Console Client. - §8Cached profile key needs to be refreshed. + Cached profile key needs to be refreshed. - §8Cached profile key is still valid for {0}. + Cached profile key is still valid for {0}. You have access to the following Realms worlds @@ -2598,10 +1937,10 @@ Type '{0}quit' to leave the server. MCC is running with default settings. - §8Server is in offline mode. + Server is in offline mode. - §8Server version : {0} (protocol v{1}) + Server version : {0} (protocol v{1}) Server version : @@ -2613,23 +1952,68 @@ MCC is running with default settings. Failed to check session. - §8Cached session is invalid or expired. + Cached session is invalid or expired. - §8Cached session is still valid for {0}. + Cached session is still valid for {0}. - §cSettings file MinecraftClient.ini has been generated. - - - §7Command §8 {0} §7 sent. + Settings file MinecraftClient.ini has been generated. - §8Unknown or not supported MC version {0}. + Unknown or not supported MC version {0}. Switching to autodetection mode. + + The current version is already up to date or is a development build. + + + Checking for updates has already started. + + + The download has been cancelled. + + + Unable to check for updates from Github, please check your internet connection or enable proxy. + + + Self-updating: Download is complete, decompressing. + + + Self-updating: An error occurred while downloading or saving the file: + + + Self-updating: New version detected: "{0}", download will start soon (platform: {1}). + + + The latest release does not contain a build that matches your operating system and CPU architecture. + + + Self-updating: {0:00.00}%, ETA {4}, Downloaded {1:00.0}MB of {2:00.0}MB, Avg {3:0.0}KB/s + + + setrnd variable -7 to 17 OR setrnd variable string1 "\"string2\" string3" + + + Self-updating: Downloaded {0:00.0}MB, Avg {1:0.0}KB/s + + + Add "-f" to force the download. + + + Use "--force-upgrade" to force the download. + + + Self-updating: File saved as: {0} + + + Start checking for updates. + + + Please use the newly generated MinecraftClient.ini + - §8Using Minecraft version {0} (protocol v{1}) + Using Minecraft version {0} (protocol v{1}) Version is supported. @@ -2639,42 +2023,6 @@ Logging in... , with Forge - §8Connected to proxy {0}:{1} + Connected to proxy {0}:{1} - - Load translations applied to MCC when available, turn it off to use English only. - - - setrnd variable -7 to 17 OR setrnd variable string1 "\"string2\" string3" - - - Please update health field handling for this Minecraft version. - - - Successfully disconnected with MCC! - - - You can not use execmulti or execif within execmulti command! - - - force unsafe movements like falling or touching fire - - - Inventory handling is not enabled. Unable to switch tools automatically. - - - Please use the newly generated MinecraftClient.ini - - - The old MinecraftClient.ini has been backed up as {0} - - - Temporary fix for Badpacket issue on some servers. - - - Paste your code here: - - - Your browser should open automatically. If not, open the link below in your browser. - - \ No newline at end of file + diff --git a/MinecraftClient/Scripting/CSharpRunner.cs b/MinecraftClient/Scripting/CSharpRunner.cs index 1d6f258a..e6587440 100644 --- a/MinecraftClient/Scripting/CSharpRunner.cs +++ b/MinecraftClient/Scripting/CSharpRunner.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel; using System.IO; @@ -401,4 +401,4 @@ namespace MinecraftClient.Scripting return CSharpRunner.Run(this, lines, args, localVars, scriptName: script); } } -} \ No newline at end of file +} diff --git a/MinecraftClient/Scripting/ChatBot.cs b/MinecraftClient/Scripting/ChatBot.cs index 245a1a4a..025bb850 100644 --- a/MinecraftClient/Scripting/ChatBot.cs +++ b/MinecraftClient/Scripting/ChatBot.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.IO; using System.Linq; @@ -100,12 +100,12 @@ namespace MinecraftClient.Scripting /// NOTE: Chat messages cannot be sent at this point in the login process. /// If you want to send a message when the bot is loaded, use AfterGameJoined. /// - public virtual void Initialize(CommandDispatcher dispatcher) { } + public virtual void Initialize() { } /// /// This method is called when the bot is being unloaded, you can use it to free up resources like DB connections /// - public virtual void OnUnload(CommandDispatcher dispatcher) { } + public virtual void OnUnload() { } /// /// Called after the server has been joined successfully and chat messages are able to be sent. diff --git a/MinecraftClient/Scripting/DynamicRun/Builder/Compiler.cs b/MinecraftClient/Scripting/DynamicRun/Builder/Compiler.cs index 078f97a0..63e31239 100644 --- a/MinecraftClient/Scripting/DynamicRun/Builder/Compiler.cs +++ b/MinecraftClient/Scripting/DynamicRun/Builder/Compiler.cs @@ -1,4 +1,4 @@ -/* +/* MIT License Copyright (c) 2019 Laurent Kempé https://github.com/laurentkempe/DynamicRun/blob/master/LICENSE @@ -172,4 +172,4 @@ namespace MinecraftClient.Scripting.DynamicRun.Builder } } } -} \ No newline at end of file +} diff --git a/MinecraftClient/Settings.cs b/MinecraftClient/Settings.cs index 0f216402..67c5cf72 100644 --- a/MinecraftClient/Settings.cs +++ b/MinecraftClient/Settings.cs @@ -37,8 +37,6 @@ namespace MinecraftClient public static string TranslationsFile_Website_Download = "http://resources.download.minecraft.net"; public const string TranslationProjectUrl = "https://crwd.in/minecraft-console-client"; - public const string GithubReleaseUrl = "https://github.com/MCCTeam/Minecraft-Console-Client/releases"; - public const string GithubLatestReleaseUrl = GithubReleaseUrl + "/latest"; public static GlobalConfig Config = new(); @@ -65,7 +63,7 @@ namespace MinecraftClient public class GlobalConfig { - [TomlPrecedingComment("$config.Head$")] + [TomlPrecedingComment("$Head$")] public HeadComment Head { get { return HeadCommentHealper.Config; } @@ -78,14 +76,14 @@ namespace MinecraftClient set { MainConfigHealper.Config = value; MainConfigHealper.Config.OnSettingUpdate(); } } - [TomlPrecedingComment("$config.Signature$")] + [TomlPrecedingComment("$Signature$")] public SignatureConfig Signature { get { return SignatureConfigHelper.Config; } set { SignatureConfigHelper.Config = value; SignatureConfigHelper.Config.OnSettingUpdate(); } } - [TomlPrecedingComment("$config.Logging$")] + [TomlPrecedingComment("$Logging$")] public LoggingConfig Logging { get { return LoggingConfigHealper.Config; } @@ -98,28 +96,28 @@ namespace MinecraftClient set { AppVarConfigHelper.Config = value; AppVarConfigHelper.Config.OnSettingUpdate(); } } - [TomlPrecedingComment("$config.Proxy$")] + [TomlPrecedingComment("$Proxy$")] public ProxyHandler.Configs Proxy { get { return ProxyHandler.Config; } set { ProxyHandler.Config = value; ProxyHandler.Config.OnSettingUpdate(); } } - [TomlPrecedingComment("$config.MCSettings$")] + [TomlPrecedingComment("$MCSettings$")] public MCSettingsConfig MCSettings { get { return MCSettingsConfigHealper.Config; } set { MCSettingsConfigHealper.Config = value; MCSettingsConfigHealper.Config.OnSettingUpdate(); } } - [TomlPrecedingComment("$config.ChatFormat$")] + [TomlPrecedingComment("$ChatFormat$")] public ChatFormatConfig ChatFormat { get { return ChatFormatConfigHelper.Config; } set { ChatFormatConfigHelper.Config = value; ChatFormatConfigHelper.Config.OnSettingUpdate(); } } - [TomlPrecedingComment("$config.ChatBot$")] + [TomlPrecedingComment("$ChatBot$")] public ChatBotConfig ChatBot { get { return ChatBotConfigHealper.Config; } @@ -161,7 +159,7 @@ namespace MinecraftClient } } catch { } - ConsoleIO.WriteLineFormatted(Translations.config_load_fail); + ConsoleIO.WriteLineFormatted("§c" + Translations.config_load_fail); ConsoleIO.WriteLine(ex.GetFullMessage()); return new(false, false); } @@ -191,7 +189,7 @@ namespace MinecraftClient string config = matchComment.Groups[1].Value, comment = matchComment.Groups[2].Value; if (config.Length > 0) newConfig.Append(config).Append(' ', Math.Max(1, CommentsAlignPosition - config.Length) - 1); - string? comment_trans = Translations.ResourceManager.GetString(comment); + string? comment_trans = ConfigComments.ResourceManager.GetString(comment); if (string.IsNullOrEmpty(comment_trans)) newConfig.Append("# ").AppendLine(comment.ReplaceLineEndings()); else @@ -226,7 +224,7 @@ namespace MinecraftClient catch (Exception ex) { backupSuccessed = false; - ConsoleIO.WriteLineFormatted(string.Format(Translations.config_backup_fail, backupFilePath)); + ConsoleIO.WriteLineFormatted("§c" + string.Format(Translations.config_backup_fail, backupFilePath)); ConsoleIO.WriteLine(ex.Message); } } @@ -236,7 +234,7 @@ namespace MinecraftClient try { File.WriteAllBytes(filepath, newConfigByte); } catch (Exception ex) { - ConsoleIO.WriteLineFormatted(string.Format(Translations.config_write_fail, filepath)); + ConsoleIO.WriteLineFormatted("§c" + string.Format(Translations.config_write_fail, filepath)); ConsoleIO.WriteLine(ex.Message); } } @@ -330,23 +328,29 @@ namespace MinecraftClient { public GeneralConfig General = new(); - [TomlPrecedingComment("$config.Main.Advanced$")] + [TomlPrecedingComment("$Main.Advanced$")] public AdvancedConfig Advanced = new(); [NonSerialized] public static readonly string[] AvailableLang = { - "af_za", "ar_sa", "ast_es", "az_az", "ba_ru", "bar", "be_by", "bg_bg", "br_fr", "brb", "bs_ba", "ca_es", - "cs_cz", "cy_gb", "da_dk", "de_at", "de_ch", "de_de", "el_gr", "en_au", "en_ca", "en_gb", "en_nz", "eo_uy", - "es_ar", "es_cl", "es_ec", "es_es", "es_mx", "es_uy", "es_ve", "esan", "et_ee", "eu_es", "fa_ir", "fi_fi", - "fil_ph", "fo_fo", "fr_ca", "fr_fr", "fra_de", "fur_it", "fy_nl", "ga_ie", "gd_gb", "gl_es", "haw_us", "he_il", - "hi_in", "hr_hr", "hu_hu", "hy_am", "id_id", "ig_ng", "io_en", "is_is", "isv", "it_it", "ja_jp", "jbo_en", - "ka_ge", "kk_kz", "kn_in", "ko_kr", "ksh", "kw_gb", "la_la", "lb_lu", "li_li", "lmo", "lt_lt", "lv_lv", "lzh", - "mk_mk", "mn_mn", "ms_my", "mt_mt", "nds_de", "nl_be", "nl_nl", "nn_no", "oc_fr", "ovd", "pl_pl", "pt_br", - "pt_pt", "qya_aa", "ro_ro", "rpr", "ru_ru", "se_no", "sk_sk", "sl_si", "so_so", "sq_al", "sr_sp", "sv_se", - "sxu", "szl", "ta_in", "th_th", "tl_ph", "tlh_aa", "tok", "tr_tr", "tt_ru", "uk_ua", "val_es", "vec_it", - "vi_vn", "yi_de", "yo_ng", "zh_cn", "zh_hk", "zh_tw", "zlm_arab" + "af_za", "ar_sa", "ast_es", "az_az", "ba_ru", "bar", "be_by", "bg_bg", + "br_fr", "brb", "bs_ba", "ca_es", "cs_cz", "cy_gb", "da_dk", "de_at", + "de_ch", "de_de", "el_gr", "en_au", "en_ca", "en_gb", "en_nz", "en_pt", + "en_ud", "en_us", "enp", "enws", "eo_uy", "es_ar", "es_cl", "es_ec", + "es_es", "es_mx", "es_uy", "es_ve", "esan", "et_ee", "eu_es", "fa_ir", + "fi_fi", "fil_ph", "fo_fo", "fr_ca", "fr_fr", "fra_de", "fur_it", "fy_nl", + "ga_ie", "gd_gb", "gl_es", "haw_us", "he_il", "hi_in", "hr_hr", "hu_hu", + "hy_am", "id_id", "ig_ng", "io_en", "is_is", "isv", "it_it", "ja_jp", + "jbo_en", "ka_ge", "kk_kz", "kn_in", "ko_kr", "ksh", "kw_gb", "la_la", + "lb_lu", "li_li", "lmo", "lol_us", "lt_lt", "lv_lv", "lzh", "mk_mk", + "mn_mn", "ms_my", "mt_mt", "nds_de", "nl_be", "nl_nl", "nn_no", "no_no", + "oc_fr", "ovd", "pl_pl", "pt_br", "pt_pt", "qya_aa", "ro_ro", "rpr", + "ru_ru", "se_no", "sk_sk", "sl_si", "so_so", "sq_al", "sr_sp", "sv_se", + "sxu", "szl", "ta_in", "th_th", "tl_ph", "tlh_aa", "tok", "tr_tr", + "tt_ru", "uk_ua", "val_es", "vec_it", "vi_vn", "yi_de", "yo_ng", "zh_cn", + "zh_hk", "zh_tw", "zlm_arab" }; /// @@ -466,16 +470,16 @@ namespace MinecraftClient [TomlDoNotInlineObject] public class GeneralConfig { - [TomlInlineComment("$config.Main.General.account$")] + [TomlInlineComment("$Main.General.account$")] public AccountInfoConfig Account = new(string.Empty, string.Empty); - [TomlInlineComment("$config.Main.General.login$")] + [TomlInlineComment("$Main.General.login$")] public ServerInfoConfig Server = new(string.Empty); - [TomlInlineComment("$config.Main.General.server_info$")] + [TomlInlineComment("$Main.General.server_info$")] public LoginType AccountType = LoginType.microsoft; - [TomlInlineComment("$config.Main.General.method$")] + [TomlInlineComment("$Main.General.method$")] public LoginMethod Method = LoginMethod.mcc; public enum LoginType { mojang, microsoft }; @@ -486,121 +490,121 @@ namespace MinecraftClient [TomlDoNotInlineObject] public class AdvancedConfig { - [TomlInlineComment("$config.Main.Advanced.language$")] + [TomlInlineComment("$Main.Advanced.language$")] public string Language = "en_gb"; - [TomlInlineComment("$config.Main.Advanced.LoadMccTrans$")] + [TomlInlineComment("$Main.Advanced.LoadMccTrans$")] public bool LoadMccTranslation = true; - // [TomlInlineComment("$config.Main.Advanced.console_title$")] + // [TomlInlineComment("$Main.Advanced.console_title$")] public string ConsoleTitle = "%username%@%serverip% - Minecraft Console Client"; - [TomlInlineComment("$config.Main.Advanced.internal_cmd_char$")] + [TomlInlineComment("$Main.Advanced.internal_cmd_char$")] public InternalCmdCharType InternalCmdChar = InternalCmdCharType.slash; - [TomlInlineComment("$config.Main.Advanced.message_cooldown$")] + [TomlInlineComment("$Main.Advanced.message_cooldown$")] public double MessageCooldown = 1.0; - [TomlInlineComment("$config.Main.Advanced.bot_owners$")] + [TomlInlineComment("$Main.Advanced.bot_owners$")] public List BotOwners = new() { "Player1", "Player2" }; - [TomlInlineComment("$config.Main.Advanced.mc_version$")] + [TomlInlineComment("$Main.Advanced.mc_version$")] public string MinecraftVersion = "auto"; - [TomlInlineComment("$config.Main.Advanced.mc_forge$")] + [TomlInlineComment("$Main.Advanced.mc_forge$")] public ForgeConfigType EnableForge = ForgeConfigType.auto; - [TomlInlineComment("$config.Main.Advanced.brand_info$")] + [TomlInlineComment("$Main.Advanced.brand_info$")] public BrandInfoType BrandInfo = BrandInfoType.mcc; - [TomlInlineComment("$config.Main.Advanced.chatbot_log_file$")] + [TomlInlineComment("$Main.Advanced.chatbot_log_file$")] public string ChatbotLogFile = ""; - [TomlInlineComment("$config.Main.Advanced.private_msgs_cmd_name$")] + [TomlInlineComment("$Main.Advanced.private_msgs_cmd_name$")] public string PrivateMsgsCmdName = "tell"; - [TomlInlineComment("$config.Main.Advanced.show_system_messages$")] + [TomlInlineComment("$Main.Advanced.show_system_messages$")] public bool ShowSystemMessages = true; - [TomlInlineComment("$config.Main.Advanced.show_xpbar_messages$")] + [TomlInlineComment("$Main.Advanced.show_xpbar_messages$")] public bool ShowXPBarMessages = true; - [TomlInlineComment("$config.Main.Advanced.show_chat_links$")] + [TomlInlineComment("$Main.Advanced.show_chat_links$")] public bool ShowChatLinks = true; - [TomlInlineComment("$config.Main.Advanced.show_inventory_layout$")] + [TomlInlineComment("$Main.Advanced.show_inventory_layout$")] public bool ShowInventoryLayout = true; - [TomlInlineComment("$config.Main.Advanced.terrain_and_movements$")] + [TomlInlineComment("$Main.Advanced.terrain_and_movements$")] public bool TerrainAndMovements = false; - [TomlInlineComment("$config.Main.Advanced.move_head_while_walking$")] + [TomlInlineComment("$Main.Advanced.move_head_while_walking$")] public bool MoveHeadWhileWalking = true; - [TomlInlineComment("$config.Main.Advanced.movement_speed$")] + [TomlInlineComment("$Main.Advanced.movement_speed$")] public int MovementSpeed = 2; - [TomlInlineComment("$config.Main.Advanced.temporary_fix_badpacket$")] + [TomlInlineComment("$Main.Advanced.temporary_fix_badpacket$")] public bool TemporaryFixBadpacket = false; - [TomlInlineComment("$config.Main.Advanced.inventory_handling$")] + [TomlInlineComment("$Main.Advanced.inventory_handling$")] public bool InventoryHandling = false; - [TomlInlineComment("$config.Main.Advanced.entity_handling$")] + [TomlInlineComment("$Main.Advanced.entity_handling$")] public bool EntityHandling = false; - [TomlInlineComment("$config.Main.Advanced.session_cache$")] + [TomlInlineComment("$Main.Advanced.session_cache$")] public CacheType SessionCache = CacheType.disk; - [TomlInlineComment("$config.Main.Advanced.profilekey_cache$")] + [TomlInlineComment("$Main.Advanced.profilekey_cache$")] public CacheType ProfileKeyCache = CacheType.disk; - [TomlInlineComment("$config.Main.Advanced.resolve_srv_records$")] + [TomlInlineComment("$Main.Advanced.resolve_srv_records$")] public ResolveSrvRecordType ResolveSrvRecords = ResolveSrvRecordType.fast; - [TomlPrecedingComment("$config.Main.Advanced.account_list$")] + [TomlPrecedingComment("$Main.Advanced.account_list$")] public Dictionary AccountList = new() { { "AccountNikename1", new AccountInfoConfig("playerone@email.com", "thepassword") }, { "AccountNikename2", new AccountInfoConfig("TestBot", "-") }, }; - [TomlPrecedingComment("$config.Main.Advanced.server_list$")] + [TomlPrecedingComment("$Main.Advanced.server_list$")] public Dictionary ServerList = new() { { "ServerAlias1", new ServerInfoConfig("mc.awesomeserver.com") }, { "ServerAlias2", new ServerInfoConfig("192.168.1.27", 12345) }, }; - [TomlInlineComment("$config.Main.Advanced.player_head_icon$")] + [TomlInlineComment("$Main.Advanced.player_head_icon$")] public bool PlayerHeadAsIcon = true; - [TomlInlineComment("$config.Main.Advanced.exit_on_failure$")] + [TomlInlineComment("$Main.Advanced.exit_on_failure$")] public bool ExitOnFailure = false; - [TomlInlineComment("$config.Main.Advanced.script_cache$")] + [TomlInlineComment("$Main.Advanced.script_cache$")] public bool CacheScript = true; - [TomlInlineComment("$config.Main.Advanced.timestamps$")] + [TomlInlineComment("$Main.Advanced.timestamps$")] public bool Timestamps = false; - [TomlInlineComment("$config.Main.Advanced.auto_respawn$")] + [TomlInlineComment("$Main.Advanced.auto_respawn$")] public bool AutoRespawn = false; - [TomlInlineComment("$config.Main.Advanced.minecraft_realms$")] + [TomlInlineComment("$Main.Advanced.minecraft_realms$")] public bool MinecraftRealms = false; - [TomlInlineComment("$config.Main.Advanced.timeout$")] + [TomlInlineComment("$Main.Advanced.timeout$")] public int TcpTimeout = 30; - [TomlInlineComment("$config.Main.Advanced.enable_emoji$")] + [TomlInlineComment("$Main.Advanced.enable_emoji$")] public bool EnableEmoji = true; - [TomlInlineComment("$config.Main.Advanced.TerminalColorDepth$")] + [TomlInlineComment("$Main.Advanced.TerminalColorDepth$")] public TerminalColorDepthType TerminalColorDepth = TerminalColorDepthType.bit_24; - [TomlInlineComment("$config.Main.Advanced.MinTerminalWidth$")] + [TomlInlineComment("$Main.Advanced.MinTerminalWidth$")] public int MinTerminalWidth = 16; - [TomlInlineComment("$config.Main.Advanced.MinTerminalHeight$")] + [TomlInlineComment("$Main.Advanced.MinTerminalHeight$")] public int MinTerminalHeight = 10; /// @@ -683,31 +687,31 @@ namespace MinecraftClient [TomlDoNotInlineObject] public class SignatureConfig { - [TomlInlineComment("$config.Signature.LoginWithSecureProfile$")] + [TomlInlineComment("$Signature.LoginWithSecureProfile$")] public bool LoginWithSecureProfile = true; - [TomlInlineComment("$config.Signature.SignChat$")] + [TomlInlineComment("$Signature.SignChat$")] public bool SignChat = true; - [TomlInlineComment("$config.Signature.SignMessageInCommand$")] + [TomlInlineComment("$Signature.SignMessageInCommand$")] public bool SignMessageInCommand = true; - [TomlInlineComment("$config.Signature.MarkLegallySignedMsg$")] + [TomlInlineComment("$Signature.MarkLegallySignedMsg$")] public bool MarkLegallySignedMsg = false; - [TomlInlineComment("$config.Signature.MarkModifiedMsg$")] + [TomlInlineComment("$Signature.MarkModifiedMsg$")] public bool MarkModifiedMsg = true; - [TomlInlineComment("$config.Signature.MarkIllegallySignedMsg$")] + [TomlInlineComment("$Signature.MarkIllegallySignedMsg$")] public bool MarkIllegallySignedMsg = true; - [TomlInlineComment("$config.Signature.MarkSystemMessage$")] + [TomlInlineComment("$Signature.MarkSystemMessage$")] public bool MarkSystemMessage = false; - [TomlInlineComment("$config.Signature.ShowModifiedChat$")] + [TomlInlineComment("$Signature.ShowModifiedChat$")] public bool ShowModifiedChat = true; - [TomlInlineComment("$config.Signature.ShowIllegalSignedChat$")] + [TomlInlineComment("$Signature.ShowIllegalSignedChat$")] public bool ShowIllegalSignedChat = true; public void OnSettingUpdate() { } @@ -721,40 +725,40 @@ namespace MinecraftClient [TomlDoNotInlineObject] public class LoggingConfig { - [TomlInlineComment("$config.Logging.DebugMessages$")] + [TomlInlineComment("$Logging.DebugMessages$")] public bool DebugMessages = false; - [TomlInlineComment("$config.Logging.ChatMessages$")] + [TomlInlineComment("$Logging.ChatMessages$")] public bool ChatMessages = true; - [TomlInlineComment("$config.Logging.InfoMessages$")] + [TomlInlineComment("$Logging.InfoMessages$")] public bool InfoMessages = true; - [TomlInlineComment("$config.Logging.WarningMessages$")] + [TomlInlineComment("$Logging.WarningMessages$")] public bool WarningMessages = true; - [TomlInlineComment("$config.Logging.ErrorMessages$")] + [TomlInlineComment("$Logging.ErrorMessages$")] public bool ErrorMessages = true; - [TomlInlineComment("$config.Logging.ChatFilter$")] + [TomlInlineComment("$Logging.ChatFilter$")] public string ChatFilterRegex = @".*"; - [TomlInlineComment("$config.Logging.DebugFilter$")] + [TomlInlineComment("$Logging.DebugFilter$")] public string DebugFilterRegex = @".*"; - [TomlInlineComment("$config.Logging.FilterMode$")] + [TomlInlineComment("$Logging.FilterMode$")] public FilterModeEnum FilterMode = FilterModeEnum.disable; - [TomlInlineComment("$config.Logging.LogToFile$")] + [TomlInlineComment("$Logging.LogToFile$")] public bool LogToFile = false; - [TomlInlineComment("$config.Logging.LogFile$")] + [TomlInlineComment("$Logging.LogFile$")] public string LogFile = @"console-log.txt"; - [TomlInlineComment("$config.Logging.PrependTimestamp$")] + [TomlInlineComment("$Logging.PrependTimestamp$")] public bool PrependTimestamp = false; - [TomlInlineComment("$config.Logging.SaveColorCodes$")] + [TomlInlineComment("$Logging.SaveColorCodes$")] public bool SaveColorCodes = false; public void OnSettingUpdate() { } @@ -770,7 +774,7 @@ namespace MinecraftClient [TomlDoNotInlineObject] public class AppVarConfig { - [TomlPrecedingComment("$config.AppVars.Variables$")] + [TomlPrecedingComment("$AppVars.Variables$")] private readonly Dictionary VarStirng = new() { { "your_var", "your_value" }, { "your var 2", "your value 2" }, @@ -947,25 +951,25 @@ namespace MinecraftClient [TomlDoNotInlineObject] public class MCSettingsConfig { - [TomlInlineComment("$config.MCSettings.Enabled$")] + [TomlInlineComment("$MCSettings.Enabled$")] public bool Enabled = true; - [TomlInlineComment("$config.MCSettings.Locale$")] + [TomlInlineComment("$MCSettings.Locale$")] public string Locale = "en_US"; - [TomlInlineComment("$config.MCSettings.RenderDistance$")] + [TomlInlineComment("$MCSettings.RenderDistance$")] public byte RenderDistance = 8; - [TomlInlineComment("$config.MCSettings.Difficulty$")] + [TomlInlineComment("$MCSettings.Difficulty$")] public DifficultyType Difficulty = DifficultyType.peaceful; - [TomlInlineComment("$config.MCSettings.ChatMode$")] + [TomlInlineComment("$MCSettings.ChatMode$")] public ChatModeType ChatMode = ChatModeType.enabled; - [TomlInlineComment("$config.MCSettings.ChatColors$")] + [TomlInlineComment("$MCSettings.ChatColors$")] public bool ChatColors = true; - [TomlInlineComment("$config.MCSettings.MainHand$")] + [TomlInlineComment("$MCSettings.MainHand$")] public MainHandType MainHand = MainHandType.left; public SkinInfo Skin = new(); @@ -1020,10 +1024,10 @@ namespace MinecraftClient [TomlDoNotInlineObject] public class ChatFormatConfig { - [TomlInlineComment("$config.ChatFormat.Builtins$")] + [TomlInlineComment("$ChatFormat.Builtins$")] public bool Builtins = true; - [TomlInlineComment("$config.ChatFormat.UserDefined$")] + [TomlInlineComment("$ChatFormat.UserDefined$")] public bool UserDefined = false; public string Public = @"^<([a-zA-Z0-9_]+)> (.+)$"; @@ -1076,154 +1080,154 @@ namespace MinecraftClient [TomlDoNotInlineObject] public class ChatBotConfig { - [TomlPrecedingComment("$config.ChatBot.Alerts$")] + [TomlPrecedingComment("$ChatBot.Alerts$")] public ChatBots.Alerts.Configs Alerts { get { return ChatBots.Alerts.Config; } set { ChatBots.Alerts.Config = value; ChatBots.Alerts.Config.OnSettingUpdate(); } } - [TomlPrecedingComment("$config.ChatBot.AntiAfk$")] + [TomlPrecedingComment("$ChatBot.AntiAfk$")] public ChatBots.AntiAFK.Configs AntiAFK { get { return ChatBots.AntiAFK.Config; } set { ChatBots.AntiAFK.Config = value; ChatBots.AntiAFK.Config.OnSettingUpdate(); } } - [TomlPrecedingComment("$config.ChatBot.AutoAttack$")] + [TomlPrecedingComment("$ChatBot.AutoAttack$")] public ChatBots.AutoAttack.Configs AutoAttack { get { return ChatBots.AutoAttack.Config; } set { ChatBots.AutoAttack.Config = value; ChatBots.AutoAttack.Config.OnSettingUpdate(); } } - [TomlPrecedingComment("$config.ChatBot.AutoCraft$")] + [TomlPrecedingComment("$ChatBot.AutoCraft$")] public ChatBots.AutoCraft.Configs AutoCraft { get { return ChatBots.AutoCraft.Config; } set { ChatBots.AutoCraft.Config = value; ChatBots.AutoCraft.Config.OnSettingUpdate(); } } - [TomlPrecedingComment("$config.ChatBot.AutoDig$")] + [TomlPrecedingComment("$ChatBot.AutoDig$")] public ChatBots.AutoDig.Configs AutoDig { get { return ChatBots.AutoDig.Config; } set { ChatBots.AutoDig.Config = value; ChatBots.AutoDig.Config.OnSettingUpdate(); } } - [TomlPrecedingComment("$config.ChatBot.AutoDrop$")] + [TomlPrecedingComment("$ChatBot.AutoDrop$")] public ChatBots.AutoDrop.Configs AutoDrop { get { return ChatBots.AutoDrop.Config; } set { ChatBots.AutoDrop.Config = value; ChatBots.AutoDrop.Config.OnSettingUpdate(); } } - [TomlPrecedingComment("$config.ChatBot.AutoEat$")] + [TomlPrecedingComment("$ChatBot.AutoEat$")] public ChatBots.AutoEat.Configs AutoEat { get { return ChatBots.AutoEat.Config; } set { ChatBots.AutoEat.Config = value; ChatBots.AutoEat.Config.OnSettingUpdate(); } } - [TomlPrecedingComment("$config.ChatBot.AutoFishing$")] + [TomlPrecedingComment("$ChatBot.AutoFishing$")] public ChatBots.AutoFishing.Configs AutoFishing { get { return ChatBots.AutoFishing.Config; } set { ChatBots.AutoFishing.Config = value; ChatBots.AutoFishing.Config.OnSettingUpdate(); } } - [TomlPrecedingComment("$config.ChatBot.AutoRelog$")] + [TomlPrecedingComment("$ChatBot.AutoRelog$")] public ChatBots.AutoRelog.Configs AutoRelog { get { return ChatBots.AutoRelog.Config; } set { ChatBots.AutoRelog.Config = value; ChatBots.AutoRelog.Config.OnSettingUpdate(); } } - [TomlPrecedingComment("$config.ChatBot.AutoRespond$")] + [TomlPrecedingComment("$ChatBot.AutoRespond$")] public ChatBots.AutoRespond.Configs AutoRespond { get { return ChatBots.AutoRespond.Config; } set { ChatBots.AutoRespond.Config = value; ChatBots.AutoRespond.Config.OnSettingUpdate(); } } - [TomlPrecedingComment("$config.ChatBot.ChatLog$")] + [TomlPrecedingComment("$ChatBot.ChatLog$")] public ChatBots.ChatLog.Configs ChatLog { get { return ChatBots.ChatLog.Config; } set { ChatBots.ChatLog.Config = value; ChatBots.ChatLog.Config.OnSettingUpdate(); } } - [TomlPrecedingComment("$config.ChatBot.DiscordBridge$")] + [TomlPrecedingComment("$ChatBot.DiscordBridge$")] public ChatBots.DiscordBridge.Configs DiscordBridge { get { return ChatBots.DiscordBridge.Config; } set { ChatBots.DiscordBridge.Config = value; ChatBots.DiscordBridge.Config.OnSettingUpdate(); } } - [TomlPrecedingComment("$config.ChatBot.Farmer$")] + [TomlPrecedingComment("$ChatBot.Farmer$")] public ChatBots.Farmer.Configs Farmer { get { return ChatBots.Farmer.Config; } set { ChatBots.Farmer.Config = value; ChatBots.Farmer.Config.OnSettingUpdate(); } } - [TomlPrecedingComment("$config.ChatBot.FollowPlayer$")] + [TomlPrecedingComment("$ChatBot.FollowPlayer$")] public ChatBots.FollowPlayer.Configs FollowPlayer { get { return ChatBots.FollowPlayer.Config; } set { ChatBots.FollowPlayer.Config = value; ChatBots.FollowPlayer.Config.OnSettingUpdate(); } } - [TomlPrecedingComment("$config.ChatBot.HangmanGame$")] + [TomlPrecedingComment("$ChatBot.HangmanGame$")] public ChatBots.HangmanGame.Configs HangmanGame { get { return ChatBots.HangmanGame.Config; } set { ChatBots.HangmanGame.Config = value; ChatBots.HangmanGame.Config.OnSettingUpdate(); } } - [TomlPrecedingComment("$config.ChatBot.Mailer$")] + [TomlPrecedingComment("$ChatBot.Mailer$")] public ChatBots.Mailer.Configs Mailer { get { return ChatBots.Mailer.Config; } set { ChatBots.Mailer.Config = value; ChatBots.Mailer.Config.OnSettingUpdate(); } } - [TomlPrecedingComment("$config.ChatBot.Map$")] + [TomlPrecedingComment("$ChatBot.Map$")] public ChatBots.Map.Configs Map { get { return ChatBots.Map.Config; } set { ChatBots.Map.Config = value; ChatBots.Map.Config.OnSettingUpdate(); } } - [TomlPrecedingComment("$config.ChatBot.PlayerListLogger$")] + [TomlPrecedingComment("$ChatBot.PlayerListLogger$")] public ChatBots.PlayerListLogger.Configs PlayerListLogger { get { return ChatBots.PlayerListLogger.Config; } set { ChatBots.PlayerListLogger.Config = value; ChatBots.PlayerListLogger.Config.OnSettingUpdate(); } } - [TomlPrecedingComment("$config.ChatBot.RemoteControl$")] + [TomlPrecedingComment("$ChatBot.RemoteControl$")] public ChatBots.RemoteControl.Configs RemoteControl { get { return ChatBots.RemoteControl.Config; } set { ChatBots.RemoteControl.Config = value; ChatBots.RemoteControl.Config.OnSettingUpdate(); } } - [TomlPrecedingComment("$config.ChatBot.ReplayCapture$")] + [TomlPrecedingComment("$ChatBot.ReplayCapture$")] public ChatBots.ReplayCapture.Configs ReplayCapture { get { return ChatBots.ReplayCapture.Config; } set { ChatBots.ReplayCapture.Config = value; ChatBots.ReplayCapture.Config.OnSettingUpdate(); } } - [TomlPrecedingComment("$config.ChatBot.ScriptScheduler$")] + [TomlPrecedingComment("$ChatBot.ScriptScheduler$")] public ChatBots.ScriptScheduler.Configs ScriptScheduler { get { return ChatBots.ScriptScheduler.Config; } set { ChatBots.ScriptScheduler.Config = value; ChatBots.ScriptScheduler.Config.OnSettingUpdate(); } } - [TomlPrecedingComment("$config.ChatBot.TelegramBridge$")] + [TomlPrecedingComment("$ChatBot.TelegramBridge$")] public ChatBots.TelegramBridge.Configs TelegramBridge { get { return ChatBots.TelegramBridge.Config; } @@ -1682,61 +1686,6 @@ namespace MinecraftClient } } - public static bool CheckUpdate(string? current, string? latest) - { - if (current == null || latest == null) - return false; - Regex reg = new(@"\w+\sbuild\s(\d+),\sbuilt\son\s(\d{4})[-\/\.\s]?(\d{2})[-\/\.\s]?(\d{2}).*"); - Regex reg2 = new(@"\w+\sbuild\s(\d+),\sbuilt\son\s\w+\s(\d{2})[-\/\.\s]?(\d{2})[-\/\.\s]?(\d{4}).*"); - - DateTime? curTime = null, latestTime = null; - - Match curMatch = reg.Match(current); - if (curMatch.Success && curMatch.Groups.Count == 5) - { - try { curTime = new(int.Parse(curMatch.Groups[2].Value), int.Parse(curMatch.Groups[3].Value), int.Parse(curMatch.Groups[4].Value)); } - catch { curTime = null; } - } - if (curTime == null) - { - curMatch = reg2.Match(current); - try { curTime = new(int.Parse(curMatch.Groups[4].Value), int.Parse(curMatch.Groups[3].Value), int.Parse(curMatch.Groups[2].Value)); } - catch { curTime = null; } - } - if (curTime == null) - return false; - - Match latestMatch = reg.Match(latest); - if (latestMatch.Success && latestMatch.Groups.Count == 5) - { - try { latestTime = new(int.Parse(latestMatch.Groups[2].Value), int.Parse(latestMatch.Groups[3].Value), int.Parse(latestMatch.Groups[4].Value)); } - catch { latestTime = null; } - } - if (latestTime == null) - { - latestMatch = reg2.Match(latest); - try { latestTime = new(int.Parse(latestMatch.Groups[4].Value), int.Parse(latestMatch.Groups[3].Value), int.Parse(latestMatch.Groups[2].Value)); } - catch { latestTime = null; } - } - if (latestTime == null) - return false; - - int curBuildId, latestBuildId; - try - { - curBuildId = int.Parse(curMatch.Groups[1].Value); - latestBuildId = int.Parse(latestMatch.Groups[1].Value); - } - catch { return false; } - - if (latestTime > curTime) - return true; - else if (latestTime >= curTime && latestBuildId > curBuildId) - return true; - else - return false; - } - public static int DoubleToTick(double time) { time = Math.Min(int.MaxValue / 10, time); diff --git a/MinecraftClient/UpgradeHelper.cs b/MinecraftClient/UpgradeHelper.cs new file mode 100644 index 00000000..77c694d4 --- /dev/null +++ b/MinecraftClient/UpgradeHelper.cs @@ -0,0 +1,325 @@ +using System; +using System.IO; +using System.IO.Compression; +using System.Net; +using System.Net.Http; +using System.Net.Http.Handlers; +using System.Runtime.InteropServices; +using System.Text.RegularExpressions; +using System.Threading; +using System.Threading.Tasks; + +namespace MinecraftClient +{ + internal static class UpgradeHelper + { + private const string GithubReleaseUrl = "https://github.com/MCCTeam/Minecraft-Console-Client/releases"; + + private static int running = 0; // Type: bool; 1 for running; 0 for stopped; + private static CancellationTokenSource cancellationTokenSource = new(); + private static CancellationToken cancellationToken = CancellationToken.None; + + private static long lastBytesTransferred = 0, minNotifyThreshold = 5 * 1024 * 1024; + private static DateTime downloadStartTime = DateTime.Now, lastNotifyTime = DateTime.Now; + private static TimeSpan minNotifyInterval = TimeSpan.FromMilliseconds(3000); + + public static void CheckUpdate(bool forceUpdate = false) + { + bool needPromptUpdate = true; + if (!forceUpdate && CompareVersionInfo(Settings.Config.Head.CurrentVersion, Settings.Config.Head.LatestVersion)) + { + needPromptUpdate = false; + ConsoleIO.WriteLineFormatted("§e" + string.Format(Translations.mcc_has_update, GithubReleaseUrl), true); + } + Task.Run(() => + { + DoCheckUpdate(CancellationToken.None); + if (needPromptUpdate) + { + if (CompareVersionInfo(Settings.Config.Head.CurrentVersion, Settings.Config.Head.LatestVersion)) + { + ConsoleIO.WriteLineFormatted("§e" + string.Format(Translations.mcc_has_update, GithubReleaseUrl), true); + } + else if (forceUpdate) + { + ConsoleIO.WriteLine(Translations.mcc_update_already_latest + ' ' + Translations.mcc_update_promote_force_cmd); + } + } + }); + } + + public static bool DownloadLatestBuild(bool forceUpdate, bool isCommandLine = false) + { + if (Interlocked.Exchange(ref running, 1) == 1) + { + return false; + } + else + { + if (!cancellationTokenSource.TryReset()) + cancellationTokenSource = new(); + cancellationToken = cancellationTokenSource.Token; + Task.Run(async () => + { + string OSInfo = GetOSIdentifier(); + if (Settings.Config.Logging.DebugMessages || string.IsNullOrEmpty(OSInfo)) + ConsoleIO.WriteLine(string.Format("OS: {0}, Arch: {1}, Framework: {2}", + RuntimeInformation.OSDescription, RuntimeInformation.ProcessArchitecture, RuntimeInformation.FrameworkDescription)); + if (string.IsNullOrEmpty(OSInfo)) + { + ConsoleIO.WriteLine(Translations.mcc_update_platform_not_support); + } + else + { + string latestVersion = DoCheckUpdate(cancellationToken); + if (cancellationToken.IsCancellationRequested) + { + } + else if (string.IsNullOrEmpty(latestVersion)) + { + ConsoleIO.WriteLine(Translations.mcc_update_check_fail); + } + else if (!forceUpdate && !CompareVersionInfo(Settings.Config.Head.CurrentVersion, Settings.Config.Head.LatestVersion)) + { + ConsoleIO.WriteLine(Translations.mcc_update_already_latest + ' ' + + (isCommandLine ? Translations.mcc_update_promote_force_cmd : Translations.mcc_update_promote_force)); + } + else + { + ConsoleIO.WriteLine(string.Format(Translations.mcc_update_exist_update, latestVersion, OSInfo)); + + HttpClientHandler httpClientHandler = new() { AllowAutoRedirect = true }; + AddProxySettings(httpClientHandler); + + ProgressMessageHandler progressMessageHandler = new(httpClientHandler); + progressMessageHandler.HttpReceiveProgress += (_, info) => + { + DateTime now = DateTime.Now; + if (now - lastNotifyTime > minNotifyInterval || info.BytesTransferred - lastBytesTransferred > minNotifyThreshold) + { + lastNotifyTime = now; + lastBytesTransferred = info.BytesTransferred; + if (info.TotalBytes.HasValue) + { + ConsoleIO.WriteLine(string.Format(Translations.mcc_update_progress, + (double)info.BytesTransferred / info.TotalBytes * 100.0, + (double)info.BytesTransferred / 1024 / 1024, + (double)info.TotalBytes / 1024 / 1024, + (double)info.BytesTransferred / 1024 / (now - downloadStartTime).TotalSeconds, + TimeSpan.FromMilliseconds( + (double)(info.TotalBytes - info.BytesTransferred) / (info.BytesTransferred / (now - downloadStartTime).TotalMilliseconds) + ).ToString("hh\\:mm\\:ss")) + ); + } + else + { + ConsoleIO.WriteLine(string.Format(Translations.mcc_update_progress_type2, + (double)info.BytesTransferred / 1024 / 1024, + (double)info.BytesTransferred / 1024 / (now - downloadStartTime).TotalSeconds) + ); + } + } + }; + + HttpClient httpClient = new(progressMessageHandler); + + try + { + string downloadUrl = $"{GithubReleaseUrl}/download/{latestVersion}/MinecraftClient-{OSInfo}.zip"; + downloadStartTime = DateTime.Now; + lastNotifyTime = DateTime.MinValue; + lastBytesTransferred = 0; + using HttpResponseMessage response = await httpClient.GetAsync(downloadUrl, HttpCompletionOption.ResponseHeadersRead, cancellationToken); + using Stream zipFileStream = await response.Content.ReadAsStreamAsync(cancellationToken); + + if (!cancellationToken.IsCancellationRequested) + { + using ZipArchive zipArchive = new(zipFileStream, ZipArchiveMode.Read); + ConsoleIO.WriteLine(Translations.mcc_update_download_complete); + foreach (var archiveEntry in zipArchive.Entries) + { + if (archiveEntry.Name.StartsWith("MinecraftClient")) + { + string fileName = $"MinecraftClient-{latestVersion}{Path.GetExtension(archiveEntry.Name)}"; + archiveEntry.ExtractToFile(fileName, true); + ConsoleIO.WriteLineFormatted("§e" + string.Format(Translations.mcc_update_save_as, fileName), true); + break; + } + } + zipArchive.Dispose(); + } + + zipFileStream.Dispose(); + response.Dispose(); + } + catch (TaskCanceledException) { } + catch (Exception e) + { + ConsoleIO.WriteLine($"{Translations.mcc_update_download_fail}\n{e.GetType().Name}: {e.Message}\n{e.StackTrace}"); + } + + httpClient.Dispose(); + progressMessageHandler.Dispose(); + httpClientHandler.Dispose(); + } + } + Interlocked.Exchange(ref running, 0); + }, cancellationToken); + return true; + } + } + + public static void CancelDownloadUpdate() + { + if (!cancellationTokenSource.IsCancellationRequested) + cancellationTokenSource.Cancel(); + } + + public static void HandleBlockingUpdate(bool forceUpgrade) + { + minNotifyInterval = TimeSpan.FromMilliseconds(500); + DownloadLatestBuild(forceUpgrade, true); + while (running == 1) + Thread.Sleep(500); + } + + private static string DoCheckUpdate(CancellationToken cancellationToken) + { + string latestBuildInfo = string.Empty; + HttpClientHandler httpClientHandler = new() { AllowAutoRedirect = false }; + AddProxySettings(httpClientHandler); + HttpClient httpClient = new(httpClientHandler); + Task? httpWebRequest = null; + try + { + httpWebRequest = httpClient.GetAsync(GithubReleaseUrl + "/latest", HttpCompletionOption.ResponseHeadersRead, cancellationToken); + httpWebRequest.Wait(); + if (!cancellationToken.IsCancellationRequested) + { + HttpResponseMessage res = httpWebRequest.Result; + if (res.Headers.Location != null) + { + Match match = Regex.Match(res.Headers.Location.ToString(), GithubReleaseUrl + @"/tag/(\d{4})(\d{2})(\d{2})-(\d+)"); + if (match.Success && match.Groups.Count == 5) + { + string year = match.Groups[1].Value, month = match.Groups[2].Value, day = match.Groups[3].Value, run = match.Groups[4].Value; + string latestVersion = string.Format("GitHub build {0}, built on {1}-{2}-{3}", run, year, month, day); + latestBuildInfo = string.Format("{0}{1}{2}-{3}", year, month, day, run); + if (latestVersion != Settings.Config.Head.LatestVersion) + { + Settings.Config.Head.LatestVersion = latestVersion; + Program.WriteBackSettings(false); + } + } + } + res.Dispose(); + } + httpWebRequest.Dispose(); + } + catch (Exception) { } + finally { httpWebRequest?.Dispose(); } + httpClient.Dispose(); + httpClientHandler.Dispose(); + return latestBuildInfo; + } + + private static string GetOSIdentifier() + { + if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux)) + { + if (RuntimeInformation.ProcessArchitecture == Architecture.Arm64) + return "linux-arm64"; + else if (RuntimeInformation.ProcessArchitecture == Architecture.X64) + return "linux"; + } + else if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX)) + { + if (RuntimeInformation.ProcessArchitecture == Architecture.X64) + return "osx"; + } + else if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) + { + if (RuntimeInformation.ProcessArchitecture == Architecture.X64) + return "windows-x64"; + else if (RuntimeInformation.ProcessArchitecture == Architecture.X86) + return "windows-x86"; + } + return string.Empty; + } + + private static bool CompareVersionInfo(string? current, string? latest) + { + if (current == null || latest == null) + return false; + Regex reg = new(@"\w+\sbuild\s(\d+),\sbuilt\son\s(\d{4})[-\/\.\s]?(\d{2})[-\/\.\s]?(\d{2}).*"); + Regex reg2 = new(@"\w+\sbuild\s(\d+),\sbuilt\son\s\w+\s(\d{2})[-\/\.\s]?(\d{2})[-\/\.\s]?(\d{4}).*"); + + DateTime? curTime = null, latestTime = null; + + Match curMatch = reg.Match(current); + if (curMatch.Success && curMatch.Groups.Count == 5) + { + try { curTime = new(int.Parse(curMatch.Groups[2].Value), int.Parse(curMatch.Groups[3].Value), int.Parse(curMatch.Groups[4].Value)); } + catch { curTime = null; } + } + if (curTime == null) + { + curMatch = reg2.Match(current); + try { curTime = new(int.Parse(curMatch.Groups[4].Value), int.Parse(curMatch.Groups[3].Value), int.Parse(curMatch.Groups[2].Value)); } + catch { curTime = null; } + } + if (curTime == null) + return false; + + Match latestMatch = reg.Match(latest); + if (latestMatch.Success && latestMatch.Groups.Count == 5) + { + try { latestTime = new(int.Parse(latestMatch.Groups[2].Value), int.Parse(latestMatch.Groups[3].Value), int.Parse(latestMatch.Groups[4].Value)); } + catch { latestTime = null; } + } + if (latestTime == null) + { + latestMatch = reg2.Match(latest); + try { latestTime = new(int.Parse(latestMatch.Groups[4].Value), int.Parse(latestMatch.Groups[3].Value), int.Parse(latestMatch.Groups[2].Value)); } + catch { latestTime = null; } + } + if (latestTime == null) + return false; + + int curBuildId, latestBuildId; + try + { + curBuildId = int.Parse(curMatch.Groups[1].Value); + latestBuildId = int.Parse(latestMatch.Groups[1].Value); + } + catch { return false; } + + if (latestTime > curTime) + return true; + else if (latestTime >= curTime && latestBuildId > curBuildId) + return true; + else + return false; + } + + private static void AddProxySettings(HttpClientHandler httpClientHandler) + { + if (Settings.Config.Proxy.Enabled_Update) + { + string proxyAddress; + if (!string.IsNullOrWhiteSpace(Settings.Config.Proxy.Username) && !string.IsNullOrWhiteSpace(Settings.Config.Proxy.Password)) + proxyAddress = string.Format("{0}://{3}:{4}@{1}:{2}", + Settings.Config.Proxy.Proxy_Type.ToString().ToLower(), + Settings.Config.Proxy.Server.Host, + Settings.Config.Proxy.Server.Port, + Settings.Config.Proxy.Username, + Settings.Config.Proxy.Password); + else + proxyAddress = string.Format("{0}://{1}:{2}", + Settings.Config.Proxy.Proxy_Type.ToString().ToLower(), + Settings.Config.Proxy.Server.Host, Settings.Config.Proxy.Server.Port); + httpClientHandler.Proxy = new WebProxy(proxyAddress, true); + } + } + } +} diff --git a/MinecraftClient/config/ChatBots/AutoLeaveOnLowHp.cs b/MinecraftClient/config/ChatBots/AutoLeaveOnLowHp.cs index f60453e4..1e5dfacc 100644 --- a/MinecraftClient/config/ChatBots/AutoLeaveOnLowHp.cs +++ b/MinecraftClient/config/ChatBots/AutoLeaveOnLowHp.cs @@ -1,4 +1,4 @@ -//MCCScript 1.0 +//MCCScript 1.0 MCC.LoadBot(new AutoLeaveOnLowHp()); @@ -19,4 +19,4 @@ namespace MinecraftClient.ChatBots } } } -} \ No newline at end of file +} diff --git a/MinecraftClient/config/ChatBots/AutoTree.cs b/MinecraftClient/config/ChatBots/AutoTree.cs index 89b26c6e..5488d8ad 100644 --- a/MinecraftClient/config/ChatBots/AutoTree.cs +++ b/MinecraftClient/config/ChatBots/AutoTree.cs @@ -1,4 +1,16 @@ -//MCCScript 1.0 +//MCCScript 1.0 +//using Brigadier.NET; +//using Brigadier.NET.Builder; +//using MinecraftClient; +//using MinecraftClient.CommandHandler; +//using MinecraftClient.CommandHandler.Patch; +//using MinecraftClient.Inventory; +//using MinecraftClient.Mapping; +//using MinecraftClient.Scripting; +//using System.Collections.Generic; +//using System.Linq; +//using static MinecraftClient.ChatBots.AutoCraft.Configs; +//using System.Text; MCC.LoadBot(new AutoTree()); @@ -6,6 +18,8 @@ MCC.LoadBot(new AutoTree()); public class AutoTree : ChatBot { + public const string CommandName = "autotree"; + // Auto sapling placer - made for auto tree machine // Put your bot in designed position for placing sapling // Set the tree type by "/autotree type " @@ -60,7 +74,8 @@ public class AutoTree : ChatBot } } } - public override void Initialize() + + public override void Initialize(CommandDispatcher dispatcher) { if (!GetTerrainEnabled()) { @@ -74,11 +89,71 @@ public class AutoTree : ChatBot } else { - RegisterChatBotCommand("autotree", "AutoTree ChatBot command", "Available commands: toggle, set, type", CommandHandler); + dispatcher.Register(l => l.Literal("help") + .Then(l => l.Literal(CommandName) + .Executes(r => OnCommandHelp(r.Source, string.Empty)) + .Then(l => l.Literal("set") + .Executes(r => OnCommandHelp(r.Source, "set"))) + .Then(l => l.Literal("type") + .Executes(r => OnCommandHelp(r.Source, "type"))) + ) + ); + + dispatcher.Register(l => l.Literal(CommandName) + .Then(l => l.Literal("toggle") + .Executes(r => { return r.Source.SetAndReturn(CmdResult.Status.Done, Toggle() ? "Now is running" : "Now is stopping"); })) + .Then(l => l.Literal("set") + .Then(l => l.Argument("Location", MccArguments.Location()) + .Executes(r => OnCommandSet(r.Source, MccArguments.GetLocation(r, "Location"))))) + .Then(l => l.Literal("type") + .Then(l => l.Argument("TreeType", Arguments.String()) + .Executes(r => OnCommandType(r.Source, Arguments.GetString(r, "TreeType"))))) + .Then(l => l.Literal("_help") + .Redirect(dispatcher.GetRoot().GetChild("help").GetChild(CommandName))) + ); + LogToConsole("Loaded."); } } + public override void OnUnload(CommandDispatcher dispatcher) + { + dispatcher.Unregister(CommandName); + dispatcher.GetRoot().GetChild("help").RemoveChild(CommandName); + } + + private int OnCommandHelp(CmdResult r, string? cmd) + { + return r.SetAndReturn(cmd switch + { +#pragma warning disable format // @formatter:off + "set" => "Set the location for placing sapling. Usage: set ", + "type" => "Set the tree type. Usage: type ", + _ => "Available commands: toggle, set, type" + + '\n' + McClient.dispatcher.GetAllUsageString(CommandName, false), +#pragma warning restore format // @formatter:on + }); + } + + private int OnCommandSet(CmdResult r, Location location) + { + SetLocation(location.ToAbsolute(GetCurrentLocation())); + return r.SetAndReturn(CmdResult.Status.Done, "Location set to " + location.ToString()); + } + + private int OnCommandType(CmdResult r, string treeType) + { + for (int i = 0; i < saplingItems.Length; i++) + { + if (saplingItems[i].ToString().ToLower().StartsWith(treeType)) + { + treeTypeIndex = i; + break; + } + } + return r.SetAndReturn(CmdResult.Status.Done, "Tree sapling type set to " + saplingItems[treeTypeIndex].ToString()); + } + public bool SetTreeType(int index) { if (index >= 0 && index < saplingItems.Length) @@ -103,7 +178,7 @@ public class AutoTree : ChatBot public bool SwitchToSapling() { Container p = GetPlayerInventory(); - if (p.Items.ContainsKey(GetCurrentSlot() - 36) + if (p.Items.ContainsKey(GetCurrentSlot() - 36) && p.Items[GetCurrentSlot() - 36].Type == saplingItems[treeTypeIndex]) { // Already selected @@ -123,58 +198,4 @@ public class AutoTree : ChatBot return true; } } - - public string CommandHandler(string cmd, string[] args) - { - if (args.Length <= 0) - { - return "Available commands: toggle, set, type"; - } - string subCommand = args[0].ToLower(); - switch (subCommand) - { - case "toggle": - { - return Toggle() ? "Now is running" : "Now is stopping"; - } - case "set": - { - if (args.Length < 4) - { - return "Set the location for placing sapling. Usage: set "; - } - try - { - int x = int.Parse(args[1]); - int y = int.Parse(args[2]); - int z = int.Parse(args[3]); - var l = new Location(x, y, z); - SetLocation(l); - return "Location set to " + l.ToString(); - } - catch - { - return "Please input numbers. Usage: set "; - } - } - case "type": - { - if (args.Length < 2) - { - return "Set the tree type. Usage: type "; - } - string typeString = args[1].ToLower(); - for (int i = 0; i < saplingItems.Length; i++) - { - if (saplingItems[i].ToString().ToLower().StartsWith(typeString)) - { - treeTypeIndex = i; - break; - } - } - return "Tree sapling type set to " + saplingItems[treeTypeIndex].ToString(); - } - default: return "Available commands: toggle, set, type"; - } - } -} \ No newline at end of file +} diff --git a/MinecraftClient/config/ChatBots/DiscordWebhook.cs b/MinecraftClient/config/ChatBots/DiscordWebhook.cs index 47092783..c3d7f9c2 100644 --- a/MinecraftClient/config/ChatBots/DiscordWebhook.cs +++ b/MinecraftClient/config/ChatBots/DiscordWebhook.cs @@ -1,6 +1,17 @@ -//MCCScript 1.0 +//MCCScript 1.0 //using System.Collections.Specialized; //using MinecraftClient.Protocol; +//using MinecraftClient.Scripting; +//using MinecraftClient; +//using static MinecraftClient.Scripting.ChatBot; +//using System.Collections.Generic; +//using System.Linq; +//using System.Text; +//using System; +//using Brigadier.NET.Builder; +//using MinecraftClient.CommandHandler.Patch; +//using MinecraftClient.CommandHandler; +//using Brigadier.NET; MCC.LoadBot(new DiscordWebhook()); @@ -278,6 +289,8 @@ class MessageCache class DiscordWebhook : ChatBot { + public const string CommandName = "discordWebhook"; + private WebhoookSettings settings = new WebhoookSettings(); private SkinAPI sAPI; private MessageCache cache; @@ -292,8 +305,19 @@ class DiscordWebhook : ChatBot { LogToConsole("Made by Daenges.\nSpecial thanks to Crafatar for providing the beautiful avatars!"); LogToConsole("Please set a Webhook with '/dw changeurl [URL]'. For further information type '/discordwebhook help'."); - RegisterChatBotCommand("discordWebhook", "/DiscordWebhook 'size', 'scale', 'fallbackSkin', 'overlay', 'skintype'", GetHelp(), CommandHandler); - RegisterChatBotCommand("dw", "/DiscordWebhook 'size', 'scale', 'fallbackSkin', 'overlay', 'skintype'", GetHelp(), CommandHandler); + + Handler.dispatcher.Register(l => l.Literal(CommandName) + .Then(l => l.Argument("Commands", Arguments.GreedyString()) + .Executes(r => { + CommandHandler(Arguments.GetString(r, "Commands").Split(' ', StringSplitOptions.TrimEntries)); + return r.Source.SetAndReturn(CmdResult.Status.Done); + })) + ); + } + + public override void OnUnload() + { + Handler.dispatcher.Unregister(CommandName); } public override void Update() @@ -454,7 +478,7 @@ class DiscordWebhook : ChatBot { StringBuilder requestData = new StringBuilder(); - requestData.Append("{"); + requestData.Append('{'); requestData.Append("\"username\": \"" + msg.SenderName + "\", "); requestData.Append("\"content\": \"" + Sanizize(msg.Content) + "\", "); requestData.Append("\"avatar_url\": \"" + (msg.SenderName == "[Server]" ? sAPI.GetSkinURLCrafatar("f78a4d8dd51b4b3998a3230f2de0c670") : sAPI.GetSkinURLCrafatar(msg.SenderUUID)) + "\""); @@ -530,10 +554,9 @@ class DiscordWebhook : ChatBot /// /// Handles all commands. /// - /// Whole command /// Only arguments /// - public string CommandHandler(string cmd, string[] args) + public string CommandHandler(string[] args) { if (args.Length > 0) { diff --git a/MinecraftClient/config/ChatBots/EntityCount.cs b/MinecraftClient/config/ChatBots/EntityCount.cs index 38375367..a41d5d75 100644 --- a/MinecraftClient/config/ChatBots/EntityCount.cs +++ b/MinecraftClient/config/ChatBots/EntityCount.cs @@ -1,4 +1,4 @@ -//MCCScript 1.0 +//MCCScript 1.0 MCC.LoadBot(new EntityCount()); @@ -46,4 +46,4 @@ class EntityCount : ChatBot return $"Found {counter} of entity type: {args[0]}"; } -} \ No newline at end of file +} diff --git a/MinecraftClient/config/ChatBots/MineCube.cs b/MinecraftClient/config/ChatBots/MineCube.cs index 43f1e20d..71d760a6 100644 --- a/MinecraftClient/config/ChatBots/MineCube.cs +++ b/MinecraftClient/config/ChatBots/MineCube.cs @@ -1,4 +1,18 @@ -//MCCScript 1.0 +//MCCScript 1.0 + +//using MinecraftClient.Inventory; +//using MinecraftClient.Mapping; +//using MinecraftClient.Scripting; +//using MinecraftClient; +//using System.Collections.Generic; +//using System.Linq; +//using System.Threading.Tasks; +//using System.Threading; +//using System; +//using Brigadier.NET.Builder; +//using MinecraftClient.CommandHandler.Patch; +//using Brigadier.NET; +//using MinecraftClient.CommandHandler; MCC.LoadBot(new MineCube()); @@ -8,486 +22,499 @@ MCC.LoadBot(new MineCube()); class MineCube : ChatBot { - private CancellationTokenSource cts; - private Task currentMiningTask; - private TimeSpan breakTimeout; - private bool toolHandling; - private int cacheSize; + public const string CommandName = "mineup"; - public override void Initialize() - { - if (!GetTerrainEnabled()) - { - LogToConsole(Translations.extra_terrainandmovement_required); - UnloadBot(); - return; - } + private CancellationTokenSource cts; + private Task currentMiningTask; + private TimeSpan breakTimeout; + private bool toolHandling; + private int cacheSize; - currentMiningTask = null; - breakTimeout = TimeSpan.FromSeconds(15); - cacheSize = 10; - toolHandling = true; + public override void Initialize() + { + if (!GetTerrainEnabled()) + { + LogToConsole(Translations.extra_terrainandmovement_required); + UnloadBot(); + return; + } - RegisterChatBotCommand("mine", "Mine a cube from a to b", "/mine x y z OR /mine x1 y1 z1 x2 y2 z2", EvaluateMineCommand); - RegisterChatBotCommand("mineup", "Walk over a flat cubic platform of blocks and mine everything above you", "/mine x1 y1 z1 x2 y2 z2 (y1 = y2)", EvaluateMineCommand); - LogToConsole("Mining bot created by Daenges."); - } + currentMiningTask = null; + breakTimeout = TimeSpan.FromSeconds(15); + cacheSize = 10; + toolHandling = true; - /// - /// Walks in a 2 high area under an area of blocks and mines anything above its head. - /// - /// The current world - /// The start corner of walking - /// The stop corner of walking - /// CancellationToken to stop the task on cancel - public void MineUp(World currentWorld, Location startBlock, Location stopBlock, CancellationToken ct) - { - if (startBlock.Y != stopBlock.Y) - { - LogToConsole("Command FAILED. Both coordinates must be on the same y level."); - } + LogToConsole("Mining bot created by Daenges."); - IEnumerable xLocationRange = GetNumbersFromTo(Convert.ToInt32(Math.Round(startBlock.X)), Convert.ToInt32(Math.Round(stopBlock.X))); - IEnumerable zLocationRange = GetNumbersFromTo(Convert.ToInt32(Math.Round(startBlock.Z)), Convert.ToInt32(Math.Round(stopBlock.Z))); + Handler.dispatcher.Register(l => l.Literal(CommandName) + .Then(l => l.Argument("Commands", Arguments.GreedyString()) + .Executes(r => { + EvaluateMineCommand(CommandName + ' ' + Arguments.GetString(r, "Commands"), Arguments.GetString(r, "Commands").Split(' ', StringSplitOptions.TrimEntries)); + return r.Source.SetAndReturn(CmdResult.Status.Done); + })) + ); + } - foreach (int currentXLoc in xLocationRange) - { - foreach (int currentZLoc in zLocationRange) - { - Location standLocation = new Location(currentXLoc, startBlock.Y, currentZLoc); + public override void OnUnload() + { + Handler.dispatcher.Unregister(CommandName); + } - // Walk to the new location. - waitForMoveToLocation(standLocation, maxOffset: 1); + /// + /// Walks in a 2 high area under an area of blocks and mines anything above its head. + /// + /// The current world + /// The start corner of walking + /// The stop corner of walking + /// CancellationToken to stop the task on cancel + public void MineUp(World currentWorld, Location startBlock, Location stopBlock, CancellationToken ct) + { + if (startBlock.Y != stopBlock.Y) + { + LogToConsole("Command FAILED. Both coordinates must be on the same y level."); + } - for (int height = Convert.ToInt32(startBlock.Y) + 2; height < Convert.ToInt32(startBlock.Y) + 7; height++) - { - if (ct.IsCancellationRequested) - { - currentMiningTask = null; - LogToConsole("Cancellation requested. STOP MINING."); - return; - } + IEnumerable xLocationRange = GetNumbersFromTo(Convert.ToInt32(Math.Round(startBlock.X)), Convert.ToInt32(Math.Round(stopBlock.X))); + IEnumerable zLocationRange = GetNumbersFromTo(Convert.ToInt32(Math.Round(startBlock.Z)), Convert.ToInt32(Math.Round(stopBlock.Z))); - Location mineLocation = new Location(currentXLoc, height, currentZLoc); - Material mineLocationMaterial = currentWorld.GetBlock(mineLocation).Type; + foreach (int currentXLoc in xLocationRange) + { + foreach (int currentZLoc in zLocationRange) + { + Location standLocation = new Location(currentXLoc, startBlock.Y, currentZLoc); - // Stop mining process if breaking the next block could endager the bot - // through falling blocks or liquids. - if (!IsGravitySave(currentWorld, mineLocation) || IsSorroundedByLiquid(currentWorld, mineLocation)) { break; } - // Skip this block if it can not be mined. - if (Material2Tool.IsUnbreakable(mineLocationMaterial)) { continue; } + // Walk to the new location. + waitForMoveToLocation(standLocation, maxOffset: 1); - if (GetInventoryEnabled() && toolHandling) - { - // Search this tool in hotbar and select the correct slot - SelectCorrectSlotInHotbar( - // Returns the correct tool for this type - Material2Tool.GetCorrectToolForBlock( - // returns the type of the current block - mineLocationMaterial)); - } + for (int height = Convert.ToInt32(startBlock.Y) + 2; height < Convert.ToInt32(startBlock.Y) + 7; height++) + { + if (ct.IsCancellationRequested) + { + currentMiningTask = null; + LogToConsole("Cancellation requested. STOP MINING."); + return; + } - // If we are able to reach the block && break sucessfully sent - if (GetCurrentLocation().EyesLocation().DistanceSquared(mineLocation) <= 25 && DigBlock(mineLocation)) - { - AutoTimeout.Perform(() => - { - while (GetWorld().GetBlock(mineLocation).Type != Material.Air) - { - Thread.Sleep(100); + Location mineLocation = new Location(currentXLoc, height, currentZLoc); + Material mineLocationMaterial = currentWorld.GetBlock(mineLocation).Type; - if (ct.IsCancellationRequested) - break; - } - }, breakTimeout); - } - else - { - LogDebugToConsole("Unable to break this block: " + mineLocation.ToString()); - } - } - } - } - LogToConsole("Finished mining up."); - } + // Stop mining process if breaking the next block could endager the bot + // through falling blocks or liquids. + if (!IsGravitySave(currentWorld, mineLocation) || IsSorroundedByLiquid(currentWorld, mineLocation)) { break; } + // Skip this block if it can not be mined. + if (Material2Tool.IsUnbreakable(mineLocationMaterial)) { continue; } - /// - /// Mine a cube of blocks from top to bottom between start and stop location - /// - /// The current world - /// The upper corner of the cube to mine - /// The lower corner of the cube to mine - /// CancellationToken to stop the task on cancel - public void Mine(World currentWorld, Location startBlock, Location stopBlock, CancellationToken ct) - { - // Turn the cube around, so the bot always starts from the top. - if (stopBlock.Y > startBlock.Y) - { - Location temp = stopBlock; - stopBlock = startBlock; - startBlock = temp; - } + if (GetInventoryEnabled() && toolHandling) + { + // Search this tool in hotbar and select the correct slot + SelectCorrectSlotInHotbar( + // Returns the correct tool for this type + Material2Tool.GetCorrectToolForBlock( + // returns the type of the current block + mineLocationMaterial)); + } - IEnumerable xLocationRange = GetNumbersFromTo(Convert.ToInt32(Math.Round(startBlock.X)), Convert.ToInt32(Math.Round(stopBlock.X))); - IEnumerable yLocationRange = GetNumbersFromTo(Convert.ToInt32(Math.Round(startBlock.Y)), Convert.ToInt32(Math.Round(stopBlock.Y))); - IEnumerable zLocationRange = GetNumbersFromTo(Convert.ToInt32(Math.Round(startBlock.Z)), Convert.ToInt32(Math.Round(stopBlock.Z))); + // If we are able to reach the block && break sucessfully sent + if (GetCurrentLocation().EyesLocation().DistanceSquared(mineLocation) <= 25 && DigBlock(mineLocation)) + { + AutoTimeout.Perform(() => + { + while (GetWorld().GetBlock(mineLocation).Type != Material.Air) + { + Thread.Sleep(100); - foreach (int currentYLoc in yLocationRange) - { - foreach (int currentXLoc in xLocationRange) - { + if (ct.IsCancellationRequested) + break; + } + }, breakTimeout); + } + else + { + LogDebugToConsole("Unable to break this block: " + mineLocation.ToString()); + } + } + } + } + LogToConsole("Finished mining up."); + } - if (ct.IsCancellationRequested) - { - currentMiningTask = null; - LogToConsole("Cancellation requested. STOP MINING."); - return; - } + /// + /// Mine a cube of blocks from top to bottom between start and stop location + /// + /// The current world + /// The upper corner of the cube to mine + /// The lower corner of the cube to mine + /// CancellationToken to stop the task on cancel + public void Mine(World currentWorld, Location startBlock, Location stopBlock, CancellationToken ct) + { + // Turn the cube around, so the bot always starts from the top. + if (stopBlock.Y > startBlock.Y) + { + Location temp = stopBlock; + stopBlock = startBlock; + startBlock = temp; + } - List blocksToMine = null; + IEnumerable xLocationRange = GetNumbersFromTo(Convert.ToInt32(Math.Round(startBlock.X)), Convert.ToInt32(Math.Round(stopBlock.X))); + IEnumerable yLocationRange = GetNumbersFromTo(Convert.ToInt32(Math.Round(startBlock.Y)), Convert.ToInt32(Math.Round(stopBlock.Y))); + IEnumerable zLocationRange = GetNumbersFromTo(Convert.ToInt32(Math.Round(startBlock.Z)), Convert.ToInt32(Math.Round(stopBlock.Z))); - // If the end of the new row is closer than the start, reverse the line and start here - Location currentStandingLoc = GetCurrentLocation(); - Queue currentZLocationRangeQueue = new Queue(currentStandingLoc.DistanceSquared(new Location(currentXLoc, currentYLoc, zLocationRange.Last())) < currentStandingLoc.DistanceSquared(new Location(currentXLoc, currentYLoc, zLocationRange.First())) ? - zLocationRange.Reverse() : - zLocationRange); + foreach (int currentYLoc in yLocationRange) + { + foreach (int currentXLoc in xLocationRange) + { - while (!ct.IsCancellationRequested && (currentZLocationRangeQueue.Count > 0 || blocksToMine.Count > 0)) - { - // Evaluate the next blocks to mine, while mining - Task> cacheEval = Task>.Factory.StartNew(() => // Get a new chunk of blocks that can be mined - EvaluateBlocks(currentWorld, currentXLoc, currentYLoc, currentZLocationRangeQueue, ct, cacheSize)); + if (ct.IsCancellationRequested) + { + currentMiningTask = null; + LogToConsole("Cancellation requested. STOP MINING."); + return; + } - // On the first run, we need the task to finish, otherwise we would not have any results - if (blocksToMine != null) - { - // For all blocks in this block chunk - foreach (Location mineLocation in blocksToMine) - { - if (ct.IsCancellationRequested) - break; + List blocksToMine = null; - Location currentLoc = GetCurrentLocation(); - Location currentBlockUnderFeet = new Location(Math.Floor(currentLoc.X), Math.Floor(currentLoc.Y) - 1, Math.Floor(currentLoc.Z)); + // If the end of the new row is closer than the start, reverse the line and start here + Location currentStandingLoc = GetCurrentLocation(); + Queue currentZLocationRangeQueue = new Queue(currentStandingLoc.DistanceSquared(new Location(currentXLoc, currentYLoc, zLocationRange.Last())) < currentStandingLoc.DistanceSquared(new Location(currentXLoc, currentYLoc, zLocationRange.First())) ? + zLocationRange.Reverse() : + zLocationRange); - // If we are too far away from the mining location - if (currentLoc.EyesLocation().DistanceSquared(mineLocation) > 25) - { - // Walk to the new location - waitForMoveToLocation(mineLocation, maxOffset:3); - } + while (!ct.IsCancellationRequested && (currentZLocationRangeQueue.Count > 0 || blocksToMine.Count > 0)) + { + // Evaluate the next blocks to mine, while mining + Task> cacheEval = Task>.Factory.StartNew(() => // Get a new chunk of blocks that can be mined + EvaluateBlocks(currentWorld, currentXLoc, currentYLoc, currentZLocationRangeQueue, ct, cacheSize)); - // Prevent falling into danger - if (mineLocation == currentBlockUnderFeet && !Movement.IsSafe(currentWorld, currentBlockUnderFeet)) - waitForMoveToLocation(mineLocation, maxOffset: 4, minOffset:3); + // On the first run, we need the task to finish, otherwise we would not have any results + if (blocksToMine != null) + { + // For all blocks in this block chunk + foreach (Location mineLocation in blocksToMine) + { + if (ct.IsCancellationRequested) + break; - // Is inventoryhandling activated? - if (GetInventoryEnabled() && toolHandling) - { - // Search this tool in hotbar and select the correct slot - SelectCorrectSlotInHotbar( - // Returns the correct tool for this type - Material2Tool.GetCorrectToolForBlock( - // returns the type of the current block - currentWorld.GetBlock(mineLocation).Type)); - } + Location currentLoc = GetCurrentLocation(); + Location currentBlockUnderFeet = new Location(Math.Floor(currentLoc.X), Math.Floor(currentLoc.Y) - 1, Math.Floor(currentLoc.Z)); - // If we are able to reach the block && break sucessfully sent - if (GetCurrentLocation().EyesLocation().DistanceSquared(mineLocation) <= 25 && DigBlock(mineLocation)) - { - // Wait until the block is broken (== Air) - AutoTimeout.Perform(() => - { - while (GetWorld().GetBlock(mineLocation).Type != Material.Air) - { - Thread.Sleep(100); + // If we are too far away from the mining location + if (currentLoc.EyesLocation().DistanceSquared(mineLocation) > 25) + { + // Walk to the new location + waitForMoveToLocation(mineLocation, maxOffset: 3); + } - if (ct.IsCancellationRequested) - break; - } - }, breakTimeout); - } - else - { - LogDebugToConsole("Unable to break this block: " + mineLocation.ToString()); - } + // Prevent falling into danger + if (mineLocation == currentBlockUnderFeet && !Movement.IsSafe(currentWorld, currentBlockUnderFeet)) + waitForMoveToLocation(mineLocation, maxOffset: 4, minOffset: 3); - } - } + // Is inventoryhandling activated? + if (GetInventoryEnabled() && toolHandling) + { + // Search this tool in hotbar and select the correct slot + SelectCorrectSlotInHotbar( + // Returns the correct tool for this type + Material2Tool.GetCorrectToolForBlock( + // returns the type of the current block + currentWorld.GetBlock(mineLocation).Type)); + } - if (!ct.IsCancellationRequested) - { - // Wait for the block evaluation task to finish (if not already) and save the result - if (!cacheEval.IsCompleted) - { - cacheEval.Wait(); - } - blocksToMine = cacheEval.Result; - } - } - } - } - currentMiningTask = null; - LogToConsole("MINING FINISHED."); - } + // If we are able to reach the block && break sucessfully sent + if (GetCurrentLocation().EyesLocation().DistanceSquared(mineLocation) <= 25 && DigBlock(mineLocation)) + { + // Wait until the block is broken (== Air) + AutoTimeout.Perform(() => + { + while (GetWorld().GetBlock(mineLocation).Type != Material.Air) + { + Thread.Sleep(100); - /// - /// This function selects a certain amount of minable blocks in a row - /// - /// The current world - /// The current x location of the row - /// The current y location of the row - /// All Z blocks that will be mined - /// CancellationToken to stop the task on cancel - /// Maximum amount of blocks to return - /// - private List EvaluateBlocks(World currentWorld, int xLoc, int yLoc, Queue zLocationQueue, CancellationToken ct, int cacheSize = 10) - { - List blockMiningCache = new List(); - int i = 0; - while (zLocationQueue.Count > 0 && i < cacheSize && !ct.IsCancellationRequested) - { - // Get the block to mine, relative to the startblock of the row - Location mineLocation = new Location(xLoc, yLoc, zLocationQueue.Dequeue()); + if (ct.IsCancellationRequested) + break; + } + }, breakTimeout); + } + else + { + LogDebugToConsole("Unable to break this block: " + mineLocation.ToString()); + } - // Add the current location to the mining cache if it is safe to mine - if (currentWorld.GetBlock(mineLocation).Type != Material.Air && - IsGravitySave(currentWorld, mineLocation) && - !IsSorroundedByLiquid(currentWorld, mineLocation) && - !Material2Tool.IsUnbreakable(currentWorld.GetBlock(mineLocation).Type)) - { - blockMiningCache.Add(mineLocation); - i++; - } - } - return blockMiningCache; - } + } + } - /// - /// Generates a sequence of numbers between a start and a stop number, including both - /// - /// Number to start from - /// Number to end with - /// a sequence of numbers between a start and a stop number, including both - private static IEnumerable GetNumbersFromTo(int start, int stop) - { - return start <= stop ? Enumerable.Range(start, stop - start + 1) : Enumerable.Range(stop, start - stop + 1).Reverse(); - } + if (!ct.IsCancellationRequested) + { + // Wait for the block evaluation task to finish (if not already) and save the result + if (!cacheEval.IsCompleted) + { + cacheEval.Wait(); + } + blocksToMine = cacheEval.Result; + } + } + } + } + currentMiningTask = null; + LogToConsole("MINING FINISHED."); + } - /// - /// Starts walk and waits until the client arrives - /// - /// Location to reach - /// Allow possible but unsafe locations thay may hurt the player: lava, cactus... - /// Allow non-vanilla direct teleport instead of computing path, but may cause invalid moves and/or trigger anti-cheat plugins - /// If no valid path can be found, also allow locations within specified distance of destination - /// Do not get closer of destination than specified distance - /// How long to wait before stopping computation (default: 5 seconds) - private void waitForMoveToLocation(Location goal, bool allowUnsafe = false, bool allowDirectTeleport = false, int maxOffset = 0, int minOffset = 0, TimeSpan? timeout = null) - { - if (MoveToLocation(goal, allowUnsafe, allowDirectTeleport, maxOffset, minOffset, timeout)) - { - // Wait till the client stops moving - while (ClientIsMoving()) - { - Thread.Sleep(200); - } - } - else - { - LogDebugToConsole("Unable to walk to: " + goal.ToString()); - } - } + /// + /// This function selects a certain amount of minable blocks in a row + /// + /// The current world + /// The current x location of the row + /// The current y location of the row + /// All Z blocks that will be mined + /// CancellationToken to stop the task on cancel + /// Maximum amount of blocks to return + /// + private List EvaluateBlocks(World currentWorld, int xLoc, int yLoc, Queue zLocationQueue, CancellationToken ct, int cacheSize = 10) + { + List blockMiningCache = new List(); + int i = 0; + while (zLocationQueue.Count > 0 && i < cacheSize && !ct.IsCancellationRequested) + { + // Get the block to mine, relative to the startblock of the row + Location mineLocation = new Location(xLoc, yLoc, zLocationQueue.Dequeue()); - /// - /// Checks all slots of the hotbar for an Item and selects it if found - /// - /// List of items that may be selected, from worst to best - private void SelectCorrectSlotInHotbar(ItemType[] tools) - { - if (GetInventoryEnabled()) - { - foreach (ItemType tool in tools) - { - int[] tempArray = GetPlayerInventory().SearchItem(tool); - // Check whether an item could be found and make sure that it is in - // a hotbar slot (36-44). - if (tempArray.Length > 0 && tempArray[0] > 35) - { - // Changeslot takes numbers from 0-8 - ChangeSlot(Convert.ToInt16(tempArray[0] - 36)); - break; - } - } - } - else - { - LogToConsole("Activate Inventory Handling."); - } - } + // Add the current location to the mining cache if it is safe to mine + if (currentWorld.GetBlock(mineLocation).Type != Material.Air && + IsGravitySave(currentWorld, mineLocation) && + !IsSorroundedByLiquid(currentWorld, mineLocation) && + !Material2Tool.IsUnbreakable(currentWorld.GetBlock(mineLocation).Type)) + { + blockMiningCache.Add(mineLocation); + i++; + } + } + return blockMiningCache; + } - /// - /// Check if mining the current block would update others - /// - /// Current World - /// The block to be checked - /// true if mining the current block would not update others - public bool IsGravitySave(World currentWorld, Location blockToMine) - { - Location currentLoc = GetCurrentLocation(); - Location block = new Location(Math.Round(blockToMine.X), Math.Round(blockToMine.Y), Math.Round(blockToMine.Z)); - List gravityBlockList = new List(new Material[] { Material.Gravel, Material.Sand, Material.RedSand, Material.Scaffolding, Material.Anvil, }); - Func isGravityBlock = (Location blockToCheck) => gravityBlockList.Contains(currentWorld.GetBlock(blockToCheck).Type); - Func isBlockSolid = (Location blockToCheck) => currentWorld.GetBlock(blockToCheck).Type.IsSolid(); + /// + /// Generates a sequence of numbers between a start and a stop number, including both + /// + /// Number to start from + /// Number to end with + /// a sequence of numbers between a start and a stop number, including both + private static IEnumerable GetNumbersFromTo(int start, int stop) + { + return start <= stop ? Enumerable.Range(start, stop - start + 1) : Enumerable.Range(stop, start - stop + 1).Reverse(); + } - return - // Block can not fall down on player e.g. Sand, Gravel etc. - !isGravityBlock(Movement.Move(block, Direction.Up)) && - (Movement.Move(currentLoc, Direction.Down) != blockToMine || currentWorld.GetBlock(Movement.Move(currentLoc, Direction.Down, 2)).Type.IsSolid()) && - // Prevent updating flying sand/gravel under player - !isGravityBlock(Movement.Move(block, Direction.Down)) || isBlockSolid(Movement.Move(block, Direction.Down, 2)); - } + /// + /// Starts walk and waits until the client arrives + /// + /// Location to reach + /// Allow possible but unsafe locations thay may hurt the player: lava, cactus... + /// Allow non-vanilla direct teleport instead of computing path, but may cause invalid moves and/or trigger anti-cheat plugins + /// If no valid path can be found, also allow locations within specified distance of destination + /// Do not get closer of destination than specified distance + /// How long to wait before stopping computation (default: 5 seconds) + private void waitForMoveToLocation(Location goal, bool allowUnsafe = false, bool allowDirectTeleport = false, int maxOffset = 0, int minOffset = 0, TimeSpan? timeout = null) + { + if (MoveToLocation(goal, allowUnsafe, allowDirectTeleport, maxOffset, minOffset, timeout)) + { + // Wait till the client stops moving + while (ClientIsMoving()) + { + Thread.Sleep(200); + } + } + else + { + LogDebugToConsole("Unable to walk to: " + goal.ToString()); + } + } - /// - /// Checks if the current block is sorrounded by liquids - /// - /// Current World - /// The block to be checked - /// true if mining the current block results in liquid flow change - public bool IsSorroundedByLiquid(World currentWorld, Location blockToMine) - { - Location block = new Location(Math.Round(blockToMine.X), Math.Round(blockToMine.Y), Math.Round(blockToMine.Z)); - Func isLiquid = (Location blockToCheck) => currentWorld.GetBlock(blockToCheck).Type.IsLiquid(); + /// + /// Checks all slots of the hotbar for an Item and selects it if found + /// + /// List of items that may be selected, from worst to best + private void SelectCorrectSlotInHotbar(ItemType[] tools) + { + if (GetInventoryEnabled()) + { + foreach (ItemType tool in tools) + { + int[] tempArray = GetPlayerInventory().SearchItem(tool); + // Check whether an item could be found and make sure that it is in + // a hotbar slot (36-44). + if (tempArray.Length > 0 && tempArray[0] > 35) + { + // Changeslot takes numbers from 0-8 + ChangeSlot(Convert.ToInt16(tempArray[0] - 36)); + break; + } + } + } + else + { + LogToConsole("Activate Inventory Handling."); + } + } - return // Liquid can not flow down the hole. Liquid is unable to flow diagonally. - isLiquid(block) || - isLiquid(Movement.Move(block, Direction.Up)) || - isLiquid(Movement.Move(block, Direction.North)) || - isLiquid(Movement.Move(block, Direction.South)) || - isLiquid(Movement.Move(block, Direction.East)) || - isLiquid(Movement.Move(block, Direction.West)); - } + /// + /// Check if mining the current block would update others + /// + /// Current World + /// The block to be checked + /// true if mining the current block would not update others + public bool IsGravitySave(World currentWorld, Location blockToMine) + { + Location currentLoc = GetCurrentLocation(); + Location block = new Location(Math.Round(blockToMine.X), Math.Round(blockToMine.Y), Math.Round(blockToMine.Z)); + List gravityBlockList = new List(new Material[] { Material.Gravel, Material.Sand, Material.RedSand, Material.Scaffolding, Material.Anvil, }); + Func isGravityBlock = (Location blockToCheck) => gravityBlockList.Contains(currentWorld.GetBlock(blockToCheck).Type); + Func isBlockSolid = (Location blockToCheck) => currentWorld.GetBlock(blockToCheck).Type.IsSolid(); - /// - /// The Help page for this command. - /// - /// a help page - private string getHelpPage() - { - return - "Usage of the mine bot:\n" + - "/mine OR /mine \n" + - "to excavate a cube of blocks from top to bottom. (There must be a 2 high area of air above the cube you want to mine.)\n" + - "/mineup OR /mineup \n" + - "to walk over a quadratic field of blocks and simultaniously mine everything above the head. \n" + - "(Mines up to 5 Blocks, stops if gravel or lava would fall. There must be a 2 high area of air below the cube you want to mine.)\n" + - "/mine OR /mineup cancel\n" + - "to cancel the current mining process.\n" + - "/mine OR /mineup cachesize\n" + - "to set the current cache size\n" + - "/mine OR /mineup breaktimeout\n" + - "to set the time to wait until a block is broken."; ; + return + // Block can not fall down on player e.g. Sand, Gravel etc. + !isGravityBlock(Movement.Move(block, Direction.Up)) && + (Movement.Move(currentLoc, Direction.Down) != blockToMine || currentWorld.GetBlock(Movement.Move(currentLoc, Direction.Down, 2)).Type.IsSolid()) && + // Prevent updating flying sand/gravel under player + !isGravityBlock(Movement.Move(block, Direction.Down)) || isBlockSolid(Movement.Move(block, Direction.Down, 2)); + } - } + /// + /// Checks if the current block is sorrounded by liquids + /// + /// Current World + /// The block to be checked + /// true if mining the current block results in liquid flow change + public bool IsSorroundedByLiquid(World currentWorld, Location blockToMine) + { + Location block = new Location(Math.Round(blockToMine.X), Math.Round(blockToMine.Y), Math.Round(blockToMine.Z)); + Func isLiquid = (Location blockToCheck) => currentWorld.GetBlock(blockToCheck).Type.IsLiquid(); - private string EvaluateMineCommand(string command, string[] args) - { - for (int i = 0; i < args.Length; i++) - { - switch (args[i]) - { - case "breaktimeout": - int temp; - if (int.TryParse(args[i + 1], out temp)) - breakTimeout = TimeSpan.FromMilliseconds(temp); - else return "Please enter a valid number."; - return string.Format("Set the break timout to {0} ms.", breakTimeout); + return // Liquid can not flow down the hole. Liquid is unable to flow diagonally. + isLiquid(block) || + isLiquid(Movement.Move(block, Direction.Up)) || + isLiquid(Movement.Move(block, Direction.North)) || + isLiquid(Movement.Move(block, Direction.South)) || + isLiquid(Movement.Move(block, Direction.East)) || + isLiquid(Movement.Move(block, Direction.West)); + } - case "cachesize": - return int.TryParse(args[i + 1], out cacheSize) ? string.Format("Set cache size to {0} blocks.", cacheSize) : "Please enter a valid number"; + /// + /// The Help page for this command. + /// + /// a help page + private string getHelpPage() + { + return + "Usage of the mine bot:\n" + + "/mine OR /mine \n" + + "to excavate a cube of blocks from top to bottom. (There must be a 2 high area of air above the cube you want to mine.)\n" + + "/mineup OR /mineup \n" + + "to walk over a quadratic field of blocks and simultaniously mine everything above the head. \n" + + "(Mines up to 5 Blocks, stops if gravel or lava would fall. There must be a 2 high area of air below the cube you want to mine.)\n" + + "/mine OR /mineup cancel\n" + + "to cancel the current mining process.\n" + + "/mine OR /mineup cachesize\n" + + "to set the current cache size\n" + + "/mine OR /mineup breaktimeout\n" + + "to set the time to wait until a block is broken."; ; - case "cancel": - cts.Cancel(); - currentMiningTask = null; - return "Cancelled current mining process."; + } - case "toolHandling": - toolHandling = !toolHandling; - return string.Format("Tool handling was set to: {0}", toolHandling.ToString()); - } - } + private string EvaluateMineCommand(string command, string[] args) + { + for (int i = 0; i < args.Length; i++) + { + switch (args[i]) + { + case "breaktimeout": + int temp; + if (int.TryParse(args[i + 1], out temp)) + breakTimeout = TimeSpan.FromMilliseconds(temp); + else return "Please enter a valid number."; + return string.Format("Set the break timout to {0} ms.", breakTimeout); - if (args.Length > 2) - { - Location startBlock; - Location stopBlock; + case "cachesize": + return int.TryParse(args[i + 1], out cacheSize) ? string.Format("Set cache size to {0} blocks.", cacheSize) : "Please enter a valid number"; - if (args.Length > 5) - { - try - { - startBlock = new Location( - double.Parse(args[0]), - double.Parse(args[1]), - double.Parse(args[2]) - ); + case "cancel": + cts.Cancel(); + currentMiningTask = null; + return "Cancelled current mining process."; - stopBlock = new Location( - double.Parse(args[3]), - double.Parse(args[4]), - double.Parse(args[5]) - ); + case "toolHandling": + toolHandling = !toolHandling; + return string.Format("Tool handling was set to: {0}", toolHandling.ToString()); + } + } - } - catch (Exception e) - { - LogDebugToConsole(e.ToString()); - return "Please enter correct coordinates as numbers.\n" + getHelpPage(); - } - } - else - { - Location tempLoc = GetCurrentLocation(); - startBlock = new Location(Math.Round(tempLoc.X), - Math.Round(tempLoc.Y), - Math.Round(tempLoc.Z)); + if (args.Length > 2) + { + Location startBlock; + Location stopBlock; - try - { - stopBlock = new Location( - double.Parse(args[0]), - double.Parse(args[1]), - double.Parse(args[2]) - ); - } - catch (Exception e) - { - LogDebugToConsole(e.ToString()); - return "Please enter correct coordinates as numbers.\n" + getHelpPage(); - } - } + if (args.Length > 5) + { + try + { + startBlock = new Location( + double.Parse(args[0]), + double.Parse(args[1]), + double.Parse(args[2]) + ); - if (currentMiningTask == null) - { - if (command.Contains("mineup")) - { - cts = new CancellationTokenSource(); + stopBlock = new Location( + double.Parse(args[3]), + double.Parse(args[4]), + double.Parse(args[5]) + ); - currentMiningTask = Task.Factory.StartNew(() => MineUp(GetWorld(), startBlock, stopBlock, cts.Token)); - return "Start mining up."; - } - else if (command.Contains("mine")) - { + } + catch (Exception e) + { + LogDebugToConsole(e.ToString()); + return "Please enter correct coordinates as numbers.\n" + getHelpPage(); + } + } + else + { + Location tempLoc = GetCurrentLocation(); + startBlock = new Location(Math.Round(tempLoc.X), + Math.Round(tempLoc.Y), + Math.Round(tempLoc.Z)); - cts = new CancellationTokenSource(); + try + { + stopBlock = new Location( + double.Parse(args[0]), + double.Parse(args[1]), + double.Parse(args[2]) + ); + } + catch (Exception e) + { + LogDebugToConsole(e.ToString()); + return "Please enter correct coordinates as numbers.\n" + getHelpPage(); + } + } - currentMiningTask = Task.Factory.StartNew(() => Mine(GetWorld(), startBlock, stopBlock, cts.Token)); - return "Start mining cube."; - } - } - else return "You are already mining. Cancel it with '/minecancel'"; - } + if (currentMiningTask == null) + { + if (command.Contains("mineup")) + { + cts = new CancellationTokenSource(); - return "Invalid command syntax.\n" + getHelpPage(); - } -} \ No newline at end of file + currentMiningTask = Task.Factory.StartNew(() => MineUp(GetWorld(), startBlock, stopBlock, cts.Token)); + return "Start mining up."; + } + else if (command.Contains("mine")) + { + + cts = new CancellationTokenSource(); + + currentMiningTask = Task.Factory.StartNew(() => Mine(GetWorld(), startBlock, stopBlock, cts.Token)); + return "Start mining cube."; + } + } + else return "You are already mining. Cancel it with '/minecancel'"; + } + + return "Invalid command syntax.\n" + getHelpPage(); + } +} diff --git a/MinecraftClient/config/ChatBots/PayKassa.cs b/MinecraftClient/config/ChatBots/PayKassa.cs index 95a56b98..b225ae4a 100644 --- a/MinecraftClient/config/ChatBots/PayKassa.cs +++ b/MinecraftClient/config/ChatBots/PayKassa.cs @@ -1,4 +1,4 @@ -//MCCScript 1.0 +//MCCScript 1.0 //using System.Threading.Tasks; //==== CONFIG START ==== diff --git a/MinecraftClient/config/ChatBots/QIWIAPI.cs b/MinecraftClient/config/ChatBots/QIWIAPI.cs index 251385cb..4c2a9fdd 100644 --- a/MinecraftClient/config/ChatBots/QIWIAPI.cs +++ b/MinecraftClient/config/ChatBots/QIWIAPI.cs @@ -1,4 +1,4 @@ -//MCCScript 1.0 +//MCCScript 1.0 //using System.Threading.Tasks; MCC.LoadBot(new QIWI_DonationBot()); @@ -6,8 +6,8 @@ MCC.LoadBot(new QIWI_DonationBot()); //MCCScript Extensions public class QIWI_DonationBot : ChatBot -{ - //More info: https://github.com/Nekiplay/QIWI-API +{ + //More info: https://github.com/Nekiplay/QIWI-API public override void Initialize() { QIWI.Donation donation = new QIWI.Donation("token", OnDonate); diff --git a/MinecraftClient/config/ChatBots/SugarCaneFarmer.cs b/MinecraftClient/config/ChatBots/SugarCaneFarmer.cs index 6ccda760..68979e4b 100644 --- a/MinecraftClient/config/ChatBots/SugarCaneFarmer.cs +++ b/MinecraftClient/config/ChatBots/SugarCaneFarmer.cs @@ -1,4 +1,15 @@ -//MCCScript 1.0 +//MCCScript 1.0 +//using MinecraftClient.Inventory; +//using MinecraftClient.Mapping; +//using MinecraftClient.Scripting; +//using System.Collections.Generic; +//using System.Threading; +//using System; +//using Brigadier.NET.Builder; +//using MinecraftClient.CommandHandler.Patch; +//using Brigadier.NET; +//using MinecraftClient.CommandHandler; +//using System.Linq; MCC.LoadBot(new SugarCaneFarmer()); @@ -102,6 +113,8 @@ class SugarCaneFarmerBase : ChatBot class SugarCaneFarmer : SugarCaneFarmerBase { + public const string CommandName = "sugarcane"; + public enum CoordinateType { X, Y, Z }; /// @@ -137,7 +150,19 @@ class SugarCaneFarmer : SugarCaneFarmerBase public override void Initialize() { LogToConsole("Sugar Cane farming bot created by Daenges."); - RegisterChatBotCommand("sugarcane", "Farm sugar cane automatically", "/sugarcane [range x|y|z]/[stop]", commandHandler); + + Handler.dispatcher.Register(l => l.Literal(CommandName) + .Then(l => l.Argument("Commands", Arguments.GreedyString()) + .Executes(r => { + CommandHandler(Arguments.GetString(r, "Commands").Split(' ', StringSplitOptions.TrimEntries)); + return r.Source.SetAndReturn(CmdResult.Status.Done); + })) + ); + } + + public override void OnUnload() + { + Handler.dispatcher.Unregister(CommandName); } /// @@ -188,7 +213,7 @@ class SugarCaneFarmer : SugarCaneFarmerBase LogToConsole("[FARMING STOPPED]"); } - private string commandHandler(string command, string[] args) + private string CommandHandler(string[] args) { if (args.Length == 1) { diff --git a/MinecraftClient/config/ChatBots/SugarCaneMiner.cs b/MinecraftClient/config/ChatBots/SugarCaneMiner.cs index 7e37a7a0..2bdb3913 100644 --- a/MinecraftClient/config/ChatBots/SugarCaneMiner.cs +++ b/MinecraftClient/config/ChatBots/SugarCaneMiner.cs @@ -1,4 +1,8 @@ -//MCCScript 1.0 +//MCCScript 1.0 + +//using MinecraftClient.CommandHandler; +//using MinecraftClient.Mapping; +//using MinecraftClient.Scripting; MCC.LoadBot(new SugarCaneMiner()); diff --git a/MinecraftClient/config/ChatBots/TreeFarmer.cs b/MinecraftClient/config/ChatBots/TreeFarmer.cs index 801b0b8c..f19975a7 100644 --- a/MinecraftClient/config/ChatBots/TreeFarmer.cs +++ b/MinecraftClient/config/ChatBots/TreeFarmer.cs @@ -1,4 +1,9 @@ -//MCCScript 1.0 +//MCCScript 1.0 + +//using MinecraftClient.CommandHandler; +//using MinecraftClient.Mapping; +//using MinecraftClient.Scripting; +//using System.Threading; MCC.LoadBot(new TreeFarmer()); diff --git a/MinecraftClient/config/ChatBots/VkMessager.cs b/MinecraftClient/config/ChatBots/VkMessager.cs index b9fe4f6e..448e6840 100644 --- a/MinecraftClient/config/ChatBots/VkMessager.cs +++ b/MinecraftClient/config/ChatBots/VkMessager.cs @@ -1,8 +1,21 @@ -//MCCScript 1.0 +//MCCScript 1.0 //using System.Threading.Tasks; //dll Newtonsoft.Json.dll //using Newtonsoft.Json; //using Newtonsoft.Json.Linq; +//using Brigadier.NET; +//using MinecraftClient.CommandHandler; +//using MinecraftClient.Scripting; +//using MinecraftClient; +//using Newtonsoft.Json.Linq; +//using Newtonsoft.Json; +//using System.Collections.Generic; +//using System.Net; +//using System.Text.RegularExpressions; +//using System.Text; +//using System.Threading.Tasks; +//using System; +//using System.Linq; //==== INFO START ==== // Download Newtonsoft.Json.dll and install it into the program folder Link: https://www.newtonsoft.com/json diff --git a/MinecraftClient/config/sample-matches.ini b/MinecraftClient/config/sample-matches.ini index f950c4c4..523e17d7 100644 --- a/MinecraftClient/config/sample-matches.ini +++ b/MinecraftClient/config/sample-matches.ini @@ -1,4 +1,4 @@ -# Minecraft Console Client +# Minecraft Console Client # AutoRespond matches # Example config file @@ -71,4 +71,4 @@ match=§ahello action=send Hello back! # Enjoy! -# - ORelio \ No newline at end of file +# - ORelio diff --git a/MinecraftClient/config/sample-script-extended.cs b/MinecraftClient/config/sample-script-extended.cs index b8751f0b..bf5e7c32 100644 --- a/MinecraftClient/config/sample-script-extended.cs +++ b/MinecraftClient/config/sample-script-extended.cs @@ -1,4 +1,4 @@ -//MCCScript 1.0 +//MCCScript 1.0 /* This script demonstrates how to use methods and arguments */ @@ -28,4 +28,4 @@ void SleepBetweenSends() { MCC.LogToConsole("Sleeping for 5 seconds..."); Thread.Sleep(5000); -} \ No newline at end of file +} diff --git a/MinecraftClient/config/sample-script-pm-forwarder.cs b/MinecraftClient/config/sample-script-pm-forwarder.cs index ce8f3e51..c131e11c 100644 --- a/MinecraftClient/config/sample-script-pm-forwarder.cs +++ b/MinecraftClient/config/sample-script-pm-forwarder.cs @@ -1,4 +1,4 @@ -//MCCScript 1.0 +//MCCScript 1.0 MCC.LoadBot(new PMForwarder()); @@ -36,4 +36,4 @@ public class PMForwarder : ChatBot } } } -} \ No newline at end of file +} diff --git a/MinecraftClient/config/sample-script-random-command.cs b/MinecraftClient/config/sample-script-random-command.cs index 506f7e65..a6cced52 100644 --- a/MinecraftClient/config/sample-script-random-command.cs +++ b/MinecraftClient/config/sample-script-random-command.cs @@ -1,4 +1,4 @@ -//MCCScript 1.0 +//MCCScript 1.0 string[] commands = new[] { "send command1", @@ -8,4 +8,4 @@ string[] commands = new[] { int randomIndex = new Random().Next(0, commands.Length); string randomCommand = commands[randomIndex]; -MCC.PerformInternalCommand(randomCommand); \ No newline at end of file +MCC.PerformInternalCommand(randomCommand); diff --git a/MinecraftClient/config/sample-script-with-chatbot.cs b/MinecraftClient/config/sample-script-with-chatbot.cs index 25cb13eb..19a23e9b 100644 --- a/MinecraftClient/config/sample-script-with-chatbot.cs +++ b/MinecraftClient/config/sample-script-with-chatbot.cs @@ -1,4 +1,4 @@ -//MCCScript 1.0 +//MCCScript 1.0 /* This is a sample script that will load a ChatBot into Minecraft Console Client * Simply execute the script once with /script or the script scheduler to load the bot */ @@ -32,4 +32,4 @@ public class ExampleBot : ChatBot LogToConsole("Private message from " + username + ": " + message); } } -} \ No newline at end of file +} diff --git a/MinecraftClient/config/sample-script-with-http-request.cs b/MinecraftClient/config/sample-script-with-http-request.cs index 94ac61b4..9b24fe34 100644 --- a/MinecraftClient/config/sample-script-with-http-request.cs +++ b/MinecraftClient/config/sample-script-with-http-request.cs @@ -1,4 +1,4 @@ -//MCCScript 1.0 +//MCCScript 1.0 string mojangStatus = PerformHttpRequest("https://status.mojang.com/check"); MCC.LogToConsole(mojangStatus); @@ -31,4 +31,4 @@ void SendHttpPostAsync(string uri, string text) responseString = reader.ReadToEnd(); //LogToConsole(responseString); }).Start(); -} \ No newline at end of file +} diff --git a/MinecraftClient/config/sample-script-with-task.cs b/MinecraftClient/config/sample-script-with-task.cs index 8feb6c6c..2e3e8c2e 100644 --- a/MinecraftClient/config/sample-script-with-task.cs +++ b/MinecraftClient/config/sample-script-with-task.cs @@ -1,4 +1,4 @@ -//MCCScript 1.0 +//MCCScript 1.0 MCC.LoadBot(new PeriodicTask()); @@ -29,4 +29,4 @@ public class PeriodicTask : ChatBot nextTaskRun = dateNow.AddSeconds(60); } } -} \ No newline at end of file +} diff --git a/MinecraftClient/config/sample-script-with-world-access.cs b/MinecraftClient/config/sample-script-with-world-access.cs index cfa5f915..65e06385 100644 --- a/MinecraftClient/config/sample-script-with-world-access.cs +++ b/MinecraftClient/config/sample-script-with-world-access.cs @@ -1,4 +1,4 @@ -//MCCScript 1.0 +//MCCScript 1.0 MCC.LoadBot(new WatchLamp()); @@ -58,4 +58,4 @@ class WatchLamp : ChatBot } else checkCount++; } -} \ No newline at end of file +} diff --git a/MinecraftClient/config/sample-script.cs b/MinecraftClient/config/sample-script.cs index 34d3354a..9884986f 100644 --- a/MinecraftClient/config/sample-script.cs +++ b/MinecraftClient/config/sample-script.cs @@ -1,4 +1,4 @@ -//MCCScript 1.0 +//MCCScript 1.0 /* This is a sample script for Minecraft Console Client * The code provided in this file will be compiled at runtime and executed @@ -11,4 +11,4 @@ for (int i = 0; i < 5; i++) MCC.SendText("Hello World no. " + count); MCC.LogToConsole("Sleeping for 5 seconds..."); Thread.Sleep(5000); -} \ No newline at end of file +} diff --git a/MinecraftClientGUI/Form1.resx b/MinecraftClientGUI/Form1.resx index 6c4db660..b45be6ec 100644 --- a/MinecraftClientGUI/Form1.resx +++ b/MinecraftClientGUI/Form1.resx @@ -6290,4 +6290,4 @@ //////////////////////////////////////////////////////////////////8= - \ No newline at end of file + diff --git a/README.md b/README.md index 9f285e71..76db9675 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@
-[English](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/README.md) | [Nederlands](https://github.com/MCCTeam/Minecraft-Console-Client/blob/l10n_master/README/README-Dutch.md) | [Русский](https://github.com/MCCTeam/Minecraft-Console-Client/blob/l10n_master/README/README-Russian.md) | [Српски](https://github.com/MCCTeam/Minecraft-Console-Client/blob/l10n_master/README/README-Serbian_Cyrillic.md) | [Türkçe](https://github.com/MCCTeam/Minecraft-Console-Client/blob/l10n_master/README/README-Turkish.md) | [Tiếng Việt](https://github.com/MCCTeam/Minecraft-Console-Client/blob/l10n_master/README/README-Vietnamese.md) | [简体中文](https://github.com/MCCTeam/Minecraft-Console-Client/blob/l10n_master/README/README-Chinese_Simplified.md) | [繁體中文](https://github.com/MCCTeam/Minecraft-Console-Client/blob/l10n_master/README/README-Chinese_Traditional.md) +[English](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/README.md) | [Nederlands](https://github.com/MCCTeam/MCCTeam.github.io/blob/master/MCC-README/README-Dutch.md) | [Русский](https://github.com/MCCTeam/MCCTeam.github.io/blob/master/MCC-README/README-Russian.md) | [Српски](https://github.com/MCCTeam/MCCTeam.github.io/blob/master/MCC-README/README-Serbian_Cyrillic.md) | [Türkçe](https://github.com/MCCTeam/MCCTeam.github.io/blob/master/MCC-README/README-Turkish.md) | [Tiếng Việt](https://github.com/MCCTeam/MCCTeam.github.io/blob/master/MCC-README/README-Vietnamese.md) | [简体中文](https://github.com/MCCTeam/MCCTeam.github.io/blob/master/MCC-README/README-Chinese_Simplified.md) | [繁體中文](https://github.com/MCCTeam/MCCTeam.github.io/blob/master/MCC-README/README-Chinese_Traditional.md)
diff --git a/crowdin.yml b/crowdin.yml index 6ddd711b..5e80b8bb 100644 --- a/crowdin.yml +++ b/crowdin.yml @@ -9,13 +9,17 @@ "source": "/MinecraftClient/Resources/Translations/Translations.resx", "translation": "/MinecraftClient/Resources/Translations/Translations.%osx_code%.resx" }, + { + "source": "/MinecraftClient/Resources/ConfigComments/ConfigComments.resx", + "translation": "/MinecraftClient/Resources/ConfigComments/ConfigComments.%osx_code%.resx" + }, { "source": "/MinecraftClient/Resources/AsciiArt/AsciiArt.resx", "translation": "/MinecraftClient/Resources/AsciiArt/AsciiArt.%osx_code%.resx" }, { "source": "/README.md", - "translation": "/README/README-%language%.md" + "translation": "/docs/.vuepress/public/MCC-README/README-%language%.md" }, { "source": "/docs/.vuepress/translations/en.json", diff --git a/docs/.vuepress/public/images/guide/Discord_Add_Bot.png b/docs/.vuepress/public/images/guide/Discord_Add_Bot.png new file mode 100644 index 00000000..b823b8c2 Binary files /dev/null and b/docs/.vuepress/public/images/guide/Discord_Add_Bot.png differ diff --git a/docs/.vuepress/public/images/guide/Discord_Create_Application.png b/docs/.vuepress/public/images/guide/Discord_Create_Application.png new file mode 100644 index 00000000..a660b782 Binary files /dev/null and b/docs/.vuepress/public/images/guide/Discord_Create_Application.png differ diff --git a/docs/.vuepress/public/images/guide/Discord_Permissions.png b/docs/.vuepress/public/images/guide/Discord_Permissions.png new file mode 100644 index 00000000..e8ae9016 Binary files /dev/null and b/docs/.vuepress/public/images/guide/Discord_Permissions.png differ diff --git a/docs/.vuepress/public/images/guide/Discord_Privileged_Intents.png b/docs/.vuepress/public/images/guide/Discord_Privileged_Intents.png new file mode 100644 index 00000000..47f0514b Binary files /dev/null and b/docs/.vuepress/public/images/guide/Discord_Privileged_Intents.png differ diff --git a/docs/.vuepress/public/images/guide/Discord_Reset_Token.png b/docs/.vuepress/public/images/guide/Discord_Reset_Token.png new file mode 100644 index 00000000..a6f11bb5 Binary files /dev/null and b/docs/.vuepress/public/images/guide/Discord_Reset_Token.png differ diff --git a/docs/.vuepress/public/redirect.html b/docs/.vuepress/public/redirect.html index 0161f350..93747930 100644 --- a/docs/.vuepress/public/redirect.html +++ b/docs/.vuepress/public/redirect.html @@ -1,133 +1,171 @@ - - - - Sign-in | Minecraft Console Client - - - - -

- Minecraft Console Client -

-
- - - + + + + + Sign-in | Minecraft Console Client + + + + +

+ Minecraft Console Client +

+
+ - - + - + navigator.clipboard.writeText(text).then(function () { + console.log('Async: Copying to clipboard was successful!'); + }, function (err) { + console.error('Async: Could not copy text: ', err); + }); + } + + + diff --git a/docs/.vuepress/public/redirect_assets/redirect.css b/docs/.vuepress/public/redirect_assets/redirect.css deleted file mode 100644 index 93228380..00000000 --- a/docs/.vuepress/public/redirect_assets/redirect.css +++ /dev/null @@ -1,29 +0,0 @@ -.messageContainer { - box-shadow: 0px 1px 2px 1px #bdbdbd; - border-radius: 2px; - max-width: 30em; - padding: 2em; - margin: 0 auto; - background-color: white; -} - -.logo { - width: 1.5em; - vertical-align: bottom; - padding-right: 0.5em; -} - -.brand { - background-color: #ffffff78; - padding: 0.5em; - border-radius: 8px; -} - -code { - white-space: pre-wrap; -} - -pre { - box-shadow: 0px 1px 2px 1px #bdbdbd; - padding: 0.5em; -} diff --git a/docs/.vuepress/public/redirect_assets/wallpaper/1.png b/docs/.vuepress/public/redirect_assets/wallpaper/1.png index a8bfcf1d..a49ffba5 100644 Binary files a/docs/.vuepress/public/redirect_assets/wallpaper/1.png and b/docs/.vuepress/public/redirect_assets/wallpaper/1.png differ diff --git a/docs/.vuepress/public/redirect_assets/wallpaper/2.png b/docs/.vuepress/public/redirect_assets/wallpaper/2.png index dc9a2e56..b8885f5c 100644 Binary files a/docs/.vuepress/public/redirect_assets/wallpaper/2.png and b/docs/.vuepress/public/redirect_assets/wallpaper/2.png differ diff --git a/docs/.vuepress/public/redirect_assets/wallpaper/3.png b/docs/.vuepress/public/redirect_assets/wallpaper/3.png index 6437d91b..398a9159 100644 Binary files a/docs/.vuepress/public/redirect_assets/wallpaper/3.png and b/docs/.vuepress/public/redirect_assets/wallpaper/3.png differ diff --git a/docs/.vuepress/public/redirect_assets/wallpaper/4.png b/docs/.vuepress/public/redirect_assets/wallpaper/4.png index 10d4b1dd..825e6bb7 100644 Binary files a/docs/.vuepress/public/redirect_assets/wallpaper/4.png and b/docs/.vuepress/public/redirect_assets/wallpaper/4.png differ diff --git a/docs/.vuepress/public/redirect_assets/wallpaper/5.png b/docs/.vuepress/public/redirect_assets/wallpaper/5.png index 400b1a30..724c52cf 100644 Binary files a/docs/.vuepress/public/redirect_assets/wallpaper/5.png and b/docs/.vuepress/public/redirect_assets/wallpaper/5.png differ diff --git a/docs/.vuepress/public/redirect_assets/wallpaper/6.png b/docs/.vuepress/public/redirect_assets/wallpaper/6.png index 2e2a7570..a851589c 100644 Binary files a/docs/.vuepress/public/redirect_assets/wallpaper/6.png and b/docs/.vuepress/public/redirect_assets/wallpaper/6.png differ diff --git a/docs/.vuepress/public/redirect_assets/wallpaper/7.png b/docs/.vuepress/public/redirect_assets/wallpaper/7.png index 1cf054c8..38d89742 100644 Binary files a/docs/.vuepress/public/redirect_assets/wallpaper/7.png and b/docs/.vuepress/public/redirect_assets/wallpaper/7.png differ diff --git a/docs/.vuepress/public/redirect_assets/wallpaper/8.png b/docs/.vuepress/public/redirect_assets/wallpaper/8.png index 576894d8..fc2dc4d1 100644 Binary files a/docs/.vuepress/public/redirect_assets/wallpaper/8.png and b/docs/.vuepress/public/redirect_assets/wallpaper/8.png differ diff --git a/docs/.vuepress/translations/en.json b/docs/.vuepress/translations/en.json index db85c5b7..e21535a4 100644 --- a/docs/.vuepress/translations/en.json +++ b/docs/.vuepress/translations/en.json @@ -3,7 +3,6 @@ "description": "Documentation website for the Minecraft Console Client (MCC)", "helpUsTranslate": "Help us translate", "theme":{ - "selectLanguageName": "English", "selectLanguageText": "Languages", "selectLanguageAriaLabel": "Select language", "editLinkText": "Edit this page", diff --git a/docs/guide/chat-bots.md b/docs/guide/chat-bots.md index f2f578a5..7678b41d 100644 --- a/docs/guide/chat-bots.md +++ b/docs/guide/chat-bots.md @@ -40,6 +40,8 @@ redirectFrom: - [Auto Relog](#auto-relog) - [Auto Respond](#auto-respond) - [Chat Log](#chat-log) +- [Discord Bridge](#discord-bridge) +- [Farmer](#farmer) - [Follow Player](#follow-player) - [Hangman](#hangman) - [Mailer](#mailer) @@ -73,7 +75,6 @@ redirectFrom: - **Default:** `false` - #### `Beep_Enabled`

Tip

@@ -90,7 +91,6 @@ redirectFrom: - **Default:** `true` - #### `Trigger_By_Words` - **Description:** @@ -103,7 +103,6 @@ redirectFrom: - **Default:** `false` - #### `Trigger_By_Rain` - **Description:** @@ -116,7 +115,6 @@ redirectFrom: - **Default:** `false` - #### `Trigger_By_Thunderstorm` - **Description:** @@ -129,7 +127,6 @@ redirectFrom: - **Default:** `false` - #### `Log_To_File` - **Description:** @@ -142,7 +139,6 @@ redirectFrom: - **Default:** `false` - #### `Log_File` - **Description:** @@ -153,7 +149,6 @@ redirectFrom: - **Default:** `"alerts-log.txt"` - #### `Matches` - **Description:** @@ -168,7 +163,6 @@ redirectFrom: Matches = [ "Yourname", " whispers ", "-> me", "admin", ".com", ] ``` - #### `Excludes` - **Description:** @@ -205,7 +199,6 @@ redirectFrom: - **Default:** `false` - #### `Delay` - **Description:** @@ -220,7 +213,6 @@ redirectFrom: - **Default:** `{ min = 60.0, max = 60.0 }` - #### `Command` - **Description:** @@ -231,7 +223,6 @@ redirectFrom: - **Default:** `/ping` - #### `Use_Sneak` - **Description:** @@ -242,7 +233,6 @@ redirectFrom: - **Default:** `false` - #### `Use_Terrain_Handling`

Tip

@@ -263,7 +253,6 @@ redirectFrom: - **Default:** `false` - #### `Walk_Range` - **Description:** @@ -274,7 +263,6 @@ redirectFrom: - **Default:** `5` - #### `Walk_Retries`

Tip

@@ -317,7 +305,6 @@ redirectFrom: - **Default:** `false` - #### `Mode` - **Description:** @@ -336,7 +323,6 @@ redirectFrom: - **Default:** `single` - #### `Priority` - **Description:** @@ -350,7 +336,6 @@ redirectFrom: - **Default:** `distance` - #### `Cooldown_Time` - **Description:** @@ -369,7 +354,6 @@ redirectFrom: - **Default:** `{ Custom = false, value = 1.0 }` - #### `Interaction` - **Description:** @@ -392,7 +376,6 @@ redirectFrom: - **Default:** `Attack` - #### `Attack_Hostile` - **Description:** @@ -405,7 +388,6 @@ redirectFrom: - **Default:** `true` - #### `Attack_Passive` - **Description:** @@ -418,7 +400,6 @@ redirectFrom: - **Default:** `false` - #### `List_Mode` - **Description:** @@ -431,7 +412,6 @@ redirectFrom: - **Default:** `whitelist` - #### `Entites_List` - **Description:** @@ -482,7 +462,6 @@ redirectFrom: **Section:** **`ChatBot.AutoCraft`** - #### `Enabled` - **Description:** @@ -495,7 +474,6 @@ redirectFrom: - **Default:** `false` - #### `CraftingTable` - **Description:** @@ -518,7 +496,6 @@ redirectFrom: CraftingTable = { X = 123.0, Y = 65.0, Z = 456.0 } ``` - #### `OnFailure` - **Description:** @@ -533,7 +510,6 @@ redirectFrom: - **Default:** `abort` - ### Defining a recipe

Tip

@@ -554,7 +530,7 @@ redirectFrom: - `Type` - **Avaliable values:** `player` and `table` + **Available values:** `player` and `table` - `Result` @@ -657,7 +633,6 @@ redirectFrom: **Section:** **`ChatBot.AutoDig`** - #### `Enabled` - **Description:** @@ -670,7 +645,6 @@ redirectFrom: - **Default:** `false` - #### `Mode` - **Description:** @@ -695,7 +669,6 @@ redirectFrom: - **Default:** `lookat` - #### `Locations` - **Description:** @@ -721,7 +694,6 @@ redirectFrom: ] ``` - #### `Location_Order` - **Description:** @@ -742,7 +714,6 @@ redirectFrom: - **Default:** `distance` - #### `Auto_Start_Delay` - **Description:** @@ -755,7 +726,6 @@ redirectFrom: - **Default:** `3.0` - #### `Dig_Timeout` - **Description:** @@ -766,7 +736,6 @@ redirectFrom: - **Default:** `60.0` - #### `Log_Block_Dig` - **Description:** @@ -779,7 +748,6 @@ redirectFrom: - **Default:** `true` - #### `List_Type` - **Description:** @@ -792,7 +760,6 @@ redirectFrom: - **Default:** `whitelist` - #### `Blocks` - **Description:** @@ -837,7 +804,6 @@ redirectFrom: - **Default:** `false` - #### `Mode` - **Description:** @@ -864,7 +830,6 @@ redirectFrom: - **Default:** `include` - #### `Items`

Tip

@@ -914,7 +879,6 @@ redirectFrom: - **Default:** `false` - #### `Threshold` - **Description:** @@ -966,7 +930,6 @@ redirectFrom: **Section:** **`ChatBot.AutoFishing`** - #### `Enabled` - **Description:** @@ -979,7 +942,6 @@ redirectFrom: - **Default:** `false` - #### `Antidespawn` - **Description:** @@ -992,7 +954,6 @@ redirectFrom: - **Default:** `false` - #### `Mainhand` - **Description:** @@ -1008,7 +969,6 @@ redirectFrom: - **Default:** `true` - #### `Auto_Start` - **Description:** @@ -1021,7 +981,6 @@ redirectFrom: - **Default:** `true` - #### `Cast_Delay` - **Description:** @@ -1032,7 +991,6 @@ redirectFrom: - **Default:** `0.4` - #### `Fishing_Delay` - **Description:** @@ -1045,7 +1003,6 @@ redirectFrom: - **Default:** `3.0` - #### `Fishing_Timeout` - **Description:** @@ -1056,7 +1013,6 @@ redirectFrom: - **Default:** `300.0` - #### `Durability_Limit` - **Description:** @@ -1069,7 +1025,6 @@ redirectFrom: - **Default:** `2` - #### `Auto_Rod_Switch` - **Description:** @@ -1082,7 +1037,6 @@ redirectFrom: - **Default:** `true` - #### `Stationary_Threshold` - **Description:** @@ -1099,7 +1053,6 @@ redirectFrom: - **Default:** `0.001` - #### `Hook_Threshold` - **Description:** @@ -1114,7 +1067,6 @@ redirectFrom: - **Default:** `0.2` - #### `Log_Fish_Bobber` - **Description:** @@ -1129,7 +1081,6 @@ redirectFrom: - **Default:** `false` - #### `Enable_Move` - **Description:** @@ -1144,12 +1095,11 @@ redirectFrom: - **Default:** `false` - ### Adding a position/movement Each position/movement is added as a new `[[ChatBot.AutoFishing.Movements]]` subsection of `[ChatBot.AutoFishing]`. - **Avaliable settings/options:** + **Available settings/options:** - `XYZ` @@ -1185,7 +1135,6 @@ redirectFrom: facing = { yaw = 12.34, pitch = -23.45 } ``` - #### Full example ```toml @@ -1219,7 +1168,6 @@ redirectFrom: - **Default:** `false` - #### `Delay` - **Description:** @@ -1236,7 +1184,6 @@ redirectFrom: - **Default:** `{ min = 3.0, max = 3.0 }` - #### `Retries`

Tip

@@ -1253,7 +1200,6 @@ redirectFrom: - **Default:** `-1` - #### `Ignore_Kick_Message` - **Description:** @@ -1264,7 +1210,6 @@ redirectFrom: - **Default:** `false` - #### `Kick_Messages` - **Description:** @@ -1311,7 +1256,6 @@ redirectFrom: - **Default:** `false` - #### `Matches_File`

Tip

@@ -1332,7 +1276,6 @@ redirectFrom: - **Default:** `matches.ini` - #### `Match_Colors`

Tip

@@ -1373,7 +1316,6 @@ redirectFrom: - **Default:** `false` - #### `Add_DateTime` - **Description:** @@ -1384,7 +1326,6 @@ redirectFrom: - **Default:** `true` - #### `Log_File` - **Description:** @@ -1393,7 +1334,6 @@ redirectFrom: - **Default:** `chatlog-%username%-%serverip%.txt` - #### `Filter` - **Description:** @@ -1424,6 +1364,275 @@ redirectFrom: - **Default:** `messages` +## Discord Bridge + +- **Description:** + + This Chat Bot allows you to send and receive messages and MCC commands via a Discord channel. + +- **Setup:** + + In order for this to work you must create a Discord bot on the [Discord Developers portal](https://discord.com/developers/applications/). + + First go to [Discord Developers portal](https://discord.com/developers/applications/), click on **New Application**, fill out the name of your bot and confirm the terms of service and click **Create**. + + ![Image](/images/guide/Discord_Create_Application.png) + + Copy the **Application ID** and save it somewhere. + + Click on the **Bot** tab in the left menu. + + Click on **Add Bot** + + ![Image](/images/guide/Discord_Add_Bot.png) + + Click on the **Reset Token** button and copy the generated token, then paste it in the `Token` field in the MCC configuration. + + Enable `Message Content Intent`, `Server Members Intent` and `Presence Intent`. + + ![Image](/images/guide/Discord_Reset_Token.png) + ![Image](/images/guide/Discord_Privileged_Intents.png) + +

Warning

+ + **Token is what gives you access to the Bot, do not share it with anyone and keep it safe!** + +
+ +

Warning

+ + **You must Enable `Message Content Intent`, `Server Members Intent` and `Presence Intent` for the bot to work!** + +
+ + Then go to [Discord Permissions Calculator](https://discordapi.com/permissions.html). + Paste the **Application Id** that you've copied into the **Client ID** field, then Check/Enable the **Administrator** field in General Permissions section. + Finally click on the **Link** down bellow and invite the Bot on to a server you want to interact with the MCC on. + + ![Image](/images/guide/Discord_Permissions.png) + + Go to your Discord Client and go to **Settings -> Advanced**, Enable **Developer Mode**. + + Then **right click** on a server where you invited the bot to in the server list and click on **Copy ID**, paste the copied id in `GuildId` in your MCC configuration. + + Then **right click** on a channel where you want to interact with the bot and click on **Copy ID**, paste the copied id in `ChannelId` in your MCC configuration. + + Send a message in that channel and **right click** on your nick and click **Copy ID** and paste the copied id in `OwnersIds` list setting in your MCC configuration. + + Enable the bot by setting `Enabled` to `true` in your MCC configuration and start the MCC. + +- **Usage:** + + To send a message simply type it out in the Discord channel and press enter. + + To execute a MCC command, you must prefix it with a dot (`.`). + Example: `.move 145 64 832` + +- **Settings:** + + **Section:** **`ChatBot.DiscordBrdige`** + + #### `Enabled` + + - **Description:** + + This setting specifies if the Discord Bridge Chat Bot is enabled. + + - **Available values:** `true` and `false`. + + - **Type:** `boolean` + + - **Default:** `false` + + #### `Token` + + - **Description:** + + This is the token of your Discord bot. + + - **Type:** `string` + + #### `GuildId` + + - **Description:** + + This is the ID of your server/guild where you have invited the bot to. + + - **Type:** `unsigned long` + + #### `ChannelId` + + - **Description:** + + This is the ID of a channel on your server/guild where you want to interact with the bot. + + - **Type:** `unsigned long` + + #### `OwnersIds` + + - **Description:** + + This is a list of Discord user IDs which can interact with the bot. + + - **Type:** `list/array of: unsigned long` + + #### `PrivateMessageFormat` + + - **Description:** + + This is a format that will be used when someone has sent you a private message on the server. + + Parts of the message that are between `{` and `}` will be replaced by the Chat Bot during runtime, you should not change them in any way! + + For example `{message}` will be replaced with an actual message, `{username}` will be replaced with the username of the person who sent a message on the server and `{timestamp}` will be replaced with the current date and time. + + For Discord message formatting/styling, refer to [this guide](https://www.writebots.com/discord-text-formatting/). + + - **Type:** `string` + + - **Default:** `**[Private Message]** {username}: {message}` + + #### `PublicMessageFormat` + + - **Description:** + + This is a format that will be used when sending a public message to the Discord channel. + + Parts of the message that are between `{` and `}` will be replaced by the Chat Bot during runtime, you should not change them in any way! + + For example `{message}` will be replaced with an actual message, `{username}` will be replaced with the username of the person who sent a message on the server and `{timestamp}` will be replaced with the current date and time. + + For Discord message formatting/styling, refer to [this guide](https://www.writebots.com/discord-text-formatting/). + + - **Type:** `string` + + - **Default:** `{username}: {message}` + + #### `TeleportRequestMessageFormat` + + - **Description:** + + This is a format that will be used when someone has sent you a Teleport Request. + + Parts of the message that are between `{` and `}` will be replaced by the Chat Bot during runtime, you should not change them in any way! + + For example `{message}` will be replaced with an actual message, `{username}` will be replaced with the username of the person who sent a message on the server and `{timestamp}` will be replaced with the current date and time. + + For Discord message formatting/styling, refer to [this guide](https://www.writebots.com/discord-text-formatting/). + + - **Type:** `string` + + - **Default:** `A new Teleport Request from **{username}**!` + +## Farmer + +

Tip

+ +**You need to have [Terrain And Movements](configuration.md#terrainandmovements) and [Inventory Handling](configuration.md#inventoryhandling) enabled in order for this bot to work.** + +
+ +

Warning

+ +**This a newly added bot, it is not perfect and was only tested in 1.19.2, there are some minor issues with it and you should treat it as an experimental bot.** + +
+ +- **Description:** + + This bot can farm crops for you. + When you start it it will plant, break and bonemeal crops in order. + + Supported crops: + + - Beetroot + - Carrot + - Melon + - Netherwart + - Pumpkin + - Potato + - Wheat + + **Current list of issues:** + + - Sometimes the bot will not bone meal carrots/potatoes or melon/pumpkin stems (you will see it in a pattern of crops that have not been bonemealed) + - Sometimes the bot can jump on to the crops and break the farmland when coming form a different height, it's advised to keep the farming area flat and fenced off so the items to not fly out of the farming area + - If you have a farming platform that is 1 block thick and has air bellow, make it a few blocks thick because the bot can fall through sometimes when logging in and standing on farmland + - Sometimes the bot can be kicked for "invalid movement" packets when farming netherwart on soul sand, we haven't been able to figure why this happens in some parts of the world, while on other it's completely fine, it's advised to keep the farming area small and flat. + + _We're working on solving these issues._ + + **What the bot does not do as of the time of writing, but are planned features:** + + - Does not collect items which fly off to the side, (it's advised to fence off the farming area with 2 high wall) + - Does not put items to the chest once the inventory is full + - Does not warn you when the inventory is full + - Does not refill inventory with seeds or bonemeal from chests by it self. + + > **ℹ️ NOTE: The default radius of scanning is `30` blocks, we suggest that you do not use radius too big because it might slow down the bot. The bigger the radius, the slower the scanning and processing is.** + +- **Commands:** + + When enabled will add the `/farmer` command. + + **Usage**: + + ``` + /farmer [radius:] [unsafe:] [teleport:] [debug:]|stop> + ``` + + _Options marked with `[` and `]` are optional and in case of this command can have whatever order you prefer after the `` field._ + + _Options that have `=` means that the value after the `=` is a default value, in case of this command the default radius is 30 blocks._ + + **Examples:** + + Farming `wheat` in a radius of `40` blocks. + + ``` + /farmer start wheat radius:40 + ``` + + Farming `melon` with debug output and direct teleporting: + + ``` + /farmer start melon debug:true teleport:true + ``` + + Stopping the bot: + + ``` + /farmer stop + ``` + +- **Settings:** + + **Section:** **`ChatBot.Farmer`** + + #### `Enabled` + + - **Description:** + + This setting specifies if the Farmer Chat Bot is enabled. + + - **Available values:** `true` and `false`. + + - **Type:** `boolean` + + - **Default:** `false` + + #### `Delay_Between_Tasks` + + - **Description:** + + This setting specifies the delay in seconds between each task performed by the bot. + + - **Type:** `integer` + + - **Default:** `1` + + - **Minimum:** `1` + ## Follow player - **Description:** @@ -1458,7 +1667,6 @@ redirectFrom: - **Default:** `false` - #### `Update_Limit` - **Description:** @@ -1471,7 +1679,6 @@ redirectFrom: - **Default:** `1.5` - #### `Stop_At_Distance` - **Description:** @@ -1512,7 +1719,6 @@ redirectFrom: - **Default:** `false` - #### `English` - **Description:** @@ -1523,7 +1729,6 @@ redirectFrom: - **Default:** `true` - #### `FileWords_EN`

Tip

@@ -1539,7 +1744,6 @@ redirectFrom: - **Default:** `hangman-en.txt` - **Example**: [`words-en.txt`](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/config/hangman-en.txt) - #### `FileWords_FR`

Tip

@@ -1610,7 +1814,6 @@ redirectFrom: **Section:** **`ChatBot.Mailer`** - #### `Enabled` - **Description:** @@ -1623,7 +1826,6 @@ redirectFrom: - **Default:** `false` - #### `DatabaseFile` - **Description:** @@ -1634,7 +1836,6 @@ redirectFrom: - **Default:** `MailerDatabase.ini` - #### `IgnoreListFile` - **Description:** @@ -1645,7 +1846,6 @@ redirectFrom: - **Default:** `MailerIgnoreList.ini` - #### `PublicInteractions` - **Description:** @@ -1658,7 +1858,6 @@ redirectFrom: - **Default:** `false` - #### `MaxMailsPerPlayer` - **Description:** @@ -1669,7 +1868,6 @@ redirectFrom: - **Default:** `10` - #### `MaxDatabaseSize` - **Description:** @@ -1680,7 +1878,6 @@ redirectFrom: - **Default:** `10000` (10 MB) - #### `MailRetentionDays` - **Description:** @@ -1695,17 +1892,11 @@ redirectFrom: - **Description:** - This Chat Bot allows you to render items maps into `.jpg` images. + This Chat Bot allows you to render items maps in the console, to `.bmp` images and to relay them to Discord using the [Discord Bridge](#discord-bridge) Chat Bot. This is useful for solving captchas on servers which require it, or saving the map art into an image. - The maps are **rendered** into `Rendered_Maps` folder. - -

Warning

- - **This bot has only been tested on Windows 10, it may not work on Linux or Mac OS due to .NET BitMap API. We're looking forward to swap the underlaying Bitmap API dependency with a library.** - -
+ The maps are **rendered** into `Rendered_Maps` folder which will be auto created in the same folder where the client executable is located. - **Commands:** @@ -1733,26 +1924,31 @@ redirectFrom: - **Default:** `false` + #### `Render_In_Console` - #### `Should_Resize` + - **Description:** -

Tip

+ This setting specifies if the Map Chat Bot should render the map in the console. - **The bigger the size, the less is the quality.** + It is recommended to use something like Power Shell for the best map quality (at least for Windows users). -
+ - **Available values:** `true` and `false`. -

Tip

+ - **Type:** `boolean` - **For upscaling your maps you could use (getting a bit better quality): https://deepai.org/machine-learning-model/torch-srgan** + - **Default:** `true` + + #### `Save_To_File` + +

Warning

+ + **If you want the Discord relay feature, you must enable this setting!**
- **Description:** - This setting specifies if the Map Chat Bot should resize the image. - - The default map size is `128x128`. + This setting specifies if the Map Chat Bot should render the map and save it into a file (`.bmp` format) - **Available values:** `true` and `false`. @@ -1760,18 +1956,6 @@ redirectFrom: - **Default:** `false` - - #### `Resize_To` - - - **Description:** - - Which size the map should be resized to if `Should_Resize` is `true`. - - - **Type:** `integer` - - - **Default:** `256` - - #### `Auto_Render_On_Update`

Warning

@@ -1790,7 +1974,6 @@ redirectFrom: - **Default:** `false` - #### `Delete_All_On_Unload` - **Description:** @@ -1803,7 +1986,6 @@ redirectFrom: - **Default:** `true` - #### `Notify_On_First_Update` - **Description:** @@ -1816,6 +1998,80 @@ redirectFrom: - **Default:** `false` + #### `Rasize_Rendered_Image` + +

Tip

+ + **The bigger the size, the less is the quality.** + +
+ +

Tip

+ + **For upscaling your maps you could use (getting a bit better quality): https://deepai.org/machine-learning-model/torch-srgan** + +
+ + - **Description:** + + This setting specifies if the Map Chat Bot should resize the rendered image (the one that is saved to a file). + + This is useful if you're relying map images to Discord via the [Discord Bridge](#discord-bridge) Chat Bot. + + The default map size is `128x128`. + + - **Available values:** `true` and `false`. + + - **Type:** `boolean` + + - **Default:** `false` + + #### `Resize_To` + +

Tip

+ + **Might be a bit slow on less powerful systems when rendering a lot of maps. Lower down the resolution if you have any performance issues. If your system is not that powerful and can't handle it, use external tools for upscaling and resizing.** + +
+ + - **Description:** + + Which size the map should be resized to if `Rasize_Rendered_Image` is `true`. + + + - **Type:** `integer` + + - **Default:** `512` + + #### `Send_Rendered_To_Discord` + +

Warning

+ + **The [Discord Bridge](#discord-bridge) Chat Bot must be enabled and configured!** + +
+ +

Warning

+ + **You need to enable `Save_To_File` in order for this to work.** + +
+ +

Tip

+ + **Sometimes when the client connects, the [Discord Bridge](#discord-bridge) will be loaded a tiny bit after. Rendered map images are queued up and sent in order as soon as the [Discord Bridge](#discord-bridge) is ready and connected.** + +
+ + - **Description:** + + Send a rendered map (saved to a file) to a Discord channel via the [Discord Bridge](#discord-bridge) Chat Bot. + + + - **Type:** `boolean` + + - **Default:** `false` + ## PlayerList Logger - **Description:** @@ -1835,7 +2091,6 @@ redirectFrom: - **Default:** `false` - #### `File` - **Description:** @@ -1844,7 +2099,6 @@ redirectFrom: - **Default:** `playerlog.txt` - #### `Delay` - **Description:** @@ -1885,7 +2139,6 @@ redirectFrom: - **Default:** `false` - #### `AutoTpaccept` - **Description:** @@ -1898,7 +2151,6 @@ redirectFrom: - **Default:** `true` - #### `AutoTpaccept_Everyone` - **Description:** @@ -1951,7 +2203,6 @@ redirectFrom: - **Default:** `false` - #### `Backup_Interval` - **Description:** @@ -1986,7 +2237,6 @@ redirectFrom: - **Default:** `false` - ### Defining a task

Tip

@@ -2007,7 +2257,7 @@ redirectFrom: = ``` - **Avaliable settings/options:** + **Available settings/options:** - `Trigger_On_First_Login` @@ -2061,7 +2311,6 @@ redirectFrom: Trigger_On_Interval = { Enable = true, MinTime = 30.0, MaxTime = 160.0 } ``` - ### Full example ```toml diff --git a/docs/guide/installation.md b/docs/guide/installation.md index df7291ad..80b1f7e0 100644 --- a/docs/guide/installation.md +++ b/docs/guide/installation.md @@ -57,12 +57,28 @@ Install [Git](https://www.git-scm.com/) 4. Clone the [Git Hub Repository](https://github.com/MCCTeam/Minecraft-Console-Client) by typing end executing the following command: ```bash -git clone --branch l10n_master https://github.com/MCCTeam/Minecraft-Console-Client.git --recursive +git clone https://github.com/MCCTeam/Minecraft-Console-Client.git --recursive ``` 5. Once the repository has been cloned, you can close the `Git Bash` terminal emulator 6. Open up the new cloned folder +#### Download translation resources (optional) + +1. Visit [MCC project's homepage on Crowdin](https://crowdin.com/project/minecraft-console-client). +2. You will need to log in to your Crowdin account in order to download. +3. Click on the language you want to download the translation for. +4. Find `MinecraftClient` -> `Resources` -> `Translations` -> `MCC in-app text` +5. Click the button `•••` at the end of the line. +6. Click Download and save the file to folder `/MinecraftClient/Resources/Translations/`. +7. Find `MinecraftClient` -> `Resources` -> `ConfigComments` -> `Comments in the settings file` +8. Click the button `•••` at the end of the line. +9. Click Download and save the file to folder `/MinecraftClient/Resources/ConfigComments/`. +10. Find `MinecraftClient` -> `Resources` -> `AsciiArt` -> `ASCII Arts (Please use fixed-width fonts for editing)` +11. Click the button `•••` at the end of the line. +12. Click Download and save the file to folder `/MinecraftClient/Resources/AsciiArt/`. +13. If you need to download a translation in another language, go to step 3 to continue. + #### Building using the Visual Studio 1. Open up the `MinecraftClient.sln` via Visual Studio @@ -114,11 +130,12 @@ Requirements: 2. Recursively clone the [Git Hub Repository](https://github.com/MCCTeam/Minecraft-Console-Client) by typing end executing the following command: ```bash -git clone --branch l10n_master https://github.com/MCCTeam/Minecraft-Console-Client.git --recursive +git clone https://github.com/MCCTeam/Minecraft-Console-Client.git --recursive ``` 3. Go to the folder you've cloned (should be `Minecraft-Console-Client`) -4. Run the following command to build the project: +4. If you want to download translation resources, please check out [Download translation resources](#download-translation-resources-optional) +5. Run the following command to build the project: - On Linux: @@ -171,7 +188,7 @@ Requirements: 1. Clone the [Git Hub Repository](https://github.com/MCCTeam/Minecraft-Console-Client) by typing end executing the following command: ```bash -git clone --branch l10n_master https://github.com/MCCTeam/Minecraft-Console-Client.git --recursive +git clone https://github.com/MCCTeam/Minecraft-Console-Client.git --recursive ``` 2. Navigate to `Minecraft-Console-Client/Docker` diff --git a/docs/guide/usage.md b/docs/guide/usage.md index 25cda816..de7683e3 100644 --- a/docs/guide/usage.md +++ b/docs/guide/usage.md @@ -236,6 +236,28 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q /bed sleep 50 ``` +### `blockinfo` + +

Tip

+ +**You need to have [Terrain And Movements](configuration.md#terrainandmovements) enabled in order for this to work.** + +
+ +- **Description:** + + Reports the block type at the given position. + + If you use the `-s` option it will report the types of blocks around the targeted blokcs. + +- **Usage:** + + Basic usage: + + ``` + /blockinfo [-s] + ``` + ### `bots` - **Description:** @@ -364,6 +386,30 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q /dropitem diamond ``` +### `enchant` + +

Tip

+ +**You need to have [Inventory Handling](configuration.md#inventoryhandling) enabled in order for this to work.** + +
+ +- **Description:** + + Allows you to enchant items in an enchanting table. + + You need to first open an enchanting table and then place and item that you want to enchant and lapis in the enchanting table, and then you can execute the command. + + To open an enchanting table you can use the [`useblock`](#useblock) command. + +- **Usage:** + + Basic usage: + + ``` + /enchant + ``` + ### `entity` - **Description:** @@ -440,21 +486,18 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q /execif test2 == "1" ---> send Success 2! ``` - Basic C# expression: ``` /execif 1 + 2 + 3 == 6 ---> send Success! ``` - Using MCC class: ``` /execif MCC.GetHealth() == 20.0 ---> send Success! ``` - Using in combination with [`execmulti`](#execmulti): ``` diff --git a/docs/yarn.lock b/docs/yarn.lock index 38db5834..eeb37755 100644 --- a/docs/yarn.lock +++ b/docs/yarn.lock @@ -2873,9 +2873,9 @@ loader-runner@^4.2.0: integrity sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg== loader-utils@^2.0.0: - version "2.0.3" - resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-2.0.3.tgz#d4b15b8504c63d1fc3f2ade52d41bc8459d6ede1" - integrity sha512-THWqIsn8QRnvLl0shHYVBN9syumU8pYWEHPTmkiVGd+7K5eFNVSY6AJhRvgGF70gg1Dz+l/k8WicvFCxdEs60A== + version "2.0.4" + resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-2.0.4.tgz#8b5cb38b5c34a9a018ee1fc0e6a066d1dfcc528c" + integrity sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw== dependencies: big.js "^5.2.2" emojis-list "^3.0.0"