From 52b6372be69c1c0d74909732cafed9fbc5b7067d Mon Sep 17 00:00:00 2001 From: BruceChen Date: Fri, 4 Nov 2022 12:04:57 +0800 Subject: [PATCH] [SKIP_DEPLOY] Add plugin-container --- docs/.vuepress/configs/l10n_configs/af.ts | 10 + docs/.vuepress/configs/l10n_configs/ar.ts | 10 + docs/.vuepress/configs/l10n_configs/ca.ts | 10 + .../configs/l10n_configs/config_templete.ts | 10 + docs/.vuepress/configs/l10n_configs/cs.ts | 10 + docs/.vuepress/configs/l10n_configs/da.ts | 10 + docs/.vuepress/configs/l10n_configs/de.ts | 10 + docs/.vuepress/configs/l10n_configs/el.ts | 10 + docs/.vuepress/configs/l10n_configs/en.ts | 10 + docs/.vuepress/configs/l10n_configs/es.ts | 10 + docs/.vuepress/configs/l10n_configs/fi.ts | 10 + docs/.vuepress/configs/l10n_configs/fr.ts | 10 + docs/.vuepress/configs/l10n_configs/he.ts | 10 + docs/.vuepress/configs/l10n_configs/hu.ts | 10 + docs/.vuepress/configs/l10n_configs/it.ts | 10 + docs/.vuepress/configs/l10n_configs/ja.ts | 10 + docs/.vuepress/configs/l10n_configs/ko.ts | 10 + docs/.vuepress/configs/l10n_configs/lv.ts | 10 + docs/.vuepress/configs/l10n_configs/nl.ts | 10 + docs/.vuepress/configs/l10n_configs/no.ts | 10 + docs/.vuepress/configs/l10n_configs/pl.ts | 10 + docs/.vuepress/configs/l10n_configs/pt-BR.ts | 10 + docs/.vuepress/configs/l10n_configs/pt.ts | 10 + docs/.vuepress/configs/l10n_configs/ro.ts | 10 + docs/.vuepress/configs/l10n_configs/ru.ts | 10 + .../.vuepress/configs/l10n_configs/sr-Cyrl.ts | 10 + docs/.vuepress/configs/l10n_configs/sv.ts | 10 + docs/.vuepress/configs/l10n_configs/tr.ts | 10 + docs/.vuepress/configs/l10n_configs/uk.ts | 10 + docs/.vuepress/configs/l10n_configs/vi.ts | 10 + .../.vuepress/configs/l10n_configs/zh-Hans.ts | 10 + .../.vuepress/configs/l10n_configs/zh-Hant.ts | 10 + docs/.vuepress/translations/en.json | 7 +- docs/guide/chat-bots.md | 166 +++++++++++---- docs/guide/configuration.md | 76 +++++-- docs/guide/creating-bots.md | 16 +- docs/guide/installation.md | 197 +++++++++++++----- docs/guide/usage.md | 136 +++++++++--- 38 files changed, 767 insertions(+), 151 deletions(-) diff --git a/docs/.vuepress/configs/l10n_configs/af.ts b/docs/.vuepress/configs/l10n_configs/af.ts index ded6c1e2..345e3ab9 100644 --- a/docs/.vuepress/configs/l10n_configs/af.ts +++ b/docs/.vuepress/configs/l10n_configs/af.ts @@ -21,26 +21,36 @@ export const defaultThemeConfig_af: DefaultThemeLocaleData = { { text: Translation.navbar.AboutAndFeatures, link: "/l10n/af/guide/", + activeMatch: "/l10n/af/index.html", }, { text: Translation.navbar.Installation, link: "/l10n/af/guide/installation.md", + activeMatch: "/l10n/af/guide/installation.html", }, { text: Translation.navbar.Usage, link: "/l10n/af/guide/usage.md", + activeMatch: "/l10n/af/guide/usage.html", }, { text: Translation.navbar.Configuration, link: "/l10n/af/guide/configuration.md", + activeMatch: "/l10n/af/guide/configuration.html", }, { text: Translation.navbar.ChatBots, link: "/l10n/af/guide/chat-bots.md", + activeMatch: "/l10n/af/guide/chat-bots.html", + }, + + { + text: Translation.helpUsTranslate, + link: "https://crwd.in/minecraft-console-client", }, ], diff --git a/docs/.vuepress/configs/l10n_configs/ar.ts b/docs/.vuepress/configs/l10n_configs/ar.ts index 4e0606ca..65fc849f 100644 --- a/docs/.vuepress/configs/l10n_configs/ar.ts +++ b/docs/.vuepress/configs/l10n_configs/ar.ts @@ -21,26 +21,36 @@ export const defaultThemeConfig_ar: DefaultThemeLocaleData = { { text: Translation.navbar.AboutAndFeatures, link: "/l10n/ar/guide/", + activeMatch: "/l10n/ar/index.html", }, { text: Translation.navbar.Installation, link: "/l10n/ar/guide/installation.md", + activeMatch: "/l10n/ar/guide/installation.html", }, { text: Translation.navbar.Usage, link: "/l10n/ar/guide/usage.md", + activeMatch: "/l10n/ar/guide/usage.html", }, { text: Translation.navbar.Configuration, link: "/l10n/ar/guide/configuration.md", + activeMatch: "/l10n/ar/guide/configuration.html", }, { text: Translation.navbar.ChatBots, link: "/l10n/ar/guide/chat-bots.md", + activeMatch: "/l10n/ar/guide/chat-bots.html", + }, + + { + text: Translation.helpUsTranslate, + link: "https://crwd.in/minecraft-console-client", }, ], diff --git a/docs/.vuepress/configs/l10n_configs/ca.ts b/docs/.vuepress/configs/l10n_configs/ca.ts index eee142c1..caced00c 100644 --- a/docs/.vuepress/configs/l10n_configs/ca.ts +++ b/docs/.vuepress/configs/l10n_configs/ca.ts @@ -21,26 +21,36 @@ export const defaultThemeConfig_ca: DefaultThemeLocaleData = { { text: Translation.navbar.AboutAndFeatures, link: "/l10n/ca/guide/", + activeMatch: "/l10n/ca/index.html", }, { text: Translation.navbar.Installation, link: "/l10n/ca/guide/installation.md", + activeMatch: "/l10n/ca/guide/installation.html", }, { text: Translation.navbar.Usage, link: "/l10n/ca/guide/usage.md", + activeMatch: "/l10n/ca/guide/usage.html", }, { text: Translation.navbar.Configuration, link: "/l10n/ca/guide/configuration.md", + activeMatch: "/l10n/ca/guide/configuration.html", }, { text: Translation.navbar.ChatBots, link: "/l10n/ca/guide/chat-bots.md", + activeMatch: "/l10n/ca/guide/chat-bots.html", + }, + + { + text: Translation.helpUsTranslate, + link: "https://crwd.in/minecraft-console-client", }, ], diff --git a/docs/.vuepress/configs/l10n_configs/config_templete.ts b/docs/.vuepress/configs/l10n_configs/config_templete.ts index e5770d51..67425741 100644 --- a/docs/.vuepress/configs/l10n_configs/config_templete.ts +++ b/docs/.vuepress/configs/l10n_configs/config_templete.ts @@ -20,26 +20,36 @@ export const defaultThemeConfig_$LanguageCodeEscaped$: DefaultThemeLocaleData = { text: Translation.navbar.AboutAndFeatures, link: "$PathToPage$/guide/", + activeMatch: "$PathToPage$/index.html", }, { text: Translation.navbar.Installation, link: "$PathToPage$/guide/installation.md", + activeMatch: "$PathToPage$/guide/installation.html", }, { text: Translation.navbar.Usage, link: "$PathToPage$/guide/usage.md", + activeMatch: "$PathToPage$/guide/usage.html", }, { text: Translation.navbar.Configuration, link: "$PathToPage$/guide/configuration.md", + activeMatch: "$PathToPage$/guide/configuration.html", }, { text: Translation.navbar.ChatBots, link: "$PathToPage$/guide/chat-bots.md", + activeMatch: "$PathToPage$/guide/chat-bots.html", + }, + + { + text: Translation.helpUsTranslate, + link: "https://crwd.in/minecraft-console-client", }, ], diff --git a/docs/.vuepress/configs/l10n_configs/cs.ts b/docs/.vuepress/configs/l10n_configs/cs.ts index 86179288..09348dc1 100644 --- a/docs/.vuepress/configs/l10n_configs/cs.ts +++ b/docs/.vuepress/configs/l10n_configs/cs.ts @@ -21,26 +21,36 @@ export const defaultThemeConfig_cs: DefaultThemeLocaleData = { { text: Translation.navbar.AboutAndFeatures, link: "/l10n/cs/guide/", + activeMatch: "/l10n/cs/index.html", }, { text: Translation.navbar.Installation, link: "/l10n/cs/guide/installation.md", + activeMatch: "/l10n/cs/guide/installation.html", }, { text: Translation.navbar.Usage, link: "/l10n/cs/guide/usage.md", + activeMatch: "/l10n/cs/guide/usage.html", }, { text: Translation.navbar.Configuration, link: "/l10n/cs/guide/configuration.md", + activeMatch: "/l10n/cs/guide/configuration.html", }, { text: Translation.navbar.ChatBots, link: "/l10n/cs/guide/chat-bots.md", + activeMatch: "/l10n/cs/guide/chat-bots.html", + }, + + { + text: Translation.helpUsTranslate, + link: "https://crwd.in/minecraft-console-client", }, ], diff --git a/docs/.vuepress/configs/l10n_configs/da.ts b/docs/.vuepress/configs/l10n_configs/da.ts index b5e20ab6..135b5546 100644 --- a/docs/.vuepress/configs/l10n_configs/da.ts +++ b/docs/.vuepress/configs/l10n_configs/da.ts @@ -21,26 +21,36 @@ export const defaultThemeConfig_da: DefaultThemeLocaleData = { { text: Translation.navbar.AboutAndFeatures, link: "/l10n/da/guide/", + activeMatch: "/l10n/da/index.html", }, { text: Translation.navbar.Installation, link: "/l10n/da/guide/installation.md", + activeMatch: "/l10n/da/guide/installation.html", }, { text: Translation.navbar.Usage, link: "/l10n/da/guide/usage.md", + activeMatch: "/l10n/da/guide/usage.html", }, { text: Translation.navbar.Configuration, link: "/l10n/da/guide/configuration.md", + activeMatch: "/l10n/da/guide/configuration.html", }, { text: Translation.navbar.ChatBots, link: "/l10n/da/guide/chat-bots.md", + activeMatch: "/l10n/da/guide/chat-bots.html", + }, + + { + text: Translation.helpUsTranslate, + link: "https://crwd.in/minecraft-console-client", }, ], diff --git a/docs/.vuepress/configs/l10n_configs/de.ts b/docs/.vuepress/configs/l10n_configs/de.ts index 653ab542..4f6e77b8 100644 --- a/docs/.vuepress/configs/l10n_configs/de.ts +++ b/docs/.vuepress/configs/l10n_configs/de.ts @@ -21,26 +21,36 @@ export const defaultThemeConfig_de: DefaultThemeLocaleData = { { text: Translation.navbar.AboutAndFeatures, link: "/l10n/de/guide/", + activeMatch: "/l10n/de/index.html", }, { text: Translation.navbar.Installation, link: "/l10n/de/guide/installation.md", + activeMatch: "/l10n/de/guide/installation.html", }, { text: Translation.navbar.Usage, link: "/l10n/de/guide/usage.md", + activeMatch: "/l10n/de/guide/usage.html", }, { text: Translation.navbar.Configuration, link: "/l10n/de/guide/configuration.md", + activeMatch: "/l10n/de/guide/configuration.html", }, { text: Translation.navbar.ChatBots, link: "/l10n/de/guide/chat-bots.md", + activeMatch: "/l10n/de/guide/chat-bots.html", + }, + + { + text: Translation.helpUsTranslate, + link: "https://crwd.in/minecraft-console-client", }, ], diff --git a/docs/.vuepress/configs/l10n_configs/el.ts b/docs/.vuepress/configs/l10n_configs/el.ts index 41780e55..5aab0be5 100644 --- a/docs/.vuepress/configs/l10n_configs/el.ts +++ b/docs/.vuepress/configs/l10n_configs/el.ts @@ -21,26 +21,36 @@ export const defaultThemeConfig_el: DefaultThemeLocaleData = { { text: Translation.navbar.AboutAndFeatures, link: "/l10n/el/guide/", + activeMatch: "/l10n/el/index.html", }, { text: Translation.navbar.Installation, link: "/l10n/el/guide/installation.md", + activeMatch: "/l10n/el/guide/installation.html", }, { text: Translation.navbar.Usage, link: "/l10n/el/guide/usage.md", + activeMatch: "/l10n/el/guide/usage.html", }, { text: Translation.navbar.Configuration, link: "/l10n/el/guide/configuration.md", + activeMatch: "/l10n/el/guide/configuration.html", }, { text: Translation.navbar.ChatBots, link: "/l10n/el/guide/chat-bots.md", + activeMatch: "/l10n/el/guide/chat-bots.html", + }, + + { + text: Translation.helpUsTranslate, + link: "https://crwd.in/minecraft-console-client", }, ], diff --git a/docs/.vuepress/configs/l10n_configs/en.ts b/docs/.vuepress/configs/l10n_configs/en.ts index a4d454a0..e954f294 100644 --- a/docs/.vuepress/configs/l10n_configs/en.ts +++ b/docs/.vuepress/configs/l10n_configs/en.ts @@ -21,26 +21,36 @@ export const defaultThemeConfig_en: DefaultThemeLocaleData = { { text: Translation.navbar.AboutAndFeatures, link: "/guide/", + activeMatch: "/index.html", }, { text: Translation.navbar.Installation, link: "/guide/installation.md", + activeMatch: "/guide/installation.html", }, { text: Translation.navbar.Usage, link: "/guide/usage.md", + activeMatch: "/guide/usage.html", }, { text: Translation.navbar.Configuration, link: "/guide/configuration.md", + activeMatch: "/guide/configuration.html", }, { text: Translation.navbar.ChatBots, link: "/guide/chat-bots.md", + activeMatch: "/guide/chat-bots.html", + }, + + { + text: Translation.helpUsTranslate, + link: "https://crwd.in/minecraft-console-client", }, ], diff --git a/docs/.vuepress/configs/l10n_configs/es.ts b/docs/.vuepress/configs/l10n_configs/es.ts index 7b1c0c35..2b8ce2d3 100644 --- a/docs/.vuepress/configs/l10n_configs/es.ts +++ b/docs/.vuepress/configs/l10n_configs/es.ts @@ -21,26 +21,36 @@ export const defaultThemeConfig_es: DefaultThemeLocaleData = { { text: Translation.navbar.AboutAndFeatures, link: "/l10n/es/guide/", + activeMatch: "/l10n/es/index.html", }, { text: Translation.navbar.Installation, link: "/l10n/es/guide/installation.md", + activeMatch: "/l10n/es/guide/installation.html", }, { text: Translation.navbar.Usage, link: "/l10n/es/guide/usage.md", + activeMatch: "/l10n/es/guide/usage.html", }, { text: Translation.navbar.Configuration, link: "/l10n/es/guide/configuration.md", + activeMatch: "/l10n/es/guide/configuration.html", }, { text: Translation.navbar.ChatBots, link: "/l10n/es/guide/chat-bots.md", + activeMatch: "/l10n/es/guide/chat-bots.html", + }, + + { + text: Translation.helpUsTranslate, + link: "https://crwd.in/minecraft-console-client", }, ], diff --git a/docs/.vuepress/configs/l10n_configs/fi.ts b/docs/.vuepress/configs/l10n_configs/fi.ts index 50240c61..fe96b55a 100644 --- a/docs/.vuepress/configs/l10n_configs/fi.ts +++ b/docs/.vuepress/configs/l10n_configs/fi.ts @@ -21,26 +21,36 @@ export const defaultThemeConfig_fi: DefaultThemeLocaleData = { { text: Translation.navbar.AboutAndFeatures, link: "/l10n/fi/guide/", + activeMatch: "/l10n/fi/index.html", }, { text: Translation.navbar.Installation, link: "/l10n/fi/guide/installation.md", + activeMatch: "/l10n/fi/guide/installation.html", }, { text: Translation.navbar.Usage, link: "/l10n/fi/guide/usage.md", + activeMatch: "/l10n/fi/guide/usage.html", }, { text: Translation.navbar.Configuration, link: "/l10n/fi/guide/configuration.md", + activeMatch: "/l10n/fi/guide/configuration.html", }, { text: Translation.navbar.ChatBots, link: "/l10n/fi/guide/chat-bots.md", + activeMatch: "/l10n/fi/guide/chat-bots.html", + }, + + { + text: Translation.helpUsTranslate, + link: "https://crwd.in/minecraft-console-client", }, ], diff --git a/docs/.vuepress/configs/l10n_configs/fr.ts b/docs/.vuepress/configs/l10n_configs/fr.ts index 2dbf0cf5..fe116005 100644 --- a/docs/.vuepress/configs/l10n_configs/fr.ts +++ b/docs/.vuepress/configs/l10n_configs/fr.ts @@ -21,26 +21,36 @@ export const defaultThemeConfig_fr: DefaultThemeLocaleData = { { text: Translation.navbar.AboutAndFeatures, link: "/l10n/fr/guide/", + activeMatch: "/l10n/fr/index.html", }, { text: Translation.navbar.Installation, link: "/l10n/fr/guide/installation.md", + activeMatch: "/l10n/fr/guide/installation.html", }, { text: Translation.navbar.Usage, link: "/l10n/fr/guide/usage.md", + activeMatch: "/l10n/fr/guide/usage.html", }, { text: Translation.navbar.Configuration, link: "/l10n/fr/guide/configuration.md", + activeMatch: "/l10n/fr/guide/configuration.html", }, { text: Translation.navbar.ChatBots, link: "/l10n/fr/guide/chat-bots.md", + activeMatch: "/l10n/fr/guide/chat-bots.html", + }, + + { + text: Translation.helpUsTranslate, + link: "https://crwd.in/minecraft-console-client", }, ], diff --git a/docs/.vuepress/configs/l10n_configs/he.ts b/docs/.vuepress/configs/l10n_configs/he.ts index da3b84b8..6eae715a 100644 --- a/docs/.vuepress/configs/l10n_configs/he.ts +++ b/docs/.vuepress/configs/l10n_configs/he.ts @@ -21,26 +21,36 @@ export const defaultThemeConfig_he: DefaultThemeLocaleData = { { text: Translation.navbar.AboutAndFeatures, link: "/l10n/he/guide/", + activeMatch: "/l10n/he/index.html", }, { text: Translation.navbar.Installation, link: "/l10n/he/guide/installation.md", + activeMatch: "/l10n/he/guide/installation.html", }, { text: Translation.navbar.Usage, link: "/l10n/he/guide/usage.md", + activeMatch: "/l10n/he/guide/usage.html", }, { text: Translation.navbar.Configuration, link: "/l10n/he/guide/configuration.md", + activeMatch: "/l10n/he/guide/configuration.html", }, { text: Translation.navbar.ChatBots, link: "/l10n/he/guide/chat-bots.md", + activeMatch: "/l10n/he/guide/chat-bots.html", + }, + + { + text: Translation.helpUsTranslate, + link: "https://crwd.in/minecraft-console-client", }, ], diff --git a/docs/.vuepress/configs/l10n_configs/hu.ts b/docs/.vuepress/configs/l10n_configs/hu.ts index 8b29dd9c..d7344c59 100644 --- a/docs/.vuepress/configs/l10n_configs/hu.ts +++ b/docs/.vuepress/configs/l10n_configs/hu.ts @@ -21,26 +21,36 @@ export const defaultThemeConfig_hu: DefaultThemeLocaleData = { { text: Translation.navbar.AboutAndFeatures, link: "/l10n/hu/guide/", + activeMatch: "/l10n/hu/index.html", }, { text: Translation.navbar.Installation, link: "/l10n/hu/guide/installation.md", + activeMatch: "/l10n/hu/guide/installation.html", }, { text: Translation.navbar.Usage, link: "/l10n/hu/guide/usage.md", + activeMatch: "/l10n/hu/guide/usage.html", }, { text: Translation.navbar.Configuration, link: "/l10n/hu/guide/configuration.md", + activeMatch: "/l10n/hu/guide/configuration.html", }, { text: Translation.navbar.ChatBots, link: "/l10n/hu/guide/chat-bots.md", + activeMatch: "/l10n/hu/guide/chat-bots.html", + }, + + { + text: Translation.helpUsTranslate, + link: "https://crwd.in/minecraft-console-client", }, ], diff --git a/docs/.vuepress/configs/l10n_configs/it.ts b/docs/.vuepress/configs/l10n_configs/it.ts index 93f94061..33c0f52d 100644 --- a/docs/.vuepress/configs/l10n_configs/it.ts +++ b/docs/.vuepress/configs/l10n_configs/it.ts @@ -21,26 +21,36 @@ export const defaultThemeConfig_it: DefaultThemeLocaleData = { { text: Translation.navbar.AboutAndFeatures, link: "/l10n/it/guide/", + activeMatch: "/l10n/it/index.html", }, { text: Translation.navbar.Installation, link: "/l10n/it/guide/installation.md", + activeMatch: "/l10n/it/guide/installation.html", }, { text: Translation.navbar.Usage, link: "/l10n/it/guide/usage.md", + activeMatch: "/l10n/it/guide/usage.html", }, { text: Translation.navbar.Configuration, link: "/l10n/it/guide/configuration.md", + activeMatch: "/l10n/it/guide/configuration.html", }, { text: Translation.navbar.ChatBots, link: "/l10n/it/guide/chat-bots.md", + activeMatch: "/l10n/it/guide/chat-bots.html", + }, + + { + text: Translation.helpUsTranslate, + link: "https://crwd.in/minecraft-console-client", }, ], diff --git a/docs/.vuepress/configs/l10n_configs/ja.ts b/docs/.vuepress/configs/l10n_configs/ja.ts index 6d7c1e31..89771638 100644 --- a/docs/.vuepress/configs/l10n_configs/ja.ts +++ b/docs/.vuepress/configs/l10n_configs/ja.ts @@ -21,26 +21,36 @@ export const defaultThemeConfig_ja: DefaultThemeLocaleData = { { text: Translation.navbar.AboutAndFeatures, link: "/l10n/ja/guide/", + activeMatch: "/l10n/ja/index.html", }, { text: Translation.navbar.Installation, link: "/l10n/ja/guide/installation.md", + activeMatch: "/l10n/ja/guide/installation.html", }, { text: Translation.navbar.Usage, link: "/l10n/ja/guide/usage.md", + activeMatch: "/l10n/ja/guide/usage.html", }, { text: Translation.navbar.Configuration, link: "/l10n/ja/guide/configuration.md", + activeMatch: "/l10n/ja/guide/configuration.html", }, { text: Translation.navbar.ChatBots, link: "/l10n/ja/guide/chat-bots.md", + activeMatch: "/l10n/ja/guide/chat-bots.html", + }, + + { + text: Translation.helpUsTranslate, + link: "https://crwd.in/minecraft-console-client", }, ], diff --git a/docs/.vuepress/configs/l10n_configs/ko.ts b/docs/.vuepress/configs/l10n_configs/ko.ts index 0fe9b49d..e7281842 100644 --- a/docs/.vuepress/configs/l10n_configs/ko.ts +++ b/docs/.vuepress/configs/l10n_configs/ko.ts @@ -21,26 +21,36 @@ export const defaultThemeConfig_ko: DefaultThemeLocaleData = { { text: Translation.navbar.AboutAndFeatures, link: "/l10n/ko/guide/", + activeMatch: "/l10n/ko/index.html", }, { text: Translation.navbar.Installation, link: "/l10n/ko/guide/installation.md", + activeMatch: "/l10n/ko/guide/installation.html", }, { text: Translation.navbar.Usage, link: "/l10n/ko/guide/usage.md", + activeMatch: "/l10n/ko/guide/usage.html", }, { text: Translation.navbar.Configuration, link: "/l10n/ko/guide/configuration.md", + activeMatch: "/l10n/ko/guide/configuration.html", }, { text: Translation.navbar.ChatBots, link: "/l10n/ko/guide/chat-bots.md", + activeMatch: "/l10n/ko/guide/chat-bots.html", + }, + + { + text: Translation.helpUsTranslate, + link: "https://crwd.in/minecraft-console-client", }, ], diff --git a/docs/.vuepress/configs/l10n_configs/lv.ts b/docs/.vuepress/configs/l10n_configs/lv.ts index 2e481fe0..20fde552 100644 --- a/docs/.vuepress/configs/l10n_configs/lv.ts +++ b/docs/.vuepress/configs/l10n_configs/lv.ts @@ -21,26 +21,36 @@ export const defaultThemeConfig_lv: DefaultThemeLocaleData = { { text: Translation.navbar.AboutAndFeatures, link: "/l10n/lv/guide/", + activeMatch: "/l10n/lv/index.html", }, { text: Translation.navbar.Installation, link: "/l10n/lv/guide/installation.md", + activeMatch: "/l10n/lv/guide/installation.html", }, { text: Translation.navbar.Usage, link: "/l10n/lv/guide/usage.md", + activeMatch: "/l10n/lv/guide/usage.html", }, { text: Translation.navbar.Configuration, link: "/l10n/lv/guide/configuration.md", + activeMatch: "/l10n/lv/guide/configuration.html", }, { text: Translation.navbar.ChatBots, link: "/l10n/lv/guide/chat-bots.md", + activeMatch: "/l10n/lv/guide/chat-bots.html", + }, + + { + text: Translation.helpUsTranslate, + link: "https://crwd.in/minecraft-console-client", }, ], diff --git a/docs/.vuepress/configs/l10n_configs/nl.ts b/docs/.vuepress/configs/l10n_configs/nl.ts index 01f1a420..8cb9f41c 100644 --- a/docs/.vuepress/configs/l10n_configs/nl.ts +++ b/docs/.vuepress/configs/l10n_configs/nl.ts @@ -21,26 +21,36 @@ export const defaultThemeConfig_nl: DefaultThemeLocaleData = { { text: Translation.navbar.AboutAndFeatures, link: "/l10n/nl/guide/", + activeMatch: "/l10n/nl/index.html", }, { text: Translation.navbar.Installation, link: "/l10n/nl/guide/installation.md", + activeMatch: "/l10n/nl/guide/installation.html", }, { text: Translation.navbar.Usage, link: "/l10n/nl/guide/usage.md", + activeMatch: "/l10n/nl/guide/usage.html", }, { text: Translation.navbar.Configuration, link: "/l10n/nl/guide/configuration.md", + activeMatch: "/l10n/nl/guide/configuration.html", }, { text: Translation.navbar.ChatBots, link: "/l10n/nl/guide/chat-bots.md", + activeMatch: "/l10n/nl/guide/chat-bots.html", + }, + + { + text: Translation.helpUsTranslate, + link: "https://crwd.in/minecraft-console-client", }, ], diff --git a/docs/.vuepress/configs/l10n_configs/no.ts b/docs/.vuepress/configs/l10n_configs/no.ts index 9fe4efb1..cbbe0a0d 100644 --- a/docs/.vuepress/configs/l10n_configs/no.ts +++ b/docs/.vuepress/configs/l10n_configs/no.ts @@ -21,26 +21,36 @@ export const defaultThemeConfig_no: DefaultThemeLocaleData = { { text: Translation.navbar.AboutAndFeatures, link: "/l10n/no/guide/", + activeMatch: "/l10n/no/index.html", }, { text: Translation.navbar.Installation, link: "/l10n/no/guide/installation.md", + activeMatch: "/l10n/no/guide/installation.html", }, { text: Translation.navbar.Usage, link: "/l10n/no/guide/usage.md", + activeMatch: "/l10n/no/guide/usage.html", }, { text: Translation.navbar.Configuration, link: "/l10n/no/guide/configuration.md", + activeMatch: "/l10n/no/guide/configuration.html", }, { text: Translation.navbar.ChatBots, link: "/l10n/no/guide/chat-bots.md", + activeMatch: "/l10n/no/guide/chat-bots.html", + }, + + { + text: Translation.helpUsTranslate, + link: "https://crwd.in/minecraft-console-client", }, ], diff --git a/docs/.vuepress/configs/l10n_configs/pl.ts b/docs/.vuepress/configs/l10n_configs/pl.ts index 663507d5..89365259 100644 --- a/docs/.vuepress/configs/l10n_configs/pl.ts +++ b/docs/.vuepress/configs/l10n_configs/pl.ts @@ -21,26 +21,36 @@ export const defaultThemeConfig_pl: DefaultThemeLocaleData = { { text: Translation.navbar.AboutAndFeatures, link: "/l10n/pl/guide/", + activeMatch: "/l10n/pl/index.html", }, { text: Translation.navbar.Installation, link: "/l10n/pl/guide/installation.md", + activeMatch: "/l10n/pl/guide/installation.html", }, { text: Translation.navbar.Usage, link: "/l10n/pl/guide/usage.md", + activeMatch: "/l10n/pl/guide/usage.html", }, { text: Translation.navbar.Configuration, link: "/l10n/pl/guide/configuration.md", + activeMatch: "/l10n/pl/guide/configuration.html", }, { text: Translation.navbar.ChatBots, link: "/l10n/pl/guide/chat-bots.md", + activeMatch: "/l10n/pl/guide/chat-bots.html", + }, + + { + text: Translation.helpUsTranslate, + link: "https://crwd.in/minecraft-console-client", }, ], diff --git a/docs/.vuepress/configs/l10n_configs/pt-BR.ts b/docs/.vuepress/configs/l10n_configs/pt-BR.ts index b26885dc..5e4b95ab 100644 --- a/docs/.vuepress/configs/l10n_configs/pt-BR.ts +++ b/docs/.vuepress/configs/l10n_configs/pt-BR.ts @@ -21,26 +21,36 @@ export const defaultThemeConfig_pt_BR: DefaultThemeLocaleData = { { text: Translation.navbar.AboutAndFeatures, link: "/l10n/pt-BR/guide/", + activeMatch: "/l10n/pt-BR/index.html", }, { text: Translation.navbar.Installation, link: "/l10n/pt-BR/guide/installation.md", + activeMatch: "/l10n/pt-BR/guide/installation.html", }, { text: Translation.navbar.Usage, link: "/l10n/pt-BR/guide/usage.md", + activeMatch: "/l10n/pt-BR/guide/usage.html", }, { text: Translation.navbar.Configuration, link: "/l10n/pt-BR/guide/configuration.md", + activeMatch: "/l10n/pt-BR/guide/configuration.html", }, { text: Translation.navbar.ChatBots, link: "/l10n/pt-BR/guide/chat-bots.md", + activeMatch: "/l10n/pt-BR/guide/chat-bots.html", + }, + + { + text: Translation.helpUsTranslate, + link: "https://crwd.in/minecraft-console-client", }, ], diff --git a/docs/.vuepress/configs/l10n_configs/pt.ts b/docs/.vuepress/configs/l10n_configs/pt.ts index 23420eae..2bfc04c8 100644 --- a/docs/.vuepress/configs/l10n_configs/pt.ts +++ b/docs/.vuepress/configs/l10n_configs/pt.ts @@ -21,26 +21,36 @@ export const defaultThemeConfig_pt: DefaultThemeLocaleData = { { text: Translation.navbar.AboutAndFeatures, link: "/l10n/pt/guide/", + activeMatch: "/l10n/pt/index.html", }, { text: Translation.navbar.Installation, link: "/l10n/pt/guide/installation.md", + activeMatch: "/l10n/pt/guide/installation.html", }, { text: Translation.navbar.Usage, link: "/l10n/pt/guide/usage.md", + activeMatch: "/l10n/pt/guide/usage.html", }, { text: Translation.navbar.Configuration, link: "/l10n/pt/guide/configuration.md", + activeMatch: "/l10n/pt/guide/configuration.html", }, { text: Translation.navbar.ChatBots, link: "/l10n/pt/guide/chat-bots.md", + activeMatch: "/l10n/pt/guide/chat-bots.html", + }, + + { + text: Translation.helpUsTranslate, + link: "https://crwd.in/minecraft-console-client", }, ], diff --git a/docs/.vuepress/configs/l10n_configs/ro.ts b/docs/.vuepress/configs/l10n_configs/ro.ts index 608a66af..ca458197 100644 --- a/docs/.vuepress/configs/l10n_configs/ro.ts +++ b/docs/.vuepress/configs/l10n_configs/ro.ts @@ -21,26 +21,36 @@ export const defaultThemeConfig_ro: DefaultThemeLocaleData = { { text: Translation.navbar.AboutAndFeatures, link: "/l10n/ro/guide/", + activeMatch: "/l10n/ro/index.html", }, { text: Translation.navbar.Installation, link: "/l10n/ro/guide/installation.md", + activeMatch: "/l10n/ro/guide/installation.html", }, { text: Translation.navbar.Usage, link: "/l10n/ro/guide/usage.md", + activeMatch: "/l10n/ro/guide/usage.html", }, { text: Translation.navbar.Configuration, link: "/l10n/ro/guide/configuration.md", + activeMatch: "/l10n/ro/guide/configuration.html", }, { text: Translation.navbar.ChatBots, link: "/l10n/ro/guide/chat-bots.md", + activeMatch: "/l10n/ro/guide/chat-bots.html", + }, + + { + text: Translation.helpUsTranslate, + link: "https://crwd.in/minecraft-console-client", }, ], diff --git a/docs/.vuepress/configs/l10n_configs/ru.ts b/docs/.vuepress/configs/l10n_configs/ru.ts index 8cfba5ba..ad402404 100644 --- a/docs/.vuepress/configs/l10n_configs/ru.ts +++ b/docs/.vuepress/configs/l10n_configs/ru.ts @@ -21,26 +21,36 @@ export const defaultThemeConfig_ru: DefaultThemeLocaleData = { { text: Translation.navbar.AboutAndFeatures, link: "/l10n/ru/guide/", + activeMatch: "/l10n/ru/index.html", }, { text: Translation.navbar.Installation, link: "/l10n/ru/guide/installation.md", + activeMatch: "/l10n/ru/guide/installation.html", }, { text: Translation.navbar.Usage, link: "/l10n/ru/guide/usage.md", + activeMatch: "/l10n/ru/guide/usage.html", }, { text: Translation.navbar.Configuration, link: "/l10n/ru/guide/configuration.md", + activeMatch: "/l10n/ru/guide/configuration.html", }, { text: Translation.navbar.ChatBots, link: "/l10n/ru/guide/chat-bots.md", + activeMatch: "/l10n/ru/guide/chat-bots.html", + }, + + { + text: Translation.helpUsTranslate, + link: "https://crwd.in/minecraft-console-client", }, ], diff --git a/docs/.vuepress/configs/l10n_configs/sr-Cyrl.ts b/docs/.vuepress/configs/l10n_configs/sr-Cyrl.ts index fcb32013..b4a5cd5c 100644 --- a/docs/.vuepress/configs/l10n_configs/sr-Cyrl.ts +++ b/docs/.vuepress/configs/l10n_configs/sr-Cyrl.ts @@ -21,26 +21,36 @@ export const defaultThemeConfig_sr_Cyrl: DefaultThemeLocaleData = { { text: Translation.navbar.AboutAndFeatures, link: "/l10n/sr-Cyrl/guide/", + activeMatch: "/l10n/sr-Cyrl/index.html", }, { text: Translation.navbar.Installation, link: "/l10n/sr-Cyrl/guide/installation.md", + activeMatch: "/l10n/sr-Cyrl/guide/installation.html", }, { text: Translation.navbar.Usage, link: "/l10n/sr-Cyrl/guide/usage.md", + activeMatch: "/l10n/sr-Cyrl/guide/usage.html", }, { text: Translation.navbar.Configuration, link: "/l10n/sr-Cyrl/guide/configuration.md", + activeMatch: "/l10n/sr-Cyrl/guide/configuration.html", }, { text: Translation.navbar.ChatBots, link: "/l10n/sr-Cyrl/guide/chat-bots.md", + activeMatch: "/l10n/sr-Cyrl/guide/chat-bots.html", + }, + + { + text: Translation.helpUsTranslate, + link: "https://crwd.in/minecraft-console-client", }, ], diff --git a/docs/.vuepress/configs/l10n_configs/sv.ts b/docs/.vuepress/configs/l10n_configs/sv.ts index 57a782b7..707eed39 100644 --- a/docs/.vuepress/configs/l10n_configs/sv.ts +++ b/docs/.vuepress/configs/l10n_configs/sv.ts @@ -21,26 +21,36 @@ export const defaultThemeConfig_sv: DefaultThemeLocaleData = { { text: Translation.navbar.AboutAndFeatures, link: "/l10n/sv/guide/", + activeMatch: "/l10n/sv/index.html", }, { text: Translation.navbar.Installation, link: "/l10n/sv/guide/installation.md", + activeMatch: "/l10n/sv/guide/installation.html", }, { text: Translation.navbar.Usage, link: "/l10n/sv/guide/usage.md", + activeMatch: "/l10n/sv/guide/usage.html", }, { text: Translation.navbar.Configuration, link: "/l10n/sv/guide/configuration.md", + activeMatch: "/l10n/sv/guide/configuration.html", }, { text: Translation.navbar.ChatBots, link: "/l10n/sv/guide/chat-bots.md", + activeMatch: "/l10n/sv/guide/chat-bots.html", + }, + + { + text: Translation.helpUsTranslate, + link: "https://crwd.in/minecraft-console-client", }, ], diff --git a/docs/.vuepress/configs/l10n_configs/tr.ts b/docs/.vuepress/configs/l10n_configs/tr.ts index f0c40d54..94dcb737 100644 --- a/docs/.vuepress/configs/l10n_configs/tr.ts +++ b/docs/.vuepress/configs/l10n_configs/tr.ts @@ -21,26 +21,36 @@ export const defaultThemeConfig_tr: DefaultThemeLocaleData = { { text: Translation.navbar.AboutAndFeatures, link: "/l10n/tr/guide/", + activeMatch: "/l10n/tr/index.html", }, { text: Translation.navbar.Installation, link: "/l10n/tr/guide/installation.md", + activeMatch: "/l10n/tr/guide/installation.html", }, { text: Translation.navbar.Usage, link: "/l10n/tr/guide/usage.md", + activeMatch: "/l10n/tr/guide/usage.html", }, { text: Translation.navbar.Configuration, link: "/l10n/tr/guide/configuration.md", + activeMatch: "/l10n/tr/guide/configuration.html", }, { text: Translation.navbar.ChatBots, link: "/l10n/tr/guide/chat-bots.md", + activeMatch: "/l10n/tr/guide/chat-bots.html", + }, + + { + text: Translation.helpUsTranslate, + link: "https://crwd.in/minecraft-console-client", }, ], diff --git a/docs/.vuepress/configs/l10n_configs/uk.ts b/docs/.vuepress/configs/l10n_configs/uk.ts index 2b0cc759..c44cf1b7 100644 --- a/docs/.vuepress/configs/l10n_configs/uk.ts +++ b/docs/.vuepress/configs/l10n_configs/uk.ts @@ -21,26 +21,36 @@ export const defaultThemeConfig_uk: DefaultThemeLocaleData = { { text: Translation.navbar.AboutAndFeatures, link: "/l10n/uk/guide/", + activeMatch: "/l10n/uk/index.html", }, { text: Translation.navbar.Installation, link: "/l10n/uk/guide/installation.md", + activeMatch: "/l10n/uk/guide/installation.html", }, { text: Translation.navbar.Usage, link: "/l10n/uk/guide/usage.md", + activeMatch: "/l10n/uk/guide/usage.html", }, { text: Translation.navbar.Configuration, link: "/l10n/uk/guide/configuration.md", + activeMatch: "/l10n/uk/guide/configuration.html", }, { text: Translation.navbar.ChatBots, link: "/l10n/uk/guide/chat-bots.md", + activeMatch: "/l10n/uk/guide/chat-bots.html", + }, + + { + text: Translation.helpUsTranslate, + link: "https://crwd.in/minecraft-console-client", }, ], diff --git a/docs/.vuepress/configs/l10n_configs/vi.ts b/docs/.vuepress/configs/l10n_configs/vi.ts index 7296b0a8..c3eaad7b 100644 --- a/docs/.vuepress/configs/l10n_configs/vi.ts +++ b/docs/.vuepress/configs/l10n_configs/vi.ts @@ -21,26 +21,36 @@ export const defaultThemeConfig_vi: DefaultThemeLocaleData = { { text: Translation.navbar.AboutAndFeatures, link: "/l10n/vi/guide/", + activeMatch: "/l10n/vi/index.html", }, { text: Translation.navbar.Installation, link: "/l10n/vi/guide/installation.md", + activeMatch: "/l10n/vi/guide/installation.html", }, { text: Translation.navbar.Usage, link: "/l10n/vi/guide/usage.md", + activeMatch: "/l10n/vi/guide/usage.html", }, { text: Translation.navbar.Configuration, link: "/l10n/vi/guide/configuration.md", + activeMatch: "/l10n/vi/guide/configuration.html", }, { text: Translation.navbar.ChatBots, link: "/l10n/vi/guide/chat-bots.md", + activeMatch: "/l10n/vi/guide/chat-bots.html", + }, + + { + text: Translation.helpUsTranslate, + link: "https://crwd.in/minecraft-console-client", }, ], diff --git a/docs/.vuepress/configs/l10n_configs/zh-Hans.ts b/docs/.vuepress/configs/l10n_configs/zh-Hans.ts index c7d6b6e6..bf78e614 100644 --- a/docs/.vuepress/configs/l10n_configs/zh-Hans.ts +++ b/docs/.vuepress/configs/l10n_configs/zh-Hans.ts @@ -21,26 +21,36 @@ export const defaultThemeConfig_zh_Hans: DefaultThemeLocaleData = { { text: Translation.navbar.AboutAndFeatures, link: "/l10n/zh-Hans/guide/", + activeMatch: "/l10n/zh-Hans/index.html", }, { text: Translation.navbar.Installation, link: "/l10n/zh-Hans/guide/installation.md", + activeMatch: "/l10n/zh-Hans/guide/installation.html", }, { text: Translation.navbar.Usage, link: "/l10n/zh-Hans/guide/usage.md", + activeMatch: "/l10n/zh-Hans/guide/usage.html", }, { text: Translation.navbar.Configuration, link: "/l10n/zh-Hans/guide/configuration.md", + activeMatch: "/l10n/zh-Hans/guide/configuration.html", }, { text: Translation.navbar.ChatBots, link: "/l10n/zh-Hans/guide/chat-bots.md", + activeMatch: "/l10n/zh-Hans/guide/chat-bots.html", + }, + + { + text: Translation.helpUsTranslate, + link: "https://crwd.in/minecraft-console-client", }, ], diff --git a/docs/.vuepress/configs/l10n_configs/zh-Hant.ts b/docs/.vuepress/configs/l10n_configs/zh-Hant.ts index 96738c15..efb14792 100644 --- a/docs/.vuepress/configs/l10n_configs/zh-Hant.ts +++ b/docs/.vuepress/configs/l10n_configs/zh-Hant.ts @@ -21,26 +21,36 @@ export const defaultThemeConfig_zh_Hant: DefaultThemeLocaleData = { { text: Translation.navbar.AboutAndFeatures, link: "/l10n/zh-Hant/guide/", + activeMatch: "/l10n/zh-Hant/index.html", }, { text: Translation.navbar.Installation, link: "/l10n/zh-Hant/guide/installation.md", + activeMatch: "/l10n/zh-Hant/guide/installation.html", }, { text: Translation.navbar.Usage, link: "/l10n/zh-Hant/guide/usage.md", + activeMatch: "/l10n/zh-Hant/guide/usage.html", }, { text: Translation.navbar.Configuration, link: "/l10n/zh-Hant/guide/configuration.md", + activeMatch: "/l10n/zh-Hant/guide/configuration.html", }, { text: Translation.navbar.ChatBots, link: "/l10n/zh-Hant/guide/chat-bots.md", + activeMatch: "/l10n/zh-Hant/guide/chat-bots.html", + }, + + { + text: Translation.helpUsTranslate, + link: "https://crwd.in/minecraft-console-client", }, ], diff --git a/docs/.vuepress/translations/en.json b/docs/.vuepress/translations/en.json index 9d0681d0..db85c5b7 100644 --- a/docs/.vuepress/translations/en.json +++ b/docs/.vuepress/translations/en.json @@ -1,6 +1,7 @@ { "title": "Minecraft Console Client", "description": "Documentation website for the Minecraft Console Client (MCC)", + "helpUsTranslate": "Help us translate", "theme":{ "selectLanguageName": "English", "selectLanguageText": "Languages", @@ -8,9 +9,9 @@ "editLinkText": "Edit this page", "lastUpdatedText": "Last Updated", "contributorsText": "Contributors", - "tip": "tip", - "warning": "warning", - "danger": "danger", + "tip": "Tip", + "warning": "Warning", + "danger": "Danger", "notFound": [ "There's nothing here.", "How did we get here?", diff --git a/docs/guide/chat-bots.md b/docs/guide/chat-bots.md index 1ecacb6f..6b328a1d 100644 --- a/docs/guide/chat-bots.md +++ b/docs/guide/chat-bots.md @@ -8,9 +8,13 @@ **Minecraft Console Client** has a number of default built in Chat Bots (Scripts/Plugins) which allow for various types of automation. -> **⚠️ IMPORTANT WARNING: Recently we have changed the configuration format from INI to TOML, this part of the documentation has only been partially updated, it's work in progress, for the time being please refer to the `MinecraftClient.ini` for setting names, the descriptions and options should be up to date in most cases, but not guaranteed.** +::: warning +**Recently we have changed the configuration format from INI to TOML, this part of the documentation has only been partially updated, it's work in progress, for the time being please refer to the `MinecraftClient.ini` for setting names, the descriptions and options should be up to date in most cases, but not guaranteed.** +::: -> **ℹ️ NOTE: Settings refer to settings in the [configuration file](configuration.md)** +::: tip +**Settings refer to settings in the [configuration file](configuration.md)** +::: ## List of built-in Chat Bots @@ -64,7 +68,9 @@ This setting specifies if you want to hear a beep when you get an alert. - > **ℹ️ NOTE: This might not work depending on your system or a console (terminal emulator).** + ::: tip + **This might not work depending on your system or a console (terminal emulator).** + ::: - **Type:** `boolean` @@ -220,8 +226,10 @@ Should the bot use [Terrain Handling](configuration.md#terrainandmovements) instead of the command method. This will enable your bot to randomly move about, thus a better anti afk effect. - - > **ℹ️ NOTE: You need to enable [Terrain Handling](configuration.md#terrainandmovements) in the settings and it's recommended to put the bot into an enclosure not to wander off. (Recommended size 5x5x5)** + + ::: tip + **You need to enable [Terrain Handling](configuration.md#terrainandmovements) in the settings and it's recommended to put the bot into an enclosure not to wander off. (Recommended size 5x5x5)** + ::: - **Available values:** `true` and `false`. @@ -245,7 +253,9 @@ This is the number of times the bot will try to pathfind, if he can't find a valid path for 20 times, he will use the command method. - > **ℹ️ NOTE: This happens on each trigger of the task, so it does not permanently switch to alternative method.** + ::: tip + **This happens on each trigger of the task, so it does not permanently switch to alternative method.** + ::: - **Default:** `20` @@ -255,7 +265,9 @@ Automatically attacks mobs around you, you can configure it to attack both hostile and passive mobs and only certain mobs or all mobs. - > **ℹ️ NOTE: You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** + ::: tip + **You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** + ::: - **Settings:** @@ -402,7 +414,9 @@ Automatically craft items in your inventory or in a crafting table. - > **ℹ️ NOTE: You need to have [inventoryhandling](configuration.md#inventoryhandling) enabled in order for basic crafting in the inventory to work, in addition if you want to use a crafting table, you need to enable [terrainandmovements](configuration.md#terrainandmovements) in order for bot to be able to reach the crafting table.** + ::: tip + **You need to have [inventoryhandling](configuration.md#inventoryhandling) enabled in order for basic crafting in the inventory to work, in addition if you want to use a crafting table, you need to enable [terrainandmovements](configuration.md#terrainandmovements) in order for bot to be able to reach the crafting table.** + ::: - **Commands:** @@ -490,7 +504,9 @@ **Avaliable values:** `player` and `table` - > **ℹ️ NOTE: If you're using `table` you need to set the `CraftingTable` setting.** + ::: tip + **If you're using `table` you need to set the `CraftingTable` setting.** + ::: - `Result` @@ -513,9 +529,13 @@ Slots = [ "", "", ... ] ``` - > **ℹ️ NOTE: If you have a case where you have to leave some fields empty, use `"Null"` to mark them as empty. Example for stone bricks: `Slots = [ "Stone", "Stone", "Null", "Stone", "Stone", "Null", "Null", "Null", "Null", ]`** + ::: tip + **If you have a case where you have to leave some fields empty, use `"Null"` to mark them as empty. Example for stone bricks: `Slots = [ "Stone", "Stone", "Null", "Stone", "Stone", "Null", "Null", "Null", "Null", ]`** + ::: - > **ℹ️ NOTE: All item types can be found [here](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/Inventory/ItemType.cs).** + ::: tip + **All item types can be found [here](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/Inventory/ItemType.cs).** + ::: **Slots are indexed as following:** @@ -559,7 +579,9 @@ Slots = [ "Stone", "Stone", "Null", "Stone", "Stone", "Null", "Null", "Null", "Null", ] ``` - > **ℹ️ NOTE: Make sure to provide materials for your bot by placing them in inventory first.** + ::: tip + **Make sure to provide materials for your bot by placing them in inventory first.** + ::: ## Auto Dig @@ -567,9 +589,13 @@ Automatically digs block on specified locations. - > **ℹ️ NOTE: You need to have [inventoryhandling](configuration.md#inventoryhandling) and [terrainandmovements](configuration.md#terrainandmovements) enabled in order for this bot to work.** + ::: tip + **You need to have [inventoryhandling](configuration.md#inventoryhandling) and [terrainandmovements](configuration.md#terrainandmovements) enabled in order for this bot to work.** + ::: - > **ℹ️ NOTE: 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.** + ::: tip + **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.** + ::: - **Commands:** @@ -730,7 +756,9 @@ Automatically drop items you don't need from the inventory. - > **ℹ️ NOTE: You need to have [inventoryhandling](configuration.md#inventoryhandling) enabled in order for this bot to work** + ::: tip + **You need to have [inventoryhandling](configuration.md#inventoryhandling) enabled in order for this bot to work** + ::: - **Settings:** @@ -780,7 +808,9 @@ This setting is where you can specify the list of items which you want to drop, or keep. - > **ℹ️ NOTE: All item types can be found [here](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/Inventory/ItemType.cs).** + ::: tip + **All item types can be found [here](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/Inventory/ItemType.cs).** + ::: - **Format:** `[ "", "", ...]` @@ -796,7 +826,9 @@ Automatically eat food when your Hunger value is low. - > **ℹ️ NOTE: You need to have [inventoryhandling](configuration.md#inventoryhandling) enabled in order for this bot to work** + ::: tip + **You need to have [inventoryhandling](configuration.md#inventoryhandling) enabled in order for this bot to work** + ::: - **Settings:** @@ -830,13 +862,21 @@ Automatically catch fish using a fishing rod. - > **ℹ️ NOTE: You need to have [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** + ::: tip + **You need to have [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** + ::: - > **ℹ️ NOTE: To use the automatic rod switching and durability check feature, you need to enable [inventoryhandling](configuration.md#inventoryhandling).** + ::: tip + **To use the automatic rod switching and durability check feature, you need to enable [inventoryhandling](configuration.md#inventoryhandling).** + ::: - > **ℹ️ NOTE: Note: To adjust the position or angle after catching a fish, you need to enable [terrainandmovements](configuration.md#terrainandmovements).** + ::: tip + **Note: To adjust the position or angle after catching a fish, you need to enable [terrainandmovements](configuration.md#terrainandmovements).** + ::: - > **ℹ️ NOTE: A fishing rod with **Mending enchantment** is strongly recommended.** + ::: tip + **A fishing rod with **Mending enchantment** is strongly recommended.** + ::: **Steps for using this bot (with the default setting)** @@ -1112,7 +1152,9 @@ Use `-1` for infinite retries. - > **ℹ️ NOTE: This might get you banned by the server owners.** + ::: tip + **This might get you banned by the server owners.** + ::: - **Default:** `-1` @@ -1144,9 +1186,13 @@ Run commands or send messages automatically when a specified pattern is detected in the chat. - > **⚠️ WARNING: Server admins can spoof PMs (`/tellraw`, `/nick`) so enable `AutoRespond` only if you trust server admins.** + ::: warning + **Server admins can spoof PMs (`/tellraw`, `/nick`) so enable `AutoRespond` only if you trust server admins.** + ::: - > **⚠️ WARNING: This bot may get spammy depending on your rules, although the global [messagecooldown](configuration.md#messagecooldown) setting can help you avoiding accidental spam.** + ::: warning + **This bot may get spammy depending on your rules, although the global [messagecooldown](configuration.md#messagecooldown) setting can help you avoiding accidental spam.** + ::: - **Settings:** @@ -1174,7 +1220,9 @@ _PS: In the future we will document the rules here with examples too._ - > **ℹ️ NOTE: This file is not created by default, we recommend making a clone of the [`sample-matches.ini`](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/config/sample-matches.ini) and changing it according to your needs.** + ::: tip + **This file is not created by default, we recommend making a clone of the [`sample-matches.ini`](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/config/sample-matches.ini) and changing it according to your needs.** + ::: - **Type:** `string` @@ -1190,7 +1238,9 @@ List of all color codes: [here](https://minecraft.tools/en/color-code.php) - > **ℹ️ NOTE: This feature uses the `§` symbol for color matching** + ::: tip + **This feature uses the `§` symbol for color matching** + ::: - **Type:** `boolean` @@ -1270,9 +1320,13 @@ This bot enables you to make a bot follow a specific player. - > **ℹ️ NOTE: 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 terrain handling) and thus slow the bot even more.** + ::: tip + **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 terrain handling) and thus slow the bot even more.** + ::: - > **ℹ️ NOTE: You need to have [terrainandmovements](configuration.md#terrainandmovements) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** + ::: tip + **You need to have [terrainandmovements](configuration.md#terrainandmovements) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** + ::: - **Settings:** @@ -1322,7 +1376,9 @@ Also set `enabled` to `true`, then, add your username in the `botowners` INI setting, and finally, connect to the server and use `/tell start` to start the game. - > **ℹ️ NOTE: If the bot does not respond to bot owners, see the [Detecting chat messages](https://github.com/MCCTeam/Minecraft-Console-Client/tree/master/MinecraftClient/config#detecting-chat-messages) section.** + ::: tip + **If the bot does not respond to bot owners, see the [Detecting chat messages](https://github.com/MCCTeam/Minecraft-Console-Client/tree/master/MinecraftClient/config#detecting-chat-messages) section.** + ::: - **Settings:** @@ -1354,7 +1410,9 @@ This setting specifies the path to the file which Hangman will use for the list of words, each word is added on a separate line. - > **ℹ️ NOTE: This settings file is for English and is not created by the default** + ::: tip + **This settings file is for English and is not created by the default** + ::: - **Default:** `hangman-en.txt` - **Example**: [`words-en.txt`](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/config/hangman-en.txt) @@ -1365,7 +1423,9 @@ This setting is same as the above but for French. - > **ℹ️ NOTE: This settings file is for French and is not created by the default** + ::: tip + **This settings file is for French and is not created by the default** + ::: - **Default:** `hangman-fr.txt` - **Example**: [`words-fr.txt`](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/config/hangman-fr.txt) @@ -1402,9 +1462,13 @@ Show all ignored players. - > **⚠️WARNING: The bot identifies players by their name (Not by UUID!). A nickname plugin or a Minecraft rename may cause mails going to the wrong player! Never write something to the bot you wouldn't say in the normal chat (You have been warned!).** + ::: warning + **The bot identifies players by their name (Not by UUID!). A nickname plugin or a Minecraft rename may cause mails going to the wrong player! Never write something to the bot you wouldn't say in the normal chat (You have been warned!).** + ::: - > **⚠️WARNING: Server admins can spoof PMs (`/tellraw`, `/nick`) so enable `RemoteControl` only if you trust server admins.** + ::: warning + **Server admins can spoof PMs (`/tellraw`, `/nick`) so enable `RemoteControl` only if you trust server admins.** + ::: **Mailer Network:** @@ -1503,7 +1567,9 @@ 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.** + ::: 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.** + ::: - **Commands:** @@ -1539,9 +1605,13 @@ The default map size is `128x128`. - > **ℹ️ NOTE: The bigger the size, the less is the quality.** + ::: tip + **The bigger the size, the less is the quality.** + ::: - > **ℹ️ NOTE: For upscaling your maps you could use (getting a bit better quality): https://deepai.org/machine-learning-model/torch-srgan** + ::: tip + **For upscaling your maps you could use (getting a bit better quality): https://deepai.org/machine-learning-model/torch-srgan** + ::: - **Available values:** `true` and `false`. @@ -1565,7 +1635,9 @@ This setting specifies if the Map Chat Bot should automatically render maps as they're received from the servers. - > **⚠️WARNING: On some versions older than 1.17 this could cause some performance issue on older hardware if there a lot of maps being rendered, since map updates are sent multiple times a second. Be careful.** + ::: warning + **On some versions older than 1.17 this could cause some performance issue on older hardware if there a lot of maps being rendered, since map updates are sent multiple times a second. Be careful.** + ::: - **Available values:** `true` and `false`. @@ -1642,7 +1714,9 @@ You need to have [ChatFormat](configuration.md#chat-format) working correctly and add yourself in [botowners](configuration.md#botowners) to use the bot. - > **⚠️WARNING: Server admins can spoof PMs (`/tellraw`, `/nick`) so enable `RemoteControl` only if you trust server admins.** + ::: warning + **Server admins can spoof PMs (`/tellraw`, `/nick`) so enable `RemoteControl` only if you trust server admins.** + ::: - **Settings:** @@ -1690,11 +1764,17 @@ Enable recording of the game (`/replay start`) and replay it later using the Replay Mod (https://www.replaymod.com/). - > **⚠️ IMPORTANT: This bot does not work for 1.19, we need maintainers for it.** + ::: warning + **This bot does not work for 1.19, we need maintainers for it.** + ::: - > **ℹ️ NOTE: Please note that due to technical limitations, the client player (you) will not be shown in the replay file** + ::: tip + **Please note that due to technical limitations, the client player (you) will not be shown in the replay file** + ::: - > **⚠️ WARNING: You SHOULD use `/replay stop` or exit the program gracefully with `/quit` OR THE REPLAY FILE MAY GET CORRUPT!** + ::: warning + **You SHOULD use `/replay stop` or exit the program gracefully with `/quit` OR THE REPLAY FILE MAY GET CORRUPT!** + ::: - **Settings:** @@ -1760,7 +1840,9 @@ = ``` - > **ℹ️ NOTE: It is recommended that you align subsections to the right by one tab or 4 spaces for better readability.** + ::: tip + **It is recommended that you align subsections to the right by one tab or 4 spaces for better readability.** + ::: **Avaliable settings/options:** diff --git a/docs/guide/configuration.md b/docs/guide/configuration.md index 31f0e42d..fc6c5489 100644 --- a/docs/guide/configuration.md +++ b/docs/guide/configuration.md @@ -4,7 +4,9 @@ By the default all of the configurations are stored in the configuration file named `MinecraftClient.ini` which is created the first time you run the program, but you also can specify your own configuration file by providing a path to it as a first parameter when starting the MCC, check out [Usage](usage.md#quick-usage-of-mcc-with-examples) for examples. -> **⚠️ IMPORTANT WARNING: Recently we have changed the configuration format from INI to TOML, the documentation had to be updated. If you spot a mistake, please report it on our Discord or in the repository as an issue.** +::: warning +**Recently we have changed the configuration format from INI to TOML, the documentation had to be updated. If you spot a mistake, please report it on our Discord or in the repository as an issue.** +::: ## Notes @@ -98,7 +100,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } This setting is where you define the type of your account: `mojang` or `microsoft` - > **ℹ️ NOTE: Mojang accounts are going to stop working soon for everyone, they already are not working for some people.** + ::: tip + **Mojang accounts are going to stop working soon for everyone, they already are not working for some people.** + ::: - **Type:** `string` @@ -223,7 +227,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } BotOwners = [ "milutinke", "bradbyte", "BruceChen", ] ``` - > **⚠️ WARNING: Admins can impersonate players on versions older than 1.19** + ::: warning +**Admins can impersonate players on versions older than 1.19** +::: #### `MinecraftVersion` @@ -247,7 +253,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } MinecraftVersion = "1.18.2" ``` - > **ℹ️ NOTE: MCC supports only 1.4.6 - 1.19.2** + ::: tip + **MCC supports only 1.4.6 - 1.19.2** + ::: #### `EnableForge` @@ -265,7 +273,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Default:** `auto` - > **ℹ️ NOTE: Force-enabling only works for MC 1.13 +** + ::: tip + **Force-enabling only works for MC 1.13 +** + ::: #### `BrandInfo` @@ -278,7 +288,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Default:** `mcc` - > **ℹ️ NOTE: For playing on Hypixel you need to use `vanilla`** + ::: tip + **For playing on Hypixel you need to use `vanilla`** + ::: #### `ChatbotLogFile` @@ -358,13 +370,17 @@ Coordinate = { x = 145, y = 64, y = 2045 } This setting is where you can set if you want to enable terrain movement, so you can use command like `/move` and some bots. - > **⚠️ WARNING: This feature is currently not supported in `1.4.6 - 1.6`.** + ::: warning +**This feature is currently not supported in `1.4.6 - 1.6`.** +::: - **Type:** `boolean` - **Default:** `false` -> **ℹ️ NOTE: Sometimes the latest versions might not support this straight away, since Mojang often makes changes to this.** +::: tip +**Sometimes the latest versions might not support this straight away, since Mojang often makes changes to this.** +::: #### `InventoryHandling` @@ -372,7 +388,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } This setting is where you can set if you want to enable inventory handling using the `/inventory` command. - > **⚠️ WARNING: This feature is currently not supported in `1.4.6 - 1.9`.** + ::: warning + **This feature is currently not supported in `1.4.6 - 1.9`.** + ::: - **Type:** `boolean` @@ -384,13 +402,17 @@ Coordinate = { x = 145, y = 64, y = 2045 } This setting is where you can set if you want to enable interactions with entities such as players, mobs, minecarts, etc.. - > **⚠️ WARNING: This feature is currently not supported in `1.4.6 - 1.9`.** + ::: warning + **This feature is currently not supported in `1.4.6 - 1.9`.** + ::: - **Type:** `boolean` - **Default:** `false` - > **ℹ️ NOTE: Sometimes the latest versions might not support this straight away, since Mojang often makes changes to this.** + ::: tip + **Sometimes the latest versions might not support this straight away, since Mojang often makes changes to this.** + ::: #### `SessionCache` @@ -439,7 +461,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Default:** `true` - > **ℹ️ NOTE: Only works on Windows XP-8 or Windows 10 with old console** + ::: tip + **Only works on Windows XP-8 or Windows 10 with old console** + ::: #### `ExitOnFailure` @@ -481,7 +505,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Default:** `false` - > **ℹ️ NOTE: Make sure the spawn point is safe** + ::: tip + **Make sure the spawn point is safe** + ::: #### `MinecraftRealms` @@ -533,7 +559,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Default:** `2` -> **⚠️ WARNING: A movement speed higher than 2 may be considered cheating by some plugins.** +::: warning +**A movement speed higher than 2 may be considered cheating by some plugins.** +::: ### Account List section @@ -755,7 +783,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Default:** `.*` - > **ℹ️ NOTE: Not filtering anything by default** + ::: tip + **Not filtering anything by default** + ::: #### `DebugFilterRegex` @@ -769,7 +799,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Default:** `.*` - > **ℹ️ NOTE: Not filtering anything by default** + ::: tip + **Not filtering anything by default** + ::: #### `FilterMode` @@ -803,7 +835,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Default:** `console-log.txt` - > **ℹ️ NOTE: %username% and %serverip% will be substituted with your username and the IP address of the server you are connected to. So you can use something like: `console-log-%username%-%serverip%.txt`** + ::: tip + **%username% and %serverip% will be substituted with your username and the IP address of the server you are connected to. So you can use something like: `console-log-%username%-%serverip%.txt`** + ::: #### `PrependTimestamp` @@ -837,7 +871,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } To define a variable/setting, simply make a new line with the following format under the `[AppVar.VarStirng]` section: - > **ℹ️ NOTE: `%username%`, `%serverip%`, `%datetime%` are reserved variables** + ::: tip + **`%username%`, `%serverip%`, `%datetime%` are reserved variables** + ::: - **Section header:** `Logging` @@ -879,7 +915,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Default:** `false` - > **⚠️ WARNING: Make sure your server rules allow Proxies or VPNs before setting the setting to `true`, or you may face consequences!** + ::: warning + **Make sure your server rules allow Proxies or VPNs before setting the setting to `true`, or you may face consequences!** + ::: #### `Server` diff --git a/docs/guide/creating-bots.md b/docs/guide/creating-bots.md index aac44964..37398a7b 100644 --- a/docs/guide/creating-bots.md +++ b/docs/guide/creating-bots.md @@ -8,7 +8,9 @@ ## Notes -> **ℹ️ NOTE: For now this page contains only the bare basics of the Chat Bot API, enough of details to teach you how to make basic Chat Bots. For more details you need to take a look at the [ChatBot.cs](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/Scripting/ChatBot.cs) and [Examples](#examples). This page will be improved in the future.** +::: tip +**For now this page contains only the bare basics of the Chat Bot API, enough of details to teach you how to make basic Chat Bots. For more details you need to take a look at the [ChatBot.cs](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/Scripting/ChatBot.cs) and [Examples](#examples). This page will be improved in the future.** +::: **Minecraft Console Client** has a rich C# API which allows you to create Chat Bots (effectively plugins) which can help you create complex automations which normal scripts may not be able to do. @@ -32,7 +34,9 @@ More in-depth: This introduction assumes that you have the basic knowledge of C#. -> **ℹ️ NOTE: Here we will use terms Chat Bot and Script interchangeably** +::: tip +**Here we will use terms Chat Bot and Script interchangeably** +::: Create a new empty file and name it `ExampleChatBot.cs` in the same folder where you have your MCC installed. @@ -110,7 +114,9 @@ MCC.LoadBot(new YourChatBotClassNameHere()); **Script Metadata** section allows for including C# packages and libraries with: `//using ` and `/dll `. -> **ℹ️ NOTE: Avoid adding whitespace between `//` and keywords** +::: tip +**Avoid adding whitespace between `//` and keywords** +::: By the default the following packages are loaded: @@ -157,7 +163,9 @@ There are no required methods, everything is optional. When the Chat Bot (Script) has been initialized for the first time the `Initialize` method will be called. In it you can initialize variables, eg. Dictionaries, etc.. -> **ℹ️ NOTE: For allocating resources like a database connection, we recommend allocating them in `AfterGameJoined` and freeing them in `OnDisconnect`**. +::: tip +**For allocating resources like a database connection, we recommend allocating them in `AfterGameJoined` and freeing them in `OnDisconnect`** +:::. ## Examples diff --git a/docs/guide/installation.md b/docs/guide/installation.md index 3ef767ca..c6bcf6d1 100644 --- a/docs/guide/installation.md +++ b/docs/guide/installation.md @@ -89,7 +89,9 @@ Requirements: - Linux: - > **ℹ️ NOTE: If you're using Linux we will assume that you should be able to install git on your own. If you don't know how, search it up for your distribution, it should be easy. (Debian based distros: `apt install git`, Arch based: `pacman -S git`)** + ::: tip + **If you're using Linux we will assume that you should be able to install git on your own. If you don't know how, search it up for your distribution, it should be easy. (Debian based distros: `apt install git`, Arch based: `pacman -S git`)** + ::: - [Install Git on macOS](https://git-scm.com/download/mac) @@ -116,7 +118,9 @@ git clone https://github.com/MCCTeam/Minecraft-Console-Client.git --recursive dotnet publish MinecraftClient -f net6.0 -r linux-x64 --no-self-contained -c Release -p:UseAppHost=true -p:IncludeNativeLibrariesForSelfExtract=true -p:DebugType=None ``` - > **ℹ️ NOTE: If you're using Linux that is either ARM, 32-bit, Rhel based, Using Musl, or Tirzen, [find an appropriate RID](https://docs.microsoft.com/en-us/dotnet/core/rid-catalog#linux-rids) for your platform and replace the `'-r linux-64` with an appropriate `-r ` (Example for arm: `-r linux-arm64`)** + ::: tip + **If you're using Linux that is either ARM, 32-bit, Rhel based, Using Musl, or Tirzen, [find an appropriate RID](https://docs.microsoft.com/en-us/dotnet/core/rid-catalog#linux-rids) for your platform and replace the `'-r linux-64` with an appropriate `-r ` (Example for arm: `-r linux-arm64`)** + ::: - On macOS: @@ -124,7 +128,9 @@ git clone https://github.com/MCCTeam/Minecraft-Console-Client.git --recursive dotnet publish MinecraftClient -f net6.0 -r osx-x64 --no-self-contained -c Release -p:UseAppHost=true -p:IncludeNativeLibrariesForSelfExtract=true -p:DebugType=None ``` - > **ℹ️ NOTE: If you're not using MAC with Intel, find an appropriate RID for your ARM processor, [find an appropriate RID](https://docs.microsoft.com/en-us/dotnet/core/rid-catalog#macos-rids) and replace the `'-r osx-64` with an appropriate `-r ` (Example for arm: `-r osx.12-arm64`)** + ::: tip + **If you're not using MAC with Intel, find an appropriate RID for your ARM processor, [find an appropriate RID](https://docs.microsoft.com/en-us/dotnet/core/rid-catalog#macos-rids) and replace the `'-r osx-64` with an appropriate `-r ` (Example for arm: `-r osx.12-arm64`)** + ::: If the build has succeeded, the compiled binary `MinecraftClient` will be in: @@ -138,9 +144,13 @@ Requirements: - Git - Docker -> **ℹ️ NOTE: This section is for more advanced users, if you do not know how to install git or docker, you can take a look at other sections for Git, and search on how to install Docker on your system.** +::: tip +**This section is for more advanced users, if you do not know how to install git or docker, you can take a look at other sections for Git, and search on how to install Docker on your system.** +::: -> **⚠️ WARNING: Pay attention at warnings, Docker currently works, but you must start the containers in the interactive mode or MCC will crash, we're working on solving this.** +::: warning +**Pay attention at warnings, Docker currently works, but you must start the containers in the interactive mode or MCC will crash, we're working on solving this.** +::: 1. Clone the [Git Hub Repository](https://github.com/MCCTeam/Minecraft-Console-Client) by typing end executing the following command: @@ -157,7 +167,9 @@ docker build -t minecraft-console-client:latest . **Start the container using Docker:** -> **⚠️ VERY IMPORTANT ⚠️: There is a bug with the ConsoleInteractive which causes a crash when a container is started in a headless mode, so you need to use the interactive mode. Do not restart containers in a classic way, stop then and start them with interactive mode (this command), after that simply detach with `CTRL + P` and then `CTRL + Q`.** +::: danger +**There is a bug with the ConsoleInteractive which causes a crash when a container is started in a headless mode, so you need to use the interactive mode. Do not restart containers in a classic way, stop then and start them with interactive mode (this command), after that simply detach with `CTRL + P` and then `CTRL + Q`.** +::: ```bash # You could also ignore the -v parameter if you dont want to mount the volume that is up to you. If you don't it's harder to edit the .ini file if thats something you want to do @@ -209,23 +221,35 @@ docker-compose down It is possible to run the Minecraft Console Client on Android through Termux and Ubuntu 22.04 in it, however it requires a manual setup with a lot of commands, be careful no to skip any steps. Note that this might take anywhere from 10 to 20 minutes or more to do depending on your technical knowledge level, Internet speed and CPU speed. -> **ℹ️ NOTE: This section is going to get a bit technical, I'll try my best to make everything as simple as possible. If you are having trouble following along or if you encounter any issues, feel free to open up a discussion on our Github repository page.** +::: tip +**This section is going to get a bit technical, I'll try my best to make everything as simple as possible. If you are having trouble following along or if you encounter any issues, feel free to open up a discussion on our Github repository page.** +::: -> **ℹ️ NOTE: You're required to have some bare basic knowledge of Linux, if you do not know anything about it, watch [this video](https://www.youtube.com/watch?v=SkB-eRCzWIU) to get familiar with basic commands.** +::: tip +**You're required to have some bare basic knowledge of Linux, if you do not know anything about it, watch [this video](https://www.youtube.com/watch?v=SkB-eRCzWIU) to get familiar with basic commands.** +::: -> **ℹ️ NOTE: Here we're installing everything on the root account for simplicity sake, if you want to make a user account, make sure you update the command which reference the `/root` directory with your home directory.** +::: tip +**Here we're installing everything on the root account for simplicity sake, if you want to make a user account, make sure you update the command which reference the `/root` directory with your home directory.** +::: ### Installation #### Termux -> **⚠️ IMPORTANT: The Play Store version of Termux is outdated and not supported, do not use it, use the the [Github one](https://github.com/termux/termux-app/releases/latest/).** +::: warning +**The Play Store version of Termux is outdated and not supported, do not use it, use the the [Github one](https://github.com/termux/termux-app/releases/latest/).** +::: Go to [the Termux Github latest release](https://github.com/termux/termux-app/releases/latest/), download the `debug_universal.apk`, unzip it and run it. -> **ℹ️ NOTE: If your file manager does not let you run APK files, install and use `File Manager +` and give it a permission to install 3rd party applications when asked.** +::: tip +**If your file manager does not let you run APK files, install and use `File Manager +` and give it a permission to install 3rd party applications when asked.** +::: -> **⚠️ VERY IMPORTANT ⚠️: Once you have installed Termux, open it, bring down the Android menu for notifications, on Termux notification, drag down until you see the following options: `Exit | Acquire wakelock`, press on the `Acquire wakelock` and allow Termux to have a battery optimization exclusion permission when asked. If you do not do this, your performance will be poorer and the Termux might get killed by Android while running in the background!** +::: danger +**Once you have installed Termux, open it, bring down the Android menu for notifications, on Termux notification, drag down until you see the following options: `Exit | Acquire wakelock`, press on the `Acquire wakelock` and allow Termux to have a battery optimization exclusion permission when asked. If you do not do this, your performance will be poorer and the Termux might get killed by Android while running in the background!** +::: #### Installing Ubuntu 22.04 @@ -234,7 +258,9 @@ At this stage, you have 2 options: 1. Following this textual tutorial 2. Watching a [Youtube tutorial for installing Ubuntu](https://www.youtube.com/watch?v=5yit2t7smpM) -> **ℹ️ NOTE: If you decide to watch the Youtube tutorial, watch only up to `1:58`, the steps after are not needed and might just confuse you.** +::: tip +**If you decide to watch the Youtube tutorial, watch only up to `1:58`, the steps after are not needed and might just confuse you.** +::: In order to install Ubuntu 22.04 in Termux you require `wget` and `proot`, we're going to install them in the next step. @@ -244,7 +270,9 @@ Once you have Termux installed open it up and run the following command one afte 2. `pkg upgrade` 3. `pkg install proot wget` -> **ℹ️ NOTE: If you're asked to press Y/N during the update/upgrade command process, just enter Y and press Enter** +::: tip +**If you're asked to press Y/N during the update/upgrade command process, just enter Y and press Enter** +::: Then you need to download an installation script using the following command: @@ -265,7 +293,9 @@ Once the installation is complete, you can start Ubuntu with: ./startubuntu.sh ``` -> **ℹ️ NOTE: Now every time you open Termux after it has been closed, in order to access Ubuntu you have to use this command** +::: tip +**Now every time you open Termux after it has been closed, in order to access Ubuntu you have to use this command** +::: #### Installing .NET on ARM @@ -299,26 +329,35 @@ First you need to download .NET 6.0, you can do it with the following command: wget https://download.visualstudio.microsoft.com/download/pr/901f7928-5479-4d32-a9e5-ba66162ca0e4/d00b935ec4dc79a27f5bde00712ed3d7/dotnet-sdk-6.0.400-linux-arm64.tar.gz ``` -> **ℹ️ NOTE: This tutorial assumes that you have 64 bit version of ARM processor, if you happen to have a 32-bit version replace the link in the command above with [this one](https://download.visualstudio.microsoft.com/download/pr/cf567026-a29a-41aa-bc3a-e4e1ad0df480/0925d411e8e09e31ba7a39a3eb0e29af/aspnetcore-runtime-6.0.8-linux-arm.tar.gz)**. +::: tip +**This tutorial assumes that you have 64 bit version of ARM processor, if you happen to have a 32-bit version replace the link in the command above with [this one](https://download.visualstudio.microsoft.com/download/pr/cf567026-a29a-41aa-bc3a-e4e1ad0df480/0925d411e8e09e31ba7a39a3eb0e29af/aspnetcore-runtime-6.0.8-linux-arm.tar.gz)** +:::. -> **ℹ️ NOTE: This tutorial assumes that you're following along and using Ubuntu 22.04, if you're using a different distro, like Alpine, go to [here](https://dotnet.microsoft.com/en-us/download/dotnet/6.0) and copy an appropriate link for your distro.** +::: tip +**This tutorial assumes that you're following along and using Ubuntu 22.04, if you're using a different distro, like Alpine, go to [here](https://dotnet.microsoft.com/en-us/download/dotnet/6.0) and copy an appropriate link for your distro.** +::: Once the file has been downloaded, you need to run the following commands in order: 1. `DOTNET_FILE=dotnet-sdk-6.0.400-linux-arm64.tar.gz` - - > **⚠️ IMPORTANT: If you're using a different download link, update the file name in this command to match your version.** + ::: warning + **If you're using a different download link, update the file name in this command to match your version.** + ::: 2. `export DOTNET_ROOT=/root/.dotnet` - > **⚠️ IMPORTANT: Here we're installing .NET in `/root`, if you're installing it somewhere else, make sure to set your own path!** + ::: warning + **Here we're installing .NET in `/root`, if you're installing it somewhere else, make sure to set your own path!** + ::: 3. `mkdir -p "$DOTNET_ROOT" && tar zxf "$DOTNET_FILE" -C "$DOTNET_ROOT"` 4. `export PATH=$PATH:$DOTNET_ROOT:$DOTNET_ROOT/tools` Now we need to tell our shell to know where the `dotnet` command is, for future sessions, since the commands above just tell this current session where the `dotnet` is located. -> **⚠️ IMPORTANT: You will need a basic knowledge of Nano text editor, if you do not know how to use it, watch this [Youtube video tutorial](https://www.youtube.com/watch?v=DLeATFgGM-A)** +::: warning +**You will need a basic knowledge of Nano text editor, if you do not know how to use it, watch this [Youtube video tutorial](https://www.youtube.com/watch?v=DLeATFgGM-A)** +::: To enable this, we need to edit our `/root/.bashrc` file with the following command: @@ -333,7 +372,9 @@ export DOTNET_ROOT=/root/.dotnet/ export PATH=$PATH:$DOTNET_ROOT:$DOTNET_ROOT/tools ``` -> **⚠️ IMPORTANT: Here we're installing .NET in `/root`, if you're installing it somewhere else, make sure to set your own path!** +::: warning +**Here we're installing .NET in `/root`, if you're installing it somewhere else, make sure to set your own path!** +::: Save the file usign the following combination of keys: `CTRL + X`, type `Y` and press Enter. @@ -365,7 +406,9 @@ path-to-application: Finally, we can install MCC. -> **⚠️ IMPORTANT: If you have a 32 ARM processor, you need to build the MCC yourself, take a look at the [Building From Source](#building-from-the-source-code) section. Also make sure to be using the appropriate `-r` parameter value for your architecture.** +::: warning +**If you have a 32 ARM processor, you need to build the MCC yourself, take a look at the [Building From Source](#building-from-the-source-code) section. Also make sure to be using the appropriate `-r` parameter value for your architecture.** +::: Let's make a folder where the MCC will be stored with the following command: @@ -425,7 +468,9 @@ Also, here are some linux tutorials for people who are new to it: ## Run on a VPS -> **ℹ️ NOTE: This is a new section, if you find a mistake, please report it by opening an Issue in our [Github repository](https://github.com/MCCTeam/Minecraft-Console-Client). Thank you!** +::: tip +**This is a new section, if you find a mistake, please report it by opening an Issue in our [Github repository](https://github.com/MCCTeam/Minecraft-Console-Client). Thank you!** +::: The **Minecraft Console Client** can be run on a VPS 24 hours, 7 days a week. @@ -452,7 +497,9 @@ Here is a [Youtube video](https://youtu.be/42fwh_1KP_o) that explains it in more Download and install [Gitbash](https://git-scm.com/downloads). - > **ℹ️ NOTE: Make sure to allow the installation to add it to the context menu** + ::: tip + **Make sure to allow the installation to add it to the context menu** + ::: 2. `ssh` and `ssh-keygen` commands (On Windows they're available with Gitbash, on macOs and Linux they should be available by default, it not, search on how to install them) @@ -487,7 +534,9 @@ The MCC is not expensive to run, so it can run on basically any hardware, you do **Where to buy a VPS?** -> **⚠️ VERY IMPORTANT: In this tutorial we will be using `Ubuntu 22.04`, make sure to select it as the OS when buying a VPS.** +::: danger +**In this tutorial we will be using `Ubuntu 22.04`, make sure to select it as the OS when buying a VPS.** +::: Some of the reliable and cheap hosting providers (sorted for price/performance): @@ -495,7 +544,9 @@ Some of the reliable and cheap hosting providers (sorted for price/performance): **Minimum price**: `2.50 EUR / month` - > **ℹ️ NOTE: Does not have Ubuntu 22.04 in the dropdown menu when ordering, you will have to re-install later or ask support to do it.** + ::: tip + **Does not have Ubuntu 22.04 in the dropdown menu when ordering, you will have to re-install later or ask support to do it.** + ::: - [OVH Cloud](https://www.ovhcloud.com/de/vps/) @@ -519,24 +570,36 @@ You also may want to search for better deals. #### AWS EC2 VPS -> **⚠️ VERY IMPORTANT: This will require you to have a valid debit card that can be used on internet and a mobile phone number, as well as giving that info to Amazon corporation.** +::: danger +**This will require you to have a valid debit card that can be used on internet and a mobile phone number, as well as giving that info to Amazon corporation.** +::: -> **⚠️ WARNING: Scammers often get AWS VPS and use it to mass login on to stolen Microsoft accounts, some AWS IP addresses might be blocked by Microsoft because of that, if so, you might need to switch regions or to use a Proxy. To debug if your IP has been banned by Microsoft, use the `ping ` and `traceroute ` commands.** +::: warning +**Scammers often get AWS VPS and use it to mass login on to stolen Microsoft accounts, some AWS IP addresses might be blocked by Microsoft because of that, if so, you might need to switch regions or to use a Proxy. To debug if your IP has been banned by Microsoft, use the `ping ` and `traceroute ` commands.** +::: -> **⚠️ WARNING: Related to the warning above, if you have issues logging with Microsoft and you're not banned, you may want to check the Security center on your account and approve the login from the VPS, this can be the case for some users.** +::: warning +**Related to the warning above, if you have issues logging with Microsoft and you're not banned, you may want to check the Security center on your account and approve the login from the VPS, this can be the case for some users.** +::: -> **ℹ️ NOTE: If you're not banned, sometimes fetching the keys can take some time, try giving it a minute or two, if it still hangs, hit some keys to refresh the screen, or try restarting and running again. If it still happens, use tmux instead of screen.** +::: tip +**If you're not banned, sometimes fetching the keys can take some time, try giving it a minute or two, if it still hangs, hit some keys to refresh the screen, or try restarting and running again. If it still happens, use tmux instead of screen.** +::: Register on AWS and enter all of your billing info and a phone number. Once you're done, you can continue to [Setting up the Amazon VPS](#setting-up-an-aws-vps). ### Initial Amazon VPS setup -> **ℹ️ NOTE: Skip this section if you're not using AWS. Go to [Initial VPS setup](#initial-vps-setup)** +::: tip +**Skip this section if you're not using AWS. Go to [Initial VPS setup](#initial-vps-setup)** +::: When you register and open the `AWS Console`, click on the Search field on the top of the page and search for: `EC2` -> **ℹ️ NOTE: Make sure to select the region closest to you for the minimal latency** +::: tip +**Make sure to select the region closest to you for the minimal latency** +::: Click on the **Launch instance** button. @@ -546,7 +609,9 @@ Fill out the `Name` field with a name of your preference. For the **Application and OS images** select `Ubuntu Server 22.04 LTS (HVM), SSD Volume Type`. -> **⚠️ VERY IMPORTANT: Make sure that it has `Free tier eligible` next to it.** +::: danger +**Make sure that it has `Free tier eligible` next to it.** +::: ![VPS Select OS](/images/guide/VPS_SelectOS.png) @@ -554,7 +619,9 @@ For the **Instance type** select `t2.micro`. For the **Key pair (login)** click on **Create new key pair** and name it `VpsRoot`, leave the rest of settings as default and click **Create key pair**, this will generate a RSA private key that will be automatically downloaded. -> **⚠️ EXTREMELY IMPORTANT: Make sure that you save this file in a safe place and do not loose it, it's of an upmost importance since it's used to access the root/admin account of the VPS. Without it you will not be able to access the root account of the VPS! Also do not let it fall into wrong hands.** +::: danger +**Make sure that you save this file in a safe place and do not loose it, it's of an upmost importance since it's used to access the root/admin account of the VPS. Without it you will not be able to access the root account of the VPS! Also do not let it fall into wrong hands.** +::: ![VPS Instance Type](/images/guide/VPS_InstanceType.png) @@ -564,7 +631,9 @@ For the **Network settings** check the following checkboxes on: - `Allow HTTPs traffic from the internet` - `Allow HTTP traffic from the internet` -> **ℹ️ NOTE: The SSH traffic from Anywhere is not the best thing for security, you might want to enter IP addresses of your devices from which you want to access the VPS manually.** +::: tip +**The SSH traffic from Anywhere is not the best thing for security, you might want to enter IP addresses of your devices from which you want to access the VPS manually.** +::: ![VPS Network Settings](/images/guide/VPS_NetworkSettings.png) @@ -584,9 +653,13 @@ In order to login with SSH, you are going to use the following command: ssh -i ubuntu@ ``` -> **ℹ️ NOTE: `<` and `>` are not typed, that is just a notation for a placeholder!** +::: tip +**`<` and `>` are not typed, that is just a notation for a placeholder!** +::: -> **ℹ️ NOTE: `ubuntu` is a default root account username for Ubuntu on AWS!** +::: tip +**`ubuntu` is a default root account username for Ubuntu on AWS!** +::: Example: @@ -600,7 +673,9 @@ Now you can continue to [Creating a new user](#creating-a-new-user) ### Initial VPS setup -> **ℹ️ NOTE: This section if for those who do not use AWS, if you use AWS skip it** +::: tip +**This section if for those who do not use AWS, if you use AWS skip it** +::: When you order the VPS, most likely you will be asked to provide the root account name and password, if it is the case, name the account as `root` and give it a password of your choice. @@ -614,7 +689,9 @@ If you're on Windows open `Git Bash`, on mac OS and Linux open a `Terminal` and ssh @ ``` -> **ℹ️ NOTE: If you're given a custom port other than `22` by your host, you should add `-p ` before the username (eg. `ssh -p @`) or `:` after the ip (eg. `ssh @:`)** +::: tip +**If you're given a custom port other than `22` by your host, you should add `-p ` before the username (eg. `ssh -p @`) or `:` after the ip (eg. `ssh @:`)** +::: Example: @@ -636,7 +713,9 @@ Once you've logged in to your VPS you need to create a new user and give it SSH In this tutorial we will be using `mcc` as a name for the user account that will be running the MCC. -> **ℹ️ NOTE: You may be wondering why we're creating a separate user account and making it be accessible over SSH only. This is for security reasons, if you do not want to do this, you're free to skip it, but be careful.** +::: tip +**You may be wondering why we're creating a separate user account and making it be accessible over SSH only. This is for security reasons, if you do not want to do this, you're free to skip it, but be careful.** +::: To create a new user named `mcc` execute the following command: @@ -650,9 +729,13 @@ Now we need to give it a password, execute the following command, type the passw sudo passwd mcc ``` -> **ℹ️ NOTE: When you're typing a password it will not be displayed on the screen, but you're typing it for real.** +::: tip +**When you're typing a password it will not be displayed on the screen, but you're typing it for real.** +::: -> **ℹ️ NOTE: Make sure you have a strong password!** +::: tip +**Make sure you have a strong password!** +::: Now we need to give our user account the admin permissions: @@ -799,7 +882,9 @@ Example: ssh -i MCC_Key mcc@3.71.108.69 ``` -> **ℹ️ NOTE: If you've changed the `Port`, make sure you add a `-p ` option after the `-i ` option (eg. `ssh -i MCC_Key -p 8973 mcc@3.71.108.69`)!** +::: tip +**If you've changed the `Port`, make sure you add a `-p ` option after the `-i ` option (eg. `ssh -i MCC_Key -p 8973 mcc@3.71.108.69`)!** +::: If did everything correctly you should see a Linux prompt and a welcome message if there is one on your provider. @@ -809,9 +894,13 @@ Now you can install .NET Core 6 and MCC. ### Installing .NET Core 6 -> **ℹ️ NOTE: If your VPS has an ARM CPU, follow [this](#installing-net-on-arm) part of the documentation and then return to section after this one.** +::: tip +**If your VPS has an ARM CPU, follow [this](#installing-net-on-arm) part of the documentation and then return to section after this one.** +::: -> **⚠️ WARNING: With newer versions of .NET Core 6 on Ubuntu 22.04 you might get the following error: `A fatal error occurred, the folder [/usr/share/dotnet/host/fxr] does not contain any version-numbered child folders`, if you get it, use [this solution](https://github.com/dotnet/sdk/issues/27082#issuecomment-1211143446)** +::: warning +**With newer versions of .NET Core 6 on Ubuntu 22.04 you might get the following error: `A fatal error occurred, the folder [/usr/share/dotnet/host/fxr] does not contain any version-numbered child folders`, if you get it, use [this solution](https://github.com/dotnet/sdk/issues/27082#issuecomment-1211143446)** +::: Log in as the user you've created. @@ -887,7 +976,9 @@ If it was successful, you can now install the MCC. Now that you have .NET Core 6.0 and a user account, you should install the `screen` utility, you will need this in order to keep the MCC running once you close down the SSH session (if you do not have it, the MCC will just stop working once you disconnect). You can look at the `screen` like a window, except it's in a terminal, it lets you have multiple "windows" open at the same time. -> **ℹ️ NOTE: There is also a Docker method, if you're using Docker, you do not need the `screen` program.** +::: tip +**There is also a Docker method, if you're using Docker, you do not need the `screen` program.** +::: You also can learn about the screen command from [this Youtube tutorial](https://youtu.be/_ZJiEX4rmN4). @@ -905,7 +996,9 @@ Now you can install the MCC: How to use the `screen` command? -> **⚠️ WARNING: If you have issues with Screen command, like output not being properly formatted or program handing/freezing, try using tmux, click [here](https://www.youtube.com/watch?v=Yl7NFenTgIo) to learn how to use it.** +::: warning +**If you have issues with Screen command, like output not being properly formatted or program handing/freezing, try using tmux, click [here](https://www.youtube.com/watch?v=Yl7NFenTgIo) to learn how to use it.** +::: To start a screen, type: @@ -913,9 +1006,13 @@ To start a screen, type: screen -S mcc ``` -> **ℹ️ NOTE: `mcc` here is the name of the screen, you can use whatever you like, but if you've used a different name, make sure you use that one instead of the `mcc` in the following commands.** +::: tip +**`mcc` here is the name of the screen, you can use whatever you like, but if you've used a different name, make sure you use that one instead of the `mcc` in the following commands.** +::: -> **ℹ️ NOTE: You need to make a screen only once, however if you reboot your VPS, you need to start it on each reboot.** +::: tip +**You need to make a screen only once, however if you reboot your VPS, you need to start it on each reboot.** +::: Now you will be in the screen, now you can start the MCC and detach from the screen. diff --git a/docs/guide/usage.md b/docs/guide/usage.md index 9d553b28..69cd22d5 100644 --- a/docs/guide/usage.md +++ b/docs/guide/usage.md @@ -16,7 +16,9 @@ Using the command line parameters: Simply run `MinecraftClient.exe` -> **ℹ️ NOTE: On Windows it's best using [Windows Terminal](https://docs.microsoft.com/en-us/windows/terminal/install) for the best experience and looks. Some features like emojis in the [`/chunk`](#chunk) command do not work in CMD or Powershell 5** +::: tip +**On Windows it's best using [Windows Terminal](https://docs.microsoft.com/en-us/windows/terminal/install) for the best experience and looks. Some features like emojis in the [`/chunk`](#chunk) command do not work in CMD or Powershell 5** +::: ## Linux, macOS @@ -90,7 +92,9 @@ MinecraftClient.exe --help ### Quick usage of MCC with examples -> **ℹ️ NOTE: On Linux and macOS, you need to type: `./MinecraftClient` instead of `MinecraftClient.exe`** +::: tip +**On Linux and macOS, you need to type: `./MinecraftClient` instead of `MinecraftClient.exe`** +::: ```bash MinecraftClient.exe --help @@ -169,7 +173,9 @@ From chat prompt, commands must by default be prepended with a slash, eg. `/quit In scripts and remote control, no slash is needed to perform the command, eg. `quit`. -> **ℹ️ NOTE: Some commands may not be documented yet or are defined in description of Chat Bots, use `/help` to list them all, or you can contribute to this page.** +::: tip +**Some commands may not be documented yet or are defined in description of Chat Bots, use `/help` to list them all, or you can contribute to this page.** +::: ### `animation` @@ -252,7 +258,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q Change your selected slot in the hotbar. - > **ℹ️ NOTE: You need to have [Inventory Handling](configuration.md#inventoryhandling) enabled in order for this to work.** + ::: tip + **You need to have [Inventory Handling](configuration.md#inventoryhandling) enabled in order for this to work.** + ::: - **Usage:** @@ -266,9 +274,13 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q Displays the chunk loading status in a nice way. - > **⚠️ WARNING: To use this feature you need to enable the [Terrain and Movements](configuration.md#terrainandmovements)** + ::: warning + **To use this feature you need to enable the [Terrain and Movements](configuration.md#terrainandmovements)** + ::: - > **ℹ️ NOTE: You need a terminal with emoji support, like Powershell 7, Windows Terminal or Alacritty, if you do not want emoji support and want to use cmd or powershell 5, disable emojis with: [`enableemoji`](configuration.md#enableemoji)** + ::: tip + **You need a terminal with emoji support, like Powershell 7, Windows Terminal or Alacritty, if you do not want emoji support and want to use cmd or powershell 5, disable emojis with: [`enableemoji`](configuration.md#enableemoji)** + ::: - **Usage:** @@ -310,7 +322,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q Drop all items of a specific type from your inventory. - > **ℹ️ NOTE: You need to have [Inventory Handling](configuration.md#inventoryhandling) enabled in order for this to work.** + ::: tip + **You need to have [Inventory Handling](configuration.md#inventoryhandling) enabled in order for this to work.** + ::: - **Usage:** @@ -318,7 +332,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q /dropitem ``` - > **ℹ️ NOTE: All item types can be found [here](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/Inventory/ItemType.cs).** + ::: tip + **All item types can be found [here](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/Inventory/ItemType.cs).** + ::: - **Example:** @@ -332,7 +348,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q Attack an entity, use an entity or get a list of entities around you. - > **ℹ️ NOTE: You need to have [Inventory Handling](configuration.md#inventoryhandling) and [Entity Handling](configuration.md#entityhandling) enabled in order for this to work.** + ::: tip + **You need to have [Inventory Handling](configuration.md#inventoryhandling) and [Entity Handling](configuration.md#entityhandling) enabled in order for this to work.** + ::: - **Usage:** @@ -348,7 +366,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q /entity ``` - > **ℹ️ NOTE: All entity types can be found [here](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/Mapping/EntityType.cs).** + ::: tip + **All entity types can be found [here](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/Mapping/EntityType.cs).** + ::: - **Examples:** @@ -369,7 +389,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q Also the instance of MCC is available with `MCC.`. - > **ℹ️ NOTE: All local variables are treated as strings in the app, when comparing their values, you can use ` == ""`, or better use [`.Equals`](https://www.programiz.com/csharp-programming/library/string/equals) method** + ::: tip + **All local variables are treated as strings in the app, when comparing their values, you can use ` == ""`, or better use [`.Equals`](https://www.programiz.com/csharp-programming/library/string/equals) method** + ::: - **Usage:** @@ -444,7 +466,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q /reco [account] ``` - > **ℹ️ NOTE: `[account]` is an account alias defined in accounts file, for more info check out [accountlist](configuration.html#accountlist)** + ::: tip + **`[account]` is an account alias defined in accounts file, for more info check out [accountlist](configuration.html#accountlist)** + ::: ### `reload` @@ -452,7 +476,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q Reloads settings from MinecraftClient.ini and Chat Bots. - > **ℹ️ NOTE: Some settings won't be reloaded since they are used before the client initialization. Also, settings provided by the command line paramteres will be overriden. This also does not reload the ReplayBot due to technical limitations.** + ::: tip + **Some settings won't be reloaded since they are used before the client initialization. Also, settings provided by the command line paramteres will be overriden. This also does not reload the ReplayBot due to technical limitations.** + ::: - **Usage:** @@ -472,9 +498,13 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q /connect [account] ``` - > **ℹ️ NOTE: `` is either a server IP or a server alias defined in servers file, for more info check out [serverlist](configuration.html#serverlist)** + ::: tip + **`` is either a server IP or a server alias defined in servers file, for more info check out [serverlist](configuration.html#serverlist)** + ::: - > **ℹ️ NOTE: `[account]` is an account alias defined in accounts file, for more info check out [accountlist](configuration.html#accountlist)** + ::: tip + **`[account]` is an account alias defined in accounts file, for more info check out [accountlist](configuration.html#accountlist)** + ::: ### `script` @@ -610,9 +640,13 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q Use item in the hand, this can be used to do a right click on items which open menus on servers. - > **ℹ️ NOTE: You need to have [Inventory Handling](configuration.md#inventoryhandling) enabled in order for this to work.** + ::: tip + **You need to have [Inventory Handling](configuration.md#inventoryhandling) enabled in order for this to work.** + ::: - > **⚠️ WARNING: The [Inventory Handling](configuration.md#inventoryhandling) is currently not supported in `1.4.6 - 1.9`** + ::: warning + **The [Inventory Handling](configuration.md#inventoryhandling) is currently not supported in `1.4.6 - 1.9`** + ::: - **Usage:** @@ -634,11 +668,17 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q - shulker - loom - > **ℹ️ NOTE: You need to have [Inventory Handling](configuration.md#inventoryhandling) and [Terrain and Movements](configuration.md#terrainandmovements) enabled in order for this to work.** + ::: tip + **You need to have [Inventory Handling](configuration.md#inventoryhandling) and [Terrain and Movements](configuration.md#terrainandmovements) enabled in order for this to work.** + ::: - > **ℹ️ NOTE: Not all inventories have a GUI representation in an ASCII art format.** + ::: tip + **Not all inventories have a GUI representation in an ASCII art format.** + ::: - > **⚠️ WARNING: The [Inventory Handling](configuration.md#inventoryhandling) is currently not supported in `1.4.6 - 1.9`.** + ::: warning + **The [Inventory Handling](configuration.md#inventoryhandling) is currently not supported in `1.4.6 - 1.9`.** + ::: - **Usage:** @@ -658,9 +698,17 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q Make the bot follow a player. - > **ℹ️ NOTE: This command is avaliable only with [Follow Player](chat-bots.md#follow-player) Chat Bot enabled.** + ::: tip + **This command is avaliable only with [Follow Player](chat-bots.md#follow-player) Chat Bot enabled.** + ::: - > **ℹ️ NOTE: You need to have [Inventory Handling](configuration.md#inventoryhandling) enabled in order for this to work.** > **ℹ️ NOTE: You need to have [Enity Handling](configuration.md#entityhandling) enabled in order for this to work.** + ::: tip + **You need to have [Inventory Handling](configuration.md#inventoryhandling) enabled in order for this to work.** + ::: + + ::: tip + **You need to have [Enity Handling](configuration.md#entityhandling) enabled in order for this to work.** + ::: - **Usage:** @@ -698,9 +746,13 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q Used for moving when terrain and movements feature is enabled. - > **ℹ️ NOTE: You need to have [Terrain and Movements](configuration.md#terrainandmovements) enabled in order for this to work.** + ::: tip + **You need to have [Terrain and Movements](configuration.md#terrainandmovements) enabled in order for this to work.** + ::: - > **⚠️ WARNING: The [Terrain and Movements](configuration.md#terrainandmovements) is currently not supported in `1.4.6 - 1.6`.** + ::: warning + **The [Terrain and Movements](configuration.md#terrainandmovements) is currently not supported in `1.4.6 - 1.6`.** + ::: - **Usage:** @@ -756,15 +808,21 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q Used for inventory manipulation. - > **ℹ️ NOTE: You need to have [Inventory Handling](configuration.md#inventoryhandling) enabled in order for this to work.** + ::: tip + **You need to have [Inventory Handling](configuration.md#inventoryhandling) enabled in order for this to work.** + ::: - > **⚠️ WARNING: The [Inventory Handling](configuration.md#inventoryhandling) is currently not supported in `1.4.6 - 1.9`.** + ::: warning + **The [Inventory Handling](configuration.md#inventoryhandling) is currently not supported in `1.4.6 - 1.9`.** + ::: MCC defines inventories as containers internally, so player's inventory, chests, droppers, dispensers, hoppers, chest minecarts, barrels, furnaces, etc... are all considered a container, and each one of them has it's ID, the words container and inventory can be used interchangeably. Inventory has slots and each one of them has an id. - > **ℹ️ NOTE: This command DOES NOT physically open a container (eg. chest), for that you need to use [`useblock`](#useblock) command first.** + ::: tip + **This command DOES NOT physically open a container (eg. chest), for that you need to use [`useblock`](#useblock) command first.** + ::: An example of player inventory with annotated IDs in ASCII art and a list of items: @@ -778,7 +836,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q /inventory > [action parameters] | /inventory | /inventory [amount] ``` - > **ℹ️ NOTE: player and container can be simplified with p and c accordingly** + ::: tip + **player and container can be simplified with p and c accordingly** + ::: Actions: @@ -798,7 +858,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q /inventory > [left|right|middle] ``` - > **ℹ️ NOTE: The default click is left click** + ::: tip + **The default click is left click** + ::: Close an inventory: @@ -812,7 +874,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q /inventory drop ``` - > **ℹ️ NOTE: To drop all items from a slot, you can use:** `all` + ::: tip + **To drop all items from a slot, you can use: `all`** + ::: Give an item to the player inventory from a creative menu when in the creative mode: @@ -820,7 +884,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q /inventory creativegive ``` - > **ℹ️ NOTE: To find item types, check out [this list](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/Inventory/ItemType.cs)** + ::: tip + **To find item types, check out [this list](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/Inventory/ItemType.cs)** + ::: Delete an item from a player's inventory when in the creative mode: @@ -890,7 +956,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q /inventory creativegive 36 diamondblock 64 ``` - > **ℹ️ NOTE: To find item types, check out [this list](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/Inventory/ItemType.cs)** + ::: tip + **To find item types, check out [this list](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/Inventory/ItemType.cs)** + ::: Delete an item from a player's inventory in slot number/id `36` when in the creative mode: @@ -916,4 +984,6 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q Show commands help. - > **ℹ️ NOTE: Use "/send /help" for server help** + ::: tip + **Use "/send /help" for server help** + :::