diff --git a/docs/l10n/af/guide/README.md b/docs/l10n/af/guide/README.md index 81e1aee3..ce5a9b7c 100644 --- a/docs/l10n/af/guide/README.md +++ b/docs/l10n/af/guide/README.md @@ -150,14 +150,26 @@ Minecraft Console Client also borrows code from the following libraries: ## Disclaimer -Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. +Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. -Also, remember that when you connect to a server with this program, you will appear where you left the last time. This means that **you can die if you log in in an unsafe place on a survival server!** Use the script scheduler bot to send a teleport command after logging in. +This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. + +Also, remember that when you connect to a server with this program, you will appear where you left the last time. + +This means that **you can die if you log in in an unsafe place on a survival server!** + +Use the script scheduler bot to send a teleport command after logging in. We remind you that **you may get banned** by your server for using this program. Use accordingly with server rules. ## License -Minecraft Console Client is a totally free of charge, open source project. The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) +Minecraft Console Client is a totally free of charge, open source project. -Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) +The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) + +Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. + +More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) + +Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) diff --git a/docs/l10n/af/guide/chat-bots.md b/docs/l10n/af/guide/chat-bots.md index c67efc3d..64b6a790 100644 --- a/docs/l10n/af/guide/chat-bots.md +++ b/docs/l10n/af/guide/chat-bots.md @@ -67,6 +67,7 @@ - **Default:** `false` + #### `Beep_Enabled`

Tip

@@ -84,6 +85,7 @@ - **Default:** `true` + #### `Trigger_By_Words` - **Description:** @@ -97,6 +99,7 @@ - **Default:** `false` + #### `Trigger_By_Rain` - **Description:** @@ -110,6 +113,7 @@ - **Default:** `false` + #### `Trigger_By_Thunderstorm` - **Description:** @@ -123,6 +127,7 @@ - **Default:** `false` + #### `Log_To_File` - **Description:** @@ -136,6 +141,7 @@ - **Default:** `false` + #### `Log_File` - **Description:** @@ -147,6 +153,7 @@ - **Default:** `"alerts-log.txt"` + #### `Matches` - **Description:** @@ -162,6 +169,7 @@ ``` + #### `Excludes` - **Description:** @@ -199,6 +207,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -214,6 +223,7 @@ - **Default:** `{ min = 60.0, max = 60.0 }` + #### `Command` - **Description:** @@ -225,6 +235,7 @@ - **Default:** `/ping` + #### `Use_Sneak` - **Description:** @@ -236,20 +247,21 @@ - **Default:** `false` + #### `Use_Terrain_Handling` +

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)** + +
+ - **Description:** 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. -

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`. - **Type:** `boolean` @@ -257,6 +269,7 @@ - **Default:** `false` + #### `Walk_Range` - **Description:** @@ -268,32 +281,33 @@ - **Default:** `5` + #### `Walk_Retries` +

Tip

+ + **This happens on each trigger of the task, so it does not permanently switch to alternative method.** + +
+ - **Description:** 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. -

Tip

- - **This happens on each trigger of the task, so it does not permanently switch to alternative method.** - -
- - **Default:** `20` ## Auto Attack +

Tip

+ +**You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** + +
+ - **Description:** Automatically attacks mobs around you, you can configure it to attack both hostile and passive mobs and only certain mobs or all mobs. -

Tip

- - **You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** - -
- - **Settings:** **Section:** **`ChatBot.AutoAttack`** @@ -311,6 +325,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -330,6 +345,7 @@ - **Default:** `single` + #### `Priority` - **Description:** @@ -344,6 +360,7 @@ - **Default:** `distance` + #### `Cooldown_Time` - **Description:** @@ -363,6 +380,7 @@ - **Default:** `{ Custom = false, value = 1.0 }` + #### `Interaction` - **Description:** @@ -386,6 +404,7 @@ - **Default:** `Attack` + #### `Attack_Hostile` - **Description:** @@ -399,6 +418,7 @@ - **Default:** `true` + #### `Attack_Passive` - **Description:** @@ -412,6 +432,7 @@ - **Default:** `false` + #### `List_Mode` - **Description:** @@ -425,6 +446,7 @@ - **Default:** `whitelist` + #### `Entites_List` - **Description:** @@ -443,16 +465,16 @@ ## Auto Craft +

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.** + +
+ - **Description:** Automatically craft items in your inventory or in a 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:** - `/autocraft list` @@ -476,6 +498,7 @@ **Section:** **`ChatBot.AutoCraft`** + #### `Enabled` - **Description:** @@ -489,6 +512,7 @@ - **Default:** `false` + #### `CraftingTable` - **Description:** @@ -512,6 +536,7 @@ ``` + #### `OnFailure` - **Description:** @@ -527,8 +552,15 @@ - **Default:** `abort` + ### Defining a recipe +

Tip

+ + **If you're using `table` you need to set the `CraftingTable` setting.** + +
+ The recipes are defines as a separate new sub-section `[[ChatBot.AutoCraft.Recipes]]` of the `[ChatBot.AutoCraft]` section. The `[[ChatBot.AutoCraft.Recipes]]` section needs to contain the following settings: @@ -543,12 +575,6 @@ **Avaliable values:** `player` and `table` -

Tip

- - **If you're using `table` you need to set the `CraftingTable` setting.** - -
- - `Result` This is the type of resulting item. @@ -569,17 +595,6 @@ Slots = [ "", "", ... ] ``` -

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", ]`** - -
- -

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:** @@ -625,6 +640,10 @@

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", ]`** + + **All item types can be found [here](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/Inventory/ItemType.cs).** + **Make sure to provide materials for your bot by placing them in inventory first.**
@@ -658,6 +677,7 @@ **Section:** **`ChatBot.AutoDig`** + #### `Enabled` - **Description:** @@ -671,6 +691,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -696,6 +717,7 @@ - **Default:** `lookat` + #### `Locations` - **Description:** @@ -722,6 +744,7 @@ ``` + #### `Location_Order` - **Description:** @@ -743,6 +766,7 @@ - **Default:** `distance` + #### `Auto_Start_Delay` - **Description:** @@ -756,6 +780,7 @@ - **Default:** `3.0` + #### `Dig_Timeout` - **Description:** @@ -767,6 +792,7 @@ - **Default:** `60.0` + #### `Log_Block_Dig` - **Description:** @@ -780,6 +806,7 @@ - **Default:** `true` + #### `List_Type` - **Description:** @@ -793,6 +820,7 @@ - **Default:** `whitelist` + #### `Blocks` - **Description:** @@ -838,6 +866,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -865,6 +894,7 @@ - **Default:** `include` + #### `Items` - **Description:** @@ -914,6 +944,7 @@ - **Default:** `false` + #### `Threshold` - **Description:** @@ -966,6 +997,7 @@ **Section:** **`ChatBot.AutoFishing`** + #### `Enabled` - **Description:** @@ -979,6 +1011,7 @@ - **Default:** `false` + #### `Antidespawn` - **Description:** @@ -992,6 +1025,7 @@ - **Default:** `false` + #### `Mainhand` - **Description:** @@ -1008,6 +1042,7 @@ - **Default:** `true` + #### `Auto_Start` - **Description:** @@ -1021,6 +1056,7 @@ - **Default:** `true` + #### `Cast_Delay` - **Description:** @@ -1032,6 +1068,7 @@ - **Default:** `0.4` + #### `Fishing_Delay` - **Description:** @@ -1045,6 +1082,7 @@ - **Default:** `3.0` + #### `Fishing_Timeout` - **Description:** @@ -1056,6 +1094,7 @@ - **Default:** `300.0` + #### `Durability_Limit` - **Description:** @@ -1069,6 +1108,7 @@ - **Default:** `2` + #### `Auto_Rod_Switch` - **Description:** @@ -1082,6 +1122,7 @@ - **Default:** `true` + #### `Stationary_Threshold` - **Description:** @@ -1099,6 +1140,7 @@ - **Default:** `0.001` + #### `Hook_Threshold` - **Description:** @@ -1114,6 +1156,7 @@ - **Default:** `0.2` + #### `Log_Fish_Bobber` - **Description:** @@ -1129,6 +1172,7 @@ - **Default:** `false` + #### `Enable_Move` - **Description:** @@ -1144,6 +1188,7 @@ - **Default:** `false` + ### Adding a position/movement Each position/movement is added as a new `[[ChatBot.AutoFishing.Movements]]` subsection of `[ChatBot.AutoFishing]`. @@ -1185,6 +1230,7 @@ ``` + #### Full example ```toml @@ -1219,6 +1265,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -1236,6 +1283,7 @@ - **Default:** `{ min = 3.0, max = 3.0 }` + #### `Retries` - **Description:** @@ -1253,6 +1301,7 @@ - **Default:** `-1` + #### `Ignore_Kick_Message` - **Description:** @@ -1264,6 +1313,7 @@ - **Default:** `false` + #### `Kick_Messages` - **Description:** @@ -1311,6 +1361,7 @@ - **Default:** `false` + #### `Matches_File` - **Description:** @@ -1332,6 +1383,7 @@ - **Default:** `matches.ini` + #### `Match_Colors` - **Description:** @@ -1373,6 +1425,7 @@ - **Default:** `false` + #### `Add_DateTime` - **Description:** @@ -1384,6 +1437,7 @@ - **Default:** `true` + #### `Log_File` - **Description:** @@ -1393,6 +1447,7 @@ - **Default:** `chatlog-%username%-%serverip%.txt` + #### `Filter` - **Description:** @@ -1458,6 +1513,7 @@ - **Default:** `false` + #### `Update_Limit` - **Description:** @@ -1471,6 +1527,7 @@ - **Default:** `1.5` + #### `Stop_At_Distance` - **Description:** @@ -1512,6 +1569,7 @@ - **Default:** `false` + #### `English` - **Description:** @@ -1523,6 +1581,7 @@ - **Default:** `true` + #### `FileWords_EN` - **Description:** @@ -1539,6 +1598,7 @@ - **Example**: [`words-en.txt`](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/config/hangman-en.txt) + #### `FileWords_FR` - **Description:** @@ -1610,6 +1670,7 @@ **Section:** **`ChatBot.Mailer`** + #### `Enabled` - **Description:** @@ -1623,6 +1684,7 @@ - **Default:** `false` + #### `DatabaseFile` - **Description:** @@ -1634,6 +1696,7 @@ - **Default:** `MailerDatabase.ini` + #### `IgnoreListFile` - **Description:** @@ -1645,6 +1708,7 @@ - **Default:** `MailerIgnoreList.ini` + #### `PublicInteractions` - **Description:** @@ -1658,6 +1722,7 @@ - **Default:** `false` + #### `MaxMailsPerPlayer` - **Description:** @@ -1669,6 +1734,7 @@ - **Default:** `10` + #### `MaxDatabaseSize` - **Description:** @@ -1680,6 +1746,7 @@ - **Default:** `10000` (10 MB) + #### `MailRetentionDays` - **Description:** @@ -1733,6 +1800,7 @@ - **Default:** `false` + #### `Should_Resize` - **Description:** @@ -1760,6 +1828,7 @@ - **Default:** `false` + #### `Resize_To` - **Description:** @@ -1771,6 +1840,7 @@ - **Default:** `256` + #### `Auto_Render_On_Update` - **Description:** @@ -1790,6 +1860,7 @@ - **Default:** `false` + #### `Delete_All_On_Unload` - **Description:** @@ -1803,6 +1874,7 @@ - **Default:** `true` + #### `Notify_On_First_Update` - **Description:** @@ -1835,6 +1907,7 @@ - **Default:** `false` + #### `File` - **Description:** @@ -1844,6 +1917,7 @@ - **Default:** `playerlog.txt` + #### `Delay` - **Description:** @@ -1885,6 +1959,7 @@ - **Default:** `false` + #### `AutoTpaccept` - **Description:** @@ -1898,6 +1973,7 @@ - **Default:** `true` + #### `AutoTpaccept_Everyone` - **Description:** @@ -1951,6 +2027,7 @@ - **Default:** `false` + #### `Backup_Interval` - **Description:** @@ -1986,6 +2063,7 @@ - **Default:** `false` + ### Defining a task - **Description:** @@ -2061,6 +2139,7 @@ ``` + ### Full example ```toml diff --git a/docs/l10n/af/guide/configuration.md b/docs/l10n/af/guide/configuration.md index 9ca991fb..71a5ed16 100644 --- a/docs/l10n/af/guide/configuration.md +++ b/docs/l10n/af/guide/configuration.md @@ -465,7 +465,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Use `no`, `fast` (5s timeout), or `yes`. Required for joining some servers. + Use `no`, `fast` (5s timeout), or `yes`. + + Required for joining some servers. - **Type:** `string` @@ -648,7 +650,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Affects only Minecraft 1.19+. This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. + Affects only Minecraft 1.19+. + + This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. #### `LoginWithSecureProfile` @@ -674,7 +678,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Whether to sign the messages contained in the commands sent by the MCC. For example, the message in `/msg` and `/me` + Whether to sign the messages contained in the commands sent by the MCC. + + For example, the message in `/msg` and `/me` - **Type:** `boolean` @@ -768,7 +774,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - This setting allows you to define if your want to see info messages. Most of the messages from MCC. + This setting allows you to define if your want to see info messages. + + Most of the messages from MCC. - **Type:** `boolean` @@ -955,7 +963,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - The proxy server IP and port. Proxy server must allow HTTPS for login, and non-443 ports for playing. + The proxy server IP and port. + + Proxy server must allow HTTPS for login, and non-443 ports for playing. - **Format:** diff --git a/docs/l10n/af/guide/creating-bots.md b/docs/l10n/af/guide/creating-bots.md index 9e46df68..bc5e2d77 100644 --- a/docs/l10n/af/guide/creating-bots.md +++ b/docs/l10n/af/guide/creating-bots.md @@ -99,7 +99,9 @@ Chat Bot (Script) structure is the following: ``` -**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. Every single Chat Bot (Script) must have this section at the beginning in order to work. +**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. + +Every single Chat Bot (Script) must have this section at the beginning in order to work. ### Script Metadata Format @@ -165,7 +167,9 @@ After the end of the **Script Metadata** section, you basically can define any n 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.. +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..

Tip

diff --git a/docs/l10n/af/guide/installation.md b/docs/l10n/af/guide/installation.md index 256241f6..92f61049 100644 --- a/docs/l10n/af/guide/installation.md +++ b/docs/l10n/af/guide/installation.md @@ -190,7 +190,11 @@ docker build -t minecraft-console-client:latest . docker run -it -v :/opt/data minecraft-console-client:latest ``` -Now you could login and the Client is running. To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. To reattach use the `docker attach` command. +Now you could login and the Client is running. + +To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. + +To reattach use the `docker attach` command. **Start the container using docker-compose:** @@ -222,7 +226,9 @@ docker-compose up docker-compose up -d #for deamonized running in the background ``` -Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. As above, you can stop and remove the container using +Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. + +As above, you can stop and remove the container using ```bash docker-compose down @@ -313,7 +319,9 @@ Once the script has downloaded, run it with: bash ubuntu.sh ``` -Then you will be asked a question, enter `Y` and press `Enter`. Once the installation is complete, you can start Ubuntu with: +Then you will be asked a question, enter `Y` and press `Enter`. + +Once the installation is complete, you can start Ubuntu with: ```bash ./startubuntu.sh @@ -499,7 +507,9 @@ To stop MCC from running you can press `CTRL + C` To edit the configuration/settings, you need a text editor, we recommend Nano, as it's very simple to use, if you have followed the installation steps above, you should be familiar with it, if not, check out [this tutorial](https://www.youtube.com/watch?v=DLeATFgGM-A). -For downloading files, you can use the `wget` file we have installed, simply run: `wget your_link_here` (you have examples above, and a video tutorial down bellow). +For downloading files, you can use the `wget` file we have installed, simply run: + +`wget your_link_here` (you have examples above, and a video tutorial down bellow). Also, here are some linux tutorials for people who are new to it: @@ -644,7 +654,9 @@ You also may want to search for better deals.
-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). +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 @@ -862,7 +874,11 @@ Make a new empty file named `authorized_keys`: touch authorized_keys ``` -Do no close the Git bash/Terminal emulator. On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). +Do no close the Git bash/Terminal emulator. + +On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. + +Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). Type the following command: @@ -940,7 +956,9 @@ Let's check if everything is working correctly: sudo systemctl status sshd ``` -If everything has been configured as it should be you should see `active (running)` as a status of the service. If not, open the config file again and check for mistakes. +If everything has been configured as it should be you should see `active (running)` as a status of the service. + +If not, open the config file again and check for mistakes. Press `q` to exit the log mode. diff --git a/docs/l10n/af/guide/usage.md b/docs/l10n/af/guide/usage.md index d0ccab5e..e65294df 100644 --- a/docs/l10n/af/guide/usage.md +++ b/docs/l10n/af/guide/usage.md @@ -236,7 +236,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q - **Description:** - Allows you to list and unload a specific bot or all bots. Useful when debugging and developing scripts. + Allows you to list and unload a specific bot or all bots. + + Useful when debugging and developing scripts. - **Usage:** @@ -404,7 +406,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q Allows you to execute a command if a specific condition is met. - The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. + The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. + + The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. Also the instance of MCC is available with `MCC.`. diff --git a/docs/l10n/ar/guide/README.md b/docs/l10n/ar/guide/README.md index 2a306e9d..a8debfb5 100644 --- a/docs/l10n/ar/guide/README.md +++ b/docs/l10n/ar/guide/README.md @@ -150,14 +150,26 @@ Minecraft Console Client also borrows code from the following libraries: ## Disclaimer -Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. +Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. -Also, remember that when you connect to a server with this program, you will appear where you left the last time. This means that **you can die if you log in in an unsafe place on a survival server!** Use the script scheduler bot to send a teleport command after logging in. +This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. + +Also, remember that when you connect to a server with this program, you will appear where you left the last time. + +This means that **you can die if you log in in an unsafe place on a survival server!** + +Use the script scheduler bot to send a teleport command after logging in. We remind you that **you may get banned** by your server for using this program. Use accordingly with server rules. ## License -Minecraft Console Client is a totally free of charge, open source project. The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) +Minecraft Console Client is a totally free of charge, open source project. -Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) +The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) + +Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. + +More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) + +Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) diff --git a/docs/l10n/ar/guide/chat-bots.md b/docs/l10n/ar/guide/chat-bots.md index 47f53a1c..776b3892 100644 --- a/docs/l10n/ar/guide/chat-bots.md +++ b/docs/l10n/ar/guide/chat-bots.md @@ -67,6 +67,7 @@ - **Default:** `false` + #### `Beep_Enabled`

Tip

@@ -84,6 +85,7 @@ - **Default:** `true` + #### `Trigger_By_Words` - **Description:** @@ -97,6 +99,7 @@ - **Default:** `false` + #### `Trigger_By_Rain` - **Description:** @@ -110,6 +113,7 @@ - **Default:** `false` + #### `Trigger_By_Thunderstorm` - **Description:** @@ -123,6 +127,7 @@ - **Default:** `false` + #### `Log_To_File` - **Description:** @@ -136,6 +141,7 @@ - **Default:** `false` + #### `Log_File` - **Description:** @@ -147,6 +153,7 @@ - **Default:** `"alerts-log.txt"` + #### `Matches` - **Description:** @@ -162,6 +169,7 @@ ``` + #### `Excludes` - **Description:** @@ -199,6 +207,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -214,6 +223,7 @@ - **Default:** `{ min = 60.0, max = 60.0 }` + #### `Command` - **Description:** @@ -225,6 +235,7 @@ - **Default:** `/ping` + #### `Use_Sneak` - **Description:** @@ -236,20 +247,21 @@ - **Default:** `false` + #### `Use_Terrain_Handling` +

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)** + +
+ - **Description:** 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. -

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`. - **Type:** `boolean` @@ -257,6 +269,7 @@ - **Default:** `false` + #### `Walk_Range` - **Description:** @@ -268,32 +281,33 @@ - **Default:** `5` + #### `Walk_Retries` +

Tip

+ + **This happens on each trigger of the task, so it does not permanently switch to alternative method.** + +
+ - **Description:** 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. -

Tip

- - **This happens on each trigger of the task, so it does not permanently switch to alternative method.** - -
- - **Default:** `20` ## Auto Attack +

Tip

+ +**You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** + +
+ - **Description:** Automatically attacks mobs around you, you can configure it to attack both hostile and passive mobs and only certain mobs or all mobs. -

Tip

- - **You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** - -
- - **Settings:** **Section:** **`ChatBot. AutoAttack`** @@ -311,6 +325,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -330,6 +345,7 @@ - **Default:** `single` + #### `Priority` - **Description:** @@ -344,6 +360,7 @@ - **Default:** `distance` + #### `Cooldown_Time` - **Description:** @@ -363,6 +380,7 @@ - **Default:** `{ Custom = false, value = 1.0 }` + #### `Interaction` - **Description:** @@ -386,6 +404,7 @@ - **Default:** `Attack` + #### `Attack_Hostile` - **Description:** @@ -399,6 +418,7 @@ - **Default:** `true` + #### `Attack_Passive` - **Description:** @@ -412,6 +432,7 @@ - **Default:** `false` + #### `List_Mode` - **Description:** @@ -425,6 +446,7 @@ - **Default:** `whitelist` + #### `Entites_List` - **Description:** @@ -443,16 +465,16 @@ ## Auto Craft +

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.** + +
+ - **Description:** Automatically craft items in your inventory or in a 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:** - `/autocraft list` @@ -476,6 +498,7 @@ **Section:** **`ChatBot. AutoCraft`** + #### `Enabled` - **Description:** @@ -489,6 +512,7 @@ - **Default:** `false` + #### `CraftingTable` - **Description:** @@ -512,6 +536,7 @@ ``` + #### `OnFailure` - **Description:** @@ -527,8 +552,15 @@ - **Default:** `abort` + ### Defining a recipe +

Tip

+ + **If you're using `table` you need to set the `CraftingTable` setting.** + +
+ The recipes are defines as a separate new sub-section `[[ChatBot. AutoCraft. Recipes]]` of the `[ChatBot. AutoCraft]` section. The `[[ChatBot. AutoCraft. Recipes]]` section needs to contain the following settings: @@ -543,12 +575,6 @@ **Avaliable values:** `player` and `table` -

Tip

- - **If you're using `table` you need to set the `CraftingTable` setting.** - -
- - `Result` This is the type of resulting item. @@ -569,17 +595,6 @@ Slots = [ "", "", ... ] ``` -

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", ]`** - -
- -

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:** @@ -625,6 +640,10 @@

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", ]`** + + **All item types can be found [here](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/Inventory/ItemType.cs).** + **Make sure to provide materials for your bot by placing them in inventory first.**
@@ -658,6 +677,7 @@ **Section:** **`ChatBot. AutoDig`** + #### `Enabled` - **Description:** @@ -671,6 +691,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -696,6 +717,7 @@ - **Default:** `lookat` + #### `Locations` - **Description:** @@ -722,6 +744,7 @@ ``` + #### `Location_Order` - **Description:** @@ -743,6 +766,7 @@ - **Default:** `distance` + #### `Auto_Start_Delay` - **Description:** @@ -756,6 +780,7 @@ - **Default:** `3.0` + #### `Dig_Timeout` - **Description:** @@ -767,6 +792,7 @@ - **Default:** `60.0` + #### `Log_Block_Dig` - **Description:** @@ -780,6 +806,7 @@ - **Default:** `true` + #### `List_Type` - **Description:** @@ -793,6 +820,7 @@ - **Default:** `whitelist` + #### `Blocks` - **Description:** @@ -838,6 +866,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -865,6 +894,7 @@ - **Default:** `include` + #### `Items` - **Description:** @@ -914,6 +944,7 @@ - **Default:** `false` + #### `Threshold` - **Description:** @@ -966,6 +997,7 @@ **Section:** **`ChatBot. AutoFishing`** + #### `Enabled` - **Description:** @@ -979,6 +1011,7 @@ - **Default:** `false` + #### `Antidespawn` - **Description:** @@ -992,6 +1025,7 @@ - **Default:** `false` + #### `Mainhand` - **Description:** @@ -1008,6 +1042,7 @@ - **Default:** `true` + #### `Auto_Start` - **Description:** @@ -1021,6 +1056,7 @@ - **Default:** `true` + #### `Cast_Delay` - **Description:** @@ -1032,6 +1068,7 @@ - **Default:** `0.4` + #### `Fishing_Delay` - **Description:** @@ -1045,6 +1082,7 @@ - **Default:** `3.0` + #### `Fishing_Timeout` - **Description:** @@ -1056,6 +1094,7 @@ - **Default:** `300.0` + #### `Durability_Limit` - **Description:** @@ -1069,6 +1108,7 @@ - **Default:** `2` + #### `Auto_Rod_Switch` - **Description:** @@ -1082,6 +1122,7 @@ - **Default:** `true` + #### `Stationary_Threshold` - **Description:** @@ -1099,6 +1140,7 @@ - **Default:** `0.001` + #### `Hook_Threshold` - **Description:** @@ -1114,6 +1156,7 @@ - **Default:** `0.2` + #### `Log_Fish_Bobber` - **Description:** @@ -1129,6 +1172,7 @@ - **Default:** `false` + #### `Enable_Move` - **Description:** @@ -1144,6 +1188,7 @@ - **Default:** `false` + ### Adding a position/movement Each position/movement is added as a new `[[ChatBot. AutoFishing. Movements]]` subsection of `[ChatBot. AutoFishing]`. @@ -1185,6 +1230,7 @@ ``` + #### Full example ```toml @@ -1219,6 +1265,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -1236,6 +1283,7 @@ - **Default:** `{ min = 3.0, max = 3.0 }` + #### `Retries` - **Description:** @@ -1253,6 +1301,7 @@ - **Default:** `-1` + #### `Ignore_Kick_Message` - **Description:** @@ -1264,6 +1313,7 @@ - **Default:** `false` + #### `Kick_Messages` - **Description:** @@ -1311,6 +1361,7 @@ - **Default:** `false` + #### `Matches_File` - **Description:** @@ -1332,6 +1383,7 @@ - **Default:** `matches.ini` + #### `Match_Colors` - **Description:** @@ -1373,6 +1425,7 @@ - **Default:** `false` + #### `Add_DateTime` - **Description:** @@ -1384,6 +1437,7 @@ - **Default:** `true` + #### `Log_File` - **Description:** @@ -1393,6 +1447,7 @@ - **Default:** `chatlog-%username%-%serverip%.txt` + #### `Filter` - **Description:** @@ -1458,6 +1513,7 @@ - **Default:** `false` + #### `Update_Limit` - **Description:** @@ -1471,6 +1527,7 @@ - **Default:** `1.5` + #### `Stop_At_Distance` - **Description:** @@ -1512,6 +1569,7 @@ - **Default:** `false` + #### `English` - **Description:** @@ -1523,6 +1581,7 @@ - **Default:** `true` + #### `FileWords_EN` - **Description:** @@ -1539,6 +1598,7 @@ - **Example**: [`words-en.txt`](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/config/hangman-en.txt) + #### `FileWords_FR` - **Description:** @@ -1610,6 +1670,7 @@ **Section:** **`ChatBot. Mailer`** + #### `Enabled` - **Description:** @@ -1623,6 +1684,7 @@ - **Default:** `false` + #### `DatabaseFile` - **Description:** @@ -1634,6 +1696,7 @@ - **Default:** `MailerDatabase.ini` + #### `IgnoreListFile` - **Description:** @@ -1645,6 +1708,7 @@ - **Default:** `MailerIgnoreList.ini` + #### `PublicInteractions` - **Description:** @@ -1658,6 +1722,7 @@ - **Default:** `false` + #### `MaxMailsPerPlayer` - **Description:** @@ -1669,6 +1734,7 @@ - **Default:** `10` + #### `MaxDatabaseSize` - **Description:** @@ -1680,6 +1746,7 @@ - **Default:** `10000` (10 MB) + #### `MailRetentionDays` - **Description:** @@ -1733,6 +1800,7 @@ - **Default:** `false` + #### `Should_Resize` - **Description:** @@ -1760,6 +1828,7 @@ - **Default:** `false` + #### `Resize_To` - **Description:** @@ -1771,6 +1840,7 @@ - **Default:** `256` + #### `Auto_Render_On_Update` - **Description:** @@ -1790,6 +1860,7 @@ - **Default:** `false` + #### `Delete_All_On_Unload` - **Description:** @@ -1803,6 +1874,7 @@ - **Default:** `true` + #### `Notify_On_First_Update` - **Description:** @@ -1835,6 +1907,7 @@ - **Default:** `false` + #### `File` - **Description:** @@ -1844,6 +1917,7 @@ - **Default:** `playerlog.txt` + #### `Delay` - **Description:** @@ -1885,6 +1959,7 @@ - **Default:** `false` + #### `AutoTpaccept` - **Description:** @@ -1898,6 +1973,7 @@ - **Default:** `true` + #### `AutoTpaccept_Everyone` - **Description:** @@ -1951,6 +2027,7 @@ - **Default:** `false` + #### `Backup_Interval` - **Description:** @@ -1986,6 +2063,7 @@ - **Default:** `false` + ### Defining a task - **Description:** @@ -2061,6 +2139,7 @@ ``` + ### Full example ```toml diff --git a/docs/l10n/ar/guide/configuration.md b/docs/l10n/ar/guide/configuration.md index 40234585..19e3e254 100644 --- a/docs/l10n/ar/guide/configuration.md +++ b/docs/l10n/ar/guide/configuration.md @@ -144,7 +144,7 @@ Coordinate = { x = 145, y = 64, y = 2045 } This setting is where you define which language you want to use. - When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages. These files describe how some messages should be printed depending on your preferred language. + When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages.These files describe how some messages should be printed depending on your preferred language. The client will automatically load `en_GB.lang` from your Minecraft folder if Minecraft is installed on your computer, or download it from Mojang's servers. You may choose another language in the configuration file. @@ -465,7 +465,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Use `no`, `fast` (5s timeout), or `yes`. Required for joining some servers. + Use `no`, `fast` (5s timeout), or `yes`. + + Required for joining some servers. - **Type:** `string` @@ -648,7 +650,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Affects only Minecraft 1.19+. This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. + Affects only Minecraft 1.19+. + + This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. #### `LoginWithSecureProfile` @@ -674,7 +678,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Whether to sign the messages contained in the commands sent by the MCC. For example, the message in `/msg` and `/me` + Whether to sign the messages contained in the commands sent by the MCC. + + For example, the message in `/msg` and `/me` - **Type:** `boolean` @@ -768,7 +774,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - This setting allows you to define if your want to see info messages. Most of the messages from MCC. + This setting allows you to define if your want to see info messages. + + Most of the messages from MCC. - **Type:** `boolean` @@ -955,7 +963,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - The proxy server IP and port. Proxy server must allow HTTPS for login, and non-443 ports for playing. + The proxy server IP and port. + + Proxy server must allow HTTPS for login, and non-443 ports for playing. - **Format:** diff --git a/docs/l10n/ar/guide/creating-bots.md b/docs/l10n/ar/guide/creating-bots.md index 33c02a9a..94ba592d 100644 --- a/docs/l10n/ar/guide/creating-bots.md +++ b/docs/l10n/ar/guide/creating-bots.md @@ -99,7 +99,9 @@ Chat Bot (Script) structure is the following: ``` -**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. Every single Chat Bot (Script) must have this section at the beginning in order to work. +**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. + +Every single Chat Bot (Script) must have this section at the beginning in order to work. ### Script Metadata Format @@ -165,7 +167,9 @@ After the end of the **Script Metadata** section, you basically can define any n 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.. +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..

Tip

diff --git a/docs/l10n/ar/guide/installation.md b/docs/l10n/ar/guide/installation.md index 256241f6..92f61049 100644 --- a/docs/l10n/ar/guide/installation.md +++ b/docs/l10n/ar/guide/installation.md @@ -190,7 +190,11 @@ docker build -t minecraft-console-client:latest . docker run -it -v :/opt/data minecraft-console-client:latest ``` -Now you could login and the Client is running. To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. To reattach use the `docker attach` command. +Now you could login and the Client is running. + +To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. + +To reattach use the `docker attach` command. **Start the container using docker-compose:** @@ -222,7 +226,9 @@ docker-compose up docker-compose up -d #for deamonized running in the background ``` -Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. As above, you can stop and remove the container using +Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. + +As above, you can stop and remove the container using ```bash docker-compose down @@ -313,7 +319,9 @@ Once the script has downloaded, run it with: bash ubuntu.sh ``` -Then you will be asked a question, enter `Y` and press `Enter`. Once the installation is complete, you can start Ubuntu with: +Then you will be asked a question, enter `Y` and press `Enter`. + +Once the installation is complete, you can start Ubuntu with: ```bash ./startubuntu.sh @@ -499,7 +507,9 @@ To stop MCC from running you can press `CTRL + C` To edit the configuration/settings, you need a text editor, we recommend Nano, as it's very simple to use, if you have followed the installation steps above, you should be familiar with it, if not, check out [this tutorial](https://www.youtube.com/watch?v=DLeATFgGM-A). -For downloading files, you can use the `wget` file we have installed, simply run: `wget your_link_here` (you have examples above, and a video tutorial down bellow). +For downloading files, you can use the `wget` file we have installed, simply run: + +`wget your_link_here` (you have examples above, and a video tutorial down bellow). Also, here are some linux tutorials for people who are new to it: @@ -644,7 +654,9 @@ You also may want to search for better deals.
-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). +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 @@ -862,7 +874,11 @@ Make a new empty file named `authorized_keys`: touch authorized_keys ``` -Do no close the Git bash/Terminal emulator. On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). +Do no close the Git bash/Terminal emulator. + +On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. + +Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). Type the following command: @@ -940,7 +956,9 @@ Let's check if everything is working correctly: sudo systemctl status sshd ``` -If everything has been configured as it should be you should see `active (running)` as a status of the service. If not, open the config file again and check for mistakes. +If everything has been configured as it should be you should see `active (running)` as a status of the service. + +If not, open the config file again and check for mistakes. Press `q` to exit the log mode. diff --git a/docs/l10n/ar/guide/usage.md b/docs/l10n/ar/guide/usage.md index c5c168cd..a6057046 100644 --- a/docs/l10n/ar/guide/usage.md +++ b/docs/l10n/ar/guide/usage.md @@ -236,7 +236,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q - **Description:** - Allows you to list and unload a specific bot or all bots. Useful when debugging and developing scripts. + Allows you to list and unload a specific bot or all bots. + + Useful when debugging and developing scripts. - **Usage:** @@ -404,7 +406,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q Allows you to execute a command if a specific condition is met. - The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. + The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. + + The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. Also the instance of MCC is available with `MCC.`. diff --git a/docs/l10n/ca/guide/README.md b/docs/l10n/ca/guide/README.md index 81e1aee3..ce5a9b7c 100644 --- a/docs/l10n/ca/guide/README.md +++ b/docs/l10n/ca/guide/README.md @@ -150,14 +150,26 @@ Minecraft Console Client also borrows code from the following libraries: ## Disclaimer -Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. +Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. -Also, remember that when you connect to a server with this program, you will appear where you left the last time. This means that **you can die if you log in in an unsafe place on a survival server!** Use the script scheduler bot to send a teleport command after logging in. +This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. + +Also, remember that when you connect to a server with this program, you will appear where you left the last time. + +This means that **you can die if you log in in an unsafe place on a survival server!** + +Use the script scheduler bot to send a teleport command after logging in. We remind you that **you may get banned** by your server for using this program. Use accordingly with server rules. ## License -Minecraft Console Client is a totally free of charge, open source project. The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) +Minecraft Console Client is a totally free of charge, open source project. -Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) +The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) + +Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. + +More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) + +Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) diff --git a/docs/l10n/ca/guide/chat-bots.md b/docs/l10n/ca/guide/chat-bots.md index c67efc3d..64b6a790 100644 --- a/docs/l10n/ca/guide/chat-bots.md +++ b/docs/l10n/ca/guide/chat-bots.md @@ -67,6 +67,7 @@ - **Default:** `false` + #### `Beep_Enabled`

Tip

@@ -84,6 +85,7 @@ - **Default:** `true` + #### `Trigger_By_Words` - **Description:** @@ -97,6 +99,7 @@ - **Default:** `false` + #### `Trigger_By_Rain` - **Description:** @@ -110,6 +113,7 @@ - **Default:** `false` + #### `Trigger_By_Thunderstorm` - **Description:** @@ -123,6 +127,7 @@ - **Default:** `false` + #### `Log_To_File` - **Description:** @@ -136,6 +141,7 @@ - **Default:** `false` + #### `Log_File` - **Description:** @@ -147,6 +153,7 @@ - **Default:** `"alerts-log.txt"` + #### `Matches` - **Description:** @@ -162,6 +169,7 @@ ``` + #### `Excludes` - **Description:** @@ -199,6 +207,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -214,6 +223,7 @@ - **Default:** `{ min = 60.0, max = 60.0 }` + #### `Command` - **Description:** @@ -225,6 +235,7 @@ - **Default:** `/ping` + #### `Use_Sneak` - **Description:** @@ -236,20 +247,21 @@ - **Default:** `false` + #### `Use_Terrain_Handling` +

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)** + +
+ - **Description:** 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. -

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`. - **Type:** `boolean` @@ -257,6 +269,7 @@ - **Default:** `false` + #### `Walk_Range` - **Description:** @@ -268,32 +281,33 @@ - **Default:** `5` + #### `Walk_Retries` +

Tip

+ + **This happens on each trigger of the task, so it does not permanently switch to alternative method.** + +
+ - **Description:** 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. -

Tip

- - **This happens on each trigger of the task, so it does not permanently switch to alternative method.** - -
- - **Default:** `20` ## Auto Attack +

Tip

+ +**You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** + +
+ - **Description:** Automatically attacks mobs around you, you can configure it to attack both hostile and passive mobs and only certain mobs or all mobs. -

Tip

- - **You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** - -
- - **Settings:** **Section:** **`ChatBot.AutoAttack`** @@ -311,6 +325,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -330,6 +345,7 @@ - **Default:** `single` + #### `Priority` - **Description:** @@ -344,6 +360,7 @@ - **Default:** `distance` + #### `Cooldown_Time` - **Description:** @@ -363,6 +380,7 @@ - **Default:** `{ Custom = false, value = 1.0 }` + #### `Interaction` - **Description:** @@ -386,6 +404,7 @@ - **Default:** `Attack` + #### `Attack_Hostile` - **Description:** @@ -399,6 +418,7 @@ - **Default:** `true` + #### `Attack_Passive` - **Description:** @@ -412,6 +432,7 @@ - **Default:** `false` + #### `List_Mode` - **Description:** @@ -425,6 +446,7 @@ - **Default:** `whitelist` + #### `Entites_List` - **Description:** @@ -443,16 +465,16 @@ ## Auto Craft +

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.** + +
+ - **Description:** Automatically craft items in your inventory or in a 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:** - `/autocraft list` @@ -476,6 +498,7 @@ **Section:** **`ChatBot.AutoCraft`** + #### `Enabled` - **Description:** @@ -489,6 +512,7 @@ - **Default:** `false` + #### `CraftingTable` - **Description:** @@ -512,6 +536,7 @@ ``` + #### `OnFailure` - **Description:** @@ -527,8 +552,15 @@ - **Default:** `abort` + ### Defining a recipe +

Tip

+ + **If you're using `table` you need to set the `CraftingTable` setting.** + +
+ The recipes are defines as a separate new sub-section `[[ChatBot.AutoCraft.Recipes]]` of the `[ChatBot.AutoCraft]` section. The `[[ChatBot.AutoCraft.Recipes]]` section needs to contain the following settings: @@ -543,12 +575,6 @@ **Avaliable values:** `player` and `table` -

Tip

- - **If you're using `table` you need to set the `CraftingTable` setting.** - -
- - `Result` This is the type of resulting item. @@ -569,17 +595,6 @@ Slots = [ "", "", ... ] ``` -

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", ]`** - -
- -

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:** @@ -625,6 +640,10 @@

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", ]`** + + **All item types can be found [here](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/Inventory/ItemType.cs).** + **Make sure to provide materials for your bot by placing them in inventory first.**
@@ -658,6 +677,7 @@ **Section:** **`ChatBot.AutoDig`** + #### `Enabled` - **Description:** @@ -671,6 +691,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -696,6 +717,7 @@ - **Default:** `lookat` + #### `Locations` - **Description:** @@ -722,6 +744,7 @@ ``` + #### `Location_Order` - **Description:** @@ -743,6 +766,7 @@ - **Default:** `distance` + #### `Auto_Start_Delay` - **Description:** @@ -756,6 +780,7 @@ - **Default:** `3.0` + #### `Dig_Timeout` - **Description:** @@ -767,6 +792,7 @@ - **Default:** `60.0` + #### `Log_Block_Dig` - **Description:** @@ -780,6 +806,7 @@ - **Default:** `true` + #### `List_Type` - **Description:** @@ -793,6 +820,7 @@ - **Default:** `whitelist` + #### `Blocks` - **Description:** @@ -838,6 +866,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -865,6 +894,7 @@ - **Default:** `include` + #### `Items` - **Description:** @@ -914,6 +944,7 @@ - **Default:** `false` + #### `Threshold` - **Description:** @@ -966,6 +997,7 @@ **Section:** **`ChatBot.AutoFishing`** + #### `Enabled` - **Description:** @@ -979,6 +1011,7 @@ - **Default:** `false` + #### `Antidespawn` - **Description:** @@ -992,6 +1025,7 @@ - **Default:** `false` + #### `Mainhand` - **Description:** @@ -1008,6 +1042,7 @@ - **Default:** `true` + #### `Auto_Start` - **Description:** @@ -1021,6 +1056,7 @@ - **Default:** `true` + #### `Cast_Delay` - **Description:** @@ -1032,6 +1068,7 @@ - **Default:** `0.4` + #### `Fishing_Delay` - **Description:** @@ -1045,6 +1082,7 @@ - **Default:** `3.0` + #### `Fishing_Timeout` - **Description:** @@ -1056,6 +1094,7 @@ - **Default:** `300.0` + #### `Durability_Limit` - **Description:** @@ -1069,6 +1108,7 @@ - **Default:** `2` + #### `Auto_Rod_Switch` - **Description:** @@ -1082,6 +1122,7 @@ - **Default:** `true` + #### `Stationary_Threshold` - **Description:** @@ -1099,6 +1140,7 @@ - **Default:** `0.001` + #### `Hook_Threshold` - **Description:** @@ -1114,6 +1156,7 @@ - **Default:** `0.2` + #### `Log_Fish_Bobber` - **Description:** @@ -1129,6 +1172,7 @@ - **Default:** `false` + #### `Enable_Move` - **Description:** @@ -1144,6 +1188,7 @@ - **Default:** `false` + ### Adding a position/movement Each position/movement is added as a new `[[ChatBot.AutoFishing.Movements]]` subsection of `[ChatBot.AutoFishing]`. @@ -1185,6 +1230,7 @@ ``` + #### Full example ```toml @@ -1219,6 +1265,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -1236,6 +1283,7 @@ - **Default:** `{ min = 3.0, max = 3.0 }` + #### `Retries` - **Description:** @@ -1253,6 +1301,7 @@ - **Default:** `-1` + #### `Ignore_Kick_Message` - **Description:** @@ -1264,6 +1313,7 @@ - **Default:** `false` + #### `Kick_Messages` - **Description:** @@ -1311,6 +1361,7 @@ - **Default:** `false` + #### `Matches_File` - **Description:** @@ -1332,6 +1383,7 @@ - **Default:** `matches.ini` + #### `Match_Colors` - **Description:** @@ -1373,6 +1425,7 @@ - **Default:** `false` + #### `Add_DateTime` - **Description:** @@ -1384,6 +1437,7 @@ - **Default:** `true` + #### `Log_File` - **Description:** @@ -1393,6 +1447,7 @@ - **Default:** `chatlog-%username%-%serverip%.txt` + #### `Filter` - **Description:** @@ -1458,6 +1513,7 @@ - **Default:** `false` + #### `Update_Limit` - **Description:** @@ -1471,6 +1527,7 @@ - **Default:** `1.5` + #### `Stop_At_Distance` - **Description:** @@ -1512,6 +1569,7 @@ - **Default:** `false` + #### `English` - **Description:** @@ -1523,6 +1581,7 @@ - **Default:** `true` + #### `FileWords_EN` - **Description:** @@ -1539,6 +1598,7 @@ - **Example**: [`words-en.txt`](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/config/hangman-en.txt) + #### `FileWords_FR` - **Description:** @@ -1610,6 +1670,7 @@ **Section:** **`ChatBot.Mailer`** + #### `Enabled` - **Description:** @@ -1623,6 +1684,7 @@ - **Default:** `false` + #### `DatabaseFile` - **Description:** @@ -1634,6 +1696,7 @@ - **Default:** `MailerDatabase.ini` + #### `IgnoreListFile` - **Description:** @@ -1645,6 +1708,7 @@ - **Default:** `MailerIgnoreList.ini` + #### `PublicInteractions` - **Description:** @@ -1658,6 +1722,7 @@ - **Default:** `false` + #### `MaxMailsPerPlayer` - **Description:** @@ -1669,6 +1734,7 @@ - **Default:** `10` + #### `MaxDatabaseSize` - **Description:** @@ -1680,6 +1746,7 @@ - **Default:** `10000` (10 MB) + #### `MailRetentionDays` - **Description:** @@ -1733,6 +1800,7 @@ - **Default:** `false` + #### `Should_Resize` - **Description:** @@ -1760,6 +1828,7 @@ - **Default:** `false` + #### `Resize_To` - **Description:** @@ -1771,6 +1840,7 @@ - **Default:** `256` + #### `Auto_Render_On_Update` - **Description:** @@ -1790,6 +1860,7 @@ - **Default:** `false` + #### `Delete_All_On_Unload` - **Description:** @@ -1803,6 +1874,7 @@ - **Default:** `true` + #### `Notify_On_First_Update` - **Description:** @@ -1835,6 +1907,7 @@ - **Default:** `false` + #### `File` - **Description:** @@ -1844,6 +1917,7 @@ - **Default:** `playerlog.txt` + #### `Delay` - **Description:** @@ -1885,6 +1959,7 @@ - **Default:** `false` + #### `AutoTpaccept` - **Description:** @@ -1898,6 +1973,7 @@ - **Default:** `true` + #### `AutoTpaccept_Everyone` - **Description:** @@ -1951,6 +2027,7 @@ - **Default:** `false` + #### `Backup_Interval` - **Description:** @@ -1986,6 +2063,7 @@ - **Default:** `false` + ### Defining a task - **Description:** @@ -2061,6 +2139,7 @@ ``` + ### Full example ```toml diff --git a/docs/l10n/ca/guide/configuration.md b/docs/l10n/ca/guide/configuration.md index 30dd9cd6..71a5ed16 100644 --- a/docs/l10n/ca/guide/configuration.md +++ b/docs/l10n/ca/guide/configuration.md @@ -144,7 +144,7 @@ Coordinate = { x = 145, y = 64, y = 2045 } This setting is where you define which language you want to use. - When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages. These files describe how some messages should be printed depending on your preferred language. + When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages.These files describe how some messages should be printed depending on your preferred language. The client will automatically load `en_GB.lang` from your Minecraft folder if Minecraft is installed on your computer, or download it from Mojang's servers. You may choose another language in the configuration file. @@ -465,7 +465,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Use `no`, `fast` (5s timeout), or `yes`. Required for joining some servers. + Use `no`, `fast` (5s timeout), or `yes`. + + Required for joining some servers. - **Type:** `string` @@ -648,7 +650,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Affects only Minecraft 1.19+. This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. + Affects only Minecraft 1.19+. + + This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. #### `LoginWithSecureProfile` @@ -674,7 +678,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Whether to sign the messages contained in the commands sent by the MCC. For example, the message in `/msg` and `/me` + Whether to sign the messages contained in the commands sent by the MCC. + + For example, the message in `/msg` and `/me` - **Type:** `boolean` @@ -768,7 +774,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - This setting allows you to define if your want to see info messages. Most of the messages from MCC. + This setting allows you to define if your want to see info messages. + + Most of the messages from MCC. - **Type:** `boolean` @@ -955,7 +963,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - The proxy server IP and port. Proxy server must allow HTTPS for login, and non-443 ports for playing. + The proxy server IP and port. + + Proxy server must allow HTTPS for login, and non-443 ports for playing. - **Format:** diff --git a/docs/l10n/ca/guide/creating-bots.md b/docs/l10n/ca/guide/creating-bots.md index 9e46df68..bc5e2d77 100644 --- a/docs/l10n/ca/guide/creating-bots.md +++ b/docs/l10n/ca/guide/creating-bots.md @@ -99,7 +99,9 @@ Chat Bot (Script) structure is the following: ``` -**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. Every single Chat Bot (Script) must have this section at the beginning in order to work. +**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. + +Every single Chat Bot (Script) must have this section at the beginning in order to work. ### Script Metadata Format @@ -165,7 +167,9 @@ After the end of the **Script Metadata** section, you basically can define any n 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.. +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..

Tip

diff --git a/docs/l10n/ca/guide/installation.md b/docs/l10n/ca/guide/installation.md index 256241f6..92f61049 100644 --- a/docs/l10n/ca/guide/installation.md +++ b/docs/l10n/ca/guide/installation.md @@ -190,7 +190,11 @@ docker build -t minecraft-console-client:latest . docker run -it -v :/opt/data minecraft-console-client:latest ``` -Now you could login and the Client is running. To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. To reattach use the `docker attach` command. +Now you could login and the Client is running. + +To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. + +To reattach use the `docker attach` command. **Start the container using docker-compose:** @@ -222,7 +226,9 @@ docker-compose up docker-compose up -d #for deamonized running in the background ``` -Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. As above, you can stop and remove the container using +Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. + +As above, you can stop and remove the container using ```bash docker-compose down @@ -313,7 +319,9 @@ Once the script has downloaded, run it with: bash ubuntu.sh ``` -Then you will be asked a question, enter `Y` and press `Enter`. Once the installation is complete, you can start Ubuntu with: +Then you will be asked a question, enter `Y` and press `Enter`. + +Once the installation is complete, you can start Ubuntu with: ```bash ./startubuntu.sh @@ -499,7 +507,9 @@ To stop MCC from running you can press `CTRL + C` To edit the configuration/settings, you need a text editor, we recommend Nano, as it's very simple to use, if you have followed the installation steps above, you should be familiar with it, if not, check out [this tutorial](https://www.youtube.com/watch?v=DLeATFgGM-A). -For downloading files, you can use the `wget` file we have installed, simply run: `wget your_link_here` (you have examples above, and a video tutorial down bellow). +For downloading files, you can use the `wget` file we have installed, simply run: + +`wget your_link_here` (you have examples above, and a video tutorial down bellow). Also, here are some linux tutorials for people who are new to it: @@ -644,7 +654,9 @@ You also may want to search for better deals.
-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). +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 @@ -862,7 +874,11 @@ Make a new empty file named `authorized_keys`: touch authorized_keys ``` -Do no close the Git bash/Terminal emulator. On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). +Do no close the Git bash/Terminal emulator. + +On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. + +Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). Type the following command: @@ -940,7 +956,9 @@ Let's check if everything is working correctly: sudo systemctl status sshd ``` -If everything has been configured as it should be you should see `active (running)` as a status of the service. If not, open the config file again and check for mistakes. +If everything has been configured as it should be you should see `active (running)` as a status of the service. + +If not, open the config file again and check for mistakes. Press `q` to exit the log mode. diff --git a/docs/l10n/ca/guide/usage.md b/docs/l10n/ca/guide/usage.md index d0ccab5e..e65294df 100644 --- a/docs/l10n/ca/guide/usage.md +++ b/docs/l10n/ca/guide/usage.md @@ -236,7 +236,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q - **Description:** - Allows you to list and unload a specific bot or all bots. Useful when debugging and developing scripts. + Allows you to list and unload a specific bot or all bots. + + Useful when debugging and developing scripts. - **Usage:** @@ -404,7 +406,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q Allows you to execute a command if a specific condition is met. - The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. + The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. + + The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. Also the instance of MCC is available with `MCC.`. diff --git a/docs/l10n/cs/guide/README.md b/docs/l10n/cs/guide/README.md index 81e1aee3..ce5a9b7c 100644 --- a/docs/l10n/cs/guide/README.md +++ b/docs/l10n/cs/guide/README.md @@ -150,14 +150,26 @@ Minecraft Console Client also borrows code from the following libraries: ## Disclaimer -Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. +Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. -Also, remember that when you connect to a server with this program, you will appear where you left the last time. This means that **you can die if you log in in an unsafe place on a survival server!** Use the script scheduler bot to send a teleport command after logging in. +This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. + +Also, remember that when you connect to a server with this program, you will appear where you left the last time. + +This means that **you can die if you log in in an unsafe place on a survival server!** + +Use the script scheduler bot to send a teleport command after logging in. We remind you that **you may get banned** by your server for using this program. Use accordingly with server rules. ## License -Minecraft Console Client is a totally free of charge, open source project. The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) +Minecraft Console Client is a totally free of charge, open source project. -Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) +The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) + +Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. + +More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) + +Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) diff --git a/docs/l10n/cs/guide/chat-bots.md b/docs/l10n/cs/guide/chat-bots.md index c67efc3d..64b6a790 100644 --- a/docs/l10n/cs/guide/chat-bots.md +++ b/docs/l10n/cs/guide/chat-bots.md @@ -67,6 +67,7 @@ - **Default:** `false` + #### `Beep_Enabled`

Tip

@@ -84,6 +85,7 @@ - **Default:** `true` + #### `Trigger_By_Words` - **Description:** @@ -97,6 +99,7 @@ - **Default:** `false` + #### `Trigger_By_Rain` - **Description:** @@ -110,6 +113,7 @@ - **Default:** `false` + #### `Trigger_By_Thunderstorm` - **Description:** @@ -123,6 +127,7 @@ - **Default:** `false` + #### `Log_To_File` - **Description:** @@ -136,6 +141,7 @@ - **Default:** `false` + #### `Log_File` - **Description:** @@ -147,6 +153,7 @@ - **Default:** `"alerts-log.txt"` + #### `Matches` - **Description:** @@ -162,6 +169,7 @@ ``` + #### `Excludes` - **Description:** @@ -199,6 +207,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -214,6 +223,7 @@ - **Default:** `{ min = 60.0, max = 60.0 }` + #### `Command` - **Description:** @@ -225,6 +235,7 @@ - **Default:** `/ping` + #### `Use_Sneak` - **Description:** @@ -236,20 +247,21 @@ - **Default:** `false` + #### `Use_Terrain_Handling` +

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)** + +
+ - **Description:** 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. -

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`. - **Type:** `boolean` @@ -257,6 +269,7 @@ - **Default:** `false` + #### `Walk_Range` - **Description:** @@ -268,32 +281,33 @@ - **Default:** `5` + #### `Walk_Retries` +

Tip

+ + **This happens on each trigger of the task, so it does not permanently switch to alternative method.** + +
+ - **Description:** 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. -

Tip

- - **This happens on each trigger of the task, so it does not permanently switch to alternative method.** - -
- - **Default:** `20` ## Auto Attack +

Tip

+ +**You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** + +
+ - **Description:** Automatically attacks mobs around you, you can configure it to attack both hostile and passive mobs and only certain mobs or all mobs. -

Tip

- - **You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** - -
- - **Settings:** **Section:** **`ChatBot.AutoAttack`** @@ -311,6 +325,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -330,6 +345,7 @@ - **Default:** `single` + #### `Priority` - **Description:** @@ -344,6 +360,7 @@ - **Default:** `distance` + #### `Cooldown_Time` - **Description:** @@ -363,6 +380,7 @@ - **Default:** `{ Custom = false, value = 1.0 }` + #### `Interaction` - **Description:** @@ -386,6 +404,7 @@ - **Default:** `Attack` + #### `Attack_Hostile` - **Description:** @@ -399,6 +418,7 @@ - **Default:** `true` + #### `Attack_Passive` - **Description:** @@ -412,6 +432,7 @@ - **Default:** `false` + #### `List_Mode` - **Description:** @@ -425,6 +446,7 @@ - **Default:** `whitelist` + #### `Entites_List` - **Description:** @@ -443,16 +465,16 @@ ## Auto Craft +

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.** + +
+ - **Description:** Automatically craft items in your inventory or in a 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:** - `/autocraft list` @@ -476,6 +498,7 @@ **Section:** **`ChatBot.AutoCraft`** + #### `Enabled` - **Description:** @@ -489,6 +512,7 @@ - **Default:** `false` + #### `CraftingTable` - **Description:** @@ -512,6 +536,7 @@ ``` + #### `OnFailure` - **Description:** @@ -527,8 +552,15 @@ - **Default:** `abort` + ### Defining a recipe +

Tip

+ + **If you're using `table` you need to set the `CraftingTable` setting.** + +
+ The recipes are defines as a separate new sub-section `[[ChatBot.AutoCraft.Recipes]]` of the `[ChatBot.AutoCraft]` section. The `[[ChatBot.AutoCraft.Recipes]]` section needs to contain the following settings: @@ -543,12 +575,6 @@ **Avaliable values:** `player` and `table` -

Tip

- - **If you're using `table` you need to set the `CraftingTable` setting.** - -
- - `Result` This is the type of resulting item. @@ -569,17 +595,6 @@ Slots = [ "", "", ... ] ``` -

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", ]`** - -
- -

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:** @@ -625,6 +640,10 @@

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", ]`** + + **All item types can be found [here](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/Inventory/ItemType.cs).** + **Make sure to provide materials for your bot by placing them in inventory first.**
@@ -658,6 +677,7 @@ **Section:** **`ChatBot.AutoDig`** + #### `Enabled` - **Description:** @@ -671,6 +691,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -696,6 +717,7 @@ - **Default:** `lookat` + #### `Locations` - **Description:** @@ -722,6 +744,7 @@ ``` + #### `Location_Order` - **Description:** @@ -743,6 +766,7 @@ - **Default:** `distance` + #### `Auto_Start_Delay` - **Description:** @@ -756,6 +780,7 @@ - **Default:** `3.0` + #### `Dig_Timeout` - **Description:** @@ -767,6 +792,7 @@ - **Default:** `60.0` + #### `Log_Block_Dig` - **Description:** @@ -780,6 +806,7 @@ - **Default:** `true` + #### `List_Type` - **Description:** @@ -793,6 +820,7 @@ - **Default:** `whitelist` + #### `Blocks` - **Description:** @@ -838,6 +866,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -865,6 +894,7 @@ - **Default:** `include` + #### `Items` - **Description:** @@ -914,6 +944,7 @@ - **Default:** `false` + #### `Threshold` - **Description:** @@ -966,6 +997,7 @@ **Section:** **`ChatBot.AutoFishing`** + #### `Enabled` - **Description:** @@ -979,6 +1011,7 @@ - **Default:** `false` + #### `Antidespawn` - **Description:** @@ -992,6 +1025,7 @@ - **Default:** `false` + #### `Mainhand` - **Description:** @@ -1008,6 +1042,7 @@ - **Default:** `true` + #### `Auto_Start` - **Description:** @@ -1021,6 +1056,7 @@ - **Default:** `true` + #### `Cast_Delay` - **Description:** @@ -1032,6 +1068,7 @@ - **Default:** `0.4` + #### `Fishing_Delay` - **Description:** @@ -1045,6 +1082,7 @@ - **Default:** `3.0` + #### `Fishing_Timeout` - **Description:** @@ -1056,6 +1094,7 @@ - **Default:** `300.0` + #### `Durability_Limit` - **Description:** @@ -1069,6 +1108,7 @@ - **Default:** `2` + #### `Auto_Rod_Switch` - **Description:** @@ -1082,6 +1122,7 @@ - **Default:** `true` + #### `Stationary_Threshold` - **Description:** @@ -1099,6 +1140,7 @@ - **Default:** `0.001` + #### `Hook_Threshold` - **Description:** @@ -1114,6 +1156,7 @@ - **Default:** `0.2` + #### `Log_Fish_Bobber` - **Description:** @@ -1129,6 +1172,7 @@ - **Default:** `false` + #### `Enable_Move` - **Description:** @@ -1144,6 +1188,7 @@ - **Default:** `false` + ### Adding a position/movement Each position/movement is added as a new `[[ChatBot.AutoFishing.Movements]]` subsection of `[ChatBot.AutoFishing]`. @@ -1185,6 +1230,7 @@ ``` + #### Full example ```toml @@ -1219,6 +1265,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -1236,6 +1283,7 @@ - **Default:** `{ min = 3.0, max = 3.0 }` + #### `Retries` - **Description:** @@ -1253,6 +1301,7 @@ - **Default:** `-1` + #### `Ignore_Kick_Message` - **Description:** @@ -1264,6 +1313,7 @@ - **Default:** `false` + #### `Kick_Messages` - **Description:** @@ -1311,6 +1361,7 @@ - **Default:** `false` + #### `Matches_File` - **Description:** @@ -1332,6 +1383,7 @@ - **Default:** `matches.ini` + #### `Match_Colors` - **Description:** @@ -1373,6 +1425,7 @@ - **Default:** `false` + #### `Add_DateTime` - **Description:** @@ -1384,6 +1437,7 @@ - **Default:** `true` + #### `Log_File` - **Description:** @@ -1393,6 +1447,7 @@ - **Default:** `chatlog-%username%-%serverip%.txt` + #### `Filter` - **Description:** @@ -1458,6 +1513,7 @@ - **Default:** `false` + #### `Update_Limit` - **Description:** @@ -1471,6 +1527,7 @@ - **Default:** `1.5` + #### `Stop_At_Distance` - **Description:** @@ -1512,6 +1569,7 @@ - **Default:** `false` + #### `English` - **Description:** @@ -1523,6 +1581,7 @@ - **Default:** `true` + #### `FileWords_EN` - **Description:** @@ -1539,6 +1598,7 @@ - **Example**: [`words-en.txt`](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/config/hangman-en.txt) + #### `FileWords_FR` - **Description:** @@ -1610,6 +1670,7 @@ **Section:** **`ChatBot.Mailer`** + #### `Enabled` - **Description:** @@ -1623,6 +1684,7 @@ - **Default:** `false` + #### `DatabaseFile` - **Description:** @@ -1634,6 +1696,7 @@ - **Default:** `MailerDatabase.ini` + #### `IgnoreListFile` - **Description:** @@ -1645,6 +1708,7 @@ - **Default:** `MailerIgnoreList.ini` + #### `PublicInteractions` - **Description:** @@ -1658,6 +1722,7 @@ - **Default:** `false` + #### `MaxMailsPerPlayer` - **Description:** @@ -1669,6 +1734,7 @@ - **Default:** `10` + #### `MaxDatabaseSize` - **Description:** @@ -1680,6 +1746,7 @@ - **Default:** `10000` (10 MB) + #### `MailRetentionDays` - **Description:** @@ -1733,6 +1800,7 @@ - **Default:** `false` + #### `Should_Resize` - **Description:** @@ -1760,6 +1828,7 @@ - **Default:** `false` + #### `Resize_To` - **Description:** @@ -1771,6 +1840,7 @@ - **Default:** `256` + #### `Auto_Render_On_Update` - **Description:** @@ -1790,6 +1860,7 @@ - **Default:** `false` + #### `Delete_All_On_Unload` - **Description:** @@ -1803,6 +1874,7 @@ - **Default:** `true` + #### `Notify_On_First_Update` - **Description:** @@ -1835,6 +1907,7 @@ - **Default:** `false` + #### `File` - **Description:** @@ -1844,6 +1917,7 @@ - **Default:** `playerlog.txt` + #### `Delay` - **Description:** @@ -1885,6 +1959,7 @@ - **Default:** `false` + #### `AutoTpaccept` - **Description:** @@ -1898,6 +1973,7 @@ - **Default:** `true` + #### `AutoTpaccept_Everyone` - **Description:** @@ -1951,6 +2027,7 @@ - **Default:** `false` + #### `Backup_Interval` - **Description:** @@ -1986,6 +2063,7 @@ - **Default:** `false` + ### Defining a task - **Description:** @@ -2061,6 +2139,7 @@ ``` + ### Full example ```toml diff --git a/docs/l10n/cs/guide/configuration.md b/docs/l10n/cs/guide/configuration.md index 30dd9cd6..71a5ed16 100644 --- a/docs/l10n/cs/guide/configuration.md +++ b/docs/l10n/cs/guide/configuration.md @@ -144,7 +144,7 @@ Coordinate = { x = 145, y = 64, y = 2045 } This setting is where you define which language you want to use. - When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages. These files describe how some messages should be printed depending on your preferred language. + When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages.These files describe how some messages should be printed depending on your preferred language. The client will automatically load `en_GB.lang` from your Minecraft folder if Minecraft is installed on your computer, or download it from Mojang's servers. You may choose another language in the configuration file. @@ -465,7 +465,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Use `no`, `fast` (5s timeout), or `yes`. Required for joining some servers. + Use `no`, `fast` (5s timeout), or `yes`. + + Required for joining some servers. - **Type:** `string` @@ -648,7 +650,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Affects only Minecraft 1.19+. This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. + Affects only Minecraft 1.19+. + + This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. #### `LoginWithSecureProfile` @@ -674,7 +678,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Whether to sign the messages contained in the commands sent by the MCC. For example, the message in `/msg` and `/me` + Whether to sign the messages contained in the commands sent by the MCC. + + For example, the message in `/msg` and `/me` - **Type:** `boolean` @@ -768,7 +774,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - This setting allows you to define if your want to see info messages. Most of the messages from MCC. + This setting allows you to define if your want to see info messages. + + Most of the messages from MCC. - **Type:** `boolean` @@ -955,7 +963,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - The proxy server IP and port. Proxy server must allow HTTPS for login, and non-443 ports for playing. + The proxy server IP and port. + + Proxy server must allow HTTPS for login, and non-443 ports for playing. - **Format:** diff --git a/docs/l10n/cs/guide/creating-bots.md b/docs/l10n/cs/guide/creating-bots.md index 9e46df68..bc5e2d77 100644 --- a/docs/l10n/cs/guide/creating-bots.md +++ b/docs/l10n/cs/guide/creating-bots.md @@ -99,7 +99,9 @@ Chat Bot (Script) structure is the following: ``` -**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. Every single Chat Bot (Script) must have this section at the beginning in order to work. +**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. + +Every single Chat Bot (Script) must have this section at the beginning in order to work. ### Script Metadata Format @@ -165,7 +167,9 @@ After the end of the **Script Metadata** section, you basically can define any n 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.. +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..

Tip

diff --git a/docs/l10n/cs/guide/installation.md b/docs/l10n/cs/guide/installation.md index 256241f6..92f61049 100644 --- a/docs/l10n/cs/guide/installation.md +++ b/docs/l10n/cs/guide/installation.md @@ -190,7 +190,11 @@ docker build -t minecraft-console-client:latest . docker run -it -v :/opt/data minecraft-console-client:latest ``` -Now you could login and the Client is running. To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. To reattach use the `docker attach` command. +Now you could login and the Client is running. + +To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. + +To reattach use the `docker attach` command. **Start the container using docker-compose:** @@ -222,7 +226,9 @@ docker-compose up docker-compose up -d #for deamonized running in the background ``` -Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. As above, you can stop and remove the container using +Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. + +As above, you can stop and remove the container using ```bash docker-compose down @@ -313,7 +319,9 @@ Once the script has downloaded, run it with: bash ubuntu.sh ``` -Then you will be asked a question, enter `Y` and press `Enter`. Once the installation is complete, you can start Ubuntu with: +Then you will be asked a question, enter `Y` and press `Enter`. + +Once the installation is complete, you can start Ubuntu with: ```bash ./startubuntu.sh @@ -499,7 +507,9 @@ To stop MCC from running you can press `CTRL + C` To edit the configuration/settings, you need a text editor, we recommend Nano, as it's very simple to use, if you have followed the installation steps above, you should be familiar with it, if not, check out [this tutorial](https://www.youtube.com/watch?v=DLeATFgGM-A). -For downloading files, you can use the `wget` file we have installed, simply run: `wget your_link_here` (you have examples above, and a video tutorial down bellow). +For downloading files, you can use the `wget` file we have installed, simply run: + +`wget your_link_here` (you have examples above, and a video tutorial down bellow). Also, here are some linux tutorials for people who are new to it: @@ -644,7 +654,9 @@ You also may want to search for better deals.
-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). +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 @@ -862,7 +874,11 @@ Make a new empty file named `authorized_keys`: touch authorized_keys ``` -Do no close the Git bash/Terminal emulator. On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). +Do no close the Git bash/Terminal emulator. + +On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. + +Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). Type the following command: @@ -940,7 +956,9 @@ Let's check if everything is working correctly: sudo systemctl status sshd ``` -If everything has been configured as it should be you should see `active (running)` as a status of the service. If not, open the config file again and check for mistakes. +If everything has been configured as it should be you should see `active (running)` as a status of the service. + +If not, open the config file again and check for mistakes. Press `q` to exit the log mode. diff --git a/docs/l10n/cs/guide/usage.md b/docs/l10n/cs/guide/usage.md index d0ccab5e..e65294df 100644 --- a/docs/l10n/cs/guide/usage.md +++ b/docs/l10n/cs/guide/usage.md @@ -236,7 +236,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q - **Description:** - Allows you to list and unload a specific bot or all bots. Useful when debugging and developing scripts. + Allows you to list and unload a specific bot or all bots. + + Useful when debugging and developing scripts. - **Usage:** @@ -404,7 +406,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q Allows you to execute a command if a specific condition is met. - The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. + The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. + + The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. Also the instance of MCC is available with `MCC.`. diff --git a/docs/l10n/da/guide/README.md b/docs/l10n/da/guide/README.md index 81e1aee3..ce5a9b7c 100644 --- a/docs/l10n/da/guide/README.md +++ b/docs/l10n/da/guide/README.md @@ -150,14 +150,26 @@ Minecraft Console Client also borrows code from the following libraries: ## Disclaimer -Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. +Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. -Also, remember that when you connect to a server with this program, you will appear where you left the last time. This means that **you can die if you log in in an unsafe place on a survival server!** Use the script scheduler bot to send a teleport command after logging in. +This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. + +Also, remember that when you connect to a server with this program, you will appear where you left the last time. + +This means that **you can die if you log in in an unsafe place on a survival server!** + +Use the script scheduler bot to send a teleport command after logging in. We remind you that **you may get banned** by your server for using this program. Use accordingly with server rules. ## License -Minecraft Console Client is a totally free of charge, open source project. The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) +Minecraft Console Client is a totally free of charge, open source project. -Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) +The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) + +Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. + +More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) + +Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) diff --git a/docs/l10n/da/guide/chat-bots.md b/docs/l10n/da/guide/chat-bots.md index c67efc3d..64b6a790 100644 --- a/docs/l10n/da/guide/chat-bots.md +++ b/docs/l10n/da/guide/chat-bots.md @@ -67,6 +67,7 @@ - **Default:** `false` + #### `Beep_Enabled`

Tip

@@ -84,6 +85,7 @@ - **Default:** `true` + #### `Trigger_By_Words` - **Description:** @@ -97,6 +99,7 @@ - **Default:** `false` + #### `Trigger_By_Rain` - **Description:** @@ -110,6 +113,7 @@ - **Default:** `false` + #### `Trigger_By_Thunderstorm` - **Description:** @@ -123,6 +127,7 @@ - **Default:** `false` + #### `Log_To_File` - **Description:** @@ -136,6 +141,7 @@ - **Default:** `false` + #### `Log_File` - **Description:** @@ -147,6 +153,7 @@ - **Default:** `"alerts-log.txt"` + #### `Matches` - **Description:** @@ -162,6 +169,7 @@ ``` + #### `Excludes` - **Description:** @@ -199,6 +207,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -214,6 +223,7 @@ - **Default:** `{ min = 60.0, max = 60.0 }` + #### `Command` - **Description:** @@ -225,6 +235,7 @@ - **Default:** `/ping` + #### `Use_Sneak` - **Description:** @@ -236,20 +247,21 @@ - **Default:** `false` + #### `Use_Terrain_Handling` +

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)** + +
+ - **Description:** 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. -

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`. - **Type:** `boolean` @@ -257,6 +269,7 @@ - **Default:** `false` + #### `Walk_Range` - **Description:** @@ -268,32 +281,33 @@ - **Default:** `5` + #### `Walk_Retries` +

Tip

+ + **This happens on each trigger of the task, so it does not permanently switch to alternative method.** + +
+ - **Description:** 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. -

Tip

- - **This happens on each trigger of the task, so it does not permanently switch to alternative method.** - -
- - **Default:** `20` ## Auto Attack +

Tip

+ +**You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** + +
+ - **Description:** Automatically attacks mobs around you, you can configure it to attack both hostile and passive mobs and only certain mobs or all mobs. -

Tip

- - **You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** - -
- - **Settings:** **Section:** **`ChatBot.AutoAttack`** @@ -311,6 +325,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -330,6 +345,7 @@ - **Default:** `single` + #### `Priority` - **Description:** @@ -344,6 +360,7 @@ - **Default:** `distance` + #### `Cooldown_Time` - **Description:** @@ -363,6 +380,7 @@ - **Default:** `{ Custom = false, value = 1.0 }` + #### `Interaction` - **Description:** @@ -386,6 +404,7 @@ - **Default:** `Attack` + #### `Attack_Hostile` - **Description:** @@ -399,6 +418,7 @@ - **Default:** `true` + #### `Attack_Passive` - **Description:** @@ -412,6 +432,7 @@ - **Default:** `false` + #### `List_Mode` - **Description:** @@ -425,6 +446,7 @@ - **Default:** `whitelist` + #### `Entites_List` - **Description:** @@ -443,16 +465,16 @@ ## Auto Craft +

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.** + +
+ - **Description:** Automatically craft items in your inventory or in a 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:** - `/autocraft list` @@ -476,6 +498,7 @@ **Section:** **`ChatBot.AutoCraft`** + #### `Enabled` - **Description:** @@ -489,6 +512,7 @@ - **Default:** `false` + #### `CraftingTable` - **Description:** @@ -512,6 +536,7 @@ ``` + #### `OnFailure` - **Description:** @@ -527,8 +552,15 @@ - **Default:** `abort` + ### Defining a recipe +

Tip

+ + **If you're using `table` you need to set the `CraftingTable` setting.** + +
+ The recipes are defines as a separate new sub-section `[[ChatBot.AutoCraft.Recipes]]` of the `[ChatBot.AutoCraft]` section. The `[[ChatBot.AutoCraft.Recipes]]` section needs to contain the following settings: @@ -543,12 +575,6 @@ **Avaliable values:** `player` and `table` -

Tip

- - **If you're using `table` you need to set the `CraftingTable` setting.** - -
- - `Result` This is the type of resulting item. @@ -569,17 +595,6 @@ Slots = [ "", "", ... ] ``` -

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", ]`** - -
- -

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:** @@ -625,6 +640,10 @@

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", ]`** + + **All item types can be found [here](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/Inventory/ItemType.cs).** + **Make sure to provide materials for your bot by placing them in inventory first.**
@@ -658,6 +677,7 @@ **Section:** **`ChatBot.AutoDig`** + #### `Enabled` - **Description:** @@ -671,6 +691,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -696,6 +717,7 @@ - **Default:** `lookat` + #### `Locations` - **Description:** @@ -722,6 +744,7 @@ ``` + #### `Location_Order` - **Description:** @@ -743,6 +766,7 @@ - **Default:** `distance` + #### `Auto_Start_Delay` - **Description:** @@ -756,6 +780,7 @@ - **Default:** `3.0` + #### `Dig_Timeout` - **Description:** @@ -767,6 +792,7 @@ - **Default:** `60.0` + #### `Log_Block_Dig` - **Description:** @@ -780,6 +806,7 @@ - **Default:** `true` + #### `List_Type` - **Description:** @@ -793,6 +820,7 @@ - **Default:** `whitelist` + #### `Blocks` - **Description:** @@ -838,6 +866,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -865,6 +894,7 @@ - **Default:** `include` + #### `Items` - **Description:** @@ -914,6 +944,7 @@ - **Default:** `false` + #### `Threshold` - **Description:** @@ -966,6 +997,7 @@ **Section:** **`ChatBot.AutoFishing`** + #### `Enabled` - **Description:** @@ -979,6 +1011,7 @@ - **Default:** `false` + #### `Antidespawn` - **Description:** @@ -992,6 +1025,7 @@ - **Default:** `false` + #### `Mainhand` - **Description:** @@ -1008,6 +1042,7 @@ - **Default:** `true` + #### `Auto_Start` - **Description:** @@ -1021,6 +1056,7 @@ - **Default:** `true` + #### `Cast_Delay` - **Description:** @@ -1032,6 +1068,7 @@ - **Default:** `0.4` + #### `Fishing_Delay` - **Description:** @@ -1045,6 +1082,7 @@ - **Default:** `3.0` + #### `Fishing_Timeout` - **Description:** @@ -1056,6 +1094,7 @@ - **Default:** `300.0` + #### `Durability_Limit` - **Description:** @@ -1069,6 +1108,7 @@ - **Default:** `2` + #### `Auto_Rod_Switch` - **Description:** @@ -1082,6 +1122,7 @@ - **Default:** `true` + #### `Stationary_Threshold` - **Description:** @@ -1099,6 +1140,7 @@ - **Default:** `0.001` + #### `Hook_Threshold` - **Description:** @@ -1114,6 +1156,7 @@ - **Default:** `0.2` + #### `Log_Fish_Bobber` - **Description:** @@ -1129,6 +1172,7 @@ - **Default:** `false` + #### `Enable_Move` - **Description:** @@ -1144,6 +1188,7 @@ - **Default:** `false` + ### Adding a position/movement Each position/movement is added as a new `[[ChatBot.AutoFishing.Movements]]` subsection of `[ChatBot.AutoFishing]`. @@ -1185,6 +1230,7 @@ ``` + #### Full example ```toml @@ -1219,6 +1265,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -1236,6 +1283,7 @@ - **Default:** `{ min = 3.0, max = 3.0 }` + #### `Retries` - **Description:** @@ -1253,6 +1301,7 @@ - **Default:** `-1` + #### `Ignore_Kick_Message` - **Description:** @@ -1264,6 +1313,7 @@ - **Default:** `false` + #### `Kick_Messages` - **Description:** @@ -1311,6 +1361,7 @@ - **Default:** `false` + #### `Matches_File` - **Description:** @@ -1332,6 +1383,7 @@ - **Default:** `matches.ini` + #### `Match_Colors` - **Description:** @@ -1373,6 +1425,7 @@ - **Default:** `false` + #### `Add_DateTime` - **Description:** @@ -1384,6 +1437,7 @@ - **Default:** `true` + #### `Log_File` - **Description:** @@ -1393,6 +1447,7 @@ - **Default:** `chatlog-%username%-%serverip%.txt` + #### `Filter` - **Description:** @@ -1458,6 +1513,7 @@ - **Default:** `false` + #### `Update_Limit` - **Description:** @@ -1471,6 +1527,7 @@ - **Default:** `1.5` + #### `Stop_At_Distance` - **Description:** @@ -1512,6 +1569,7 @@ - **Default:** `false` + #### `English` - **Description:** @@ -1523,6 +1581,7 @@ - **Default:** `true` + #### `FileWords_EN` - **Description:** @@ -1539,6 +1598,7 @@ - **Example**: [`words-en.txt`](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/config/hangman-en.txt) + #### `FileWords_FR` - **Description:** @@ -1610,6 +1670,7 @@ **Section:** **`ChatBot.Mailer`** + #### `Enabled` - **Description:** @@ -1623,6 +1684,7 @@ - **Default:** `false` + #### `DatabaseFile` - **Description:** @@ -1634,6 +1696,7 @@ - **Default:** `MailerDatabase.ini` + #### `IgnoreListFile` - **Description:** @@ -1645,6 +1708,7 @@ - **Default:** `MailerIgnoreList.ini` + #### `PublicInteractions` - **Description:** @@ -1658,6 +1722,7 @@ - **Default:** `false` + #### `MaxMailsPerPlayer` - **Description:** @@ -1669,6 +1734,7 @@ - **Default:** `10` + #### `MaxDatabaseSize` - **Description:** @@ -1680,6 +1746,7 @@ - **Default:** `10000` (10 MB) + #### `MailRetentionDays` - **Description:** @@ -1733,6 +1800,7 @@ - **Default:** `false` + #### `Should_Resize` - **Description:** @@ -1760,6 +1828,7 @@ - **Default:** `false` + #### `Resize_To` - **Description:** @@ -1771,6 +1840,7 @@ - **Default:** `256` + #### `Auto_Render_On_Update` - **Description:** @@ -1790,6 +1860,7 @@ - **Default:** `false` + #### `Delete_All_On_Unload` - **Description:** @@ -1803,6 +1874,7 @@ - **Default:** `true` + #### `Notify_On_First_Update` - **Description:** @@ -1835,6 +1907,7 @@ - **Default:** `false` + #### `File` - **Description:** @@ -1844,6 +1917,7 @@ - **Default:** `playerlog.txt` + #### `Delay` - **Description:** @@ -1885,6 +1959,7 @@ - **Default:** `false` + #### `AutoTpaccept` - **Description:** @@ -1898,6 +1973,7 @@ - **Default:** `true` + #### `AutoTpaccept_Everyone` - **Description:** @@ -1951,6 +2027,7 @@ - **Default:** `false` + #### `Backup_Interval` - **Description:** @@ -1986,6 +2063,7 @@ - **Default:** `false` + ### Defining a task - **Description:** @@ -2061,6 +2139,7 @@ ``` + ### Full example ```toml diff --git a/docs/l10n/da/guide/configuration.md b/docs/l10n/da/guide/configuration.md index 30dd9cd6..71a5ed16 100644 --- a/docs/l10n/da/guide/configuration.md +++ b/docs/l10n/da/guide/configuration.md @@ -144,7 +144,7 @@ Coordinate = { x = 145, y = 64, y = 2045 } This setting is where you define which language you want to use. - When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages. These files describe how some messages should be printed depending on your preferred language. + When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages.These files describe how some messages should be printed depending on your preferred language. The client will automatically load `en_GB.lang` from your Minecraft folder if Minecraft is installed on your computer, or download it from Mojang's servers. You may choose another language in the configuration file. @@ -465,7 +465,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Use `no`, `fast` (5s timeout), or `yes`. Required for joining some servers. + Use `no`, `fast` (5s timeout), or `yes`. + + Required for joining some servers. - **Type:** `string` @@ -648,7 +650,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Affects only Minecraft 1.19+. This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. + Affects only Minecraft 1.19+. + + This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. #### `LoginWithSecureProfile` @@ -674,7 +678,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Whether to sign the messages contained in the commands sent by the MCC. For example, the message in `/msg` and `/me` + Whether to sign the messages contained in the commands sent by the MCC. + + For example, the message in `/msg` and `/me` - **Type:** `boolean` @@ -768,7 +774,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - This setting allows you to define if your want to see info messages. Most of the messages from MCC. + This setting allows you to define if your want to see info messages. + + Most of the messages from MCC. - **Type:** `boolean` @@ -955,7 +963,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - The proxy server IP and port. Proxy server must allow HTTPS for login, and non-443 ports for playing. + The proxy server IP and port. + + Proxy server must allow HTTPS for login, and non-443 ports for playing. - **Format:** diff --git a/docs/l10n/da/guide/creating-bots.md b/docs/l10n/da/guide/creating-bots.md index 9e46df68..bc5e2d77 100644 --- a/docs/l10n/da/guide/creating-bots.md +++ b/docs/l10n/da/guide/creating-bots.md @@ -99,7 +99,9 @@ Chat Bot (Script) structure is the following: ``` -**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. Every single Chat Bot (Script) must have this section at the beginning in order to work. +**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. + +Every single Chat Bot (Script) must have this section at the beginning in order to work. ### Script Metadata Format @@ -165,7 +167,9 @@ After the end of the **Script Metadata** section, you basically can define any n 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.. +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..

Tip

diff --git a/docs/l10n/da/guide/installation.md b/docs/l10n/da/guide/installation.md index 256241f6..92f61049 100644 --- a/docs/l10n/da/guide/installation.md +++ b/docs/l10n/da/guide/installation.md @@ -190,7 +190,11 @@ docker build -t minecraft-console-client:latest . docker run -it -v :/opt/data minecraft-console-client:latest ``` -Now you could login and the Client is running. To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. To reattach use the `docker attach` command. +Now you could login and the Client is running. + +To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. + +To reattach use the `docker attach` command. **Start the container using docker-compose:** @@ -222,7 +226,9 @@ docker-compose up docker-compose up -d #for deamonized running in the background ``` -Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. As above, you can stop and remove the container using +Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. + +As above, you can stop and remove the container using ```bash docker-compose down @@ -313,7 +319,9 @@ Once the script has downloaded, run it with: bash ubuntu.sh ``` -Then you will be asked a question, enter `Y` and press `Enter`. Once the installation is complete, you can start Ubuntu with: +Then you will be asked a question, enter `Y` and press `Enter`. + +Once the installation is complete, you can start Ubuntu with: ```bash ./startubuntu.sh @@ -499,7 +507,9 @@ To stop MCC from running you can press `CTRL + C` To edit the configuration/settings, you need a text editor, we recommend Nano, as it's very simple to use, if you have followed the installation steps above, you should be familiar with it, if not, check out [this tutorial](https://www.youtube.com/watch?v=DLeATFgGM-A). -For downloading files, you can use the `wget` file we have installed, simply run: `wget your_link_here` (you have examples above, and a video tutorial down bellow). +For downloading files, you can use the `wget` file we have installed, simply run: + +`wget your_link_here` (you have examples above, and a video tutorial down bellow). Also, here are some linux tutorials for people who are new to it: @@ -644,7 +654,9 @@ You also may want to search for better deals.
-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). +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 @@ -862,7 +874,11 @@ Make a new empty file named `authorized_keys`: touch authorized_keys ``` -Do no close the Git bash/Terminal emulator. On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). +Do no close the Git bash/Terminal emulator. + +On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. + +Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). Type the following command: @@ -940,7 +956,9 @@ Let's check if everything is working correctly: sudo systemctl status sshd ``` -If everything has been configured as it should be you should see `active (running)` as a status of the service. If not, open the config file again and check for mistakes. +If everything has been configured as it should be you should see `active (running)` as a status of the service. + +If not, open the config file again and check for mistakes. Press `q` to exit the log mode. diff --git a/docs/l10n/da/guide/usage.md b/docs/l10n/da/guide/usage.md index d0ccab5e..e65294df 100644 --- a/docs/l10n/da/guide/usage.md +++ b/docs/l10n/da/guide/usage.md @@ -236,7 +236,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q - **Description:** - Allows you to list and unload a specific bot or all bots. Useful when debugging and developing scripts. + Allows you to list and unload a specific bot or all bots. + + Useful when debugging and developing scripts. - **Usage:** @@ -404,7 +406,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q Allows you to execute a command if a specific condition is met. - The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. + The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. + + The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. Also the instance of MCC is available with `MCC.`. diff --git a/docs/l10n/de/guide/README.md b/docs/l10n/de/guide/README.md index 81e1aee3..ce5a9b7c 100644 --- a/docs/l10n/de/guide/README.md +++ b/docs/l10n/de/guide/README.md @@ -150,14 +150,26 @@ Minecraft Console Client also borrows code from the following libraries: ## Disclaimer -Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. +Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. -Also, remember that when you connect to a server with this program, you will appear where you left the last time. This means that **you can die if you log in in an unsafe place on a survival server!** Use the script scheduler bot to send a teleport command after logging in. +This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. + +Also, remember that when you connect to a server with this program, you will appear where you left the last time. + +This means that **you can die if you log in in an unsafe place on a survival server!** + +Use the script scheduler bot to send a teleport command after logging in. We remind you that **you may get banned** by your server for using this program. Use accordingly with server rules. ## License -Minecraft Console Client is a totally free of charge, open source project. The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) +Minecraft Console Client is a totally free of charge, open source project. -Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) +The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) + +Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. + +More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) + +Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) diff --git a/docs/l10n/de/guide/chat-bots.md b/docs/l10n/de/guide/chat-bots.md index 3c6d4a05..a5eb11c4 100644 --- a/docs/l10n/de/guide/chat-bots.md +++ b/docs/l10n/de/guide/chat-bots.md @@ -67,6 +67,7 @@ - **Default:** `false` + #### `Beep_Enabled`

Tip

@@ -84,6 +85,7 @@ - **Default:** `true` + #### `Trigger_By_Words` - **Description:** @@ -97,6 +99,7 @@ - **Default:** `false` + #### `Trigger_By_Rain` - **Description:** @@ -110,6 +113,7 @@ - **Default:** `false` + #### `Trigger_By_Thunderstorm` - **Description:** @@ -123,6 +127,7 @@ - **Default:** `false` + #### `Log_To_File` - **Description:** @@ -136,6 +141,7 @@ - **Default:** `false` + #### `Log_File` - **Description:** @@ -147,6 +153,7 @@ - **Default:** `"alerts-log.txt"` + #### `Matches` - **Description:** @@ -162,6 +169,7 @@ ``` + #### `Excludes` - **Description:** @@ -199,6 +207,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -214,6 +223,7 @@ - **Default:** `{ min = 60.0, max = 60.0 }` + #### `Command` - **Description:** @@ -225,6 +235,7 @@ - **Default:** `/ping` + #### `Use_Sneak` - **Description:** @@ -236,20 +247,21 @@ - **Default:** `false` + #### `Use_Terrain_Handling` +

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)** + +
+ - **Description:** 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. -

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`. - **Type:** `boolean` @@ -257,6 +269,7 @@ - **Default:** `false` + #### `Walk_Range` - **Description:** @@ -268,32 +281,33 @@ - **Default:** `5` + #### `Walk_Retries` +

Tip

+ + **This happens on each trigger of the task, so it does not permanently switch to alternative method.** + +
+ - **Description:** 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. -

Tip

- - **This happens on each trigger of the task, so it does not permanently switch to alternative method.** - -
- - **Default:** `20` ## Auto Attack +

Tip

+ +**You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** + +
+ - **Description:** Automatically attacks mobs around you, you can configure it to attack both hostile and passive mobs and only certain mobs or all mobs. -

Tip

- - **You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** - -
- - **Settings:** **Section:** **`ChatBot.AutoAttack`** @@ -311,6 +325,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -330,6 +345,7 @@ - **Default:** `single` + #### `Priority` - **Description:** @@ -344,6 +360,7 @@ - **Default:** `distance` + #### `Cooldown_Time` - **Description:** @@ -363,6 +380,7 @@ - **Default:** `{ Custom = false, value = 1.0 }` + #### `Interaction` - **Description:** @@ -386,6 +404,7 @@ - **Default:** `Attack` + #### `Attack_Hostile` - **Description:** @@ -399,6 +418,7 @@ - **Default:** `true` + #### `Attack_Passive` - **Description:** @@ -412,6 +432,7 @@ - **Default:** `false` + #### `List_Mode` - **Description:** @@ -425,6 +446,7 @@ - **Default:** `whitelist` + #### `Entites_List` - **Description:** @@ -443,16 +465,16 @@ ## Auto Craft +

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.** + +
+ - **Description:** Automatically craft items in your inventory or in a 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:** - `/autocraft list` @@ -476,6 +498,7 @@ **Section:** **`ChatBot.AutoCraft`** + #### `Enabled` - **Description:** @@ -489,6 +512,7 @@ - **Default:** `false` + #### `CraftingTable` - **Description:** @@ -512,6 +536,7 @@ ``` + #### `OnFailure` - **Description:** @@ -527,8 +552,15 @@ - **Default:** `abort` + ### Defining a recipe +

Tip

+ + **If you're using `table` you need to set the `CraftingTable` setting.** + +
+ The recipes are defines as a separate new sub-section `[[ChatBot.AutoCraft.Recipes]]` of the `[ChatBot.AutoCraft]` section. The `[[ChatBot.AutoCraft.Recipes]]` section needs to contain the following settings: @@ -543,12 +575,6 @@ **Avaliable values:** `player` and `table` -

Tip

- - **If you're using `table` you need to set the `CraftingTable` setting.** - -
- - `Result` This is the type of resulting item. @@ -569,17 +595,6 @@ Slots = [ "", "", ... ] ``` -

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", ]`** - -
- -

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:** @@ -625,6 +640,10 @@

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", ]`** + + **All item types can be found [here](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/Inventory/ItemType.cs).** + **Make sure to provide materials for your bot by placing them in inventory first.**
@@ -658,6 +677,7 @@ **Section:** **`ChatBot.AutoDig`** + #### `Enabled` - **Description:** @@ -671,6 +691,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -696,6 +717,7 @@ - **Default:** `lookat` + #### `Locations` - **Description:** @@ -722,6 +744,7 @@ ``` + #### `Location_Order` - **Description:** @@ -743,6 +766,7 @@ - **Default:** `distance` + #### `Auto_Start_Delay` - **Description:** @@ -756,6 +780,7 @@ - **Default:** `3.0` + #### `Dig_Timeout` - **Description:** @@ -767,6 +792,7 @@ - **Default:** `60.0` + #### `Log_Block_Dig` - **Description:** @@ -780,6 +806,7 @@ - **Default:** `true` + #### `List_Type` - **Description:** @@ -793,6 +820,7 @@ - **Default:** `whitelist` + #### `Blocks` - **Description:** @@ -838,6 +866,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -865,6 +894,7 @@ - **Default:** `include` + #### `Items` - **Description:** @@ -914,6 +944,7 @@ - **Default:** `false` + #### `Threshold` - **Description:** @@ -966,6 +997,7 @@ **Section:** **`ChatBot.AutoFishing`** + #### `Enabled` - **Description:** @@ -979,6 +1011,7 @@ - **Default:** `false` + #### `Antidespawn` - **Description:** @@ -992,6 +1025,7 @@ - **Default:** `false` + #### `Mainhand` - **Description:** @@ -1008,6 +1042,7 @@ - **Default:** `true` + #### `Auto_Start` - **Description:** @@ -1021,6 +1056,7 @@ - **Default:** `true` + #### `Cast_Delay` - **Description:** @@ -1032,6 +1068,7 @@ - **Default:** `0.4` + #### `Fishing_Delay` - **Description:** @@ -1045,6 +1082,7 @@ - **Default:** `3.0` + #### `Fishing_Timeout` - **Description:** @@ -1056,6 +1094,7 @@ - **Default:** `300.0` + #### `Durability_Limit` - **Description:** @@ -1069,6 +1108,7 @@ - **Default:** `2` + #### `Auto_Rod_Switch` - **Description:** @@ -1082,6 +1122,7 @@ - **Default:** `true` + #### `Stationary_Threshold` - **Description:** @@ -1099,6 +1140,7 @@ - **Default:** `0.001` + #### `Hook_Threshold` - **Description:** @@ -1114,6 +1156,7 @@ - **Default:** `0.2` + #### `Log_Fish_Bobber` - **Description:** @@ -1129,6 +1172,7 @@ - **Default:** `false` + #### `Enable_Move` - **Description:** @@ -1144,6 +1188,7 @@ - **Default:** `false` + ### Adding a position/movement Each position/movement is added as a new `[[ChatBot.AutoFishing.Movements]]` subsection of `[ChatBot.AutoFishing]`. @@ -1185,6 +1230,7 @@ ``` + #### Full example ```toml @@ -1219,6 +1265,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -1236,6 +1283,7 @@ - **Default:** `{ min = 3.0, max = 3.0 }` + #### `Retries` - **Description:** @@ -1253,6 +1301,7 @@ - **Default:** `-1` + #### `Ignore_Kick_Message` - **Description:** @@ -1264,6 +1313,7 @@ - **Default:** `false` + #### `Kick_Messages` - **Description:** @@ -1311,6 +1361,7 @@ - **Default:** `false` + #### `Matches_File` - **Description:** @@ -1332,6 +1383,7 @@ - **Default:** `matches.ini` + #### `Match_Colors` - **Description:** @@ -1373,6 +1425,7 @@ - **Default:** `false` + #### `Add_DateTime` - **Description:** @@ -1384,6 +1437,7 @@ - **Default:** `true` + #### `Log_File` - **Description:** @@ -1393,6 +1447,7 @@ - **Default:** `chatlog-%username%-%serverip%.txt` + #### `Filter` - **Description:** @@ -1458,6 +1513,7 @@ - **Default:** `false` + #### `Update_Limit` - **Description:** @@ -1471,6 +1527,7 @@ - **Default:** `1.5` + #### `Stop_At_Distance` - **Description:** @@ -1512,6 +1569,7 @@ - **Default:** `false` + #### `English` - **Description:** @@ -1523,6 +1581,7 @@ - **Default:** `true` + #### `FileWords_EN` - **Description:** @@ -1539,6 +1598,7 @@ - **Example**: [`words-en.txt`](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/config/hangman-en.txt) + #### `FileWords_FR` - **Description:** @@ -1610,6 +1670,7 @@ **Section:** **`ChatBot.Mailer`** + #### `Enabled` - **Description:** @@ -1623,6 +1684,7 @@ - **Default:** `false` + #### `DatabaseFile` - **Description:** @@ -1634,6 +1696,7 @@ - **Default:** `MailerDatabase.ini` + #### `IgnoreListFile` - **Description:** @@ -1645,6 +1708,7 @@ - **Default:** `MailerIgnoreList.ini` + #### `PublicInteractions` - **Description:** @@ -1658,6 +1722,7 @@ - **Default:** `false` + #### `MaxMailsPerPlayer` - **Description:** @@ -1669,6 +1734,7 @@ - **Default:** `10` + #### `MaxDatabaseSize` - **Description:** @@ -1680,6 +1746,7 @@ - **Default:** `10000` (10 MB) + #### `MailRetentionDays` - **Description:** @@ -1733,6 +1800,7 @@ - **Default:** `false` + #### `Should_Resize` - **Description:** @@ -1760,6 +1828,7 @@ - **Default:** `false` + #### `Resize_To` - **Description:** @@ -1771,6 +1840,7 @@ - **Default:** `256` + #### `Auto_Render_On_Update` - **Description:** @@ -1790,6 +1860,7 @@ - **Default:** `false` + #### `Delete_All_On_Unload` - **Description:** @@ -1803,6 +1874,7 @@ - **Default:** `true` + #### `Notify_On_First_Update` - **Description:** @@ -1835,6 +1907,7 @@ - **Default:** `false` + #### `File` - **Description:** @@ -1844,6 +1917,7 @@ - **Default:** `playerlog.txt` + #### `Delay` - **Description:** @@ -1885,6 +1959,7 @@ - **Default:** `false` + #### `AutoTpaccept` - **Description:** @@ -1898,6 +1973,7 @@ - **Default:** `true` + #### `AutoTpaccept_Everyone` - **Description:** @@ -1951,6 +2027,7 @@ - **Default:** `false` + #### `Backup_Interval` - **Description:** @@ -1986,6 +2063,7 @@ - **Default:** `false` + ### Defining a task - **Description:** @@ -2061,6 +2139,7 @@ ``` + ### Full example ```toml diff --git a/docs/l10n/de/guide/configuration.md b/docs/l10n/de/guide/configuration.md index 30dd9cd6..71a5ed16 100644 --- a/docs/l10n/de/guide/configuration.md +++ b/docs/l10n/de/guide/configuration.md @@ -144,7 +144,7 @@ Coordinate = { x = 145, y = 64, y = 2045 } This setting is where you define which language you want to use. - When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages. These files describe how some messages should be printed depending on your preferred language. + When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages.These files describe how some messages should be printed depending on your preferred language. The client will automatically load `en_GB.lang` from your Minecraft folder if Minecraft is installed on your computer, or download it from Mojang's servers. You may choose another language in the configuration file. @@ -465,7 +465,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Use `no`, `fast` (5s timeout), or `yes`. Required for joining some servers. + Use `no`, `fast` (5s timeout), or `yes`. + + Required for joining some servers. - **Type:** `string` @@ -648,7 +650,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Affects only Minecraft 1.19+. This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. + Affects only Minecraft 1.19+. + + This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. #### `LoginWithSecureProfile` @@ -674,7 +678,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Whether to sign the messages contained in the commands sent by the MCC. For example, the message in `/msg` and `/me` + Whether to sign the messages contained in the commands sent by the MCC. + + For example, the message in `/msg` and `/me` - **Type:** `boolean` @@ -768,7 +774,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - This setting allows you to define if your want to see info messages. Most of the messages from MCC. + This setting allows you to define if your want to see info messages. + + Most of the messages from MCC. - **Type:** `boolean` @@ -955,7 +963,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - The proxy server IP and port. Proxy server must allow HTTPS for login, and non-443 ports for playing. + The proxy server IP and port. + + Proxy server must allow HTTPS for login, and non-443 ports for playing. - **Format:** diff --git a/docs/l10n/de/guide/creating-bots.md b/docs/l10n/de/guide/creating-bots.md index 9e46df68..bc5e2d77 100644 --- a/docs/l10n/de/guide/creating-bots.md +++ b/docs/l10n/de/guide/creating-bots.md @@ -99,7 +99,9 @@ Chat Bot (Script) structure is the following: ``` -**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. Every single Chat Bot (Script) must have this section at the beginning in order to work. +**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. + +Every single Chat Bot (Script) must have this section at the beginning in order to work. ### Script Metadata Format @@ -165,7 +167,9 @@ After the end of the **Script Metadata** section, you basically can define any n 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.. +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..

Tip

diff --git a/docs/l10n/de/guide/installation.md b/docs/l10n/de/guide/installation.md index 256241f6..92f61049 100644 --- a/docs/l10n/de/guide/installation.md +++ b/docs/l10n/de/guide/installation.md @@ -190,7 +190,11 @@ docker build -t minecraft-console-client:latest . docker run -it -v :/opt/data minecraft-console-client:latest ``` -Now you could login and the Client is running. To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. To reattach use the `docker attach` command. +Now you could login and the Client is running. + +To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. + +To reattach use the `docker attach` command. **Start the container using docker-compose:** @@ -222,7 +226,9 @@ docker-compose up docker-compose up -d #for deamonized running in the background ``` -Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. As above, you can stop and remove the container using +Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. + +As above, you can stop and remove the container using ```bash docker-compose down @@ -313,7 +319,9 @@ Once the script has downloaded, run it with: bash ubuntu.sh ``` -Then you will be asked a question, enter `Y` and press `Enter`. Once the installation is complete, you can start Ubuntu with: +Then you will be asked a question, enter `Y` and press `Enter`. + +Once the installation is complete, you can start Ubuntu with: ```bash ./startubuntu.sh @@ -499,7 +507,9 @@ To stop MCC from running you can press `CTRL + C` To edit the configuration/settings, you need a text editor, we recommend Nano, as it's very simple to use, if you have followed the installation steps above, you should be familiar with it, if not, check out [this tutorial](https://www.youtube.com/watch?v=DLeATFgGM-A). -For downloading files, you can use the `wget` file we have installed, simply run: `wget your_link_here` (you have examples above, and a video tutorial down bellow). +For downloading files, you can use the `wget` file we have installed, simply run: + +`wget your_link_here` (you have examples above, and a video tutorial down bellow). Also, here are some linux tutorials for people who are new to it: @@ -644,7 +654,9 @@ You also may want to search for better deals.
-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). +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 @@ -862,7 +874,11 @@ Make a new empty file named `authorized_keys`: touch authorized_keys ``` -Do no close the Git bash/Terminal emulator. On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). +Do no close the Git bash/Terminal emulator. + +On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. + +Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). Type the following command: @@ -940,7 +956,9 @@ Let's check if everything is working correctly: sudo systemctl status sshd ``` -If everything has been configured as it should be you should see `active (running)` as a status of the service. If not, open the config file again and check for mistakes. +If everything has been configured as it should be you should see `active (running)` as a status of the service. + +If not, open the config file again and check for mistakes. Press `q` to exit the log mode. diff --git a/docs/l10n/de/guide/usage.md b/docs/l10n/de/guide/usage.md index e624e4e5..b2feb6d0 100644 --- a/docs/l10n/de/guide/usage.md +++ b/docs/l10n/de/guide/usage.md @@ -236,7 +236,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q - **Description:** - Allows you to list and unload a specific bot or all bots. Useful when debugging and developing scripts. + Allows you to list and unload a specific bot or all bots. + + Useful when debugging and developing scripts. - **Benutzung:** @@ -404,7 +406,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q Allows you to execute a command if a specific condition is met. - The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. + The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. + + The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. Also the instance of MCC is available with `MCC.`. diff --git a/docs/l10n/el/guide/README.md b/docs/l10n/el/guide/README.md index 81e1aee3..ce5a9b7c 100644 --- a/docs/l10n/el/guide/README.md +++ b/docs/l10n/el/guide/README.md @@ -150,14 +150,26 @@ Minecraft Console Client also borrows code from the following libraries: ## Disclaimer -Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. +Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. -Also, remember that when you connect to a server with this program, you will appear where you left the last time. This means that **you can die if you log in in an unsafe place on a survival server!** Use the script scheduler bot to send a teleport command after logging in. +This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. + +Also, remember that when you connect to a server with this program, you will appear where you left the last time. + +This means that **you can die if you log in in an unsafe place on a survival server!** + +Use the script scheduler bot to send a teleport command after logging in. We remind you that **you may get banned** by your server for using this program. Use accordingly with server rules. ## License -Minecraft Console Client is a totally free of charge, open source project. The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) +Minecraft Console Client is a totally free of charge, open source project. -Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) +The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) + +Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. + +More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) + +Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) diff --git a/docs/l10n/el/guide/chat-bots.md b/docs/l10n/el/guide/chat-bots.md index c67efc3d..64b6a790 100644 --- a/docs/l10n/el/guide/chat-bots.md +++ b/docs/l10n/el/guide/chat-bots.md @@ -67,6 +67,7 @@ - **Default:** `false` + #### `Beep_Enabled`

Tip

@@ -84,6 +85,7 @@ - **Default:** `true` + #### `Trigger_By_Words` - **Description:** @@ -97,6 +99,7 @@ - **Default:** `false` + #### `Trigger_By_Rain` - **Description:** @@ -110,6 +113,7 @@ - **Default:** `false` + #### `Trigger_By_Thunderstorm` - **Description:** @@ -123,6 +127,7 @@ - **Default:** `false` + #### `Log_To_File` - **Description:** @@ -136,6 +141,7 @@ - **Default:** `false` + #### `Log_File` - **Description:** @@ -147,6 +153,7 @@ - **Default:** `"alerts-log.txt"` + #### `Matches` - **Description:** @@ -162,6 +169,7 @@ ``` + #### `Excludes` - **Description:** @@ -199,6 +207,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -214,6 +223,7 @@ - **Default:** `{ min = 60.0, max = 60.0 }` + #### `Command` - **Description:** @@ -225,6 +235,7 @@ - **Default:** `/ping` + #### `Use_Sneak` - **Description:** @@ -236,20 +247,21 @@ - **Default:** `false` + #### `Use_Terrain_Handling` +

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)** + +
+ - **Description:** 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. -

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`. - **Type:** `boolean` @@ -257,6 +269,7 @@ - **Default:** `false` + #### `Walk_Range` - **Description:** @@ -268,32 +281,33 @@ - **Default:** `5` + #### `Walk_Retries` +

Tip

+ + **This happens on each trigger of the task, so it does not permanently switch to alternative method.** + +
+ - **Description:** 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. -

Tip

- - **This happens on each trigger of the task, so it does not permanently switch to alternative method.** - -
- - **Default:** `20` ## Auto Attack +

Tip

+ +**You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** + +
+ - **Description:** Automatically attacks mobs around you, you can configure it to attack both hostile and passive mobs and only certain mobs or all mobs. -

Tip

- - **You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** - -
- - **Settings:** **Section:** **`ChatBot.AutoAttack`** @@ -311,6 +325,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -330,6 +345,7 @@ - **Default:** `single` + #### `Priority` - **Description:** @@ -344,6 +360,7 @@ - **Default:** `distance` + #### `Cooldown_Time` - **Description:** @@ -363,6 +380,7 @@ - **Default:** `{ Custom = false, value = 1.0 }` + #### `Interaction` - **Description:** @@ -386,6 +404,7 @@ - **Default:** `Attack` + #### `Attack_Hostile` - **Description:** @@ -399,6 +418,7 @@ - **Default:** `true` + #### `Attack_Passive` - **Description:** @@ -412,6 +432,7 @@ - **Default:** `false` + #### `List_Mode` - **Description:** @@ -425,6 +446,7 @@ - **Default:** `whitelist` + #### `Entites_List` - **Description:** @@ -443,16 +465,16 @@ ## Auto Craft +

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.** + +
+ - **Description:** Automatically craft items in your inventory or in a 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:** - `/autocraft list` @@ -476,6 +498,7 @@ **Section:** **`ChatBot.AutoCraft`** + #### `Enabled` - **Description:** @@ -489,6 +512,7 @@ - **Default:** `false` + #### `CraftingTable` - **Description:** @@ -512,6 +536,7 @@ ``` + #### `OnFailure` - **Description:** @@ -527,8 +552,15 @@ - **Default:** `abort` + ### Defining a recipe +

Tip

+ + **If you're using `table` you need to set the `CraftingTable` setting.** + +
+ The recipes are defines as a separate new sub-section `[[ChatBot.AutoCraft.Recipes]]` of the `[ChatBot.AutoCraft]` section. The `[[ChatBot.AutoCraft.Recipes]]` section needs to contain the following settings: @@ -543,12 +575,6 @@ **Avaliable values:** `player` and `table` -

Tip

- - **If you're using `table` you need to set the `CraftingTable` setting.** - -
- - `Result` This is the type of resulting item. @@ -569,17 +595,6 @@ Slots = [ "", "", ... ] ``` -

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", ]`** - -
- -

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:** @@ -625,6 +640,10 @@

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", ]`** + + **All item types can be found [here](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/Inventory/ItemType.cs).** + **Make sure to provide materials for your bot by placing them in inventory first.**
@@ -658,6 +677,7 @@ **Section:** **`ChatBot.AutoDig`** + #### `Enabled` - **Description:** @@ -671,6 +691,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -696,6 +717,7 @@ - **Default:** `lookat` + #### `Locations` - **Description:** @@ -722,6 +744,7 @@ ``` + #### `Location_Order` - **Description:** @@ -743,6 +766,7 @@ - **Default:** `distance` + #### `Auto_Start_Delay` - **Description:** @@ -756,6 +780,7 @@ - **Default:** `3.0` + #### `Dig_Timeout` - **Description:** @@ -767,6 +792,7 @@ - **Default:** `60.0` + #### `Log_Block_Dig` - **Description:** @@ -780,6 +806,7 @@ - **Default:** `true` + #### `List_Type` - **Description:** @@ -793,6 +820,7 @@ - **Default:** `whitelist` + #### `Blocks` - **Description:** @@ -838,6 +866,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -865,6 +894,7 @@ - **Default:** `include` + #### `Items` - **Description:** @@ -914,6 +944,7 @@ - **Default:** `false` + #### `Threshold` - **Description:** @@ -966,6 +997,7 @@ **Section:** **`ChatBot.AutoFishing`** + #### `Enabled` - **Description:** @@ -979,6 +1011,7 @@ - **Default:** `false` + #### `Antidespawn` - **Description:** @@ -992,6 +1025,7 @@ - **Default:** `false` + #### `Mainhand` - **Description:** @@ -1008,6 +1042,7 @@ - **Default:** `true` + #### `Auto_Start` - **Description:** @@ -1021,6 +1056,7 @@ - **Default:** `true` + #### `Cast_Delay` - **Description:** @@ -1032,6 +1068,7 @@ - **Default:** `0.4` + #### `Fishing_Delay` - **Description:** @@ -1045,6 +1082,7 @@ - **Default:** `3.0` + #### `Fishing_Timeout` - **Description:** @@ -1056,6 +1094,7 @@ - **Default:** `300.0` + #### `Durability_Limit` - **Description:** @@ -1069,6 +1108,7 @@ - **Default:** `2` + #### `Auto_Rod_Switch` - **Description:** @@ -1082,6 +1122,7 @@ - **Default:** `true` + #### `Stationary_Threshold` - **Description:** @@ -1099,6 +1140,7 @@ - **Default:** `0.001` + #### `Hook_Threshold` - **Description:** @@ -1114,6 +1156,7 @@ - **Default:** `0.2` + #### `Log_Fish_Bobber` - **Description:** @@ -1129,6 +1172,7 @@ - **Default:** `false` + #### `Enable_Move` - **Description:** @@ -1144,6 +1188,7 @@ - **Default:** `false` + ### Adding a position/movement Each position/movement is added as a new `[[ChatBot.AutoFishing.Movements]]` subsection of `[ChatBot.AutoFishing]`. @@ -1185,6 +1230,7 @@ ``` + #### Full example ```toml @@ -1219,6 +1265,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -1236,6 +1283,7 @@ - **Default:** `{ min = 3.0, max = 3.0 }` + #### `Retries` - **Description:** @@ -1253,6 +1301,7 @@ - **Default:** `-1` + #### `Ignore_Kick_Message` - **Description:** @@ -1264,6 +1313,7 @@ - **Default:** `false` + #### `Kick_Messages` - **Description:** @@ -1311,6 +1361,7 @@ - **Default:** `false` + #### `Matches_File` - **Description:** @@ -1332,6 +1383,7 @@ - **Default:** `matches.ini` + #### `Match_Colors` - **Description:** @@ -1373,6 +1425,7 @@ - **Default:** `false` + #### `Add_DateTime` - **Description:** @@ -1384,6 +1437,7 @@ - **Default:** `true` + #### `Log_File` - **Description:** @@ -1393,6 +1447,7 @@ - **Default:** `chatlog-%username%-%serverip%.txt` + #### `Filter` - **Description:** @@ -1458,6 +1513,7 @@ - **Default:** `false` + #### `Update_Limit` - **Description:** @@ -1471,6 +1527,7 @@ - **Default:** `1.5` + #### `Stop_At_Distance` - **Description:** @@ -1512,6 +1569,7 @@ - **Default:** `false` + #### `English` - **Description:** @@ -1523,6 +1581,7 @@ - **Default:** `true` + #### `FileWords_EN` - **Description:** @@ -1539,6 +1598,7 @@ - **Example**: [`words-en.txt`](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/config/hangman-en.txt) + #### `FileWords_FR` - **Description:** @@ -1610,6 +1670,7 @@ **Section:** **`ChatBot.Mailer`** + #### `Enabled` - **Description:** @@ -1623,6 +1684,7 @@ - **Default:** `false` + #### `DatabaseFile` - **Description:** @@ -1634,6 +1696,7 @@ - **Default:** `MailerDatabase.ini` + #### `IgnoreListFile` - **Description:** @@ -1645,6 +1708,7 @@ - **Default:** `MailerIgnoreList.ini` + #### `PublicInteractions` - **Description:** @@ -1658,6 +1722,7 @@ - **Default:** `false` + #### `MaxMailsPerPlayer` - **Description:** @@ -1669,6 +1734,7 @@ - **Default:** `10` + #### `MaxDatabaseSize` - **Description:** @@ -1680,6 +1746,7 @@ - **Default:** `10000` (10 MB) + #### `MailRetentionDays` - **Description:** @@ -1733,6 +1800,7 @@ - **Default:** `false` + #### `Should_Resize` - **Description:** @@ -1760,6 +1828,7 @@ - **Default:** `false` + #### `Resize_To` - **Description:** @@ -1771,6 +1840,7 @@ - **Default:** `256` + #### `Auto_Render_On_Update` - **Description:** @@ -1790,6 +1860,7 @@ - **Default:** `false` + #### `Delete_All_On_Unload` - **Description:** @@ -1803,6 +1874,7 @@ - **Default:** `true` + #### `Notify_On_First_Update` - **Description:** @@ -1835,6 +1907,7 @@ - **Default:** `false` + #### `File` - **Description:** @@ -1844,6 +1917,7 @@ - **Default:** `playerlog.txt` + #### `Delay` - **Description:** @@ -1885,6 +1959,7 @@ - **Default:** `false` + #### `AutoTpaccept` - **Description:** @@ -1898,6 +1973,7 @@ - **Default:** `true` + #### `AutoTpaccept_Everyone` - **Description:** @@ -1951,6 +2027,7 @@ - **Default:** `false` + #### `Backup_Interval` - **Description:** @@ -1986,6 +2063,7 @@ - **Default:** `false` + ### Defining a task - **Description:** @@ -2061,6 +2139,7 @@ ``` + ### Full example ```toml diff --git a/docs/l10n/el/guide/configuration.md b/docs/l10n/el/guide/configuration.md index 30dd9cd6..71a5ed16 100644 --- a/docs/l10n/el/guide/configuration.md +++ b/docs/l10n/el/guide/configuration.md @@ -144,7 +144,7 @@ Coordinate = { x = 145, y = 64, y = 2045 } This setting is where you define which language you want to use. - When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages. These files describe how some messages should be printed depending on your preferred language. + When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages.These files describe how some messages should be printed depending on your preferred language. The client will automatically load `en_GB.lang` from your Minecraft folder if Minecraft is installed on your computer, or download it from Mojang's servers. You may choose another language in the configuration file. @@ -465,7 +465,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Use `no`, `fast` (5s timeout), or `yes`. Required for joining some servers. + Use `no`, `fast` (5s timeout), or `yes`. + + Required for joining some servers. - **Type:** `string` @@ -648,7 +650,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Affects only Minecraft 1.19+. This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. + Affects only Minecraft 1.19+. + + This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. #### `LoginWithSecureProfile` @@ -674,7 +678,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Whether to sign the messages contained in the commands sent by the MCC. For example, the message in `/msg` and `/me` + Whether to sign the messages contained in the commands sent by the MCC. + + For example, the message in `/msg` and `/me` - **Type:** `boolean` @@ -768,7 +774,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - This setting allows you to define if your want to see info messages. Most of the messages from MCC. + This setting allows you to define if your want to see info messages. + + Most of the messages from MCC. - **Type:** `boolean` @@ -955,7 +963,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - The proxy server IP and port. Proxy server must allow HTTPS for login, and non-443 ports for playing. + The proxy server IP and port. + + Proxy server must allow HTTPS for login, and non-443 ports for playing. - **Format:** diff --git a/docs/l10n/el/guide/creating-bots.md b/docs/l10n/el/guide/creating-bots.md index 9e46df68..bc5e2d77 100644 --- a/docs/l10n/el/guide/creating-bots.md +++ b/docs/l10n/el/guide/creating-bots.md @@ -99,7 +99,9 @@ Chat Bot (Script) structure is the following: ``` -**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. Every single Chat Bot (Script) must have this section at the beginning in order to work. +**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. + +Every single Chat Bot (Script) must have this section at the beginning in order to work. ### Script Metadata Format @@ -165,7 +167,9 @@ After the end of the **Script Metadata** section, you basically can define any n 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.. +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..

Tip

diff --git a/docs/l10n/el/guide/installation.md b/docs/l10n/el/guide/installation.md index 256241f6..92f61049 100644 --- a/docs/l10n/el/guide/installation.md +++ b/docs/l10n/el/guide/installation.md @@ -190,7 +190,11 @@ docker build -t minecraft-console-client:latest . docker run -it -v :/opt/data minecraft-console-client:latest ``` -Now you could login and the Client is running. To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. To reattach use the `docker attach` command. +Now you could login and the Client is running. + +To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. + +To reattach use the `docker attach` command. **Start the container using docker-compose:** @@ -222,7 +226,9 @@ docker-compose up docker-compose up -d #for deamonized running in the background ``` -Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. As above, you can stop and remove the container using +Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. + +As above, you can stop and remove the container using ```bash docker-compose down @@ -313,7 +319,9 @@ Once the script has downloaded, run it with: bash ubuntu.sh ``` -Then you will be asked a question, enter `Y` and press `Enter`. Once the installation is complete, you can start Ubuntu with: +Then you will be asked a question, enter `Y` and press `Enter`. + +Once the installation is complete, you can start Ubuntu with: ```bash ./startubuntu.sh @@ -499,7 +507,9 @@ To stop MCC from running you can press `CTRL + C` To edit the configuration/settings, you need a text editor, we recommend Nano, as it's very simple to use, if you have followed the installation steps above, you should be familiar with it, if not, check out [this tutorial](https://www.youtube.com/watch?v=DLeATFgGM-A). -For downloading files, you can use the `wget` file we have installed, simply run: `wget your_link_here` (you have examples above, and a video tutorial down bellow). +For downloading files, you can use the `wget` file we have installed, simply run: + +`wget your_link_here` (you have examples above, and a video tutorial down bellow). Also, here are some linux tutorials for people who are new to it: @@ -644,7 +654,9 @@ You also may want to search for better deals.
-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). +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 @@ -862,7 +874,11 @@ Make a new empty file named `authorized_keys`: touch authorized_keys ``` -Do no close the Git bash/Terminal emulator. On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). +Do no close the Git bash/Terminal emulator. + +On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. + +Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). Type the following command: @@ -940,7 +956,9 @@ Let's check if everything is working correctly: sudo systemctl status sshd ``` -If everything has been configured as it should be you should see `active (running)` as a status of the service. If not, open the config file again and check for mistakes. +If everything has been configured as it should be you should see `active (running)` as a status of the service. + +If not, open the config file again and check for mistakes. Press `q` to exit the log mode. diff --git a/docs/l10n/el/guide/usage.md b/docs/l10n/el/guide/usage.md index d0ccab5e..e65294df 100644 --- a/docs/l10n/el/guide/usage.md +++ b/docs/l10n/el/guide/usage.md @@ -236,7 +236,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q - **Description:** - Allows you to list and unload a specific bot or all bots. Useful when debugging and developing scripts. + Allows you to list and unload a specific bot or all bots. + + Useful when debugging and developing scripts. - **Usage:** @@ -404,7 +406,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q Allows you to execute a command if a specific condition is met. - The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. + The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. + + The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. Also the instance of MCC is available with `MCC.`. diff --git a/docs/l10n/es/guide/README.md b/docs/l10n/es/guide/README.md index 81e1aee3..ce5a9b7c 100644 --- a/docs/l10n/es/guide/README.md +++ b/docs/l10n/es/guide/README.md @@ -150,14 +150,26 @@ Minecraft Console Client also borrows code from the following libraries: ## Disclaimer -Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. +Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. -Also, remember that when you connect to a server with this program, you will appear where you left the last time. This means that **you can die if you log in in an unsafe place on a survival server!** Use the script scheduler bot to send a teleport command after logging in. +This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. + +Also, remember that when you connect to a server with this program, you will appear where you left the last time. + +This means that **you can die if you log in in an unsafe place on a survival server!** + +Use the script scheduler bot to send a teleport command after logging in. We remind you that **you may get banned** by your server for using this program. Use accordingly with server rules. ## License -Minecraft Console Client is a totally free of charge, open source project. The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) +Minecraft Console Client is a totally free of charge, open source project. -Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) +The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) + +Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. + +More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) + +Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) diff --git a/docs/l10n/es/guide/chat-bots.md b/docs/l10n/es/guide/chat-bots.md index dace01a9..f322b685 100644 --- a/docs/l10n/es/guide/chat-bots.md +++ b/docs/l10n/es/guide/chat-bots.md @@ -67,6 +67,7 @@ - **Default:** `false` + #### `Beep_Enabled`

Tip

@@ -84,6 +85,7 @@ - **Default:** `true` + #### `Trigger_By_Words` - **Description:** @@ -97,6 +99,7 @@ - **Default:** `false` + #### `Trigger_By_Rain` - **Description:** @@ -110,6 +113,7 @@ - **Default:** `false` + #### `Trigger_By_Thunderstorm` - **Description:** @@ -123,6 +127,7 @@ - **Default:** `false` + #### `Log_To_File` - **Description:** @@ -136,6 +141,7 @@ - **Default:** `false` + #### `Log_File` - **Description:** @@ -147,6 +153,7 @@ - **Default:** `"alerts-log.txt"` + #### `Matches` - **Description:** @@ -162,6 +169,7 @@ ``` + #### `Excludes` - **Description:** @@ -199,6 +207,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -214,6 +223,7 @@ - **Default:** `{ min = 60.0, max = 60.0 }` + #### `Command` - **Description:** @@ -225,6 +235,7 @@ - **Default:** `/ping` + #### `Use_Sneak` - **Description:** @@ -236,20 +247,21 @@ - **Default:** `false` + #### `Use_Terrain_Handling` +

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)** + +
+ - **Description:** 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. -

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`. - **Type:** `boolean` @@ -257,6 +269,7 @@ - **Default:** `false` + #### `Walk_Range` - **Description:** @@ -268,32 +281,33 @@ - **Default:** `5` + #### `Walk_Retries` +

Tip

+ + **This happens on each trigger of the task, so it does not permanently switch to alternative method.** + +
+ - **Description:** 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. -

Tip

- - **This happens on each trigger of the task, so it does not permanently switch to alternative method.** - -
- - **Default:** `20` ## Auto Attack +

Tip

+ +**You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** + +
+ - **Description:** Automatically attacks mobs around you, you can configure it to attack both hostile and passive mobs and only certain mobs or all mobs. -

Tip

- - **You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** - -
- - **Settings:** **Section:** **`ChatBot.AutoAttack`** @@ -311,6 +325,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -330,6 +345,7 @@ - **Default:** `single` + #### `Priority` - **Description:** @@ -344,6 +360,7 @@ - **Default:** `distance` + #### `Cooldown_Time` - **Description:** @@ -363,6 +380,7 @@ - **Default:** `{ Custom = false, value = 1.0 }` + #### `Interaction` - **Description:** @@ -386,6 +404,7 @@ - **Default:** `Attack` + #### `Attack_Hostile` - **Description:** @@ -399,6 +418,7 @@ - **Default:** `true` + #### `Attack_Passive` - **Description:** @@ -412,6 +432,7 @@ - **Default:** `false` + #### `List_Mode` - **Description:** @@ -425,6 +446,7 @@ - **Default:** `whitelist` + #### `Entites_List` - **Description:** @@ -443,16 +465,16 @@ ## Auto Craft +

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.** + +
+ - **Description:** Automatically craft items in your inventory or in a 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:** - `/autocraft list` @@ -476,6 +498,7 @@ **Section:** **`ChatBot.AutoCraft`** + #### `Enabled` - **Description:** @@ -489,6 +512,7 @@ - **Default:** `false` + #### `CraftingTable` - **Description:** @@ -512,6 +536,7 @@ ``` + #### `OnFailure` - **Description:** @@ -527,8 +552,15 @@ - **Default:** `abort` + ### Defining a recipe +

Tip

+ + **If you're using `table` you need to set the `CraftingTable` setting.** + +
+ The recipes are defines as a separate new sub-section `[[ChatBot.AutoCraft.Recipes]]` of the `[ChatBot.AutoCraft]` section. The `[[ChatBot.AutoCraft.Recipes]]` section needs to contain the following settings: @@ -543,12 +575,6 @@ **Avaliable values:** `player` and `table` -

Tip

- - **If you're using `table` you need to set the `CraftingTable` setting.** - -
- - `Result` This is the type of resulting item. @@ -569,17 +595,6 @@ Slots = [ "", "", ... ] ``` -

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", ]`** - -
- -

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:** @@ -625,6 +640,10 @@

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", ]`** + + **All item types can be found [here](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/Inventory/ItemType.cs).** + **Make sure to provide materials for your bot by placing them in inventory first.**
@@ -658,6 +677,7 @@ **Section:** **`ChatBot.AutoDig`** + #### `Enabled` - **Description:** @@ -671,6 +691,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -696,6 +717,7 @@ - **Default:** `lookat` + #### `Locations` - **Description:** @@ -722,6 +744,7 @@ ``` + #### `Location_Order` - **Description:** @@ -743,6 +766,7 @@ - **Default:** `distance` + #### `Auto_Start_Delay` - **Description:** @@ -756,6 +780,7 @@ - **Default:** `3.0` + #### `Dig_Timeout` - **Description:** @@ -767,6 +792,7 @@ - **Default:** `60.0` + #### `Log_Block_Dig` - **Description:** @@ -780,6 +806,7 @@ - **Default:** `true` + #### `List_Type` - **Description:** @@ -793,6 +820,7 @@ - **Default:** `whitelist` + #### `Blocks` - **Description:** @@ -838,6 +866,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -865,6 +894,7 @@ - **Default:** `include` + #### `Items` - **Description:** @@ -914,6 +944,7 @@ - **Default:** `false` + #### `Threshold` - **Description:** @@ -966,6 +997,7 @@ **Section:** **`ChatBot.AutoFishing`** + #### `Enabled` - **Description:** @@ -979,6 +1011,7 @@ - **Default:** `false` + #### `Antidespawn` - **Description:** @@ -992,6 +1025,7 @@ - **Default:** `false` + #### `Mainhand` - **Description:** @@ -1008,6 +1042,7 @@ - **Default:** `true` + #### `Auto_Start` - **Description:** @@ -1021,6 +1056,7 @@ - **Default:** `true` + #### `Cast_Delay` - **Description:** @@ -1032,6 +1068,7 @@ - **Default:** `0.4` + #### `Fishing_Delay` - **Description:** @@ -1045,6 +1082,7 @@ - **Default:** `3.0` + #### `Fishing_Timeout` - **Description:** @@ -1056,6 +1094,7 @@ - **Default:** `300.0` + #### `Durability_Limit` - **Description:** @@ -1069,6 +1108,7 @@ - **Default:** `2` + #### `Auto_Rod_Switch` - **Description:** @@ -1082,6 +1122,7 @@ - **Default:** `true` + #### `Stationary_Threshold` - **Description:** @@ -1099,6 +1140,7 @@ - **Default:** `0.001` + #### `Hook_Threshold` - **Description:** @@ -1114,6 +1156,7 @@ - **Default:** `0.2` + #### `Log_Fish_Bobber` - **Description:** @@ -1129,6 +1172,7 @@ - **Default:** `false` + #### `Enable_Move` - **Description:** @@ -1144,6 +1188,7 @@ - **Default:** `false` + ### Adding a position/movement Each position/movement is added as a new `[[ChatBot.AutoFishing.Movements]]` subsection of `[ChatBot.AutoFishing]`. @@ -1185,6 +1230,7 @@ ``` + #### Full example ```toml @@ -1219,6 +1265,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -1236,6 +1283,7 @@ - **Default:** `{ min = 3.0, max = 3.0 }` + #### `Retries` - **Description:** @@ -1253,6 +1301,7 @@ - **Default:** `-1` + #### `Ignore_Kick_Message` - **Description:** @@ -1264,6 +1313,7 @@ - **Default:** `false` + #### `Kick_Messages` - **Description:** @@ -1311,6 +1361,7 @@ - **Default:** `false` + #### `Matches_File` - **Description:** @@ -1332,6 +1383,7 @@ - **Default:** `matches.ini` + #### `Match_Colors` - **Description:** @@ -1373,6 +1425,7 @@ - **Default:** `false` + #### `Add_DateTime` - **Description:** @@ -1384,6 +1437,7 @@ - **Default:** `true` + #### `Log_File` - **Description:** @@ -1393,6 +1447,7 @@ - **Default:** `chatlog-%username%-%serverip%.txt` + #### `Filter` - **Description:** @@ -1458,6 +1513,7 @@ - **Default:** `false` + #### `Update_Limit` - **Description:** @@ -1471,6 +1527,7 @@ - **Default:** `1.5` + #### `Stop_At_Distance` - **Description:** @@ -1512,6 +1569,7 @@ - **Default:** `false` + #### `English` - **Description:** @@ -1523,6 +1581,7 @@ - **Default:** `true` + #### `FileWords_EN` - **Description:** @@ -1539,6 +1598,7 @@ - **Example**: [`words-en.txt`](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/config/hangman-en.txt) + #### `FileWords_FR` - **Description:** @@ -1610,6 +1670,7 @@ **Section:** **`ChatBot.Mailer`** + #### `Enabled` - **Description:** @@ -1623,6 +1684,7 @@ - **Default:** `false` + #### `DatabaseFile` - **Description:** @@ -1634,6 +1696,7 @@ - **Default:** `MailerDatabase.ini` + #### `IgnoreListFile` - **Description:** @@ -1645,6 +1708,7 @@ - **Default:** `MailerIgnoreList.ini` + #### `PublicInteractions` - **Description:** @@ -1658,6 +1722,7 @@ - **Default:** `false` + #### `MaxMailsPerPlayer` - **Description:** @@ -1669,6 +1734,7 @@ - **Default:** `10` + #### `MaxDatabaseSize` - **Description:** @@ -1680,6 +1746,7 @@ - **Default:** `10000` (10 MB) + #### `MailRetentionDays` - **Description:** @@ -1733,6 +1800,7 @@ - **Default:** `false` + #### `Should_Resize` - **Description:** @@ -1760,6 +1828,7 @@ - **Default:** `false` + #### `Resize_To` - **Description:** @@ -1771,6 +1840,7 @@ - **Default:** `256` + #### `Auto_Render_On_Update` - **Description:** @@ -1790,6 +1860,7 @@ - **Default:** `false` + #### `Delete_All_On_Unload` - **Description:** @@ -1803,6 +1874,7 @@ - **Default:** `true` + #### `Notify_On_First_Update` - **Description:** @@ -1835,6 +1907,7 @@ - **Default:** `false` + #### `File` - **Description:** @@ -1844,6 +1917,7 @@ - **Default:** `playerlog.txt` + #### `Delay` - **Description:** @@ -1885,6 +1959,7 @@ - **Default:** `false` + #### `AutoTpaccept` - **Description:** @@ -1898,6 +1973,7 @@ - **Default:** `true` + #### `AutoTpaccept_Everyone` - **Description:** @@ -1951,6 +2027,7 @@ - **Default:** `false` + #### `Backup_Interval` - **Description:** @@ -1986,6 +2063,7 @@ - **Default:** `false` + ### Defining a task - **Description:** @@ -2061,6 +2139,7 @@ ``` + ### Full example ```toml diff --git a/docs/l10n/es/guide/configuration.md b/docs/l10n/es/guide/configuration.md index 30dd9cd6..71a5ed16 100644 --- a/docs/l10n/es/guide/configuration.md +++ b/docs/l10n/es/guide/configuration.md @@ -144,7 +144,7 @@ Coordinate = { x = 145, y = 64, y = 2045 } This setting is where you define which language you want to use. - When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages. These files describe how some messages should be printed depending on your preferred language. + When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages.These files describe how some messages should be printed depending on your preferred language. The client will automatically load `en_GB.lang` from your Minecraft folder if Minecraft is installed on your computer, or download it from Mojang's servers. You may choose another language in the configuration file. @@ -465,7 +465,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Use `no`, `fast` (5s timeout), or `yes`. Required for joining some servers. + Use `no`, `fast` (5s timeout), or `yes`. + + Required for joining some servers. - **Type:** `string` @@ -648,7 +650,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Affects only Minecraft 1.19+. This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. + Affects only Minecraft 1.19+. + + This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. #### `LoginWithSecureProfile` @@ -674,7 +678,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Whether to sign the messages contained in the commands sent by the MCC. For example, the message in `/msg` and `/me` + Whether to sign the messages contained in the commands sent by the MCC. + + For example, the message in `/msg` and `/me` - **Type:** `boolean` @@ -768,7 +774,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - This setting allows you to define if your want to see info messages. Most of the messages from MCC. + This setting allows you to define if your want to see info messages. + + Most of the messages from MCC. - **Type:** `boolean` @@ -955,7 +963,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - The proxy server IP and port. Proxy server must allow HTTPS for login, and non-443 ports for playing. + The proxy server IP and port. + + Proxy server must allow HTTPS for login, and non-443 ports for playing. - **Format:** diff --git a/docs/l10n/es/guide/creating-bots.md b/docs/l10n/es/guide/creating-bots.md index 91a4ede3..8243ccf7 100644 --- a/docs/l10n/es/guide/creating-bots.md +++ b/docs/l10n/es/guide/creating-bots.md @@ -99,7 +99,9 @@ Chat Bot (Script) structure is the following: ``` -**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. Every single Chat Bot (Script) must have this section at the beginning in order to work. +**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. + +Every single Chat Bot (Script) must have this section at the beginning in order to work. ### Script Metadata Format @@ -165,7 +167,9 @@ After the end of the **Script Metadata** section, you basically can define any n 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.. +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..

Tip

diff --git a/docs/l10n/es/guide/installation.md b/docs/l10n/es/guide/installation.md index 788f8fbb..bbcc47e0 100644 --- a/docs/l10n/es/guide/installation.md +++ b/docs/l10n/es/guide/installation.md @@ -190,7 +190,11 @@ docker build -t minecraft-console-client:latest . docker run -it -v :/opt/data minecraft-console-client:latest ``` -Now you could login and the Client is running. To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. To reattach use the `docker attach` command. +Now you could login and the Client is running. + +To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. + +To reattach use the `docker attach` command. **Start the container using docker-compose:** @@ -222,7 +226,9 @@ docker-compose up docker-compose up -d #for deamonized running in the background ``` -Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. As above, you can stop and remove the container using +Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. + +As above, you can stop and remove the container using ```bash docker-compose down @@ -313,7 +319,9 @@ Once the script has downloaded, run it with: bash ubuntu.sh ``` -Then you will be asked a question, enter `Y` and press `Enter`. Once the installation is complete, you can start Ubuntu with: +Then you will be asked a question, enter `Y` and press `Enter`. + +Once the installation is complete, you can start Ubuntu with: ```bash ./startubuntu.sh @@ -499,7 +507,9 @@ To stop MCC from running you can press `CTRL + C` To edit the configuration/settings, you need a text editor, we recommend Nano, as it's very simple to use, if you have followed the installation steps above, you should be familiar with it, if not, check out [this tutorial](https://www.youtube.com/watch?v=DLeATFgGM-A). -For downloading files, you can use the `wget` file we have installed, simply run: `wget your_link_here` (you have examples above, and a video tutorial down bellow). +For downloading files, you can use the `wget` file we have installed, simply run: + +`wget your_link_here` (you have examples above, and a video tutorial down bellow). Also, here are some linux tutorials for people who are new to it: @@ -644,7 +654,9 @@ You also may want to search for better deals.
-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). +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 @@ -862,7 +874,11 @@ Make a new empty file named `authorized_keys`: touch authorized_keys ``` -Do no close the Git bash/Terminal emulator. On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). +Do no close the Git bash/Terminal emulator. + +On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. + +Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). Type the following command: @@ -940,7 +956,9 @@ Let's check if everything is working correctly: sudo systemctl status sshd ``` -If everything has been configured as it should be you should see `active (running)` as a status of the service. If not, open the config file again and check for mistakes. +If everything has been configured as it should be you should see `active (running)` as a status of the service. + +If not, open the config file again and check for mistakes. Press `q` to exit the log mode. diff --git a/docs/l10n/es/guide/usage.md b/docs/l10n/es/guide/usage.md index c5c168cd..a6057046 100644 --- a/docs/l10n/es/guide/usage.md +++ b/docs/l10n/es/guide/usage.md @@ -236,7 +236,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q - **Description:** - Allows you to list and unload a specific bot or all bots. Useful when debugging and developing scripts. + Allows you to list and unload a specific bot or all bots. + + Useful when debugging and developing scripts. - **Usage:** @@ -404,7 +406,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q Allows you to execute a command if a specific condition is met. - The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. + The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. + + The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. Also the instance of MCC is available with `MCC.`. diff --git a/docs/l10n/fi/guide/README.md b/docs/l10n/fi/guide/README.md index 81e1aee3..ce5a9b7c 100644 --- a/docs/l10n/fi/guide/README.md +++ b/docs/l10n/fi/guide/README.md @@ -150,14 +150,26 @@ Minecraft Console Client also borrows code from the following libraries: ## Disclaimer -Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. +Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. -Also, remember that when you connect to a server with this program, you will appear where you left the last time. This means that **you can die if you log in in an unsafe place on a survival server!** Use the script scheduler bot to send a teleport command after logging in. +This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. + +Also, remember that when you connect to a server with this program, you will appear where you left the last time. + +This means that **you can die if you log in in an unsafe place on a survival server!** + +Use the script scheduler bot to send a teleport command after logging in. We remind you that **you may get banned** by your server for using this program. Use accordingly with server rules. ## License -Minecraft Console Client is a totally free of charge, open source project. The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) +Minecraft Console Client is a totally free of charge, open source project. -Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) +The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) + +Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. + +More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) + +Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) diff --git a/docs/l10n/fi/guide/chat-bots.md b/docs/l10n/fi/guide/chat-bots.md index c67efc3d..64b6a790 100644 --- a/docs/l10n/fi/guide/chat-bots.md +++ b/docs/l10n/fi/guide/chat-bots.md @@ -67,6 +67,7 @@ - **Default:** `false` + #### `Beep_Enabled`

Tip

@@ -84,6 +85,7 @@ - **Default:** `true` + #### `Trigger_By_Words` - **Description:** @@ -97,6 +99,7 @@ - **Default:** `false` + #### `Trigger_By_Rain` - **Description:** @@ -110,6 +113,7 @@ - **Default:** `false` + #### `Trigger_By_Thunderstorm` - **Description:** @@ -123,6 +127,7 @@ - **Default:** `false` + #### `Log_To_File` - **Description:** @@ -136,6 +141,7 @@ - **Default:** `false` + #### `Log_File` - **Description:** @@ -147,6 +153,7 @@ - **Default:** `"alerts-log.txt"` + #### `Matches` - **Description:** @@ -162,6 +169,7 @@ ``` + #### `Excludes` - **Description:** @@ -199,6 +207,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -214,6 +223,7 @@ - **Default:** `{ min = 60.0, max = 60.0 }` + #### `Command` - **Description:** @@ -225,6 +235,7 @@ - **Default:** `/ping` + #### `Use_Sneak` - **Description:** @@ -236,20 +247,21 @@ - **Default:** `false` + #### `Use_Terrain_Handling` +

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)** + +
+ - **Description:** 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. -

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`. - **Type:** `boolean` @@ -257,6 +269,7 @@ - **Default:** `false` + #### `Walk_Range` - **Description:** @@ -268,32 +281,33 @@ - **Default:** `5` + #### `Walk_Retries` +

Tip

+ + **This happens on each trigger of the task, so it does not permanently switch to alternative method.** + +
+ - **Description:** 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. -

Tip

- - **This happens on each trigger of the task, so it does not permanently switch to alternative method.** - -
- - **Default:** `20` ## Auto Attack +

Tip

+ +**You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** + +
+ - **Description:** Automatically attacks mobs around you, you can configure it to attack both hostile and passive mobs and only certain mobs or all mobs. -

Tip

- - **You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** - -
- - **Settings:** **Section:** **`ChatBot.AutoAttack`** @@ -311,6 +325,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -330,6 +345,7 @@ - **Default:** `single` + #### `Priority` - **Description:** @@ -344,6 +360,7 @@ - **Default:** `distance` + #### `Cooldown_Time` - **Description:** @@ -363,6 +380,7 @@ - **Default:** `{ Custom = false, value = 1.0 }` + #### `Interaction` - **Description:** @@ -386,6 +404,7 @@ - **Default:** `Attack` + #### `Attack_Hostile` - **Description:** @@ -399,6 +418,7 @@ - **Default:** `true` + #### `Attack_Passive` - **Description:** @@ -412,6 +432,7 @@ - **Default:** `false` + #### `List_Mode` - **Description:** @@ -425,6 +446,7 @@ - **Default:** `whitelist` + #### `Entites_List` - **Description:** @@ -443,16 +465,16 @@ ## Auto Craft +

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.** + +
+ - **Description:** Automatically craft items in your inventory or in a 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:** - `/autocraft list` @@ -476,6 +498,7 @@ **Section:** **`ChatBot.AutoCraft`** + #### `Enabled` - **Description:** @@ -489,6 +512,7 @@ - **Default:** `false` + #### `CraftingTable` - **Description:** @@ -512,6 +536,7 @@ ``` + #### `OnFailure` - **Description:** @@ -527,8 +552,15 @@ - **Default:** `abort` + ### Defining a recipe +

Tip

+ + **If you're using `table` you need to set the `CraftingTable` setting.** + +
+ The recipes are defines as a separate new sub-section `[[ChatBot.AutoCraft.Recipes]]` of the `[ChatBot.AutoCraft]` section. The `[[ChatBot.AutoCraft.Recipes]]` section needs to contain the following settings: @@ -543,12 +575,6 @@ **Avaliable values:** `player` and `table` -

Tip

- - **If you're using `table` you need to set the `CraftingTable` setting.** - -
- - `Result` This is the type of resulting item. @@ -569,17 +595,6 @@ Slots = [ "", "", ... ] ``` -

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", ]`** - -
- -

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:** @@ -625,6 +640,10 @@

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", ]`** + + **All item types can be found [here](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/Inventory/ItemType.cs).** + **Make sure to provide materials for your bot by placing them in inventory first.**
@@ -658,6 +677,7 @@ **Section:** **`ChatBot.AutoDig`** + #### `Enabled` - **Description:** @@ -671,6 +691,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -696,6 +717,7 @@ - **Default:** `lookat` + #### `Locations` - **Description:** @@ -722,6 +744,7 @@ ``` + #### `Location_Order` - **Description:** @@ -743,6 +766,7 @@ - **Default:** `distance` + #### `Auto_Start_Delay` - **Description:** @@ -756,6 +780,7 @@ - **Default:** `3.0` + #### `Dig_Timeout` - **Description:** @@ -767,6 +792,7 @@ - **Default:** `60.0` + #### `Log_Block_Dig` - **Description:** @@ -780,6 +806,7 @@ - **Default:** `true` + #### `List_Type` - **Description:** @@ -793,6 +820,7 @@ - **Default:** `whitelist` + #### `Blocks` - **Description:** @@ -838,6 +866,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -865,6 +894,7 @@ - **Default:** `include` + #### `Items` - **Description:** @@ -914,6 +944,7 @@ - **Default:** `false` + #### `Threshold` - **Description:** @@ -966,6 +997,7 @@ **Section:** **`ChatBot.AutoFishing`** + #### `Enabled` - **Description:** @@ -979,6 +1011,7 @@ - **Default:** `false` + #### `Antidespawn` - **Description:** @@ -992,6 +1025,7 @@ - **Default:** `false` + #### `Mainhand` - **Description:** @@ -1008,6 +1042,7 @@ - **Default:** `true` + #### `Auto_Start` - **Description:** @@ -1021,6 +1056,7 @@ - **Default:** `true` + #### `Cast_Delay` - **Description:** @@ -1032,6 +1068,7 @@ - **Default:** `0.4` + #### `Fishing_Delay` - **Description:** @@ -1045,6 +1082,7 @@ - **Default:** `3.0` + #### `Fishing_Timeout` - **Description:** @@ -1056,6 +1094,7 @@ - **Default:** `300.0` + #### `Durability_Limit` - **Description:** @@ -1069,6 +1108,7 @@ - **Default:** `2` + #### `Auto_Rod_Switch` - **Description:** @@ -1082,6 +1122,7 @@ - **Default:** `true` + #### `Stationary_Threshold` - **Description:** @@ -1099,6 +1140,7 @@ - **Default:** `0.001` + #### `Hook_Threshold` - **Description:** @@ -1114,6 +1156,7 @@ - **Default:** `0.2` + #### `Log_Fish_Bobber` - **Description:** @@ -1129,6 +1172,7 @@ - **Default:** `false` + #### `Enable_Move` - **Description:** @@ -1144,6 +1188,7 @@ - **Default:** `false` + ### Adding a position/movement Each position/movement is added as a new `[[ChatBot.AutoFishing.Movements]]` subsection of `[ChatBot.AutoFishing]`. @@ -1185,6 +1230,7 @@ ``` + #### Full example ```toml @@ -1219,6 +1265,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -1236,6 +1283,7 @@ - **Default:** `{ min = 3.0, max = 3.0 }` + #### `Retries` - **Description:** @@ -1253,6 +1301,7 @@ - **Default:** `-1` + #### `Ignore_Kick_Message` - **Description:** @@ -1264,6 +1313,7 @@ - **Default:** `false` + #### `Kick_Messages` - **Description:** @@ -1311,6 +1361,7 @@ - **Default:** `false` + #### `Matches_File` - **Description:** @@ -1332,6 +1383,7 @@ - **Default:** `matches.ini` + #### `Match_Colors` - **Description:** @@ -1373,6 +1425,7 @@ - **Default:** `false` + #### `Add_DateTime` - **Description:** @@ -1384,6 +1437,7 @@ - **Default:** `true` + #### `Log_File` - **Description:** @@ -1393,6 +1447,7 @@ - **Default:** `chatlog-%username%-%serverip%.txt` + #### `Filter` - **Description:** @@ -1458,6 +1513,7 @@ - **Default:** `false` + #### `Update_Limit` - **Description:** @@ -1471,6 +1527,7 @@ - **Default:** `1.5` + #### `Stop_At_Distance` - **Description:** @@ -1512,6 +1569,7 @@ - **Default:** `false` + #### `English` - **Description:** @@ -1523,6 +1581,7 @@ - **Default:** `true` + #### `FileWords_EN` - **Description:** @@ -1539,6 +1598,7 @@ - **Example**: [`words-en.txt`](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/config/hangman-en.txt) + #### `FileWords_FR` - **Description:** @@ -1610,6 +1670,7 @@ **Section:** **`ChatBot.Mailer`** + #### `Enabled` - **Description:** @@ -1623,6 +1684,7 @@ - **Default:** `false` + #### `DatabaseFile` - **Description:** @@ -1634,6 +1696,7 @@ - **Default:** `MailerDatabase.ini` + #### `IgnoreListFile` - **Description:** @@ -1645,6 +1708,7 @@ - **Default:** `MailerIgnoreList.ini` + #### `PublicInteractions` - **Description:** @@ -1658,6 +1722,7 @@ - **Default:** `false` + #### `MaxMailsPerPlayer` - **Description:** @@ -1669,6 +1734,7 @@ - **Default:** `10` + #### `MaxDatabaseSize` - **Description:** @@ -1680,6 +1746,7 @@ - **Default:** `10000` (10 MB) + #### `MailRetentionDays` - **Description:** @@ -1733,6 +1800,7 @@ - **Default:** `false` + #### `Should_Resize` - **Description:** @@ -1760,6 +1828,7 @@ - **Default:** `false` + #### `Resize_To` - **Description:** @@ -1771,6 +1840,7 @@ - **Default:** `256` + #### `Auto_Render_On_Update` - **Description:** @@ -1790,6 +1860,7 @@ - **Default:** `false` + #### `Delete_All_On_Unload` - **Description:** @@ -1803,6 +1874,7 @@ - **Default:** `true` + #### `Notify_On_First_Update` - **Description:** @@ -1835,6 +1907,7 @@ - **Default:** `false` + #### `File` - **Description:** @@ -1844,6 +1917,7 @@ - **Default:** `playerlog.txt` + #### `Delay` - **Description:** @@ -1885,6 +1959,7 @@ - **Default:** `false` + #### `AutoTpaccept` - **Description:** @@ -1898,6 +1973,7 @@ - **Default:** `true` + #### `AutoTpaccept_Everyone` - **Description:** @@ -1951,6 +2027,7 @@ - **Default:** `false` + #### `Backup_Interval` - **Description:** @@ -1986,6 +2063,7 @@ - **Default:** `false` + ### Defining a task - **Description:** @@ -2061,6 +2139,7 @@ ``` + ### Full example ```toml diff --git a/docs/l10n/fi/guide/configuration.md b/docs/l10n/fi/guide/configuration.md index 30dd9cd6..71a5ed16 100644 --- a/docs/l10n/fi/guide/configuration.md +++ b/docs/l10n/fi/guide/configuration.md @@ -144,7 +144,7 @@ Coordinate = { x = 145, y = 64, y = 2045 } This setting is where you define which language you want to use. - When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages. These files describe how some messages should be printed depending on your preferred language. + When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages.These files describe how some messages should be printed depending on your preferred language. The client will automatically load `en_GB.lang` from your Minecraft folder if Minecraft is installed on your computer, or download it from Mojang's servers. You may choose another language in the configuration file. @@ -465,7 +465,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Use `no`, `fast` (5s timeout), or `yes`. Required for joining some servers. + Use `no`, `fast` (5s timeout), or `yes`. + + Required for joining some servers. - **Type:** `string` @@ -648,7 +650,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Affects only Minecraft 1.19+. This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. + Affects only Minecraft 1.19+. + + This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. #### `LoginWithSecureProfile` @@ -674,7 +678,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Whether to sign the messages contained in the commands sent by the MCC. For example, the message in `/msg` and `/me` + Whether to sign the messages contained in the commands sent by the MCC. + + For example, the message in `/msg` and `/me` - **Type:** `boolean` @@ -768,7 +774,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - This setting allows you to define if your want to see info messages. Most of the messages from MCC. + This setting allows you to define if your want to see info messages. + + Most of the messages from MCC. - **Type:** `boolean` @@ -955,7 +963,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - The proxy server IP and port. Proxy server must allow HTTPS for login, and non-443 ports for playing. + The proxy server IP and port. + + Proxy server must allow HTTPS for login, and non-443 ports for playing. - **Format:** diff --git a/docs/l10n/fi/guide/creating-bots.md b/docs/l10n/fi/guide/creating-bots.md index 9e46df68..bc5e2d77 100644 --- a/docs/l10n/fi/guide/creating-bots.md +++ b/docs/l10n/fi/guide/creating-bots.md @@ -99,7 +99,9 @@ Chat Bot (Script) structure is the following: ``` -**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. Every single Chat Bot (Script) must have this section at the beginning in order to work. +**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. + +Every single Chat Bot (Script) must have this section at the beginning in order to work. ### Script Metadata Format @@ -165,7 +167,9 @@ After the end of the **Script Metadata** section, you basically can define any n 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.. +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..

Tip

diff --git a/docs/l10n/fi/guide/installation.md b/docs/l10n/fi/guide/installation.md index 256241f6..92f61049 100644 --- a/docs/l10n/fi/guide/installation.md +++ b/docs/l10n/fi/guide/installation.md @@ -190,7 +190,11 @@ docker build -t minecraft-console-client:latest . docker run -it -v :/opt/data minecraft-console-client:latest ``` -Now you could login and the Client is running. To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. To reattach use the `docker attach` command. +Now you could login and the Client is running. + +To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. + +To reattach use the `docker attach` command. **Start the container using docker-compose:** @@ -222,7 +226,9 @@ docker-compose up docker-compose up -d #for deamonized running in the background ``` -Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. As above, you can stop and remove the container using +Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. + +As above, you can stop and remove the container using ```bash docker-compose down @@ -313,7 +319,9 @@ Once the script has downloaded, run it with: bash ubuntu.sh ``` -Then you will be asked a question, enter `Y` and press `Enter`. Once the installation is complete, you can start Ubuntu with: +Then you will be asked a question, enter `Y` and press `Enter`. + +Once the installation is complete, you can start Ubuntu with: ```bash ./startubuntu.sh @@ -499,7 +507,9 @@ To stop MCC from running you can press `CTRL + C` To edit the configuration/settings, you need a text editor, we recommend Nano, as it's very simple to use, if you have followed the installation steps above, you should be familiar with it, if not, check out [this tutorial](https://www.youtube.com/watch?v=DLeATFgGM-A). -For downloading files, you can use the `wget` file we have installed, simply run: `wget your_link_here` (you have examples above, and a video tutorial down bellow). +For downloading files, you can use the `wget` file we have installed, simply run: + +`wget your_link_here` (you have examples above, and a video tutorial down bellow). Also, here are some linux tutorials for people who are new to it: @@ -644,7 +654,9 @@ You also may want to search for better deals.
-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). +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 @@ -862,7 +874,11 @@ Make a new empty file named `authorized_keys`: touch authorized_keys ``` -Do no close the Git bash/Terminal emulator. On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). +Do no close the Git bash/Terminal emulator. + +On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. + +Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). Type the following command: @@ -940,7 +956,9 @@ Let's check if everything is working correctly: sudo systemctl status sshd ``` -If everything has been configured as it should be you should see `active (running)` as a status of the service. If not, open the config file again and check for mistakes. +If everything has been configured as it should be you should see `active (running)` as a status of the service. + +If not, open the config file again and check for mistakes. Press `q` to exit the log mode. diff --git a/docs/l10n/fi/guide/usage.md b/docs/l10n/fi/guide/usage.md index d0ccab5e..e65294df 100644 --- a/docs/l10n/fi/guide/usage.md +++ b/docs/l10n/fi/guide/usage.md @@ -236,7 +236,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q - **Description:** - Allows you to list and unload a specific bot or all bots. Useful when debugging and developing scripts. + Allows you to list and unload a specific bot or all bots. + + Useful when debugging and developing scripts. - **Usage:** @@ -404,7 +406,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q Allows you to execute a command if a specific condition is met. - The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. + The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. + + The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. Also the instance of MCC is available with `MCC.`. diff --git a/docs/l10n/fr/guide/README.md b/docs/l10n/fr/guide/README.md index 81e1aee3..ce5a9b7c 100644 --- a/docs/l10n/fr/guide/README.md +++ b/docs/l10n/fr/guide/README.md @@ -150,14 +150,26 @@ Minecraft Console Client also borrows code from the following libraries: ## Disclaimer -Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. +Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. -Also, remember that when you connect to a server with this program, you will appear where you left the last time. This means that **you can die if you log in in an unsafe place on a survival server!** Use the script scheduler bot to send a teleport command after logging in. +This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. + +Also, remember that when you connect to a server with this program, you will appear where you left the last time. + +This means that **you can die if you log in in an unsafe place on a survival server!** + +Use the script scheduler bot to send a teleport command after logging in. We remind you that **you may get banned** by your server for using this program. Use accordingly with server rules. ## License -Minecraft Console Client is a totally free of charge, open source project. The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) +Minecraft Console Client is a totally free of charge, open source project. -Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) +The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) + +Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. + +More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) + +Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) diff --git a/docs/l10n/fr/guide/chat-bots.md b/docs/l10n/fr/guide/chat-bots.md index c67efc3d..64b6a790 100644 --- a/docs/l10n/fr/guide/chat-bots.md +++ b/docs/l10n/fr/guide/chat-bots.md @@ -67,6 +67,7 @@ - **Default:** `false` + #### `Beep_Enabled`

Tip

@@ -84,6 +85,7 @@ - **Default:** `true` + #### `Trigger_By_Words` - **Description:** @@ -97,6 +99,7 @@ - **Default:** `false` + #### `Trigger_By_Rain` - **Description:** @@ -110,6 +113,7 @@ - **Default:** `false` + #### `Trigger_By_Thunderstorm` - **Description:** @@ -123,6 +127,7 @@ - **Default:** `false` + #### `Log_To_File` - **Description:** @@ -136,6 +141,7 @@ - **Default:** `false` + #### `Log_File` - **Description:** @@ -147,6 +153,7 @@ - **Default:** `"alerts-log.txt"` + #### `Matches` - **Description:** @@ -162,6 +169,7 @@ ``` + #### `Excludes` - **Description:** @@ -199,6 +207,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -214,6 +223,7 @@ - **Default:** `{ min = 60.0, max = 60.0 }` + #### `Command` - **Description:** @@ -225,6 +235,7 @@ - **Default:** `/ping` + #### `Use_Sneak` - **Description:** @@ -236,20 +247,21 @@ - **Default:** `false` + #### `Use_Terrain_Handling` +

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)** + +
+ - **Description:** 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. -

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`. - **Type:** `boolean` @@ -257,6 +269,7 @@ - **Default:** `false` + #### `Walk_Range` - **Description:** @@ -268,32 +281,33 @@ - **Default:** `5` + #### `Walk_Retries` +

Tip

+ + **This happens on each trigger of the task, so it does not permanently switch to alternative method.** + +
+ - **Description:** 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. -

Tip

- - **This happens on each trigger of the task, so it does not permanently switch to alternative method.** - -
- - **Default:** `20` ## Auto Attack +

Tip

+ +**You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** + +
+ - **Description:** Automatically attacks mobs around you, you can configure it to attack both hostile and passive mobs and only certain mobs or all mobs. -

Tip

- - **You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** - -
- - **Settings:** **Section:** **`ChatBot.AutoAttack`** @@ -311,6 +325,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -330,6 +345,7 @@ - **Default:** `single` + #### `Priority` - **Description:** @@ -344,6 +360,7 @@ - **Default:** `distance` + #### `Cooldown_Time` - **Description:** @@ -363,6 +380,7 @@ - **Default:** `{ Custom = false, value = 1.0 }` + #### `Interaction` - **Description:** @@ -386,6 +404,7 @@ - **Default:** `Attack` + #### `Attack_Hostile` - **Description:** @@ -399,6 +418,7 @@ - **Default:** `true` + #### `Attack_Passive` - **Description:** @@ -412,6 +432,7 @@ - **Default:** `false` + #### `List_Mode` - **Description:** @@ -425,6 +446,7 @@ - **Default:** `whitelist` + #### `Entites_List` - **Description:** @@ -443,16 +465,16 @@ ## Auto Craft +

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.** + +
+ - **Description:** Automatically craft items in your inventory or in a 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:** - `/autocraft list` @@ -476,6 +498,7 @@ **Section:** **`ChatBot.AutoCraft`** + #### `Enabled` - **Description:** @@ -489,6 +512,7 @@ - **Default:** `false` + #### `CraftingTable` - **Description:** @@ -512,6 +536,7 @@ ``` + #### `OnFailure` - **Description:** @@ -527,8 +552,15 @@ - **Default:** `abort` + ### Defining a recipe +

Tip

+ + **If you're using `table` you need to set the `CraftingTable` setting.** + +
+ The recipes are defines as a separate new sub-section `[[ChatBot.AutoCraft.Recipes]]` of the `[ChatBot.AutoCraft]` section. The `[[ChatBot.AutoCraft.Recipes]]` section needs to contain the following settings: @@ -543,12 +575,6 @@ **Avaliable values:** `player` and `table` -

Tip

- - **If you're using `table` you need to set the `CraftingTable` setting.** - -
- - `Result` This is the type of resulting item. @@ -569,17 +595,6 @@ Slots = [ "", "", ... ] ``` -

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", ]`** - -
- -

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:** @@ -625,6 +640,10 @@

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", ]`** + + **All item types can be found [here](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/Inventory/ItemType.cs).** + **Make sure to provide materials for your bot by placing them in inventory first.**
@@ -658,6 +677,7 @@ **Section:** **`ChatBot.AutoDig`** + #### `Enabled` - **Description:** @@ -671,6 +691,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -696,6 +717,7 @@ - **Default:** `lookat` + #### `Locations` - **Description:** @@ -722,6 +744,7 @@ ``` + #### `Location_Order` - **Description:** @@ -743,6 +766,7 @@ - **Default:** `distance` + #### `Auto_Start_Delay` - **Description:** @@ -756,6 +780,7 @@ - **Default:** `3.0` + #### `Dig_Timeout` - **Description:** @@ -767,6 +792,7 @@ - **Default:** `60.0` + #### `Log_Block_Dig` - **Description:** @@ -780,6 +806,7 @@ - **Default:** `true` + #### `List_Type` - **Description:** @@ -793,6 +820,7 @@ - **Default:** `whitelist` + #### `Blocks` - **Description:** @@ -838,6 +866,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -865,6 +894,7 @@ - **Default:** `include` + #### `Items` - **Description:** @@ -914,6 +944,7 @@ - **Default:** `false` + #### `Threshold` - **Description:** @@ -966,6 +997,7 @@ **Section:** **`ChatBot.AutoFishing`** + #### `Enabled` - **Description:** @@ -979,6 +1011,7 @@ - **Default:** `false` + #### `Antidespawn` - **Description:** @@ -992,6 +1025,7 @@ - **Default:** `false` + #### `Mainhand` - **Description:** @@ -1008,6 +1042,7 @@ - **Default:** `true` + #### `Auto_Start` - **Description:** @@ -1021,6 +1056,7 @@ - **Default:** `true` + #### `Cast_Delay` - **Description:** @@ -1032,6 +1068,7 @@ - **Default:** `0.4` + #### `Fishing_Delay` - **Description:** @@ -1045,6 +1082,7 @@ - **Default:** `3.0` + #### `Fishing_Timeout` - **Description:** @@ -1056,6 +1094,7 @@ - **Default:** `300.0` + #### `Durability_Limit` - **Description:** @@ -1069,6 +1108,7 @@ - **Default:** `2` + #### `Auto_Rod_Switch` - **Description:** @@ -1082,6 +1122,7 @@ - **Default:** `true` + #### `Stationary_Threshold` - **Description:** @@ -1099,6 +1140,7 @@ - **Default:** `0.001` + #### `Hook_Threshold` - **Description:** @@ -1114,6 +1156,7 @@ - **Default:** `0.2` + #### `Log_Fish_Bobber` - **Description:** @@ -1129,6 +1172,7 @@ - **Default:** `false` + #### `Enable_Move` - **Description:** @@ -1144,6 +1188,7 @@ - **Default:** `false` + ### Adding a position/movement Each position/movement is added as a new `[[ChatBot.AutoFishing.Movements]]` subsection of `[ChatBot.AutoFishing]`. @@ -1185,6 +1230,7 @@ ``` + #### Full example ```toml @@ -1219,6 +1265,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -1236,6 +1283,7 @@ - **Default:** `{ min = 3.0, max = 3.0 }` + #### `Retries` - **Description:** @@ -1253,6 +1301,7 @@ - **Default:** `-1` + #### `Ignore_Kick_Message` - **Description:** @@ -1264,6 +1313,7 @@ - **Default:** `false` + #### `Kick_Messages` - **Description:** @@ -1311,6 +1361,7 @@ - **Default:** `false` + #### `Matches_File` - **Description:** @@ -1332,6 +1383,7 @@ - **Default:** `matches.ini` + #### `Match_Colors` - **Description:** @@ -1373,6 +1425,7 @@ - **Default:** `false` + #### `Add_DateTime` - **Description:** @@ -1384,6 +1437,7 @@ - **Default:** `true` + #### `Log_File` - **Description:** @@ -1393,6 +1447,7 @@ - **Default:** `chatlog-%username%-%serverip%.txt` + #### `Filter` - **Description:** @@ -1458,6 +1513,7 @@ - **Default:** `false` + #### `Update_Limit` - **Description:** @@ -1471,6 +1527,7 @@ - **Default:** `1.5` + #### `Stop_At_Distance` - **Description:** @@ -1512,6 +1569,7 @@ - **Default:** `false` + #### `English` - **Description:** @@ -1523,6 +1581,7 @@ - **Default:** `true` + #### `FileWords_EN` - **Description:** @@ -1539,6 +1598,7 @@ - **Example**: [`words-en.txt`](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/config/hangman-en.txt) + #### `FileWords_FR` - **Description:** @@ -1610,6 +1670,7 @@ **Section:** **`ChatBot.Mailer`** + #### `Enabled` - **Description:** @@ -1623,6 +1684,7 @@ - **Default:** `false` + #### `DatabaseFile` - **Description:** @@ -1634,6 +1696,7 @@ - **Default:** `MailerDatabase.ini` + #### `IgnoreListFile` - **Description:** @@ -1645,6 +1708,7 @@ - **Default:** `MailerIgnoreList.ini` + #### `PublicInteractions` - **Description:** @@ -1658,6 +1722,7 @@ - **Default:** `false` + #### `MaxMailsPerPlayer` - **Description:** @@ -1669,6 +1734,7 @@ - **Default:** `10` + #### `MaxDatabaseSize` - **Description:** @@ -1680,6 +1746,7 @@ - **Default:** `10000` (10 MB) + #### `MailRetentionDays` - **Description:** @@ -1733,6 +1800,7 @@ - **Default:** `false` + #### `Should_Resize` - **Description:** @@ -1760,6 +1828,7 @@ - **Default:** `false` + #### `Resize_To` - **Description:** @@ -1771,6 +1840,7 @@ - **Default:** `256` + #### `Auto_Render_On_Update` - **Description:** @@ -1790,6 +1860,7 @@ - **Default:** `false` + #### `Delete_All_On_Unload` - **Description:** @@ -1803,6 +1874,7 @@ - **Default:** `true` + #### `Notify_On_First_Update` - **Description:** @@ -1835,6 +1907,7 @@ - **Default:** `false` + #### `File` - **Description:** @@ -1844,6 +1917,7 @@ - **Default:** `playerlog.txt` + #### `Delay` - **Description:** @@ -1885,6 +1959,7 @@ - **Default:** `false` + #### `AutoTpaccept` - **Description:** @@ -1898,6 +1973,7 @@ - **Default:** `true` + #### `AutoTpaccept_Everyone` - **Description:** @@ -1951,6 +2027,7 @@ - **Default:** `false` + #### `Backup_Interval` - **Description:** @@ -1986,6 +2063,7 @@ - **Default:** `false` + ### Defining a task - **Description:** @@ -2061,6 +2139,7 @@ ``` + ### Full example ```toml diff --git a/docs/l10n/fr/guide/configuration.md b/docs/l10n/fr/guide/configuration.md index 30dd9cd6..71a5ed16 100644 --- a/docs/l10n/fr/guide/configuration.md +++ b/docs/l10n/fr/guide/configuration.md @@ -144,7 +144,7 @@ Coordinate = { x = 145, y = 64, y = 2045 } This setting is where you define which language you want to use. - When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages. These files describe how some messages should be printed depending on your preferred language. + When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages.These files describe how some messages should be printed depending on your preferred language. The client will automatically load `en_GB.lang` from your Minecraft folder if Minecraft is installed on your computer, or download it from Mojang's servers. You may choose another language in the configuration file. @@ -465,7 +465,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Use `no`, `fast` (5s timeout), or `yes`. Required for joining some servers. + Use `no`, `fast` (5s timeout), or `yes`. + + Required for joining some servers. - **Type:** `string` @@ -648,7 +650,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Affects only Minecraft 1.19+. This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. + Affects only Minecraft 1.19+. + + This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. #### `LoginWithSecureProfile` @@ -674,7 +678,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Whether to sign the messages contained in the commands sent by the MCC. For example, the message in `/msg` and `/me` + Whether to sign the messages contained in the commands sent by the MCC. + + For example, the message in `/msg` and `/me` - **Type:** `boolean` @@ -768,7 +774,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - This setting allows you to define if your want to see info messages. Most of the messages from MCC. + This setting allows you to define if your want to see info messages. + + Most of the messages from MCC. - **Type:** `boolean` @@ -955,7 +963,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - The proxy server IP and port. Proxy server must allow HTTPS for login, and non-443 ports for playing. + The proxy server IP and port. + + Proxy server must allow HTTPS for login, and non-443 ports for playing. - **Format:** diff --git a/docs/l10n/fr/guide/creating-bots.md b/docs/l10n/fr/guide/creating-bots.md index 9e46df68..bc5e2d77 100644 --- a/docs/l10n/fr/guide/creating-bots.md +++ b/docs/l10n/fr/guide/creating-bots.md @@ -99,7 +99,9 @@ Chat Bot (Script) structure is the following: ``` -**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. Every single Chat Bot (Script) must have this section at the beginning in order to work. +**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. + +Every single Chat Bot (Script) must have this section at the beginning in order to work. ### Script Metadata Format @@ -165,7 +167,9 @@ After the end of the **Script Metadata** section, you basically can define any n 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.. +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..

Tip

diff --git a/docs/l10n/fr/guide/installation.md b/docs/l10n/fr/guide/installation.md index 256241f6..92f61049 100644 --- a/docs/l10n/fr/guide/installation.md +++ b/docs/l10n/fr/guide/installation.md @@ -190,7 +190,11 @@ docker build -t minecraft-console-client:latest . docker run -it -v :/opt/data minecraft-console-client:latest ``` -Now you could login and the Client is running. To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. To reattach use the `docker attach` command. +Now you could login and the Client is running. + +To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. + +To reattach use the `docker attach` command. **Start the container using docker-compose:** @@ -222,7 +226,9 @@ docker-compose up docker-compose up -d #for deamonized running in the background ``` -Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. As above, you can stop and remove the container using +Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. + +As above, you can stop and remove the container using ```bash docker-compose down @@ -313,7 +319,9 @@ Once the script has downloaded, run it with: bash ubuntu.sh ``` -Then you will be asked a question, enter `Y` and press `Enter`. Once the installation is complete, you can start Ubuntu with: +Then you will be asked a question, enter `Y` and press `Enter`. + +Once the installation is complete, you can start Ubuntu with: ```bash ./startubuntu.sh @@ -499,7 +507,9 @@ To stop MCC from running you can press `CTRL + C` To edit the configuration/settings, you need a text editor, we recommend Nano, as it's very simple to use, if you have followed the installation steps above, you should be familiar with it, if not, check out [this tutorial](https://www.youtube.com/watch?v=DLeATFgGM-A). -For downloading files, you can use the `wget` file we have installed, simply run: `wget your_link_here` (you have examples above, and a video tutorial down bellow). +For downloading files, you can use the `wget` file we have installed, simply run: + +`wget your_link_here` (you have examples above, and a video tutorial down bellow). Also, here are some linux tutorials for people who are new to it: @@ -644,7 +654,9 @@ You also may want to search for better deals.
-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). +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 @@ -862,7 +874,11 @@ Make a new empty file named `authorized_keys`: touch authorized_keys ``` -Do no close the Git bash/Terminal emulator. On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). +Do no close the Git bash/Terminal emulator. + +On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. + +Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). Type the following command: @@ -940,7 +956,9 @@ Let's check if everything is working correctly: sudo systemctl status sshd ``` -If everything has been configured as it should be you should see `active (running)` as a status of the service. If not, open the config file again and check for mistakes. +If everything has been configured as it should be you should see `active (running)` as a status of the service. + +If not, open the config file again and check for mistakes. Press `q` to exit the log mode. diff --git a/docs/l10n/fr/guide/usage.md b/docs/l10n/fr/guide/usage.md index 044ba74d..ac53fe35 100644 --- a/docs/l10n/fr/guide/usage.md +++ b/docs/l10n/fr/guide/usage.md @@ -236,7 +236,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q - **Description:** - Allows you to list and unload a specific bot or all bots. Useful when debugging and developing scripts. + Allows you to list and unload a specific bot or all bots. + + Useful when debugging and developing scripts. - **Utilisation:** @@ -404,7 +406,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q Allows you to execute a command if a specific condition is met. - The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. + The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. + + The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. Also the instance of MCC is available with `MCC.`. diff --git a/docs/l10n/he/guide/README.md b/docs/l10n/he/guide/README.md index 81e1aee3..ce5a9b7c 100644 --- a/docs/l10n/he/guide/README.md +++ b/docs/l10n/he/guide/README.md @@ -150,14 +150,26 @@ Minecraft Console Client also borrows code from the following libraries: ## Disclaimer -Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. +Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. -Also, remember that when you connect to a server with this program, you will appear where you left the last time. This means that **you can die if you log in in an unsafe place on a survival server!** Use the script scheduler bot to send a teleport command after logging in. +This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. + +Also, remember that when you connect to a server with this program, you will appear where you left the last time. + +This means that **you can die if you log in in an unsafe place on a survival server!** + +Use the script scheduler bot to send a teleport command after logging in. We remind you that **you may get banned** by your server for using this program. Use accordingly with server rules. ## License -Minecraft Console Client is a totally free of charge, open source project. The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) +Minecraft Console Client is a totally free of charge, open source project. -Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) +The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) + +Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. + +More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) + +Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) diff --git a/docs/l10n/he/guide/chat-bots.md b/docs/l10n/he/guide/chat-bots.md index c67efc3d..64b6a790 100644 --- a/docs/l10n/he/guide/chat-bots.md +++ b/docs/l10n/he/guide/chat-bots.md @@ -67,6 +67,7 @@ - **Default:** `false` + #### `Beep_Enabled`

Tip

@@ -84,6 +85,7 @@ - **Default:** `true` + #### `Trigger_By_Words` - **Description:** @@ -97,6 +99,7 @@ - **Default:** `false` + #### `Trigger_By_Rain` - **Description:** @@ -110,6 +113,7 @@ - **Default:** `false` + #### `Trigger_By_Thunderstorm` - **Description:** @@ -123,6 +127,7 @@ - **Default:** `false` + #### `Log_To_File` - **Description:** @@ -136,6 +141,7 @@ - **Default:** `false` + #### `Log_File` - **Description:** @@ -147,6 +153,7 @@ - **Default:** `"alerts-log.txt"` + #### `Matches` - **Description:** @@ -162,6 +169,7 @@ ``` + #### `Excludes` - **Description:** @@ -199,6 +207,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -214,6 +223,7 @@ - **Default:** `{ min = 60.0, max = 60.0 }` + #### `Command` - **Description:** @@ -225,6 +235,7 @@ - **Default:** `/ping` + #### `Use_Sneak` - **Description:** @@ -236,20 +247,21 @@ - **Default:** `false` + #### `Use_Terrain_Handling` +

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)** + +
+ - **Description:** 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. -

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`. - **Type:** `boolean` @@ -257,6 +269,7 @@ - **Default:** `false` + #### `Walk_Range` - **Description:** @@ -268,32 +281,33 @@ - **Default:** `5` + #### `Walk_Retries` +

Tip

+ + **This happens on each trigger of the task, so it does not permanently switch to alternative method.** + +
+ - **Description:** 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. -

Tip

- - **This happens on each trigger of the task, so it does not permanently switch to alternative method.** - -
- - **Default:** `20` ## Auto Attack +

Tip

+ +**You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** + +
+ - **Description:** Automatically attacks mobs around you, you can configure it to attack both hostile and passive mobs and only certain mobs or all mobs. -

Tip

- - **You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** - -
- - **Settings:** **Section:** **`ChatBot.AutoAttack`** @@ -311,6 +325,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -330,6 +345,7 @@ - **Default:** `single` + #### `Priority` - **Description:** @@ -344,6 +360,7 @@ - **Default:** `distance` + #### `Cooldown_Time` - **Description:** @@ -363,6 +380,7 @@ - **Default:** `{ Custom = false, value = 1.0 }` + #### `Interaction` - **Description:** @@ -386,6 +404,7 @@ - **Default:** `Attack` + #### `Attack_Hostile` - **Description:** @@ -399,6 +418,7 @@ - **Default:** `true` + #### `Attack_Passive` - **Description:** @@ -412,6 +432,7 @@ - **Default:** `false` + #### `List_Mode` - **Description:** @@ -425,6 +446,7 @@ - **Default:** `whitelist` + #### `Entites_List` - **Description:** @@ -443,16 +465,16 @@ ## Auto Craft +

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.** + +
+ - **Description:** Automatically craft items in your inventory or in a 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:** - `/autocraft list` @@ -476,6 +498,7 @@ **Section:** **`ChatBot.AutoCraft`** + #### `Enabled` - **Description:** @@ -489,6 +512,7 @@ - **Default:** `false` + #### `CraftingTable` - **Description:** @@ -512,6 +536,7 @@ ``` + #### `OnFailure` - **Description:** @@ -527,8 +552,15 @@ - **Default:** `abort` + ### Defining a recipe +

Tip

+ + **If you're using `table` you need to set the `CraftingTable` setting.** + +
+ The recipes are defines as a separate new sub-section `[[ChatBot.AutoCraft.Recipes]]` of the `[ChatBot.AutoCraft]` section. The `[[ChatBot.AutoCraft.Recipes]]` section needs to contain the following settings: @@ -543,12 +575,6 @@ **Avaliable values:** `player` and `table` -

Tip

- - **If you're using `table` you need to set the `CraftingTable` setting.** - -
- - `Result` This is the type of resulting item. @@ -569,17 +595,6 @@ Slots = [ "", "", ... ] ``` -

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", ]`** - -
- -

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:** @@ -625,6 +640,10 @@

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", ]`** + + **All item types can be found [here](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/Inventory/ItemType.cs).** + **Make sure to provide materials for your bot by placing them in inventory first.**
@@ -658,6 +677,7 @@ **Section:** **`ChatBot.AutoDig`** + #### `Enabled` - **Description:** @@ -671,6 +691,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -696,6 +717,7 @@ - **Default:** `lookat` + #### `Locations` - **Description:** @@ -722,6 +744,7 @@ ``` + #### `Location_Order` - **Description:** @@ -743,6 +766,7 @@ - **Default:** `distance` + #### `Auto_Start_Delay` - **Description:** @@ -756,6 +780,7 @@ - **Default:** `3.0` + #### `Dig_Timeout` - **Description:** @@ -767,6 +792,7 @@ - **Default:** `60.0` + #### `Log_Block_Dig` - **Description:** @@ -780,6 +806,7 @@ - **Default:** `true` + #### `List_Type` - **Description:** @@ -793,6 +820,7 @@ - **Default:** `whitelist` + #### `Blocks` - **Description:** @@ -838,6 +866,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -865,6 +894,7 @@ - **Default:** `include` + #### `Items` - **Description:** @@ -914,6 +944,7 @@ - **Default:** `false` + #### `Threshold` - **Description:** @@ -966,6 +997,7 @@ **Section:** **`ChatBot.AutoFishing`** + #### `Enabled` - **Description:** @@ -979,6 +1011,7 @@ - **Default:** `false` + #### `Antidespawn` - **Description:** @@ -992,6 +1025,7 @@ - **Default:** `false` + #### `Mainhand` - **Description:** @@ -1008,6 +1042,7 @@ - **Default:** `true` + #### `Auto_Start` - **Description:** @@ -1021,6 +1056,7 @@ - **Default:** `true` + #### `Cast_Delay` - **Description:** @@ -1032,6 +1068,7 @@ - **Default:** `0.4` + #### `Fishing_Delay` - **Description:** @@ -1045,6 +1082,7 @@ - **Default:** `3.0` + #### `Fishing_Timeout` - **Description:** @@ -1056,6 +1094,7 @@ - **Default:** `300.0` + #### `Durability_Limit` - **Description:** @@ -1069,6 +1108,7 @@ - **Default:** `2` + #### `Auto_Rod_Switch` - **Description:** @@ -1082,6 +1122,7 @@ - **Default:** `true` + #### `Stationary_Threshold` - **Description:** @@ -1099,6 +1140,7 @@ - **Default:** `0.001` + #### `Hook_Threshold` - **Description:** @@ -1114,6 +1156,7 @@ - **Default:** `0.2` + #### `Log_Fish_Bobber` - **Description:** @@ -1129,6 +1172,7 @@ - **Default:** `false` + #### `Enable_Move` - **Description:** @@ -1144,6 +1188,7 @@ - **Default:** `false` + ### Adding a position/movement Each position/movement is added as a new `[[ChatBot.AutoFishing.Movements]]` subsection of `[ChatBot.AutoFishing]`. @@ -1185,6 +1230,7 @@ ``` + #### Full example ```toml @@ -1219,6 +1265,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -1236,6 +1283,7 @@ - **Default:** `{ min = 3.0, max = 3.0 }` + #### `Retries` - **Description:** @@ -1253,6 +1301,7 @@ - **Default:** `-1` + #### `Ignore_Kick_Message` - **Description:** @@ -1264,6 +1313,7 @@ - **Default:** `false` + #### `Kick_Messages` - **Description:** @@ -1311,6 +1361,7 @@ - **Default:** `false` + #### `Matches_File` - **Description:** @@ -1332,6 +1383,7 @@ - **Default:** `matches.ini` + #### `Match_Colors` - **Description:** @@ -1373,6 +1425,7 @@ - **Default:** `false` + #### `Add_DateTime` - **Description:** @@ -1384,6 +1437,7 @@ - **Default:** `true` + #### `Log_File` - **Description:** @@ -1393,6 +1447,7 @@ - **Default:** `chatlog-%username%-%serverip%.txt` + #### `Filter` - **Description:** @@ -1458,6 +1513,7 @@ - **Default:** `false` + #### `Update_Limit` - **Description:** @@ -1471,6 +1527,7 @@ - **Default:** `1.5` + #### `Stop_At_Distance` - **Description:** @@ -1512,6 +1569,7 @@ - **Default:** `false` + #### `English` - **Description:** @@ -1523,6 +1581,7 @@ - **Default:** `true` + #### `FileWords_EN` - **Description:** @@ -1539,6 +1598,7 @@ - **Example**: [`words-en.txt`](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/config/hangman-en.txt) + #### `FileWords_FR` - **Description:** @@ -1610,6 +1670,7 @@ **Section:** **`ChatBot.Mailer`** + #### `Enabled` - **Description:** @@ -1623,6 +1684,7 @@ - **Default:** `false` + #### `DatabaseFile` - **Description:** @@ -1634,6 +1696,7 @@ - **Default:** `MailerDatabase.ini` + #### `IgnoreListFile` - **Description:** @@ -1645,6 +1708,7 @@ - **Default:** `MailerIgnoreList.ini` + #### `PublicInteractions` - **Description:** @@ -1658,6 +1722,7 @@ - **Default:** `false` + #### `MaxMailsPerPlayer` - **Description:** @@ -1669,6 +1734,7 @@ - **Default:** `10` + #### `MaxDatabaseSize` - **Description:** @@ -1680,6 +1746,7 @@ - **Default:** `10000` (10 MB) + #### `MailRetentionDays` - **Description:** @@ -1733,6 +1800,7 @@ - **Default:** `false` + #### `Should_Resize` - **Description:** @@ -1760,6 +1828,7 @@ - **Default:** `false` + #### `Resize_To` - **Description:** @@ -1771,6 +1840,7 @@ - **Default:** `256` + #### `Auto_Render_On_Update` - **Description:** @@ -1790,6 +1860,7 @@ - **Default:** `false` + #### `Delete_All_On_Unload` - **Description:** @@ -1803,6 +1874,7 @@ - **Default:** `true` + #### `Notify_On_First_Update` - **Description:** @@ -1835,6 +1907,7 @@ - **Default:** `false` + #### `File` - **Description:** @@ -1844,6 +1917,7 @@ - **Default:** `playerlog.txt` + #### `Delay` - **Description:** @@ -1885,6 +1959,7 @@ - **Default:** `false` + #### `AutoTpaccept` - **Description:** @@ -1898,6 +1973,7 @@ - **Default:** `true` + #### `AutoTpaccept_Everyone` - **Description:** @@ -1951,6 +2027,7 @@ - **Default:** `false` + #### `Backup_Interval` - **Description:** @@ -1986,6 +2063,7 @@ - **Default:** `false` + ### Defining a task - **Description:** @@ -2061,6 +2139,7 @@ ``` + ### Full example ```toml diff --git a/docs/l10n/he/guide/configuration.md b/docs/l10n/he/guide/configuration.md index 30dd9cd6..71a5ed16 100644 --- a/docs/l10n/he/guide/configuration.md +++ b/docs/l10n/he/guide/configuration.md @@ -144,7 +144,7 @@ Coordinate = { x = 145, y = 64, y = 2045 } This setting is where you define which language you want to use. - When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages. These files describe how some messages should be printed depending on your preferred language. + When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages.These files describe how some messages should be printed depending on your preferred language. The client will automatically load `en_GB.lang` from your Minecraft folder if Minecraft is installed on your computer, or download it from Mojang's servers. You may choose another language in the configuration file. @@ -465,7 +465,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Use `no`, `fast` (5s timeout), or `yes`. Required for joining some servers. + Use `no`, `fast` (5s timeout), or `yes`. + + Required for joining some servers. - **Type:** `string` @@ -648,7 +650,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Affects only Minecraft 1.19+. This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. + Affects only Minecraft 1.19+. + + This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. #### `LoginWithSecureProfile` @@ -674,7 +678,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Whether to sign the messages contained in the commands sent by the MCC. For example, the message in `/msg` and `/me` + Whether to sign the messages contained in the commands sent by the MCC. + + For example, the message in `/msg` and `/me` - **Type:** `boolean` @@ -768,7 +774,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - This setting allows you to define if your want to see info messages. Most of the messages from MCC. + This setting allows you to define if your want to see info messages. + + Most of the messages from MCC. - **Type:** `boolean` @@ -955,7 +963,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - The proxy server IP and port. Proxy server must allow HTTPS for login, and non-443 ports for playing. + The proxy server IP and port. + + Proxy server must allow HTTPS for login, and non-443 ports for playing. - **Format:** diff --git a/docs/l10n/he/guide/creating-bots.md b/docs/l10n/he/guide/creating-bots.md index 9e46df68..bc5e2d77 100644 --- a/docs/l10n/he/guide/creating-bots.md +++ b/docs/l10n/he/guide/creating-bots.md @@ -99,7 +99,9 @@ Chat Bot (Script) structure is the following: ``` -**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. Every single Chat Bot (Script) must have this section at the beginning in order to work. +**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. + +Every single Chat Bot (Script) must have this section at the beginning in order to work. ### Script Metadata Format @@ -165,7 +167,9 @@ After the end of the **Script Metadata** section, you basically can define any n 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.. +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..

Tip

diff --git a/docs/l10n/he/guide/installation.md b/docs/l10n/he/guide/installation.md index 256241f6..92f61049 100644 --- a/docs/l10n/he/guide/installation.md +++ b/docs/l10n/he/guide/installation.md @@ -190,7 +190,11 @@ docker build -t minecraft-console-client:latest . docker run -it -v :/opt/data minecraft-console-client:latest ``` -Now you could login and the Client is running. To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. To reattach use the `docker attach` command. +Now you could login and the Client is running. + +To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. + +To reattach use the `docker attach` command. **Start the container using docker-compose:** @@ -222,7 +226,9 @@ docker-compose up docker-compose up -d #for deamonized running in the background ``` -Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. As above, you can stop and remove the container using +Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. + +As above, you can stop and remove the container using ```bash docker-compose down @@ -313,7 +319,9 @@ Once the script has downloaded, run it with: bash ubuntu.sh ``` -Then you will be asked a question, enter `Y` and press `Enter`. Once the installation is complete, you can start Ubuntu with: +Then you will be asked a question, enter `Y` and press `Enter`. + +Once the installation is complete, you can start Ubuntu with: ```bash ./startubuntu.sh @@ -499,7 +507,9 @@ To stop MCC from running you can press `CTRL + C` To edit the configuration/settings, you need a text editor, we recommend Nano, as it's very simple to use, if you have followed the installation steps above, you should be familiar with it, if not, check out [this tutorial](https://www.youtube.com/watch?v=DLeATFgGM-A). -For downloading files, you can use the `wget` file we have installed, simply run: `wget your_link_here` (you have examples above, and a video tutorial down bellow). +For downloading files, you can use the `wget` file we have installed, simply run: + +`wget your_link_here` (you have examples above, and a video tutorial down bellow). Also, here are some linux tutorials for people who are new to it: @@ -644,7 +654,9 @@ You also may want to search for better deals.
-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). +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 @@ -862,7 +874,11 @@ Make a new empty file named `authorized_keys`: touch authorized_keys ``` -Do no close the Git bash/Terminal emulator. On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). +Do no close the Git bash/Terminal emulator. + +On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. + +Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). Type the following command: @@ -940,7 +956,9 @@ Let's check if everything is working correctly: sudo systemctl status sshd ``` -If everything has been configured as it should be you should see `active (running)` as a status of the service. If not, open the config file again and check for mistakes. +If everything has been configured as it should be you should see `active (running)` as a status of the service. + +If not, open the config file again and check for mistakes. Press `q` to exit the log mode. diff --git a/docs/l10n/he/guide/usage.md b/docs/l10n/he/guide/usage.md index d0ccab5e..e65294df 100644 --- a/docs/l10n/he/guide/usage.md +++ b/docs/l10n/he/guide/usage.md @@ -236,7 +236,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q - **Description:** - Allows you to list and unload a specific bot or all bots. Useful when debugging and developing scripts. + Allows you to list and unload a specific bot or all bots. + + Useful when debugging and developing scripts. - **Usage:** @@ -404,7 +406,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q Allows you to execute a command if a specific condition is met. - The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. + The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. + + The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. Also the instance of MCC is available with `MCC.`. diff --git a/docs/l10n/hu/guide/README.md b/docs/l10n/hu/guide/README.md index 81e1aee3..ce5a9b7c 100644 --- a/docs/l10n/hu/guide/README.md +++ b/docs/l10n/hu/guide/README.md @@ -150,14 +150,26 @@ Minecraft Console Client also borrows code from the following libraries: ## Disclaimer -Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. +Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. -Also, remember that when you connect to a server with this program, you will appear where you left the last time. This means that **you can die if you log in in an unsafe place on a survival server!** Use the script scheduler bot to send a teleport command after logging in. +This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. + +Also, remember that when you connect to a server with this program, you will appear where you left the last time. + +This means that **you can die if you log in in an unsafe place on a survival server!** + +Use the script scheduler bot to send a teleport command after logging in. We remind you that **you may get banned** by your server for using this program. Use accordingly with server rules. ## License -Minecraft Console Client is a totally free of charge, open source project. The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) +Minecraft Console Client is a totally free of charge, open source project. -Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) +The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) + +Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. + +More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) + +Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) diff --git a/docs/l10n/hu/guide/chat-bots.md b/docs/l10n/hu/guide/chat-bots.md index c67efc3d..64b6a790 100644 --- a/docs/l10n/hu/guide/chat-bots.md +++ b/docs/l10n/hu/guide/chat-bots.md @@ -67,6 +67,7 @@ - **Default:** `false` + #### `Beep_Enabled`

Tip

@@ -84,6 +85,7 @@ - **Default:** `true` + #### `Trigger_By_Words` - **Description:** @@ -97,6 +99,7 @@ - **Default:** `false` + #### `Trigger_By_Rain` - **Description:** @@ -110,6 +113,7 @@ - **Default:** `false` + #### `Trigger_By_Thunderstorm` - **Description:** @@ -123,6 +127,7 @@ - **Default:** `false` + #### `Log_To_File` - **Description:** @@ -136,6 +141,7 @@ - **Default:** `false` + #### `Log_File` - **Description:** @@ -147,6 +153,7 @@ - **Default:** `"alerts-log.txt"` + #### `Matches` - **Description:** @@ -162,6 +169,7 @@ ``` + #### `Excludes` - **Description:** @@ -199,6 +207,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -214,6 +223,7 @@ - **Default:** `{ min = 60.0, max = 60.0 }` + #### `Command` - **Description:** @@ -225,6 +235,7 @@ - **Default:** `/ping` + #### `Use_Sneak` - **Description:** @@ -236,20 +247,21 @@ - **Default:** `false` + #### `Use_Terrain_Handling` +

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)** + +
+ - **Description:** 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. -

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`. - **Type:** `boolean` @@ -257,6 +269,7 @@ - **Default:** `false` + #### `Walk_Range` - **Description:** @@ -268,32 +281,33 @@ - **Default:** `5` + #### `Walk_Retries` +

Tip

+ + **This happens on each trigger of the task, so it does not permanently switch to alternative method.** + +
+ - **Description:** 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. -

Tip

- - **This happens on each trigger of the task, so it does not permanently switch to alternative method.** - -
- - **Default:** `20` ## Auto Attack +

Tip

+ +**You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** + +
+ - **Description:** Automatically attacks mobs around you, you can configure it to attack both hostile and passive mobs and only certain mobs or all mobs. -

Tip

- - **You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** - -
- - **Settings:** **Section:** **`ChatBot.AutoAttack`** @@ -311,6 +325,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -330,6 +345,7 @@ - **Default:** `single` + #### `Priority` - **Description:** @@ -344,6 +360,7 @@ - **Default:** `distance` + #### `Cooldown_Time` - **Description:** @@ -363,6 +380,7 @@ - **Default:** `{ Custom = false, value = 1.0 }` + #### `Interaction` - **Description:** @@ -386,6 +404,7 @@ - **Default:** `Attack` + #### `Attack_Hostile` - **Description:** @@ -399,6 +418,7 @@ - **Default:** `true` + #### `Attack_Passive` - **Description:** @@ -412,6 +432,7 @@ - **Default:** `false` + #### `List_Mode` - **Description:** @@ -425,6 +446,7 @@ - **Default:** `whitelist` + #### `Entites_List` - **Description:** @@ -443,16 +465,16 @@ ## Auto Craft +

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.** + +
+ - **Description:** Automatically craft items in your inventory or in a 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:** - `/autocraft list` @@ -476,6 +498,7 @@ **Section:** **`ChatBot.AutoCraft`** + #### `Enabled` - **Description:** @@ -489,6 +512,7 @@ - **Default:** `false` + #### `CraftingTable` - **Description:** @@ -512,6 +536,7 @@ ``` + #### `OnFailure` - **Description:** @@ -527,8 +552,15 @@ - **Default:** `abort` + ### Defining a recipe +

Tip

+ + **If you're using `table` you need to set the `CraftingTable` setting.** + +
+ The recipes are defines as a separate new sub-section `[[ChatBot.AutoCraft.Recipes]]` of the `[ChatBot.AutoCraft]` section. The `[[ChatBot.AutoCraft.Recipes]]` section needs to contain the following settings: @@ -543,12 +575,6 @@ **Avaliable values:** `player` and `table` -

Tip

- - **If you're using `table` you need to set the `CraftingTable` setting.** - -
- - `Result` This is the type of resulting item. @@ -569,17 +595,6 @@ Slots = [ "", "", ... ] ``` -

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", ]`** - -
- -

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:** @@ -625,6 +640,10 @@

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", ]`** + + **All item types can be found [here](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/Inventory/ItemType.cs).** + **Make sure to provide materials for your bot by placing them in inventory first.**
@@ -658,6 +677,7 @@ **Section:** **`ChatBot.AutoDig`** + #### `Enabled` - **Description:** @@ -671,6 +691,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -696,6 +717,7 @@ - **Default:** `lookat` + #### `Locations` - **Description:** @@ -722,6 +744,7 @@ ``` + #### `Location_Order` - **Description:** @@ -743,6 +766,7 @@ - **Default:** `distance` + #### `Auto_Start_Delay` - **Description:** @@ -756,6 +780,7 @@ - **Default:** `3.0` + #### `Dig_Timeout` - **Description:** @@ -767,6 +792,7 @@ - **Default:** `60.0` + #### `Log_Block_Dig` - **Description:** @@ -780,6 +806,7 @@ - **Default:** `true` + #### `List_Type` - **Description:** @@ -793,6 +820,7 @@ - **Default:** `whitelist` + #### `Blocks` - **Description:** @@ -838,6 +866,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -865,6 +894,7 @@ - **Default:** `include` + #### `Items` - **Description:** @@ -914,6 +944,7 @@ - **Default:** `false` + #### `Threshold` - **Description:** @@ -966,6 +997,7 @@ **Section:** **`ChatBot.AutoFishing`** + #### `Enabled` - **Description:** @@ -979,6 +1011,7 @@ - **Default:** `false` + #### `Antidespawn` - **Description:** @@ -992,6 +1025,7 @@ - **Default:** `false` + #### `Mainhand` - **Description:** @@ -1008,6 +1042,7 @@ - **Default:** `true` + #### `Auto_Start` - **Description:** @@ -1021,6 +1056,7 @@ - **Default:** `true` + #### `Cast_Delay` - **Description:** @@ -1032,6 +1068,7 @@ - **Default:** `0.4` + #### `Fishing_Delay` - **Description:** @@ -1045,6 +1082,7 @@ - **Default:** `3.0` + #### `Fishing_Timeout` - **Description:** @@ -1056,6 +1094,7 @@ - **Default:** `300.0` + #### `Durability_Limit` - **Description:** @@ -1069,6 +1108,7 @@ - **Default:** `2` + #### `Auto_Rod_Switch` - **Description:** @@ -1082,6 +1122,7 @@ - **Default:** `true` + #### `Stationary_Threshold` - **Description:** @@ -1099,6 +1140,7 @@ - **Default:** `0.001` + #### `Hook_Threshold` - **Description:** @@ -1114,6 +1156,7 @@ - **Default:** `0.2` + #### `Log_Fish_Bobber` - **Description:** @@ -1129,6 +1172,7 @@ - **Default:** `false` + #### `Enable_Move` - **Description:** @@ -1144,6 +1188,7 @@ - **Default:** `false` + ### Adding a position/movement Each position/movement is added as a new `[[ChatBot.AutoFishing.Movements]]` subsection of `[ChatBot.AutoFishing]`. @@ -1185,6 +1230,7 @@ ``` + #### Full example ```toml @@ -1219,6 +1265,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -1236,6 +1283,7 @@ - **Default:** `{ min = 3.0, max = 3.0 }` + #### `Retries` - **Description:** @@ -1253,6 +1301,7 @@ - **Default:** `-1` + #### `Ignore_Kick_Message` - **Description:** @@ -1264,6 +1313,7 @@ - **Default:** `false` + #### `Kick_Messages` - **Description:** @@ -1311,6 +1361,7 @@ - **Default:** `false` + #### `Matches_File` - **Description:** @@ -1332,6 +1383,7 @@ - **Default:** `matches.ini` + #### `Match_Colors` - **Description:** @@ -1373,6 +1425,7 @@ - **Default:** `false` + #### `Add_DateTime` - **Description:** @@ -1384,6 +1437,7 @@ - **Default:** `true` + #### `Log_File` - **Description:** @@ -1393,6 +1447,7 @@ - **Default:** `chatlog-%username%-%serverip%.txt` + #### `Filter` - **Description:** @@ -1458,6 +1513,7 @@ - **Default:** `false` + #### `Update_Limit` - **Description:** @@ -1471,6 +1527,7 @@ - **Default:** `1.5` + #### `Stop_At_Distance` - **Description:** @@ -1512,6 +1569,7 @@ - **Default:** `false` + #### `English` - **Description:** @@ -1523,6 +1581,7 @@ - **Default:** `true` + #### `FileWords_EN` - **Description:** @@ -1539,6 +1598,7 @@ - **Example**: [`words-en.txt`](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/config/hangman-en.txt) + #### `FileWords_FR` - **Description:** @@ -1610,6 +1670,7 @@ **Section:** **`ChatBot.Mailer`** + #### `Enabled` - **Description:** @@ -1623,6 +1684,7 @@ - **Default:** `false` + #### `DatabaseFile` - **Description:** @@ -1634,6 +1696,7 @@ - **Default:** `MailerDatabase.ini` + #### `IgnoreListFile` - **Description:** @@ -1645,6 +1708,7 @@ - **Default:** `MailerIgnoreList.ini` + #### `PublicInteractions` - **Description:** @@ -1658,6 +1722,7 @@ - **Default:** `false` + #### `MaxMailsPerPlayer` - **Description:** @@ -1669,6 +1734,7 @@ - **Default:** `10` + #### `MaxDatabaseSize` - **Description:** @@ -1680,6 +1746,7 @@ - **Default:** `10000` (10 MB) + #### `MailRetentionDays` - **Description:** @@ -1733,6 +1800,7 @@ - **Default:** `false` + #### `Should_Resize` - **Description:** @@ -1760,6 +1828,7 @@ - **Default:** `false` + #### `Resize_To` - **Description:** @@ -1771,6 +1840,7 @@ - **Default:** `256` + #### `Auto_Render_On_Update` - **Description:** @@ -1790,6 +1860,7 @@ - **Default:** `false` + #### `Delete_All_On_Unload` - **Description:** @@ -1803,6 +1874,7 @@ - **Default:** `true` + #### `Notify_On_First_Update` - **Description:** @@ -1835,6 +1907,7 @@ - **Default:** `false` + #### `File` - **Description:** @@ -1844,6 +1917,7 @@ - **Default:** `playerlog.txt` + #### `Delay` - **Description:** @@ -1885,6 +1959,7 @@ - **Default:** `false` + #### `AutoTpaccept` - **Description:** @@ -1898,6 +1973,7 @@ - **Default:** `true` + #### `AutoTpaccept_Everyone` - **Description:** @@ -1951,6 +2027,7 @@ - **Default:** `false` + #### `Backup_Interval` - **Description:** @@ -1986,6 +2063,7 @@ - **Default:** `false` + ### Defining a task - **Description:** @@ -2061,6 +2139,7 @@ ``` + ### Full example ```toml diff --git a/docs/l10n/hu/guide/configuration.md b/docs/l10n/hu/guide/configuration.md index 30dd9cd6..71a5ed16 100644 --- a/docs/l10n/hu/guide/configuration.md +++ b/docs/l10n/hu/guide/configuration.md @@ -144,7 +144,7 @@ Coordinate = { x = 145, y = 64, y = 2045 } This setting is where you define which language you want to use. - When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages. These files describe how some messages should be printed depending on your preferred language. + When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages.These files describe how some messages should be printed depending on your preferred language. The client will automatically load `en_GB.lang` from your Minecraft folder if Minecraft is installed on your computer, or download it from Mojang's servers. You may choose another language in the configuration file. @@ -465,7 +465,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Use `no`, `fast` (5s timeout), or `yes`. Required for joining some servers. + Use `no`, `fast` (5s timeout), or `yes`. + + Required for joining some servers. - **Type:** `string` @@ -648,7 +650,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Affects only Minecraft 1.19+. This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. + Affects only Minecraft 1.19+. + + This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. #### `LoginWithSecureProfile` @@ -674,7 +678,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Whether to sign the messages contained in the commands sent by the MCC. For example, the message in `/msg` and `/me` + Whether to sign the messages contained in the commands sent by the MCC. + + For example, the message in `/msg` and `/me` - **Type:** `boolean` @@ -768,7 +774,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - This setting allows you to define if your want to see info messages. Most of the messages from MCC. + This setting allows you to define if your want to see info messages. + + Most of the messages from MCC. - **Type:** `boolean` @@ -955,7 +963,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - The proxy server IP and port. Proxy server must allow HTTPS for login, and non-443 ports for playing. + The proxy server IP and port. + + Proxy server must allow HTTPS for login, and non-443 ports for playing. - **Format:** diff --git a/docs/l10n/hu/guide/creating-bots.md b/docs/l10n/hu/guide/creating-bots.md index 9e46df68..bc5e2d77 100644 --- a/docs/l10n/hu/guide/creating-bots.md +++ b/docs/l10n/hu/guide/creating-bots.md @@ -99,7 +99,9 @@ Chat Bot (Script) structure is the following: ``` -**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. Every single Chat Bot (Script) must have this section at the beginning in order to work. +**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. + +Every single Chat Bot (Script) must have this section at the beginning in order to work. ### Script Metadata Format @@ -165,7 +167,9 @@ After the end of the **Script Metadata** section, you basically can define any n 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.. +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..

Tip

diff --git a/docs/l10n/hu/guide/installation.md b/docs/l10n/hu/guide/installation.md index 256241f6..92f61049 100644 --- a/docs/l10n/hu/guide/installation.md +++ b/docs/l10n/hu/guide/installation.md @@ -190,7 +190,11 @@ docker build -t minecraft-console-client:latest . docker run -it -v :/opt/data minecraft-console-client:latest ``` -Now you could login and the Client is running. To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. To reattach use the `docker attach` command. +Now you could login and the Client is running. + +To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. + +To reattach use the `docker attach` command. **Start the container using docker-compose:** @@ -222,7 +226,9 @@ docker-compose up docker-compose up -d #for deamonized running in the background ``` -Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. As above, you can stop and remove the container using +Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. + +As above, you can stop and remove the container using ```bash docker-compose down @@ -313,7 +319,9 @@ Once the script has downloaded, run it with: bash ubuntu.sh ``` -Then you will be asked a question, enter `Y` and press `Enter`. Once the installation is complete, you can start Ubuntu with: +Then you will be asked a question, enter `Y` and press `Enter`. + +Once the installation is complete, you can start Ubuntu with: ```bash ./startubuntu.sh @@ -499,7 +507,9 @@ To stop MCC from running you can press `CTRL + C` To edit the configuration/settings, you need a text editor, we recommend Nano, as it's very simple to use, if you have followed the installation steps above, you should be familiar with it, if not, check out [this tutorial](https://www.youtube.com/watch?v=DLeATFgGM-A). -For downloading files, you can use the `wget` file we have installed, simply run: `wget your_link_here` (you have examples above, and a video tutorial down bellow). +For downloading files, you can use the `wget` file we have installed, simply run: + +`wget your_link_here` (you have examples above, and a video tutorial down bellow). Also, here are some linux tutorials for people who are new to it: @@ -644,7 +654,9 @@ You also may want to search for better deals.
-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). +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 @@ -862,7 +874,11 @@ Make a new empty file named `authorized_keys`: touch authorized_keys ``` -Do no close the Git bash/Terminal emulator. On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). +Do no close the Git bash/Terminal emulator. + +On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. + +Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). Type the following command: @@ -940,7 +956,9 @@ Let's check if everything is working correctly: sudo systemctl status sshd ``` -If everything has been configured as it should be you should see `active (running)` as a status of the service. If not, open the config file again and check for mistakes. +If everything has been configured as it should be you should see `active (running)` as a status of the service. + +If not, open the config file again and check for mistakes. Press `q` to exit the log mode. diff --git a/docs/l10n/hu/guide/usage.md b/docs/l10n/hu/guide/usage.md index d0ccab5e..e65294df 100644 --- a/docs/l10n/hu/guide/usage.md +++ b/docs/l10n/hu/guide/usage.md @@ -236,7 +236,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q - **Description:** - Allows you to list and unload a specific bot or all bots. Useful when debugging and developing scripts. + Allows you to list and unload a specific bot or all bots. + + Useful when debugging and developing scripts. - **Usage:** @@ -404,7 +406,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q Allows you to execute a command if a specific condition is met. - The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. + The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. + + The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. Also the instance of MCC is available with `MCC.`. diff --git a/docs/l10n/it/guide/README.md b/docs/l10n/it/guide/README.md index 81e1aee3..ce5a9b7c 100644 --- a/docs/l10n/it/guide/README.md +++ b/docs/l10n/it/guide/README.md @@ -150,14 +150,26 @@ Minecraft Console Client also borrows code from the following libraries: ## Disclaimer -Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. +Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. -Also, remember that when you connect to a server with this program, you will appear where you left the last time. This means that **you can die if you log in in an unsafe place on a survival server!** Use the script scheduler bot to send a teleport command after logging in. +This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. + +Also, remember that when you connect to a server with this program, you will appear where you left the last time. + +This means that **you can die if you log in in an unsafe place on a survival server!** + +Use the script scheduler bot to send a teleport command after logging in. We remind you that **you may get banned** by your server for using this program. Use accordingly with server rules. ## License -Minecraft Console Client is a totally free of charge, open source project. The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) +Minecraft Console Client is a totally free of charge, open source project. -Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) +The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) + +Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. + +More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) + +Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) diff --git a/docs/l10n/it/guide/chat-bots.md b/docs/l10n/it/guide/chat-bots.md index c67efc3d..64b6a790 100644 --- a/docs/l10n/it/guide/chat-bots.md +++ b/docs/l10n/it/guide/chat-bots.md @@ -67,6 +67,7 @@ - **Default:** `false` + #### `Beep_Enabled`

Tip

@@ -84,6 +85,7 @@ - **Default:** `true` + #### `Trigger_By_Words` - **Description:** @@ -97,6 +99,7 @@ - **Default:** `false` + #### `Trigger_By_Rain` - **Description:** @@ -110,6 +113,7 @@ - **Default:** `false` + #### `Trigger_By_Thunderstorm` - **Description:** @@ -123,6 +127,7 @@ - **Default:** `false` + #### `Log_To_File` - **Description:** @@ -136,6 +141,7 @@ - **Default:** `false` + #### `Log_File` - **Description:** @@ -147,6 +153,7 @@ - **Default:** `"alerts-log.txt"` + #### `Matches` - **Description:** @@ -162,6 +169,7 @@ ``` + #### `Excludes` - **Description:** @@ -199,6 +207,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -214,6 +223,7 @@ - **Default:** `{ min = 60.0, max = 60.0 }` + #### `Command` - **Description:** @@ -225,6 +235,7 @@ - **Default:** `/ping` + #### `Use_Sneak` - **Description:** @@ -236,20 +247,21 @@ - **Default:** `false` + #### `Use_Terrain_Handling` +

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)** + +
+ - **Description:** 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. -

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`. - **Type:** `boolean` @@ -257,6 +269,7 @@ - **Default:** `false` + #### `Walk_Range` - **Description:** @@ -268,32 +281,33 @@ - **Default:** `5` + #### `Walk_Retries` +

Tip

+ + **This happens on each trigger of the task, so it does not permanently switch to alternative method.** + +
+ - **Description:** 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. -

Tip

- - **This happens on each trigger of the task, so it does not permanently switch to alternative method.** - -
- - **Default:** `20` ## Auto Attack +

Tip

+ +**You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** + +
+ - **Description:** Automatically attacks mobs around you, you can configure it to attack both hostile and passive mobs and only certain mobs or all mobs. -

Tip

- - **You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** - -
- - **Settings:** **Section:** **`ChatBot.AutoAttack`** @@ -311,6 +325,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -330,6 +345,7 @@ - **Default:** `single` + #### `Priority` - **Description:** @@ -344,6 +360,7 @@ - **Default:** `distance` + #### `Cooldown_Time` - **Description:** @@ -363,6 +380,7 @@ - **Default:** `{ Custom = false, value = 1.0 }` + #### `Interaction` - **Description:** @@ -386,6 +404,7 @@ - **Default:** `Attack` + #### `Attack_Hostile` - **Description:** @@ -399,6 +418,7 @@ - **Default:** `true` + #### `Attack_Passive` - **Description:** @@ -412,6 +432,7 @@ - **Default:** `false` + #### `List_Mode` - **Description:** @@ -425,6 +446,7 @@ - **Default:** `whitelist` + #### `Entites_List` - **Description:** @@ -443,16 +465,16 @@ ## Auto Craft +

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.** + +
+ - **Description:** Automatically craft items in your inventory or in a 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:** - `/autocraft list` @@ -476,6 +498,7 @@ **Section:** **`ChatBot.AutoCraft`** + #### `Enabled` - **Description:** @@ -489,6 +512,7 @@ - **Default:** `false` + #### `CraftingTable` - **Description:** @@ -512,6 +536,7 @@ ``` + #### `OnFailure` - **Description:** @@ -527,8 +552,15 @@ - **Default:** `abort` + ### Defining a recipe +

Tip

+ + **If you're using `table` you need to set the `CraftingTable` setting.** + +
+ The recipes are defines as a separate new sub-section `[[ChatBot.AutoCraft.Recipes]]` of the `[ChatBot.AutoCraft]` section. The `[[ChatBot.AutoCraft.Recipes]]` section needs to contain the following settings: @@ -543,12 +575,6 @@ **Avaliable values:** `player` and `table` -

Tip

- - **If you're using `table` you need to set the `CraftingTable` setting.** - -
- - `Result` This is the type of resulting item. @@ -569,17 +595,6 @@ Slots = [ "", "", ... ] ``` -

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", ]`** - -
- -

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:** @@ -625,6 +640,10 @@

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", ]`** + + **All item types can be found [here](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/Inventory/ItemType.cs).** + **Make sure to provide materials for your bot by placing them in inventory first.**
@@ -658,6 +677,7 @@ **Section:** **`ChatBot.AutoDig`** + #### `Enabled` - **Description:** @@ -671,6 +691,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -696,6 +717,7 @@ - **Default:** `lookat` + #### `Locations` - **Description:** @@ -722,6 +744,7 @@ ``` + #### `Location_Order` - **Description:** @@ -743,6 +766,7 @@ - **Default:** `distance` + #### `Auto_Start_Delay` - **Description:** @@ -756,6 +780,7 @@ - **Default:** `3.0` + #### `Dig_Timeout` - **Description:** @@ -767,6 +792,7 @@ - **Default:** `60.0` + #### `Log_Block_Dig` - **Description:** @@ -780,6 +806,7 @@ - **Default:** `true` + #### `List_Type` - **Description:** @@ -793,6 +820,7 @@ - **Default:** `whitelist` + #### `Blocks` - **Description:** @@ -838,6 +866,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -865,6 +894,7 @@ - **Default:** `include` + #### `Items` - **Description:** @@ -914,6 +944,7 @@ - **Default:** `false` + #### `Threshold` - **Description:** @@ -966,6 +997,7 @@ **Section:** **`ChatBot.AutoFishing`** + #### `Enabled` - **Description:** @@ -979,6 +1011,7 @@ - **Default:** `false` + #### `Antidespawn` - **Description:** @@ -992,6 +1025,7 @@ - **Default:** `false` + #### `Mainhand` - **Description:** @@ -1008,6 +1042,7 @@ - **Default:** `true` + #### `Auto_Start` - **Description:** @@ -1021,6 +1056,7 @@ - **Default:** `true` + #### `Cast_Delay` - **Description:** @@ -1032,6 +1068,7 @@ - **Default:** `0.4` + #### `Fishing_Delay` - **Description:** @@ -1045,6 +1082,7 @@ - **Default:** `3.0` + #### `Fishing_Timeout` - **Description:** @@ -1056,6 +1094,7 @@ - **Default:** `300.0` + #### `Durability_Limit` - **Description:** @@ -1069,6 +1108,7 @@ - **Default:** `2` + #### `Auto_Rod_Switch` - **Description:** @@ -1082,6 +1122,7 @@ - **Default:** `true` + #### `Stationary_Threshold` - **Description:** @@ -1099,6 +1140,7 @@ - **Default:** `0.001` + #### `Hook_Threshold` - **Description:** @@ -1114,6 +1156,7 @@ - **Default:** `0.2` + #### `Log_Fish_Bobber` - **Description:** @@ -1129,6 +1172,7 @@ - **Default:** `false` + #### `Enable_Move` - **Description:** @@ -1144,6 +1188,7 @@ - **Default:** `false` + ### Adding a position/movement Each position/movement is added as a new `[[ChatBot.AutoFishing.Movements]]` subsection of `[ChatBot.AutoFishing]`. @@ -1185,6 +1230,7 @@ ``` + #### Full example ```toml @@ -1219,6 +1265,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -1236,6 +1283,7 @@ - **Default:** `{ min = 3.0, max = 3.0 }` + #### `Retries` - **Description:** @@ -1253,6 +1301,7 @@ - **Default:** `-1` + #### `Ignore_Kick_Message` - **Description:** @@ -1264,6 +1313,7 @@ - **Default:** `false` + #### `Kick_Messages` - **Description:** @@ -1311,6 +1361,7 @@ - **Default:** `false` + #### `Matches_File` - **Description:** @@ -1332,6 +1383,7 @@ - **Default:** `matches.ini` + #### `Match_Colors` - **Description:** @@ -1373,6 +1425,7 @@ - **Default:** `false` + #### `Add_DateTime` - **Description:** @@ -1384,6 +1437,7 @@ - **Default:** `true` + #### `Log_File` - **Description:** @@ -1393,6 +1447,7 @@ - **Default:** `chatlog-%username%-%serverip%.txt` + #### `Filter` - **Description:** @@ -1458,6 +1513,7 @@ - **Default:** `false` + #### `Update_Limit` - **Description:** @@ -1471,6 +1527,7 @@ - **Default:** `1.5` + #### `Stop_At_Distance` - **Description:** @@ -1512,6 +1569,7 @@ - **Default:** `false` + #### `English` - **Description:** @@ -1523,6 +1581,7 @@ - **Default:** `true` + #### `FileWords_EN` - **Description:** @@ -1539,6 +1598,7 @@ - **Example**: [`words-en.txt`](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/config/hangman-en.txt) + #### `FileWords_FR` - **Description:** @@ -1610,6 +1670,7 @@ **Section:** **`ChatBot.Mailer`** + #### `Enabled` - **Description:** @@ -1623,6 +1684,7 @@ - **Default:** `false` + #### `DatabaseFile` - **Description:** @@ -1634,6 +1696,7 @@ - **Default:** `MailerDatabase.ini` + #### `IgnoreListFile` - **Description:** @@ -1645,6 +1708,7 @@ - **Default:** `MailerIgnoreList.ini` + #### `PublicInteractions` - **Description:** @@ -1658,6 +1722,7 @@ - **Default:** `false` + #### `MaxMailsPerPlayer` - **Description:** @@ -1669,6 +1734,7 @@ - **Default:** `10` + #### `MaxDatabaseSize` - **Description:** @@ -1680,6 +1746,7 @@ - **Default:** `10000` (10 MB) + #### `MailRetentionDays` - **Description:** @@ -1733,6 +1800,7 @@ - **Default:** `false` + #### `Should_Resize` - **Description:** @@ -1760,6 +1828,7 @@ - **Default:** `false` + #### `Resize_To` - **Description:** @@ -1771,6 +1840,7 @@ - **Default:** `256` + #### `Auto_Render_On_Update` - **Description:** @@ -1790,6 +1860,7 @@ - **Default:** `false` + #### `Delete_All_On_Unload` - **Description:** @@ -1803,6 +1874,7 @@ - **Default:** `true` + #### `Notify_On_First_Update` - **Description:** @@ -1835,6 +1907,7 @@ - **Default:** `false` + #### `File` - **Description:** @@ -1844,6 +1917,7 @@ - **Default:** `playerlog.txt` + #### `Delay` - **Description:** @@ -1885,6 +1959,7 @@ - **Default:** `false` + #### `AutoTpaccept` - **Description:** @@ -1898,6 +1973,7 @@ - **Default:** `true` + #### `AutoTpaccept_Everyone` - **Description:** @@ -1951,6 +2027,7 @@ - **Default:** `false` + #### `Backup_Interval` - **Description:** @@ -1986,6 +2063,7 @@ - **Default:** `false` + ### Defining a task - **Description:** @@ -2061,6 +2139,7 @@ ``` + ### Full example ```toml diff --git a/docs/l10n/it/guide/configuration.md b/docs/l10n/it/guide/configuration.md index 30dd9cd6..71a5ed16 100644 --- a/docs/l10n/it/guide/configuration.md +++ b/docs/l10n/it/guide/configuration.md @@ -144,7 +144,7 @@ Coordinate = { x = 145, y = 64, y = 2045 } This setting is where you define which language you want to use. - When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages. These files describe how some messages should be printed depending on your preferred language. + When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages.These files describe how some messages should be printed depending on your preferred language. The client will automatically load `en_GB.lang` from your Minecraft folder if Minecraft is installed on your computer, or download it from Mojang's servers. You may choose another language in the configuration file. @@ -465,7 +465,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Use `no`, `fast` (5s timeout), or `yes`. Required for joining some servers. + Use `no`, `fast` (5s timeout), or `yes`. + + Required for joining some servers. - **Type:** `string` @@ -648,7 +650,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Affects only Minecraft 1.19+. This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. + Affects only Minecraft 1.19+. + + This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. #### `LoginWithSecureProfile` @@ -674,7 +678,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Whether to sign the messages contained in the commands sent by the MCC. For example, the message in `/msg` and `/me` + Whether to sign the messages contained in the commands sent by the MCC. + + For example, the message in `/msg` and `/me` - **Type:** `boolean` @@ -768,7 +774,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - This setting allows you to define if your want to see info messages. Most of the messages from MCC. + This setting allows you to define if your want to see info messages. + + Most of the messages from MCC. - **Type:** `boolean` @@ -955,7 +963,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - The proxy server IP and port. Proxy server must allow HTTPS for login, and non-443 ports for playing. + The proxy server IP and port. + + Proxy server must allow HTTPS for login, and non-443 ports for playing. - **Format:** diff --git a/docs/l10n/it/guide/creating-bots.md b/docs/l10n/it/guide/creating-bots.md index 9e46df68..bc5e2d77 100644 --- a/docs/l10n/it/guide/creating-bots.md +++ b/docs/l10n/it/guide/creating-bots.md @@ -99,7 +99,9 @@ Chat Bot (Script) structure is the following: ``` -**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. Every single Chat Bot (Script) must have this section at the beginning in order to work. +**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. + +Every single Chat Bot (Script) must have this section at the beginning in order to work. ### Script Metadata Format @@ -165,7 +167,9 @@ After the end of the **Script Metadata** section, you basically can define any n 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.. +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..

Tip

diff --git a/docs/l10n/it/guide/installation.md b/docs/l10n/it/guide/installation.md index 256241f6..92f61049 100644 --- a/docs/l10n/it/guide/installation.md +++ b/docs/l10n/it/guide/installation.md @@ -190,7 +190,11 @@ docker build -t minecraft-console-client:latest . docker run -it -v :/opt/data minecraft-console-client:latest ``` -Now you could login and the Client is running. To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. To reattach use the `docker attach` command. +Now you could login and the Client is running. + +To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. + +To reattach use the `docker attach` command. **Start the container using docker-compose:** @@ -222,7 +226,9 @@ docker-compose up docker-compose up -d #for deamonized running in the background ``` -Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. As above, you can stop and remove the container using +Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. + +As above, you can stop and remove the container using ```bash docker-compose down @@ -313,7 +319,9 @@ Once the script has downloaded, run it with: bash ubuntu.sh ``` -Then you will be asked a question, enter `Y` and press `Enter`. Once the installation is complete, you can start Ubuntu with: +Then you will be asked a question, enter `Y` and press `Enter`. + +Once the installation is complete, you can start Ubuntu with: ```bash ./startubuntu.sh @@ -499,7 +507,9 @@ To stop MCC from running you can press `CTRL + C` To edit the configuration/settings, you need a text editor, we recommend Nano, as it's very simple to use, if you have followed the installation steps above, you should be familiar with it, if not, check out [this tutorial](https://www.youtube.com/watch?v=DLeATFgGM-A). -For downloading files, you can use the `wget` file we have installed, simply run: `wget your_link_here` (you have examples above, and a video tutorial down bellow). +For downloading files, you can use the `wget` file we have installed, simply run: + +`wget your_link_here` (you have examples above, and a video tutorial down bellow). Also, here are some linux tutorials for people who are new to it: @@ -644,7 +654,9 @@ You also may want to search for better deals.
-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). +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 @@ -862,7 +874,11 @@ Make a new empty file named `authorized_keys`: touch authorized_keys ``` -Do no close the Git bash/Terminal emulator. On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). +Do no close the Git bash/Terminal emulator. + +On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. + +Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). Type the following command: @@ -940,7 +956,9 @@ Let's check if everything is working correctly: sudo systemctl status sshd ``` -If everything has been configured as it should be you should see `active (running)` as a status of the service. If not, open the config file again and check for mistakes. +If everything has been configured as it should be you should see `active (running)` as a status of the service. + +If not, open the config file again and check for mistakes. Press `q` to exit the log mode. diff --git a/docs/l10n/it/guide/usage.md b/docs/l10n/it/guide/usage.md index d0ccab5e..e65294df 100644 --- a/docs/l10n/it/guide/usage.md +++ b/docs/l10n/it/guide/usage.md @@ -236,7 +236,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q - **Description:** - Allows you to list and unload a specific bot or all bots. Useful when debugging and developing scripts. + Allows you to list and unload a specific bot or all bots. + + Useful when debugging and developing scripts. - **Usage:** @@ -404,7 +406,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q Allows you to execute a command if a specific condition is met. - The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. + The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. + + The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. Also the instance of MCC is available with `MCC.`. diff --git a/docs/l10n/ja/guide/README.md b/docs/l10n/ja/guide/README.md index 81e1aee3..ce5a9b7c 100644 --- a/docs/l10n/ja/guide/README.md +++ b/docs/l10n/ja/guide/README.md @@ -150,14 +150,26 @@ Minecraft Console Client also borrows code from the following libraries: ## Disclaimer -Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. +Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. -Also, remember that when you connect to a server with this program, you will appear where you left the last time. This means that **you can die if you log in in an unsafe place on a survival server!** Use the script scheduler bot to send a teleport command after logging in. +This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. + +Also, remember that when you connect to a server with this program, you will appear where you left the last time. + +This means that **you can die if you log in in an unsafe place on a survival server!** + +Use the script scheduler bot to send a teleport command after logging in. We remind you that **you may get banned** by your server for using this program. Use accordingly with server rules. ## License -Minecraft Console Client is a totally free of charge, open source project. The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) +Minecraft Console Client is a totally free of charge, open source project. -Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) +The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) + +Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. + +More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) + +Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) diff --git a/docs/l10n/ja/guide/chat-bots.md b/docs/l10n/ja/guide/chat-bots.md index c67efc3d..64b6a790 100644 --- a/docs/l10n/ja/guide/chat-bots.md +++ b/docs/l10n/ja/guide/chat-bots.md @@ -67,6 +67,7 @@ - **Default:** `false` + #### `Beep_Enabled`

Tip

@@ -84,6 +85,7 @@ - **Default:** `true` + #### `Trigger_By_Words` - **Description:** @@ -97,6 +99,7 @@ - **Default:** `false` + #### `Trigger_By_Rain` - **Description:** @@ -110,6 +113,7 @@ - **Default:** `false` + #### `Trigger_By_Thunderstorm` - **Description:** @@ -123,6 +127,7 @@ - **Default:** `false` + #### `Log_To_File` - **Description:** @@ -136,6 +141,7 @@ - **Default:** `false` + #### `Log_File` - **Description:** @@ -147,6 +153,7 @@ - **Default:** `"alerts-log.txt"` + #### `Matches` - **Description:** @@ -162,6 +169,7 @@ ``` + #### `Excludes` - **Description:** @@ -199,6 +207,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -214,6 +223,7 @@ - **Default:** `{ min = 60.0, max = 60.0 }` + #### `Command` - **Description:** @@ -225,6 +235,7 @@ - **Default:** `/ping` + #### `Use_Sneak` - **Description:** @@ -236,20 +247,21 @@ - **Default:** `false` + #### `Use_Terrain_Handling` +

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)** + +
+ - **Description:** 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. -

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`. - **Type:** `boolean` @@ -257,6 +269,7 @@ - **Default:** `false` + #### `Walk_Range` - **Description:** @@ -268,32 +281,33 @@ - **Default:** `5` + #### `Walk_Retries` +

Tip

+ + **This happens on each trigger of the task, so it does not permanently switch to alternative method.** + +
+ - **Description:** 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. -

Tip

- - **This happens on each trigger of the task, so it does not permanently switch to alternative method.** - -
- - **Default:** `20` ## Auto Attack +

Tip

+ +**You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** + +
+ - **Description:** Automatically attacks mobs around you, you can configure it to attack both hostile and passive mobs and only certain mobs or all mobs. -

Tip

- - **You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** - -
- - **Settings:** **Section:** **`ChatBot.AutoAttack`** @@ -311,6 +325,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -330,6 +345,7 @@ - **Default:** `single` + #### `Priority` - **Description:** @@ -344,6 +360,7 @@ - **Default:** `distance` + #### `Cooldown_Time` - **Description:** @@ -363,6 +380,7 @@ - **Default:** `{ Custom = false, value = 1.0 }` + #### `Interaction` - **Description:** @@ -386,6 +404,7 @@ - **Default:** `Attack` + #### `Attack_Hostile` - **Description:** @@ -399,6 +418,7 @@ - **Default:** `true` + #### `Attack_Passive` - **Description:** @@ -412,6 +432,7 @@ - **Default:** `false` + #### `List_Mode` - **Description:** @@ -425,6 +446,7 @@ - **Default:** `whitelist` + #### `Entites_List` - **Description:** @@ -443,16 +465,16 @@ ## Auto Craft +

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.** + +
+ - **Description:** Automatically craft items in your inventory or in a 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:** - `/autocraft list` @@ -476,6 +498,7 @@ **Section:** **`ChatBot.AutoCraft`** + #### `Enabled` - **Description:** @@ -489,6 +512,7 @@ - **Default:** `false` + #### `CraftingTable` - **Description:** @@ -512,6 +536,7 @@ ``` + #### `OnFailure` - **Description:** @@ -527,8 +552,15 @@ - **Default:** `abort` + ### Defining a recipe +

Tip

+ + **If you're using `table` you need to set the `CraftingTable` setting.** + +
+ The recipes are defines as a separate new sub-section `[[ChatBot.AutoCraft.Recipes]]` of the `[ChatBot.AutoCraft]` section. The `[[ChatBot.AutoCraft.Recipes]]` section needs to contain the following settings: @@ -543,12 +575,6 @@ **Avaliable values:** `player` and `table` -

Tip

- - **If you're using `table` you need to set the `CraftingTable` setting.** - -
- - `Result` This is the type of resulting item. @@ -569,17 +595,6 @@ Slots = [ "", "", ... ] ``` -

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", ]`** - -
- -

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:** @@ -625,6 +640,10 @@

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", ]`** + + **All item types can be found [here](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/Inventory/ItemType.cs).** + **Make sure to provide materials for your bot by placing them in inventory first.**
@@ -658,6 +677,7 @@ **Section:** **`ChatBot.AutoDig`** + #### `Enabled` - **Description:** @@ -671,6 +691,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -696,6 +717,7 @@ - **Default:** `lookat` + #### `Locations` - **Description:** @@ -722,6 +744,7 @@ ``` + #### `Location_Order` - **Description:** @@ -743,6 +766,7 @@ - **Default:** `distance` + #### `Auto_Start_Delay` - **Description:** @@ -756,6 +780,7 @@ - **Default:** `3.0` + #### `Dig_Timeout` - **Description:** @@ -767,6 +792,7 @@ - **Default:** `60.0` + #### `Log_Block_Dig` - **Description:** @@ -780,6 +806,7 @@ - **Default:** `true` + #### `List_Type` - **Description:** @@ -793,6 +820,7 @@ - **Default:** `whitelist` + #### `Blocks` - **Description:** @@ -838,6 +866,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -865,6 +894,7 @@ - **Default:** `include` + #### `Items` - **Description:** @@ -914,6 +944,7 @@ - **Default:** `false` + #### `Threshold` - **Description:** @@ -966,6 +997,7 @@ **Section:** **`ChatBot.AutoFishing`** + #### `Enabled` - **Description:** @@ -979,6 +1011,7 @@ - **Default:** `false` + #### `Antidespawn` - **Description:** @@ -992,6 +1025,7 @@ - **Default:** `false` + #### `Mainhand` - **Description:** @@ -1008,6 +1042,7 @@ - **Default:** `true` + #### `Auto_Start` - **Description:** @@ -1021,6 +1056,7 @@ - **Default:** `true` + #### `Cast_Delay` - **Description:** @@ -1032,6 +1068,7 @@ - **Default:** `0.4` + #### `Fishing_Delay` - **Description:** @@ -1045,6 +1082,7 @@ - **Default:** `3.0` + #### `Fishing_Timeout` - **Description:** @@ -1056,6 +1094,7 @@ - **Default:** `300.0` + #### `Durability_Limit` - **Description:** @@ -1069,6 +1108,7 @@ - **Default:** `2` + #### `Auto_Rod_Switch` - **Description:** @@ -1082,6 +1122,7 @@ - **Default:** `true` + #### `Stationary_Threshold` - **Description:** @@ -1099,6 +1140,7 @@ - **Default:** `0.001` + #### `Hook_Threshold` - **Description:** @@ -1114,6 +1156,7 @@ - **Default:** `0.2` + #### `Log_Fish_Bobber` - **Description:** @@ -1129,6 +1172,7 @@ - **Default:** `false` + #### `Enable_Move` - **Description:** @@ -1144,6 +1188,7 @@ - **Default:** `false` + ### Adding a position/movement Each position/movement is added as a new `[[ChatBot.AutoFishing.Movements]]` subsection of `[ChatBot.AutoFishing]`. @@ -1185,6 +1230,7 @@ ``` + #### Full example ```toml @@ -1219,6 +1265,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -1236,6 +1283,7 @@ - **Default:** `{ min = 3.0, max = 3.0 }` + #### `Retries` - **Description:** @@ -1253,6 +1301,7 @@ - **Default:** `-1` + #### `Ignore_Kick_Message` - **Description:** @@ -1264,6 +1313,7 @@ - **Default:** `false` + #### `Kick_Messages` - **Description:** @@ -1311,6 +1361,7 @@ - **Default:** `false` + #### `Matches_File` - **Description:** @@ -1332,6 +1383,7 @@ - **Default:** `matches.ini` + #### `Match_Colors` - **Description:** @@ -1373,6 +1425,7 @@ - **Default:** `false` + #### `Add_DateTime` - **Description:** @@ -1384,6 +1437,7 @@ - **Default:** `true` + #### `Log_File` - **Description:** @@ -1393,6 +1447,7 @@ - **Default:** `chatlog-%username%-%serverip%.txt` + #### `Filter` - **Description:** @@ -1458,6 +1513,7 @@ - **Default:** `false` + #### `Update_Limit` - **Description:** @@ -1471,6 +1527,7 @@ - **Default:** `1.5` + #### `Stop_At_Distance` - **Description:** @@ -1512,6 +1569,7 @@ - **Default:** `false` + #### `English` - **Description:** @@ -1523,6 +1581,7 @@ - **Default:** `true` + #### `FileWords_EN` - **Description:** @@ -1539,6 +1598,7 @@ - **Example**: [`words-en.txt`](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/config/hangman-en.txt) + #### `FileWords_FR` - **Description:** @@ -1610,6 +1670,7 @@ **Section:** **`ChatBot.Mailer`** + #### `Enabled` - **Description:** @@ -1623,6 +1684,7 @@ - **Default:** `false` + #### `DatabaseFile` - **Description:** @@ -1634,6 +1696,7 @@ - **Default:** `MailerDatabase.ini` + #### `IgnoreListFile` - **Description:** @@ -1645,6 +1708,7 @@ - **Default:** `MailerIgnoreList.ini` + #### `PublicInteractions` - **Description:** @@ -1658,6 +1722,7 @@ - **Default:** `false` + #### `MaxMailsPerPlayer` - **Description:** @@ -1669,6 +1734,7 @@ - **Default:** `10` + #### `MaxDatabaseSize` - **Description:** @@ -1680,6 +1746,7 @@ - **Default:** `10000` (10 MB) + #### `MailRetentionDays` - **Description:** @@ -1733,6 +1800,7 @@ - **Default:** `false` + #### `Should_Resize` - **Description:** @@ -1760,6 +1828,7 @@ - **Default:** `false` + #### `Resize_To` - **Description:** @@ -1771,6 +1840,7 @@ - **Default:** `256` + #### `Auto_Render_On_Update` - **Description:** @@ -1790,6 +1860,7 @@ - **Default:** `false` + #### `Delete_All_On_Unload` - **Description:** @@ -1803,6 +1874,7 @@ - **Default:** `true` + #### `Notify_On_First_Update` - **Description:** @@ -1835,6 +1907,7 @@ - **Default:** `false` + #### `File` - **Description:** @@ -1844,6 +1917,7 @@ - **Default:** `playerlog.txt` + #### `Delay` - **Description:** @@ -1885,6 +1959,7 @@ - **Default:** `false` + #### `AutoTpaccept` - **Description:** @@ -1898,6 +1973,7 @@ - **Default:** `true` + #### `AutoTpaccept_Everyone` - **Description:** @@ -1951,6 +2027,7 @@ - **Default:** `false` + #### `Backup_Interval` - **Description:** @@ -1986,6 +2063,7 @@ - **Default:** `false` + ### Defining a task - **Description:** @@ -2061,6 +2139,7 @@ ``` + ### Full example ```toml diff --git a/docs/l10n/ja/guide/configuration.md b/docs/l10n/ja/guide/configuration.md index 30dd9cd6..71a5ed16 100644 --- a/docs/l10n/ja/guide/configuration.md +++ b/docs/l10n/ja/guide/configuration.md @@ -144,7 +144,7 @@ Coordinate = { x = 145, y = 64, y = 2045 } This setting is where you define which language you want to use. - When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages. These files describe how some messages should be printed depending on your preferred language. + When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages.These files describe how some messages should be printed depending on your preferred language. The client will automatically load `en_GB.lang` from your Minecraft folder if Minecraft is installed on your computer, or download it from Mojang's servers. You may choose another language in the configuration file. @@ -465,7 +465,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Use `no`, `fast` (5s timeout), or `yes`. Required for joining some servers. + Use `no`, `fast` (5s timeout), or `yes`. + + Required for joining some servers. - **Type:** `string` @@ -648,7 +650,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Affects only Minecraft 1.19+. This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. + Affects only Minecraft 1.19+. + + This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. #### `LoginWithSecureProfile` @@ -674,7 +678,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Whether to sign the messages contained in the commands sent by the MCC. For example, the message in `/msg` and `/me` + Whether to sign the messages contained in the commands sent by the MCC. + + For example, the message in `/msg` and `/me` - **Type:** `boolean` @@ -768,7 +774,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - This setting allows you to define if your want to see info messages. Most of the messages from MCC. + This setting allows you to define if your want to see info messages. + + Most of the messages from MCC. - **Type:** `boolean` @@ -955,7 +963,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - The proxy server IP and port. Proxy server must allow HTTPS for login, and non-443 ports for playing. + The proxy server IP and port. + + Proxy server must allow HTTPS for login, and non-443 ports for playing. - **Format:** diff --git a/docs/l10n/ja/guide/creating-bots.md b/docs/l10n/ja/guide/creating-bots.md index 9e46df68..bc5e2d77 100644 --- a/docs/l10n/ja/guide/creating-bots.md +++ b/docs/l10n/ja/guide/creating-bots.md @@ -99,7 +99,9 @@ Chat Bot (Script) structure is the following: ``` -**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. Every single Chat Bot (Script) must have this section at the beginning in order to work. +**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. + +Every single Chat Bot (Script) must have this section at the beginning in order to work. ### Script Metadata Format @@ -165,7 +167,9 @@ After the end of the **Script Metadata** section, you basically can define any n 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.. +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..

Tip

diff --git a/docs/l10n/ja/guide/installation.md b/docs/l10n/ja/guide/installation.md index 256241f6..92f61049 100644 --- a/docs/l10n/ja/guide/installation.md +++ b/docs/l10n/ja/guide/installation.md @@ -190,7 +190,11 @@ docker build -t minecraft-console-client:latest . docker run -it -v :/opt/data minecraft-console-client:latest ``` -Now you could login and the Client is running. To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. To reattach use the `docker attach` command. +Now you could login and the Client is running. + +To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. + +To reattach use the `docker attach` command. **Start the container using docker-compose:** @@ -222,7 +226,9 @@ docker-compose up docker-compose up -d #for deamonized running in the background ``` -Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. As above, you can stop and remove the container using +Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. + +As above, you can stop and remove the container using ```bash docker-compose down @@ -313,7 +319,9 @@ Once the script has downloaded, run it with: bash ubuntu.sh ``` -Then you will be asked a question, enter `Y` and press `Enter`. Once the installation is complete, you can start Ubuntu with: +Then you will be asked a question, enter `Y` and press `Enter`. + +Once the installation is complete, you can start Ubuntu with: ```bash ./startubuntu.sh @@ -499,7 +507,9 @@ To stop MCC from running you can press `CTRL + C` To edit the configuration/settings, you need a text editor, we recommend Nano, as it's very simple to use, if you have followed the installation steps above, you should be familiar with it, if not, check out [this tutorial](https://www.youtube.com/watch?v=DLeATFgGM-A). -For downloading files, you can use the `wget` file we have installed, simply run: `wget your_link_here` (you have examples above, and a video tutorial down bellow). +For downloading files, you can use the `wget` file we have installed, simply run: + +`wget your_link_here` (you have examples above, and a video tutorial down bellow). Also, here are some linux tutorials for people who are new to it: @@ -644,7 +654,9 @@ You also may want to search for better deals.
-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). +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 @@ -862,7 +874,11 @@ Make a new empty file named `authorized_keys`: touch authorized_keys ``` -Do no close the Git bash/Terminal emulator. On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). +Do no close the Git bash/Terminal emulator. + +On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. + +Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). Type the following command: @@ -940,7 +956,9 @@ Let's check if everything is working correctly: sudo systemctl status sshd ``` -If everything has been configured as it should be you should see `active (running)` as a status of the service. If not, open the config file again and check for mistakes. +If everything has been configured as it should be you should see `active (running)` as a status of the service. + +If not, open the config file again and check for mistakes. Press `q` to exit the log mode. diff --git a/docs/l10n/ja/guide/usage.md b/docs/l10n/ja/guide/usage.md index d0ccab5e..e65294df 100644 --- a/docs/l10n/ja/guide/usage.md +++ b/docs/l10n/ja/guide/usage.md @@ -236,7 +236,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q - **Description:** - Allows you to list and unload a specific bot or all bots. Useful when debugging and developing scripts. + Allows you to list and unload a specific bot or all bots. + + Useful when debugging and developing scripts. - **Usage:** @@ -404,7 +406,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q Allows you to execute a command if a specific condition is met. - The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. + The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. + + The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. Also the instance of MCC is available with `MCC.`. diff --git a/docs/l10n/ko/guide/README.md b/docs/l10n/ko/guide/README.md index 81e1aee3..ce5a9b7c 100644 --- a/docs/l10n/ko/guide/README.md +++ b/docs/l10n/ko/guide/README.md @@ -150,14 +150,26 @@ Minecraft Console Client also borrows code from the following libraries: ## Disclaimer -Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. +Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. -Also, remember that when you connect to a server with this program, you will appear where you left the last time. This means that **you can die if you log in in an unsafe place on a survival server!** Use the script scheduler bot to send a teleport command after logging in. +This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. + +Also, remember that when you connect to a server with this program, you will appear where you left the last time. + +This means that **you can die if you log in in an unsafe place on a survival server!** + +Use the script scheduler bot to send a teleport command after logging in. We remind you that **you may get banned** by your server for using this program. Use accordingly with server rules. ## License -Minecraft Console Client is a totally free of charge, open source project. The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) +Minecraft Console Client is a totally free of charge, open source project. -Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) +The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) + +Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. + +More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) + +Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) diff --git a/docs/l10n/ko/guide/chat-bots.md b/docs/l10n/ko/guide/chat-bots.md index c67efc3d..64b6a790 100644 --- a/docs/l10n/ko/guide/chat-bots.md +++ b/docs/l10n/ko/guide/chat-bots.md @@ -67,6 +67,7 @@ - **Default:** `false` + #### `Beep_Enabled`

Tip

@@ -84,6 +85,7 @@ - **Default:** `true` + #### `Trigger_By_Words` - **Description:** @@ -97,6 +99,7 @@ - **Default:** `false` + #### `Trigger_By_Rain` - **Description:** @@ -110,6 +113,7 @@ - **Default:** `false` + #### `Trigger_By_Thunderstorm` - **Description:** @@ -123,6 +127,7 @@ - **Default:** `false` + #### `Log_To_File` - **Description:** @@ -136,6 +141,7 @@ - **Default:** `false` + #### `Log_File` - **Description:** @@ -147,6 +153,7 @@ - **Default:** `"alerts-log.txt"` + #### `Matches` - **Description:** @@ -162,6 +169,7 @@ ``` + #### `Excludes` - **Description:** @@ -199,6 +207,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -214,6 +223,7 @@ - **Default:** `{ min = 60.0, max = 60.0 }` + #### `Command` - **Description:** @@ -225,6 +235,7 @@ - **Default:** `/ping` + #### `Use_Sneak` - **Description:** @@ -236,20 +247,21 @@ - **Default:** `false` + #### `Use_Terrain_Handling` +

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)** + +
+ - **Description:** 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. -

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`. - **Type:** `boolean` @@ -257,6 +269,7 @@ - **Default:** `false` + #### `Walk_Range` - **Description:** @@ -268,32 +281,33 @@ - **Default:** `5` + #### `Walk_Retries` +

Tip

+ + **This happens on each trigger of the task, so it does not permanently switch to alternative method.** + +
+ - **Description:** 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. -

Tip

- - **This happens on each trigger of the task, so it does not permanently switch to alternative method.** - -
- - **Default:** `20` ## Auto Attack +

Tip

+ +**You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** + +
+ - **Description:** Automatically attacks mobs around you, you can configure it to attack both hostile and passive mobs and only certain mobs or all mobs. -

Tip

- - **You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** - -
- - **Settings:** **Section:** **`ChatBot.AutoAttack`** @@ -311,6 +325,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -330,6 +345,7 @@ - **Default:** `single` + #### `Priority` - **Description:** @@ -344,6 +360,7 @@ - **Default:** `distance` + #### `Cooldown_Time` - **Description:** @@ -363,6 +380,7 @@ - **Default:** `{ Custom = false, value = 1.0 }` + #### `Interaction` - **Description:** @@ -386,6 +404,7 @@ - **Default:** `Attack` + #### `Attack_Hostile` - **Description:** @@ -399,6 +418,7 @@ - **Default:** `true` + #### `Attack_Passive` - **Description:** @@ -412,6 +432,7 @@ - **Default:** `false` + #### `List_Mode` - **Description:** @@ -425,6 +446,7 @@ - **Default:** `whitelist` + #### `Entites_List` - **Description:** @@ -443,16 +465,16 @@ ## Auto Craft +

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.** + +
+ - **Description:** Automatically craft items in your inventory or in a 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:** - `/autocraft list` @@ -476,6 +498,7 @@ **Section:** **`ChatBot.AutoCraft`** + #### `Enabled` - **Description:** @@ -489,6 +512,7 @@ - **Default:** `false` + #### `CraftingTable` - **Description:** @@ -512,6 +536,7 @@ ``` + #### `OnFailure` - **Description:** @@ -527,8 +552,15 @@ - **Default:** `abort` + ### Defining a recipe +

Tip

+ + **If you're using `table` you need to set the `CraftingTable` setting.** + +
+ The recipes are defines as a separate new sub-section `[[ChatBot.AutoCraft.Recipes]]` of the `[ChatBot.AutoCraft]` section. The `[[ChatBot.AutoCraft.Recipes]]` section needs to contain the following settings: @@ -543,12 +575,6 @@ **Avaliable values:** `player` and `table` -

Tip

- - **If you're using `table` you need to set the `CraftingTable` setting.** - -
- - `Result` This is the type of resulting item. @@ -569,17 +595,6 @@ Slots = [ "", "", ... ] ``` -

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", ]`** - -
- -

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:** @@ -625,6 +640,10 @@

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", ]`** + + **All item types can be found [here](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/Inventory/ItemType.cs).** + **Make sure to provide materials for your bot by placing them in inventory first.**
@@ -658,6 +677,7 @@ **Section:** **`ChatBot.AutoDig`** + #### `Enabled` - **Description:** @@ -671,6 +691,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -696,6 +717,7 @@ - **Default:** `lookat` + #### `Locations` - **Description:** @@ -722,6 +744,7 @@ ``` + #### `Location_Order` - **Description:** @@ -743,6 +766,7 @@ - **Default:** `distance` + #### `Auto_Start_Delay` - **Description:** @@ -756,6 +780,7 @@ - **Default:** `3.0` + #### `Dig_Timeout` - **Description:** @@ -767,6 +792,7 @@ - **Default:** `60.0` + #### `Log_Block_Dig` - **Description:** @@ -780,6 +806,7 @@ - **Default:** `true` + #### `List_Type` - **Description:** @@ -793,6 +820,7 @@ - **Default:** `whitelist` + #### `Blocks` - **Description:** @@ -838,6 +866,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -865,6 +894,7 @@ - **Default:** `include` + #### `Items` - **Description:** @@ -914,6 +944,7 @@ - **Default:** `false` + #### `Threshold` - **Description:** @@ -966,6 +997,7 @@ **Section:** **`ChatBot.AutoFishing`** + #### `Enabled` - **Description:** @@ -979,6 +1011,7 @@ - **Default:** `false` + #### `Antidespawn` - **Description:** @@ -992,6 +1025,7 @@ - **Default:** `false` + #### `Mainhand` - **Description:** @@ -1008,6 +1042,7 @@ - **Default:** `true` + #### `Auto_Start` - **Description:** @@ -1021,6 +1056,7 @@ - **Default:** `true` + #### `Cast_Delay` - **Description:** @@ -1032,6 +1068,7 @@ - **Default:** `0.4` + #### `Fishing_Delay` - **Description:** @@ -1045,6 +1082,7 @@ - **Default:** `3.0` + #### `Fishing_Timeout` - **Description:** @@ -1056,6 +1094,7 @@ - **Default:** `300.0` + #### `Durability_Limit` - **Description:** @@ -1069,6 +1108,7 @@ - **Default:** `2` + #### `Auto_Rod_Switch` - **Description:** @@ -1082,6 +1122,7 @@ - **Default:** `true` + #### `Stationary_Threshold` - **Description:** @@ -1099,6 +1140,7 @@ - **Default:** `0.001` + #### `Hook_Threshold` - **Description:** @@ -1114,6 +1156,7 @@ - **Default:** `0.2` + #### `Log_Fish_Bobber` - **Description:** @@ -1129,6 +1172,7 @@ - **Default:** `false` + #### `Enable_Move` - **Description:** @@ -1144,6 +1188,7 @@ - **Default:** `false` + ### Adding a position/movement Each position/movement is added as a new `[[ChatBot.AutoFishing.Movements]]` subsection of `[ChatBot.AutoFishing]`. @@ -1185,6 +1230,7 @@ ``` + #### Full example ```toml @@ -1219,6 +1265,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -1236,6 +1283,7 @@ - **Default:** `{ min = 3.0, max = 3.0 }` + #### `Retries` - **Description:** @@ -1253,6 +1301,7 @@ - **Default:** `-1` + #### `Ignore_Kick_Message` - **Description:** @@ -1264,6 +1313,7 @@ - **Default:** `false` + #### `Kick_Messages` - **Description:** @@ -1311,6 +1361,7 @@ - **Default:** `false` + #### `Matches_File` - **Description:** @@ -1332,6 +1383,7 @@ - **Default:** `matches.ini` + #### `Match_Colors` - **Description:** @@ -1373,6 +1425,7 @@ - **Default:** `false` + #### `Add_DateTime` - **Description:** @@ -1384,6 +1437,7 @@ - **Default:** `true` + #### `Log_File` - **Description:** @@ -1393,6 +1447,7 @@ - **Default:** `chatlog-%username%-%serverip%.txt` + #### `Filter` - **Description:** @@ -1458,6 +1513,7 @@ - **Default:** `false` + #### `Update_Limit` - **Description:** @@ -1471,6 +1527,7 @@ - **Default:** `1.5` + #### `Stop_At_Distance` - **Description:** @@ -1512,6 +1569,7 @@ - **Default:** `false` + #### `English` - **Description:** @@ -1523,6 +1581,7 @@ - **Default:** `true` + #### `FileWords_EN` - **Description:** @@ -1539,6 +1598,7 @@ - **Example**: [`words-en.txt`](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/config/hangman-en.txt) + #### `FileWords_FR` - **Description:** @@ -1610,6 +1670,7 @@ **Section:** **`ChatBot.Mailer`** + #### `Enabled` - **Description:** @@ -1623,6 +1684,7 @@ - **Default:** `false` + #### `DatabaseFile` - **Description:** @@ -1634,6 +1696,7 @@ - **Default:** `MailerDatabase.ini` + #### `IgnoreListFile` - **Description:** @@ -1645,6 +1708,7 @@ - **Default:** `MailerIgnoreList.ini` + #### `PublicInteractions` - **Description:** @@ -1658,6 +1722,7 @@ - **Default:** `false` + #### `MaxMailsPerPlayer` - **Description:** @@ -1669,6 +1734,7 @@ - **Default:** `10` + #### `MaxDatabaseSize` - **Description:** @@ -1680,6 +1746,7 @@ - **Default:** `10000` (10 MB) + #### `MailRetentionDays` - **Description:** @@ -1733,6 +1800,7 @@ - **Default:** `false` + #### `Should_Resize` - **Description:** @@ -1760,6 +1828,7 @@ - **Default:** `false` + #### `Resize_To` - **Description:** @@ -1771,6 +1840,7 @@ - **Default:** `256` + #### `Auto_Render_On_Update` - **Description:** @@ -1790,6 +1860,7 @@ - **Default:** `false` + #### `Delete_All_On_Unload` - **Description:** @@ -1803,6 +1874,7 @@ - **Default:** `true` + #### `Notify_On_First_Update` - **Description:** @@ -1835,6 +1907,7 @@ - **Default:** `false` + #### `File` - **Description:** @@ -1844,6 +1917,7 @@ - **Default:** `playerlog.txt` + #### `Delay` - **Description:** @@ -1885,6 +1959,7 @@ - **Default:** `false` + #### `AutoTpaccept` - **Description:** @@ -1898,6 +1973,7 @@ - **Default:** `true` + #### `AutoTpaccept_Everyone` - **Description:** @@ -1951,6 +2027,7 @@ - **Default:** `false` + #### `Backup_Interval` - **Description:** @@ -1986,6 +2063,7 @@ - **Default:** `false` + ### Defining a task - **Description:** @@ -2061,6 +2139,7 @@ ``` + ### Full example ```toml diff --git a/docs/l10n/ko/guide/configuration.md b/docs/l10n/ko/guide/configuration.md index 30dd9cd6..71a5ed16 100644 --- a/docs/l10n/ko/guide/configuration.md +++ b/docs/l10n/ko/guide/configuration.md @@ -144,7 +144,7 @@ Coordinate = { x = 145, y = 64, y = 2045 } This setting is where you define which language you want to use. - When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages. These files describe how some messages should be printed depending on your preferred language. + When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages.These files describe how some messages should be printed depending on your preferred language. The client will automatically load `en_GB.lang` from your Minecraft folder if Minecraft is installed on your computer, or download it from Mojang's servers. You may choose another language in the configuration file. @@ -465,7 +465,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Use `no`, `fast` (5s timeout), or `yes`. Required for joining some servers. + Use `no`, `fast` (5s timeout), or `yes`. + + Required for joining some servers. - **Type:** `string` @@ -648,7 +650,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Affects only Minecraft 1.19+. This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. + Affects only Minecraft 1.19+. + + This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. #### `LoginWithSecureProfile` @@ -674,7 +678,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Whether to sign the messages contained in the commands sent by the MCC. For example, the message in `/msg` and `/me` + Whether to sign the messages contained in the commands sent by the MCC. + + For example, the message in `/msg` and `/me` - **Type:** `boolean` @@ -768,7 +774,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - This setting allows you to define if your want to see info messages. Most of the messages from MCC. + This setting allows you to define if your want to see info messages. + + Most of the messages from MCC. - **Type:** `boolean` @@ -955,7 +963,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - The proxy server IP and port. Proxy server must allow HTTPS for login, and non-443 ports for playing. + The proxy server IP and port. + + Proxy server must allow HTTPS for login, and non-443 ports for playing. - **Format:** diff --git a/docs/l10n/ko/guide/creating-bots.md b/docs/l10n/ko/guide/creating-bots.md index 9e46df68..bc5e2d77 100644 --- a/docs/l10n/ko/guide/creating-bots.md +++ b/docs/l10n/ko/guide/creating-bots.md @@ -99,7 +99,9 @@ Chat Bot (Script) structure is the following: ``` -**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. Every single Chat Bot (Script) must have this section at the beginning in order to work. +**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. + +Every single Chat Bot (Script) must have this section at the beginning in order to work. ### Script Metadata Format @@ -165,7 +167,9 @@ After the end of the **Script Metadata** section, you basically can define any n 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.. +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..

Tip

diff --git a/docs/l10n/ko/guide/installation.md b/docs/l10n/ko/guide/installation.md index 256241f6..92f61049 100644 --- a/docs/l10n/ko/guide/installation.md +++ b/docs/l10n/ko/guide/installation.md @@ -190,7 +190,11 @@ docker build -t minecraft-console-client:latest . docker run -it -v :/opt/data minecraft-console-client:latest ``` -Now you could login and the Client is running. To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. To reattach use the `docker attach` command. +Now you could login and the Client is running. + +To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. + +To reattach use the `docker attach` command. **Start the container using docker-compose:** @@ -222,7 +226,9 @@ docker-compose up docker-compose up -d #for deamonized running in the background ``` -Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. As above, you can stop and remove the container using +Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. + +As above, you can stop and remove the container using ```bash docker-compose down @@ -313,7 +319,9 @@ Once the script has downloaded, run it with: bash ubuntu.sh ``` -Then you will be asked a question, enter `Y` and press `Enter`. Once the installation is complete, you can start Ubuntu with: +Then you will be asked a question, enter `Y` and press `Enter`. + +Once the installation is complete, you can start Ubuntu with: ```bash ./startubuntu.sh @@ -499,7 +507,9 @@ To stop MCC from running you can press `CTRL + C` To edit the configuration/settings, you need a text editor, we recommend Nano, as it's very simple to use, if you have followed the installation steps above, you should be familiar with it, if not, check out [this tutorial](https://www.youtube.com/watch?v=DLeATFgGM-A). -For downloading files, you can use the `wget` file we have installed, simply run: `wget your_link_here` (you have examples above, and a video tutorial down bellow). +For downloading files, you can use the `wget` file we have installed, simply run: + +`wget your_link_here` (you have examples above, and a video tutorial down bellow). Also, here are some linux tutorials for people who are new to it: @@ -644,7 +654,9 @@ You also may want to search for better deals.
-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). +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 @@ -862,7 +874,11 @@ Make a new empty file named `authorized_keys`: touch authorized_keys ``` -Do no close the Git bash/Terminal emulator. On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). +Do no close the Git bash/Terminal emulator. + +On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. + +Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). Type the following command: @@ -940,7 +956,9 @@ Let's check if everything is working correctly: sudo systemctl status sshd ``` -If everything has been configured as it should be you should see `active (running)` as a status of the service. If not, open the config file again and check for mistakes. +If everything has been configured as it should be you should see `active (running)` as a status of the service. + +If not, open the config file again and check for mistakes. Press `q` to exit the log mode. diff --git a/docs/l10n/ko/guide/usage.md b/docs/l10n/ko/guide/usage.md index d0ccab5e..e65294df 100644 --- a/docs/l10n/ko/guide/usage.md +++ b/docs/l10n/ko/guide/usage.md @@ -236,7 +236,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q - **Description:** - Allows you to list and unload a specific bot or all bots. Useful when debugging and developing scripts. + Allows you to list and unload a specific bot or all bots. + + Useful when debugging and developing scripts. - **Usage:** @@ -404,7 +406,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q Allows you to execute a command if a specific condition is met. - The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. + The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. + + The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. Also the instance of MCC is available with `MCC.`. diff --git a/docs/l10n/lv/guide/README.md b/docs/l10n/lv/guide/README.md index 81e1aee3..ce5a9b7c 100644 --- a/docs/l10n/lv/guide/README.md +++ b/docs/l10n/lv/guide/README.md @@ -150,14 +150,26 @@ Minecraft Console Client also borrows code from the following libraries: ## Disclaimer -Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. +Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. -Also, remember that when you connect to a server with this program, you will appear where you left the last time. This means that **you can die if you log in in an unsafe place on a survival server!** Use the script scheduler bot to send a teleport command after logging in. +This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. + +Also, remember that when you connect to a server with this program, you will appear where you left the last time. + +This means that **you can die if you log in in an unsafe place on a survival server!** + +Use the script scheduler bot to send a teleport command after logging in. We remind you that **you may get banned** by your server for using this program. Use accordingly with server rules. ## License -Minecraft Console Client is a totally free of charge, open source project. The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) +Minecraft Console Client is a totally free of charge, open source project. -Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) +The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) + +Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. + +More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) + +Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) diff --git a/docs/l10n/lv/guide/chat-bots.md b/docs/l10n/lv/guide/chat-bots.md index c67efc3d..64b6a790 100644 --- a/docs/l10n/lv/guide/chat-bots.md +++ b/docs/l10n/lv/guide/chat-bots.md @@ -67,6 +67,7 @@ - **Default:** `false` + #### `Beep_Enabled`

Tip

@@ -84,6 +85,7 @@ - **Default:** `true` + #### `Trigger_By_Words` - **Description:** @@ -97,6 +99,7 @@ - **Default:** `false` + #### `Trigger_By_Rain` - **Description:** @@ -110,6 +113,7 @@ - **Default:** `false` + #### `Trigger_By_Thunderstorm` - **Description:** @@ -123,6 +127,7 @@ - **Default:** `false` + #### `Log_To_File` - **Description:** @@ -136,6 +141,7 @@ - **Default:** `false` + #### `Log_File` - **Description:** @@ -147,6 +153,7 @@ - **Default:** `"alerts-log.txt"` + #### `Matches` - **Description:** @@ -162,6 +169,7 @@ ``` + #### `Excludes` - **Description:** @@ -199,6 +207,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -214,6 +223,7 @@ - **Default:** `{ min = 60.0, max = 60.0 }` + #### `Command` - **Description:** @@ -225,6 +235,7 @@ - **Default:** `/ping` + #### `Use_Sneak` - **Description:** @@ -236,20 +247,21 @@ - **Default:** `false` + #### `Use_Terrain_Handling` +

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)** + +
+ - **Description:** 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. -

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`. - **Type:** `boolean` @@ -257,6 +269,7 @@ - **Default:** `false` + #### `Walk_Range` - **Description:** @@ -268,32 +281,33 @@ - **Default:** `5` + #### `Walk_Retries` +

Tip

+ + **This happens on each trigger of the task, so it does not permanently switch to alternative method.** + +
+ - **Description:** 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. -

Tip

- - **This happens on each trigger of the task, so it does not permanently switch to alternative method.** - -
- - **Default:** `20` ## Auto Attack +

Tip

+ +**You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** + +
+ - **Description:** Automatically attacks mobs around you, you can configure it to attack both hostile and passive mobs and only certain mobs or all mobs. -

Tip

- - **You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** - -
- - **Settings:** **Section:** **`ChatBot.AutoAttack`** @@ -311,6 +325,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -330,6 +345,7 @@ - **Default:** `single` + #### `Priority` - **Description:** @@ -344,6 +360,7 @@ - **Default:** `distance` + #### `Cooldown_Time` - **Description:** @@ -363,6 +380,7 @@ - **Default:** `{ Custom = false, value = 1.0 }` + #### `Interaction` - **Description:** @@ -386,6 +404,7 @@ - **Default:** `Attack` + #### `Attack_Hostile` - **Description:** @@ -399,6 +418,7 @@ - **Default:** `true` + #### `Attack_Passive` - **Description:** @@ -412,6 +432,7 @@ - **Default:** `false` + #### `List_Mode` - **Description:** @@ -425,6 +446,7 @@ - **Default:** `whitelist` + #### `Entites_List` - **Description:** @@ -443,16 +465,16 @@ ## Auto Craft +

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.** + +
+ - **Description:** Automatically craft items in your inventory or in a 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:** - `/autocraft list` @@ -476,6 +498,7 @@ **Section:** **`ChatBot.AutoCraft`** + #### `Enabled` - **Description:** @@ -489,6 +512,7 @@ - **Default:** `false` + #### `CraftingTable` - **Description:** @@ -512,6 +536,7 @@ ``` + #### `OnFailure` - **Description:** @@ -527,8 +552,15 @@ - **Default:** `abort` + ### Defining a recipe +

Tip

+ + **If you're using `table` you need to set the `CraftingTable` setting.** + +
+ The recipes are defines as a separate new sub-section `[[ChatBot.AutoCraft.Recipes]]` of the `[ChatBot.AutoCraft]` section. The `[[ChatBot.AutoCraft.Recipes]]` section needs to contain the following settings: @@ -543,12 +575,6 @@ **Avaliable values:** `player` and `table` -

Tip

- - **If you're using `table` you need to set the `CraftingTable` setting.** - -
- - `Result` This is the type of resulting item. @@ -569,17 +595,6 @@ Slots = [ "", "", ... ] ``` -

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", ]`** - -
- -

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:** @@ -625,6 +640,10 @@

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", ]`** + + **All item types can be found [here](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/Inventory/ItemType.cs).** + **Make sure to provide materials for your bot by placing them in inventory first.**
@@ -658,6 +677,7 @@ **Section:** **`ChatBot.AutoDig`** + #### `Enabled` - **Description:** @@ -671,6 +691,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -696,6 +717,7 @@ - **Default:** `lookat` + #### `Locations` - **Description:** @@ -722,6 +744,7 @@ ``` + #### `Location_Order` - **Description:** @@ -743,6 +766,7 @@ - **Default:** `distance` + #### `Auto_Start_Delay` - **Description:** @@ -756,6 +780,7 @@ - **Default:** `3.0` + #### `Dig_Timeout` - **Description:** @@ -767,6 +792,7 @@ - **Default:** `60.0` + #### `Log_Block_Dig` - **Description:** @@ -780,6 +806,7 @@ - **Default:** `true` + #### `List_Type` - **Description:** @@ -793,6 +820,7 @@ - **Default:** `whitelist` + #### `Blocks` - **Description:** @@ -838,6 +866,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -865,6 +894,7 @@ - **Default:** `include` + #### `Items` - **Description:** @@ -914,6 +944,7 @@ - **Default:** `false` + #### `Threshold` - **Description:** @@ -966,6 +997,7 @@ **Section:** **`ChatBot.AutoFishing`** + #### `Enabled` - **Description:** @@ -979,6 +1011,7 @@ - **Default:** `false` + #### `Antidespawn` - **Description:** @@ -992,6 +1025,7 @@ - **Default:** `false` + #### `Mainhand` - **Description:** @@ -1008,6 +1042,7 @@ - **Default:** `true` + #### `Auto_Start` - **Description:** @@ -1021,6 +1056,7 @@ - **Default:** `true` + #### `Cast_Delay` - **Description:** @@ -1032,6 +1068,7 @@ - **Default:** `0.4` + #### `Fishing_Delay` - **Description:** @@ -1045,6 +1082,7 @@ - **Default:** `3.0` + #### `Fishing_Timeout` - **Description:** @@ -1056,6 +1094,7 @@ - **Default:** `300.0` + #### `Durability_Limit` - **Description:** @@ -1069,6 +1108,7 @@ - **Default:** `2` + #### `Auto_Rod_Switch` - **Description:** @@ -1082,6 +1122,7 @@ - **Default:** `true` + #### `Stationary_Threshold` - **Description:** @@ -1099,6 +1140,7 @@ - **Default:** `0.001` + #### `Hook_Threshold` - **Description:** @@ -1114,6 +1156,7 @@ - **Default:** `0.2` + #### `Log_Fish_Bobber` - **Description:** @@ -1129,6 +1172,7 @@ - **Default:** `false` + #### `Enable_Move` - **Description:** @@ -1144,6 +1188,7 @@ - **Default:** `false` + ### Adding a position/movement Each position/movement is added as a new `[[ChatBot.AutoFishing.Movements]]` subsection of `[ChatBot.AutoFishing]`. @@ -1185,6 +1230,7 @@ ``` + #### Full example ```toml @@ -1219,6 +1265,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -1236,6 +1283,7 @@ - **Default:** `{ min = 3.0, max = 3.0 }` + #### `Retries` - **Description:** @@ -1253,6 +1301,7 @@ - **Default:** `-1` + #### `Ignore_Kick_Message` - **Description:** @@ -1264,6 +1313,7 @@ - **Default:** `false` + #### `Kick_Messages` - **Description:** @@ -1311,6 +1361,7 @@ - **Default:** `false` + #### `Matches_File` - **Description:** @@ -1332,6 +1383,7 @@ - **Default:** `matches.ini` + #### `Match_Colors` - **Description:** @@ -1373,6 +1425,7 @@ - **Default:** `false` + #### `Add_DateTime` - **Description:** @@ -1384,6 +1437,7 @@ - **Default:** `true` + #### `Log_File` - **Description:** @@ -1393,6 +1447,7 @@ - **Default:** `chatlog-%username%-%serverip%.txt` + #### `Filter` - **Description:** @@ -1458,6 +1513,7 @@ - **Default:** `false` + #### `Update_Limit` - **Description:** @@ -1471,6 +1527,7 @@ - **Default:** `1.5` + #### `Stop_At_Distance` - **Description:** @@ -1512,6 +1569,7 @@ - **Default:** `false` + #### `English` - **Description:** @@ -1523,6 +1581,7 @@ - **Default:** `true` + #### `FileWords_EN` - **Description:** @@ -1539,6 +1598,7 @@ - **Example**: [`words-en.txt`](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/config/hangman-en.txt) + #### `FileWords_FR` - **Description:** @@ -1610,6 +1670,7 @@ **Section:** **`ChatBot.Mailer`** + #### `Enabled` - **Description:** @@ -1623,6 +1684,7 @@ - **Default:** `false` + #### `DatabaseFile` - **Description:** @@ -1634,6 +1696,7 @@ - **Default:** `MailerDatabase.ini` + #### `IgnoreListFile` - **Description:** @@ -1645,6 +1708,7 @@ - **Default:** `MailerIgnoreList.ini` + #### `PublicInteractions` - **Description:** @@ -1658,6 +1722,7 @@ - **Default:** `false` + #### `MaxMailsPerPlayer` - **Description:** @@ -1669,6 +1734,7 @@ - **Default:** `10` + #### `MaxDatabaseSize` - **Description:** @@ -1680,6 +1746,7 @@ - **Default:** `10000` (10 MB) + #### `MailRetentionDays` - **Description:** @@ -1733,6 +1800,7 @@ - **Default:** `false` + #### `Should_Resize` - **Description:** @@ -1760,6 +1828,7 @@ - **Default:** `false` + #### `Resize_To` - **Description:** @@ -1771,6 +1840,7 @@ - **Default:** `256` + #### `Auto_Render_On_Update` - **Description:** @@ -1790,6 +1860,7 @@ - **Default:** `false` + #### `Delete_All_On_Unload` - **Description:** @@ -1803,6 +1874,7 @@ - **Default:** `true` + #### `Notify_On_First_Update` - **Description:** @@ -1835,6 +1907,7 @@ - **Default:** `false` + #### `File` - **Description:** @@ -1844,6 +1917,7 @@ - **Default:** `playerlog.txt` + #### `Delay` - **Description:** @@ -1885,6 +1959,7 @@ - **Default:** `false` + #### `AutoTpaccept` - **Description:** @@ -1898,6 +1973,7 @@ - **Default:** `true` + #### `AutoTpaccept_Everyone` - **Description:** @@ -1951,6 +2027,7 @@ - **Default:** `false` + #### `Backup_Interval` - **Description:** @@ -1986,6 +2063,7 @@ - **Default:** `false` + ### Defining a task - **Description:** @@ -2061,6 +2139,7 @@ ``` + ### Full example ```toml diff --git a/docs/l10n/lv/guide/configuration.md b/docs/l10n/lv/guide/configuration.md index 30dd9cd6..71a5ed16 100644 --- a/docs/l10n/lv/guide/configuration.md +++ b/docs/l10n/lv/guide/configuration.md @@ -144,7 +144,7 @@ Coordinate = { x = 145, y = 64, y = 2045 } This setting is where you define which language you want to use. - When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages. These files describe how some messages should be printed depending on your preferred language. + When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages.These files describe how some messages should be printed depending on your preferred language. The client will automatically load `en_GB.lang` from your Minecraft folder if Minecraft is installed on your computer, or download it from Mojang's servers. You may choose another language in the configuration file. @@ -465,7 +465,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Use `no`, `fast` (5s timeout), or `yes`. Required for joining some servers. + Use `no`, `fast` (5s timeout), or `yes`. + + Required for joining some servers. - **Type:** `string` @@ -648,7 +650,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Affects only Minecraft 1.19+. This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. + Affects only Minecraft 1.19+. + + This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. #### `LoginWithSecureProfile` @@ -674,7 +678,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Whether to sign the messages contained in the commands sent by the MCC. For example, the message in `/msg` and `/me` + Whether to sign the messages contained in the commands sent by the MCC. + + For example, the message in `/msg` and `/me` - **Type:** `boolean` @@ -768,7 +774,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - This setting allows you to define if your want to see info messages. Most of the messages from MCC. + This setting allows you to define if your want to see info messages. + + Most of the messages from MCC. - **Type:** `boolean` @@ -955,7 +963,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - The proxy server IP and port. Proxy server must allow HTTPS for login, and non-443 ports for playing. + The proxy server IP and port. + + Proxy server must allow HTTPS for login, and non-443 ports for playing. - **Format:** diff --git a/docs/l10n/lv/guide/creating-bots.md b/docs/l10n/lv/guide/creating-bots.md index 9e46df68..bc5e2d77 100644 --- a/docs/l10n/lv/guide/creating-bots.md +++ b/docs/l10n/lv/guide/creating-bots.md @@ -99,7 +99,9 @@ Chat Bot (Script) structure is the following: ``` -**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. Every single Chat Bot (Script) must have this section at the beginning in order to work. +**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. + +Every single Chat Bot (Script) must have this section at the beginning in order to work. ### Script Metadata Format @@ -165,7 +167,9 @@ After the end of the **Script Metadata** section, you basically can define any n 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.. +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..

Tip

diff --git a/docs/l10n/lv/guide/installation.md b/docs/l10n/lv/guide/installation.md index 256241f6..92f61049 100644 --- a/docs/l10n/lv/guide/installation.md +++ b/docs/l10n/lv/guide/installation.md @@ -190,7 +190,11 @@ docker build -t minecraft-console-client:latest . docker run -it -v :/opt/data minecraft-console-client:latest ``` -Now you could login and the Client is running. To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. To reattach use the `docker attach` command. +Now you could login and the Client is running. + +To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. + +To reattach use the `docker attach` command. **Start the container using docker-compose:** @@ -222,7 +226,9 @@ docker-compose up docker-compose up -d #for deamonized running in the background ``` -Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. As above, you can stop and remove the container using +Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. + +As above, you can stop and remove the container using ```bash docker-compose down @@ -313,7 +319,9 @@ Once the script has downloaded, run it with: bash ubuntu.sh ``` -Then you will be asked a question, enter `Y` and press `Enter`. Once the installation is complete, you can start Ubuntu with: +Then you will be asked a question, enter `Y` and press `Enter`. + +Once the installation is complete, you can start Ubuntu with: ```bash ./startubuntu.sh @@ -499,7 +507,9 @@ To stop MCC from running you can press `CTRL + C` To edit the configuration/settings, you need a text editor, we recommend Nano, as it's very simple to use, if you have followed the installation steps above, you should be familiar with it, if not, check out [this tutorial](https://www.youtube.com/watch?v=DLeATFgGM-A). -For downloading files, you can use the `wget` file we have installed, simply run: `wget your_link_here` (you have examples above, and a video tutorial down bellow). +For downloading files, you can use the `wget` file we have installed, simply run: + +`wget your_link_here` (you have examples above, and a video tutorial down bellow). Also, here are some linux tutorials for people who are new to it: @@ -644,7 +654,9 @@ You also may want to search for better deals.
-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). +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 @@ -862,7 +874,11 @@ Make a new empty file named `authorized_keys`: touch authorized_keys ``` -Do no close the Git bash/Terminal emulator. On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). +Do no close the Git bash/Terminal emulator. + +On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. + +Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). Type the following command: @@ -940,7 +956,9 @@ Let's check if everything is working correctly: sudo systemctl status sshd ``` -If everything has been configured as it should be you should see `active (running)` as a status of the service. If not, open the config file again and check for mistakes. +If everything has been configured as it should be you should see `active (running)` as a status of the service. + +If not, open the config file again and check for mistakes. Press `q` to exit the log mode. diff --git a/docs/l10n/lv/guide/usage.md b/docs/l10n/lv/guide/usage.md index d0ccab5e..e65294df 100644 --- a/docs/l10n/lv/guide/usage.md +++ b/docs/l10n/lv/guide/usage.md @@ -236,7 +236,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q - **Description:** - Allows you to list and unload a specific bot or all bots. Useful when debugging and developing scripts. + Allows you to list and unload a specific bot or all bots. + + Useful when debugging and developing scripts. - **Usage:** @@ -404,7 +406,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q Allows you to execute a command if a specific condition is met. - The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. + The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. + + The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. Also the instance of MCC is available with `MCC.`. diff --git a/docs/l10n/nl/guide/README.md b/docs/l10n/nl/guide/README.md index 81e1aee3..ce5a9b7c 100644 --- a/docs/l10n/nl/guide/README.md +++ b/docs/l10n/nl/guide/README.md @@ -150,14 +150,26 @@ Minecraft Console Client also borrows code from the following libraries: ## Disclaimer -Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. +Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. -Also, remember that when you connect to a server with this program, you will appear where you left the last time. This means that **you can die if you log in in an unsafe place on a survival server!** Use the script scheduler bot to send a teleport command after logging in. +This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. + +Also, remember that when you connect to a server with this program, you will appear where you left the last time. + +This means that **you can die if you log in in an unsafe place on a survival server!** + +Use the script scheduler bot to send a teleport command after logging in. We remind you that **you may get banned** by your server for using this program. Use accordingly with server rules. ## License -Minecraft Console Client is a totally free of charge, open source project. The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) +Minecraft Console Client is a totally free of charge, open source project. -Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) +The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) + +Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. + +More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) + +Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) diff --git a/docs/l10n/nl/guide/chat-bots.md b/docs/l10n/nl/guide/chat-bots.md index c67efc3d..64b6a790 100644 --- a/docs/l10n/nl/guide/chat-bots.md +++ b/docs/l10n/nl/guide/chat-bots.md @@ -67,6 +67,7 @@ - **Default:** `false` + #### `Beep_Enabled`

Tip

@@ -84,6 +85,7 @@ - **Default:** `true` + #### `Trigger_By_Words` - **Description:** @@ -97,6 +99,7 @@ - **Default:** `false` + #### `Trigger_By_Rain` - **Description:** @@ -110,6 +113,7 @@ - **Default:** `false` + #### `Trigger_By_Thunderstorm` - **Description:** @@ -123,6 +127,7 @@ - **Default:** `false` + #### `Log_To_File` - **Description:** @@ -136,6 +141,7 @@ - **Default:** `false` + #### `Log_File` - **Description:** @@ -147,6 +153,7 @@ - **Default:** `"alerts-log.txt"` + #### `Matches` - **Description:** @@ -162,6 +169,7 @@ ``` + #### `Excludes` - **Description:** @@ -199,6 +207,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -214,6 +223,7 @@ - **Default:** `{ min = 60.0, max = 60.0 }` + #### `Command` - **Description:** @@ -225,6 +235,7 @@ - **Default:** `/ping` + #### `Use_Sneak` - **Description:** @@ -236,20 +247,21 @@ - **Default:** `false` + #### `Use_Terrain_Handling` +

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)** + +
+ - **Description:** 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. -

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`. - **Type:** `boolean` @@ -257,6 +269,7 @@ - **Default:** `false` + #### `Walk_Range` - **Description:** @@ -268,32 +281,33 @@ - **Default:** `5` + #### `Walk_Retries` +

Tip

+ + **This happens on each trigger of the task, so it does not permanently switch to alternative method.** + +
+ - **Description:** 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. -

Tip

- - **This happens on each trigger of the task, so it does not permanently switch to alternative method.** - -
- - **Default:** `20` ## Auto Attack +

Tip

+ +**You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** + +
+ - **Description:** Automatically attacks mobs around you, you can configure it to attack both hostile and passive mobs and only certain mobs or all mobs. -

Tip

- - **You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** - -
- - **Settings:** **Section:** **`ChatBot.AutoAttack`** @@ -311,6 +325,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -330,6 +345,7 @@ - **Default:** `single` + #### `Priority` - **Description:** @@ -344,6 +360,7 @@ - **Default:** `distance` + #### `Cooldown_Time` - **Description:** @@ -363,6 +380,7 @@ - **Default:** `{ Custom = false, value = 1.0 }` + #### `Interaction` - **Description:** @@ -386,6 +404,7 @@ - **Default:** `Attack` + #### `Attack_Hostile` - **Description:** @@ -399,6 +418,7 @@ - **Default:** `true` + #### `Attack_Passive` - **Description:** @@ -412,6 +432,7 @@ - **Default:** `false` + #### `List_Mode` - **Description:** @@ -425,6 +446,7 @@ - **Default:** `whitelist` + #### `Entites_List` - **Description:** @@ -443,16 +465,16 @@ ## Auto Craft +

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.** + +
+ - **Description:** Automatically craft items in your inventory or in a 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:** - `/autocraft list` @@ -476,6 +498,7 @@ **Section:** **`ChatBot.AutoCraft`** + #### `Enabled` - **Description:** @@ -489,6 +512,7 @@ - **Default:** `false` + #### `CraftingTable` - **Description:** @@ -512,6 +536,7 @@ ``` + #### `OnFailure` - **Description:** @@ -527,8 +552,15 @@ - **Default:** `abort` + ### Defining a recipe +

Tip

+ + **If you're using `table` you need to set the `CraftingTable` setting.** + +
+ The recipes are defines as a separate new sub-section `[[ChatBot.AutoCraft.Recipes]]` of the `[ChatBot.AutoCraft]` section. The `[[ChatBot.AutoCraft.Recipes]]` section needs to contain the following settings: @@ -543,12 +575,6 @@ **Avaliable values:** `player` and `table` -

Tip

- - **If you're using `table` you need to set the `CraftingTable` setting.** - -
- - `Result` This is the type of resulting item. @@ -569,17 +595,6 @@ Slots = [ "", "", ... ] ``` -

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", ]`** - -
- -

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:** @@ -625,6 +640,10 @@

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", ]`** + + **All item types can be found [here](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/Inventory/ItemType.cs).** + **Make sure to provide materials for your bot by placing them in inventory first.**
@@ -658,6 +677,7 @@ **Section:** **`ChatBot.AutoDig`** + #### `Enabled` - **Description:** @@ -671,6 +691,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -696,6 +717,7 @@ - **Default:** `lookat` + #### `Locations` - **Description:** @@ -722,6 +744,7 @@ ``` + #### `Location_Order` - **Description:** @@ -743,6 +766,7 @@ - **Default:** `distance` + #### `Auto_Start_Delay` - **Description:** @@ -756,6 +780,7 @@ - **Default:** `3.0` + #### `Dig_Timeout` - **Description:** @@ -767,6 +792,7 @@ - **Default:** `60.0` + #### `Log_Block_Dig` - **Description:** @@ -780,6 +806,7 @@ - **Default:** `true` + #### `List_Type` - **Description:** @@ -793,6 +820,7 @@ - **Default:** `whitelist` + #### `Blocks` - **Description:** @@ -838,6 +866,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -865,6 +894,7 @@ - **Default:** `include` + #### `Items` - **Description:** @@ -914,6 +944,7 @@ - **Default:** `false` + #### `Threshold` - **Description:** @@ -966,6 +997,7 @@ **Section:** **`ChatBot.AutoFishing`** + #### `Enabled` - **Description:** @@ -979,6 +1011,7 @@ - **Default:** `false` + #### `Antidespawn` - **Description:** @@ -992,6 +1025,7 @@ - **Default:** `false` + #### `Mainhand` - **Description:** @@ -1008,6 +1042,7 @@ - **Default:** `true` + #### `Auto_Start` - **Description:** @@ -1021,6 +1056,7 @@ - **Default:** `true` + #### `Cast_Delay` - **Description:** @@ -1032,6 +1068,7 @@ - **Default:** `0.4` + #### `Fishing_Delay` - **Description:** @@ -1045,6 +1082,7 @@ - **Default:** `3.0` + #### `Fishing_Timeout` - **Description:** @@ -1056,6 +1094,7 @@ - **Default:** `300.0` + #### `Durability_Limit` - **Description:** @@ -1069,6 +1108,7 @@ - **Default:** `2` + #### `Auto_Rod_Switch` - **Description:** @@ -1082,6 +1122,7 @@ - **Default:** `true` + #### `Stationary_Threshold` - **Description:** @@ -1099,6 +1140,7 @@ - **Default:** `0.001` + #### `Hook_Threshold` - **Description:** @@ -1114,6 +1156,7 @@ - **Default:** `0.2` + #### `Log_Fish_Bobber` - **Description:** @@ -1129,6 +1172,7 @@ - **Default:** `false` + #### `Enable_Move` - **Description:** @@ -1144,6 +1188,7 @@ - **Default:** `false` + ### Adding a position/movement Each position/movement is added as a new `[[ChatBot.AutoFishing.Movements]]` subsection of `[ChatBot.AutoFishing]`. @@ -1185,6 +1230,7 @@ ``` + #### Full example ```toml @@ -1219,6 +1265,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -1236,6 +1283,7 @@ - **Default:** `{ min = 3.0, max = 3.0 }` + #### `Retries` - **Description:** @@ -1253,6 +1301,7 @@ - **Default:** `-1` + #### `Ignore_Kick_Message` - **Description:** @@ -1264,6 +1313,7 @@ - **Default:** `false` + #### `Kick_Messages` - **Description:** @@ -1311,6 +1361,7 @@ - **Default:** `false` + #### `Matches_File` - **Description:** @@ -1332,6 +1383,7 @@ - **Default:** `matches.ini` + #### `Match_Colors` - **Description:** @@ -1373,6 +1425,7 @@ - **Default:** `false` + #### `Add_DateTime` - **Description:** @@ -1384,6 +1437,7 @@ - **Default:** `true` + #### `Log_File` - **Description:** @@ -1393,6 +1447,7 @@ - **Default:** `chatlog-%username%-%serverip%.txt` + #### `Filter` - **Description:** @@ -1458,6 +1513,7 @@ - **Default:** `false` + #### `Update_Limit` - **Description:** @@ -1471,6 +1527,7 @@ - **Default:** `1.5` + #### `Stop_At_Distance` - **Description:** @@ -1512,6 +1569,7 @@ - **Default:** `false` + #### `English` - **Description:** @@ -1523,6 +1581,7 @@ - **Default:** `true` + #### `FileWords_EN` - **Description:** @@ -1539,6 +1598,7 @@ - **Example**: [`words-en.txt`](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/config/hangman-en.txt) + #### `FileWords_FR` - **Description:** @@ -1610,6 +1670,7 @@ **Section:** **`ChatBot.Mailer`** + #### `Enabled` - **Description:** @@ -1623,6 +1684,7 @@ - **Default:** `false` + #### `DatabaseFile` - **Description:** @@ -1634,6 +1696,7 @@ - **Default:** `MailerDatabase.ini` + #### `IgnoreListFile` - **Description:** @@ -1645,6 +1708,7 @@ - **Default:** `MailerIgnoreList.ini` + #### `PublicInteractions` - **Description:** @@ -1658,6 +1722,7 @@ - **Default:** `false` + #### `MaxMailsPerPlayer` - **Description:** @@ -1669,6 +1734,7 @@ - **Default:** `10` + #### `MaxDatabaseSize` - **Description:** @@ -1680,6 +1746,7 @@ - **Default:** `10000` (10 MB) + #### `MailRetentionDays` - **Description:** @@ -1733,6 +1800,7 @@ - **Default:** `false` + #### `Should_Resize` - **Description:** @@ -1760,6 +1828,7 @@ - **Default:** `false` + #### `Resize_To` - **Description:** @@ -1771,6 +1840,7 @@ - **Default:** `256` + #### `Auto_Render_On_Update` - **Description:** @@ -1790,6 +1860,7 @@ - **Default:** `false` + #### `Delete_All_On_Unload` - **Description:** @@ -1803,6 +1874,7 @@ - **Default:** `true` + #### `Notify_On_First_Update` - **Description:** @@ -1835,6 +1907,7 @@ - **Default:** `false` + #### `File` - **Description:** @@ -1844,6 +1917,7 @@ - **Default:** `playerlog.txt` + #### `Delay` - **Description:** @@ -1885,6 +1959,7 @@ - **Default:** `false` + #### `AutoTpaccept` - **Description:** @@ -1898,6 +1973,7 @@ - **Default:** `true` + #### `AutoTpaccept_Everyone` - **Description:** @@ -1951,6 +2027,7 @@ - **Default:** `false` + #### `Backup_Interval` - **Description:** @@ -1986,6 +2063,7 @@ - **Default:** `false` + ### Defining a task - **Description:** @@ -2061,6 +2139,7 @@ ``` + ### Full example ```toml diff --git a/docs/l10n/nl/guide/configuration.md b/docs/l10n/nl/guide/configuration.md index 30dd9cd6..71a5ed16 100644 --- a/docs/l10n/nl/guide/configuration.md +++ b/docs/l10n/nl/guide/configuration.md @@ -144,7 +144,7 @@ Coordinate = { x = 145, y = 64, y = 2045 } This setting is where you define which language you want to use. - When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages. These files describe how some messages should be printed depending on your preferred language. + When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages.These files describe how some messages should be printed depending on your preferred language. The client will automatically load `en_GB.lang` from your Minecraft folder if Minecraft is installed on your computer, or download it from Mojang's servers. You may choose another language in the configuration file. @@ -465,7 +465,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Use `no`, `fast` (5s timeout), or `yes`. Required for joining some servers. + Use `no`, `fast` (5s timeout), or `yes`. + + Required for joining some servers. - **Type:** `string` @@ -648,7 +650,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Affects only Minecraft 1.19+. This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. + Affects only Minecraft 1.19+. + + This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. #### `LoginWithSecureProfile` @@ -674,7 +678,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Whether to sign the messages contained in the commands sent by the MCC. For example, the message in `/msg` and `/me` + Whether to sign the messages contained in the commands sent by the MCC. + + For example, the message in `/msg` and `/me` - **Type:** `boolean` @@ -768,7 +774,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - This setting allows you to define if your want to see info messages. Most of the messages from MCC. + This setting allows you to define if your want to see info messages. + + Most of the messages from MCC. - **Type:** `boolean` @@ -955,7 +963,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - The proxy server IP and port. Proxy server must allow HTTPS for login, and non-443 ports for playing. + The proxy server IP and port. + + Proxy server must allow HTTPS for login, and non-443 ports for playing. - **Format:** diff --git a/docs/l10n/nl/guide/creating-bots.md b/docs/l10n/nl/guide/creating-bots.md index 9e46df68..bc5e2d77 100644 --- a/docs/l10n/nl/guide/creating-bots.md +++ b/docs/l10n/nl/guide/creating-bots.md @@ -99,7 +99,9 @@ Chat Bot (Script) structure is the following: ``` -**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. Every single Chat Bot (Script) must have this section at the beginning in order to work. +**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. + +Every single Chat Bot (Script) must have this section at the beginning in order to work. ### Script Metadata Format @@ -165,7 +167,9 @@ After the end of the **Script Metadata** section, you basically can define any n 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.. +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..

Tip

diff --git a/docs/l10n/nl/guide/installation.md b/docs/l10n/nl/guide/installation.md index 1f099687..c5f03762 100644 --- a/docs/l10n/nl/guide/installation.md +++ b/docs/l10n/nl/guide/installation.md @@ -190,7 +190,11 @@ docker build -t minecraft-console-client:latest . docker run -it -v :/opt/data minecraft-console-client:latest ``` -Now you could login and the Client is running. To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. To reattach use the `docker attach` command. +Now you could login and the Client is running. + +To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. + +To reattach use the `docker attach` command. **Start the container using docker-compose:** @@ -222,7 +226,9 @@ docker-compose up docker-compose up -d #for deamonized running in the background ``` -Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. As above, you can stop and remove the container using +Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. + +As above, you can stop and remove the container using ```bash docker-compose down @@ -313,7 +319,9 @@ Once the script has downloaded, run it with: bash ubuntu.sh ``` -Then you will be asked a question, enter `Y` and press `Enter`. Once the installation is complete, you can start Ubuntu with: +Then you will be asked a question, enter `Y` and press `Enter`. + +Once the installation is complete, you can start Ubuntu with: ```bash ./startubuntu.sh @@ -499,7 +507,9 @@ To stop MCC from running you can press `CTRL + C` To edit the configuration/settings, you need a text editor, we recommend Nano, as it's very simple to use, if you have followed the installation steps above, you should be familiar with it, if not, check out [this tutorial](https://www.youtube.com/watch?v=DLeATFgGM-A). -For downloading files, you can use the `wget` file we have installed, simply run: `wget your_link_here` (you have examples above, and a video tutorial down bellow). +For downloading files, you can use the `wget` file we have installed, simply run: + +`wget your_link_here` (you have examples above, and a video tutorial down bellow). Also, here are some linux tutorials for people who are new to it: @@ -644,7 +654,9 @@ You also may want to search for better deals.
-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). +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 @@ -862,7 +874,11 @@ Make a new empty file named `authorized_keys`: touch authorized_keys ``` -Do no close the Git bash/Terminal emulator. On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). +Do no close the Git bash/Terminal emulator. + +On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. + +Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). Type the following command: @@ -940,7 +956,9 @@ Let's check if everything is working correctly: sudo systemctl status sshd ``` -If everything has been configured as it should be you should see `active (running)` as a status of the service. If not, open the config file again and check for mistakes. +If everything has been configured as it should be you should see `active (running)` as a status of the service. + +If not, open the config file again and check for mistakes. Press `q` to exit the log mode. diff --git a/docs/l10n/nl/guide/usage.md b/docs/l10n/nl/guide/usage.md index d0ccab5e..e65294df 100644 --- a/docs/l10n/nl/guide/usage.md +++ b/docs/l10n/nl/guide/usage.md @@ -236,7 +236,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q - **Description:** - Allows you to list and unload a specific bot or all bots. Useful when debugging and developing scripts. + Allows you to list and unload a specific bot or all bots. + + Useful when debugging and developing scripts. - **Usage:** @@ -404,7 +406,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q Allows you to execute a command if a specific condition is met. - The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. + The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. + + The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. Also the instance of MCC is available with `MCC.`. diff --git a/docs/l10n/no/guide/README.md b/docs/l10n/no/guide/README.md index 81e1aee3..ce5a9b7c 100644 --- a/docs/l10n/no/guide/README.md +++ b/docs/l10n/no/guide/README.md @@ -150,14 +150,26 @@ Minecraft Console Client also borrows code from the following libraries: ## Disclaimer -Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. +Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. -Also, remember that when you connect to a server with this program, you will appear where you left the last time. This means that **you can die if you log in in an unsafe place on a survival server!** Use the script scheduler bot to send a teleport command after logging in. +This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. + +Also, remember that when you connect to a server with this program, you will appear where you left the last time. + +This means that **you can die if you log in in an unsafe place on a survival server!** + +Use the script scheduler bot to send a teleport command after logging in. We remind you that **you may get banned** by your server for using this program. Use accordingly with server rules. ## License -Minecraft Console Client is a totally free of charge, open source project. The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) +Minecraft Console Client is a totally free of charge, open source project. -Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) +The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) + +Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. + +More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) + +Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) diff --git a/docs/l10n/no/guide/chat-bots.md b/docs/l10n/no/guide/chat-bots.md index c67efc3d..64b6a790 100644 --- a/docs/l10n/no/guide/chat-bots.md +++ b/docs/l10n/no/guide/chat-bots.md @@ -67,6 +67,7 @@ - **Default:** `false` + #### `Beep_Enabled`

Tip

@@ -84,6 +85,7 @@ - **Default:** `true` + #### `Trigger_By_Words` - **Description:** @@ -97,6 +99,7 @@ - **Default:** `false` + #### `Trigger_By_Rain` - **Description:** @@ -110,6 +113,7 @@ - **Default:** `false` + #### `Trigger_By_Thunderstorm` - **Description:** @@ -123,6 +127,7 @@ - **Default:** `false` + #### `Log_To_File` - **Description:** @@ -136,6 +141,7 @@ - **Default:** `false` + #### `Log_File` - **Description:** @@ -147,6 +153,7 @@ - **Default:** `"alerts-log.txt"` + #### `Matches` - **Description:** @@ -162,6 +169,7 @@ ``` + #### `Excludes` - **Description:** @@ -199,6 +207,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -214,6 +223,7 @@ - **Default:** `{ min = 60.0, max = 60.0 }` + #### `Command` - **Description:** @@ -225,6 +235,7 @@ - **Default:** `/ping` + #### `Use_Sneak` - **Description:** @@ -236,20 +247,21 @@ - **Default:** `false` + #### `Use_Terrain_Handling` +

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)** + +
+ - **Description:** 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. -

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`. - **Type:** `boolean` @@ -257,6 +269,7 @@ - **Default:** `false` + #### `Walk_Range` - **Description:** @@ -268,32 +281,33 @@ - **Default:** `5` + #### `Walk_Retries` +

Tip

+ + **This happens on each trigger of the task, so it does not permanently switch to alternative method.** + +
+ - **Description:** 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. -

Tip

- - **This happens on each trigger of the task, so it does not permanently switch to alternative method.** - -
- - **Default:** `20` ## Auto Attack +

Tip

+ +**You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** + +
+ - **Description:** Automatically attacks mobs around you, you can configure it to attack both hostile and passive mobs and only certain mobs or all mobs. -

Tip

- - **You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** - -
- - **Settings:** **Section:** **`ChatBot.AutoAttack`** @@ -311,6 +325,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -330,6 +345,7 @@ - **Default:** `single` + #### `Priority` - **Description:** @@ -344,6 +360,7 @@ - **Default:** `distance` + #### `Cooldown_Time` - **Description:** @@ -363,6 +380,7 @@ - **Default:** `{ Custom = false, value = 1.0 }` + #### `Interaction` - **Description:** @@ -386,6 +404,7 @@ - **Default:** `Attack` + #### `Attack_Hostile` - **Description:** @@ -399,6 +418,7 @@ - **Default:** `true` + #### `Attack_Passive` - **Description:** @@ -412,6 +432,7 @@ - **Default:** `false` + #### `List_Mode` - **Description:** @@ -425,6 +446,7 @@ - **Default:** `whitelist` + #### `Entites_List` - **Description:** @@ -443,16 +465,16 @@ ## Auto Craft +

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.** + +
+ - **Description:** Automatically craft items in your inventory or in a 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:** - `/autocraft list` @@ -476,6 +498,7 @@ **Section:** **`ChatBot.AutoCraft`** + #### `Enabled` - **Description:** @@ -489,6 +512,7 @@ - **Default:** `false` + #### `CraftingTable` - **Description:** @@ -512,6 +536,7 @@ ``` + #### `OnFailure` - **Description:** @@ -527,8 +552,15 @@ - **Default:** `abort` + ### Defining a recipe +

Tip

+ + **If you're using `table` you need to set the `CraftingTable` setting.** + +
+ The recipes are defines as a separate new sub-section `[[ChatBot.AutoCraft.Recipes]]` of the `[ChatBot.AutoCraft]` section. The `[[ChatBot.AutoCraft.Recipes]]` section needs to contain the following settings: @@ -543,12 +575,6 @@ **Avaliable values:** `player` and `table` -

Tip

- - **If you're using `table` you need to set the `CraftingTable` setting.** - -
- - `Result` This is the type of resulting item. @@ -569,17 +595,6 @@ Slots = [ "", "", ... ] ``` -

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", ]`** - -
- -

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:** @@ -625,6 +640,10 @@

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", ]`** + + **All item types can be found [here](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/Inventory/ItemType.cs).** + **Make sure to provide materials for your bot by placing them in inventory first.**
@@ -658,6 +677,7 @@ **Section:** **`ChatBot.AutoDig`** + #### `Enabled` - **Description:** @@ -671,6 +691,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -696,6 +717,7 @@ - **Default:** `lookat` + #### `Locations` - **Description:** @@ -722,6 +744,7 @@ ``` + #### `Location_Order` - **Description:** @@ -743,6 +766,7 @@ - **Default:** `distance` + #### `Auto_Start_Delay` - **Description:** @@ -756,6 +780,7 @@ - **Default:** `3.0` + #### `Dig_Timeout` - **Description:** @@ -767,6 +792,7 @@ - **Default:** `60.0` + #### `Log_Block_Dig` - **Description:** @@ -780,6 +806,7 @@ - **Default:** `true` + #### `List_Type` - **Description:** @@ -793,6 +820,7 @@ - **Default:** `whitelist` + #### `Blocks` - **Description:** @@ -838,6 +866,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -865,6 +894,7 @@ - **Default:** `include` + #### `Items` - **Description:** @@ -914,6 +944,7 @@ - **Default:** `false` + #### `Threshold` - **Description:** @@ -966,6 +997,7 @@ **Section:** **`ChatBot.AutoFishing`** + #### `Enabled` - **Description:** @@ -979,6 +1011,7 @@ - **Default:** `false` + #### `Antidespawn` - **Description:** @@ -992,6 +1025,7 @@ - **Default:** `false` + #### `Mainhand` - **Description:** @@ -1008,6 +1042,7 @@ - **Default:** `true` + #### `Auto_Start` - **Description:** @@ -1021,6 +1056,7 @@ - **Default:** `true` + #### `Cast_Delay` - **Description:** @@ -1032,6 +1068,7 @@ - **Default:** `0.4` + #### `Fishing_Delay` - **Description:** @@ -1045,6 +1082,7 @@ - **Default:** `3.0` + #### `Fishing_Timeout` - **Description:** @@ -1056,6 +1094,7 @@ - **Default:** `300.0` + #### `Durability_Limit` - **Description:** @@ -1069,6 +1108,7 @@ - **Default:** `2` + #### `Auto_Rod_Switch` - **Description:** @@ -1082,6 +1122,7 @@ - **Default:** `true` + #### `Stationary_Threshold` - **Description:** @@ -1099,6 +1140,7 @@ - **Default:** `0.001` + #### `Hook_Threshold` - **Description:** @@ -1114,6 +1156,7 @@ - **Default:** `0.2` + #### `Log_Fish_Bobber` - **Description:** @@ -1129,6 +1172,7 @@ - **Default:** `false` + #### `Enable_Move` - **Description:** @@ -1144,6 +1188,7 @@ - **Default:** `false` + ### Adding a position/movement Each position/movement is added as a new `[[ChatBot.AutoFishing.Movements]]` subsection of `[ChatBot.AutoFishing]`. @@ -1185,6 +1230,7 @@ ``` + #### Full example ```toml @@ -1219,6 +1265,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -1236,6 +1283,7 @@ - **Default:** `{ min = 3.0, max = 3.0 }` + #### `Retries` - **Description:** @@ -1253,6 +1301,7 @@ - **Default:** `-1` + #### `Ignore_Kick_Message` - **Description:** @@ -1264,6 +1313,7 @@ - **Default:** `false` + #### `Kick_Messages` - **Description:** @@ -1311,6 +1361,7 @@ - **Default:** `false` + #### `Matches_File` - **Description:** @@ -1332,6 +1383,7 @@ - **Default:** `matches.ini` + #### `Match_Colors` - **Description:** @@ -1373,6 +1425,7 @@ - **Default:** `false` + #### `Add_DateTime` - **Description:** @@ -1384,6 +1437,7 @@ - **Default:** `true` + #### `Log_File` - **Description:** @@ -1393,6 +1447,7 @@ - **Default:** `chatlog-%username%-%serverip%.txt` + #### `Filter` - **Description:** @@ -1458,6 +1513,7 @@ - **Default:** `false` + #### `Update_Limit` - **Description:** @@ -1471,6 +1527,7 @@ - **Default:** `1.5` + #### `Stop_At_Distance` - **Description:** @@ -1512,6 +1569,7 @@ - **Default:** `false` + #### `English` - **Description:** @@ -1523,6 +1581,7 @@ - **Default:** `true` + #### `FileWords_EN` - **Description:** @@ -1539,6 +1598,7 @@ - **Example**: [`words-en.txt`](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/config/hangman-en.txt) + #### `FileWords_FR` - **Description:** @@ -1610,6 +1670,7 @@ **Section:** **`ChatBot.Mailer`** + #### `Enabled` - **Description:** @@ -1623,6 +1684,7 @@ - **Default:** `false` + #### `DatabaseFile` - **Description:** @@ -1634,6 +1696,7 @@ - **Default:** `MailerDatabase.ini` + #### `IgnoreListFile` - **Description:** @@ -1645,6 +1708,7 @@ - **Default:** `MailerIgnoreList.ini` + #### `PublicInteractions` - **Description:** @@ -1658,6 +1722,7 @@ - **Default:** `false` + #### `MaxMailsPerPlayer` - **Description:** @@ -1669,6 +1734,7 @@ - **Default:** `10` + #### `MaxDatabaseSize` - **Description:** @@ -1680,6 +1746,7 @@ - **Default:** `10000` (10 MB) + #### `MailRetentionDays` - **Description:** @@ -1733,6 +1800,7 @@ - **Default:** `false` + #### `Should_Resize` - **Description:** @@ -1760,6 +1828,7 @@ - **Default:** `false` + #### `Resize_To` - **Description:** @@ -1771,6 +1840,7 @@ - **Default:** `256` + #### `Auto_Render_On_Update` - **Description:** @@ -1790,6 +1860,7 @@ - **Default:** `false` + #### `Delete_All_On_Unload` - **Description:** @@ -1803,6 +1874,7 @@ - **Default:** `true` + #### `Notify_On_First_Update` - **Description:** @@ -1835,6 +1907,7 @@ - **Default:** `false` + #### `File` - **Description:** @@ -1844,6 +1917,7 @@ - **Default:** `playerlog.txt` + #### `Delay` - **Description:** @@ -1885,6 +1959,7 @@ - **Default:** `false` + #### `AutoTpaccept` - **Description:** @@ -1898,6 +1973,7 @@ - **Default:** `true` + #### `AutoTpaccept_Everyone` - **Description:** @@ -1951,6 +2027,7 @@ - **Default:** `false` + #### `Backup_Interval` - **Description:** @@ -1986,6 +2063,7 @@ - **Default:** `false` + ### Defining a task - **Description:** @@ -2061,6 +2139,7 @@ ``` + ### Full example ```toml diff --git a/docs/l10n/no/guide/configuration.md b/docs/l10n/no/guide/configuration.md index 30dd9cd6..71a5ed16 100644 --- a/docs/l10n/no/guide/configuration.md +++ b/docs/l10n/no/guide/configuration.md @@ -144,7 +144,7 @@ Coordinate = { x = 145, y = 64, y = 2045 } This setting is where you define which language you want to use. - When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages. These files describe how some messages should be printed depending on your preferred language. + When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages.These files describe how some messages should be printed depending on your preferred language. The client will automatically load `en_GB.lang` from your Minecraft folder if Minecraft is installed on your computer, or download it from Mojang's servers. You may choose another language in the configuration file. @@ -465,7 +465,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Use `no`, `fast` (5s timeout), or `yes`. Required for joining some servers. + Use `no`, `fast` (5s timeout), or `yes`. + + Required for joining some servers. - **Type:** `string` @@ -648,7 +650,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Affects only Minecraft 1.19+. This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. + Affects only Minecraft 1.19+. + + This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. #### `LoginWithSecureProfile` @@ -674,7 +678,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Whether to sign the messages contained in the commands sent by the MCC. For example, the message in `/msg` and `/me` + Whether to sign the messages contained in the commands sent by the MCC. + + For example, the message in `/msg` and `/me` - **Type:** `boolean` @@ -768,7 +774,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - This setting allows you to define if your want to see info messages. Most of the messages from MCC. + This setting allows you to define if your want to see info messages. + + Most of the messages from MCC. - **Type:** `boolean` @@ -955,7 +963,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - The proxy server IP and port. Proxy server must allow HTTPS for login, and non-443 ports for playing. + The proxy server IP and port. + + Proxy server must allow HTTPS for login, and non-443 ports for playing. - **Format:** diff --git a/docs/l10n/no/guide/creating-bots.md b/docs/l10n/no/guide/creating-bots.md index 9e46df68..bc5e2d77 100644 --- a/docs/l10n/no/guide/creating-bots.md +++ b/docs/l10n/no/guide/creating-bots.md @@ -99,7 +99,9 @@ Chat Bot (Script) structure is the following: ``` -**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. Every single Chat Bot (Script) must have this section at the beginning in order to work. +**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. + +Every single Chat Bot (Script) must have this section at the beginning in order to work. ### Script Metadata Format @@ -165,7 +167,9 @@ After the end of the **Script Metadata** section, you basically can define any n 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.. +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..

Tip

diff --git a/docs/l10n/no/guide/installation.md b/docs/l10n/no/guide/installation.md index 256241f6..92f61049 100644 --- a/docs/l10n/no/guide/installation.md +++ b/docs/l10n/no/guide/installation.md @@ -190,7 +190,11 @@ docker build -t minecraft-console-client:latest . docker run -it -v :/opt/data minecraft-console-client:latest ``` -Now you could login and the Client is running. To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. To reattach use the `docker attach` command. +Now you could login and the Client is running. + +To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. + +To reattach use the `docker attach` command. **Start the container using docker-compose:** @@ -222,7 +226,9 @@ docker-compose up docker-compose up -d #for deamonized running in the background ``` -Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. As above, you can stop and remove the container using +Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. + +As above, you can stop and remove the container using ```bash docker-compose down @@ -313,7 +319,9 @@ Once the script has downloaded, run it with: bash ubuntu.sh ``` -Then you will be asked a question, enter `Y` and press `Enter`. Once the installation is complete, you can start Ubuntu with: +Then you will be asked a question, enter `Y` and press `Enter`. + +Once the installation is complete, you can start Ubuntu with: ```bash ./startubuntu.sh @@ -499,7 +507,9 @@ To stop MCC from running you can press `CTRL + C` To edit the configuration/settings, you need a text editor, we recommend Nano, as it's very simple to use, if you have followed the installation steps above, you should be familiar with it, if not, check out [this tutorial](https://www.youtube.com/watch?v=DLeATFgGM-A). -For downloading files, you can use the `wget` file we have installed, simply run: `wget your_link_here` (you have examples above, and a video tutorial down bellow). +For downloading files, you can use the `wget` file we have installed, simply run: + +`wget your_link_here` (you have examples above, and a video tutorial down bellow). Also, here are some linux tutorials for people who are new to it: @@ -644,7 +654,9 @@ You also may want to search for better deals.
-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). +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 @@ -862,7 +874,11 @@ Make a new empty file named `authorized_keys`: touch authorized_keys ``` -Do no close the Git bash/Terminal emulator. On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). +Do no close the Git bash/Terminal emulator. + +On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. + +Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). Type the following command: @@ -940,7 +956,9 @@ Let's check if everything is working correctly: sudo systemctl status sshd ``` -If everything has been configured as it should be you should see `active (running)` as a status of the service. If not, open the config file again and check for mistakes. +If everything has been configured as it should be you should see `active (running)` as a status of the service. + +If not, open the config file again and check for mistakes. Press `q` to exit the log mode. diff --git a/docs/l10n/no/guide/usage.md b/docs/l10n/no/guide/usage.md index d0ccab5e..e65294df 100644 --- a/docs/l10n/no/guide/usage.md +++ b/docs/l10n/no/guide/usage.md @@ -236,7 +236,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q - **Description:** - Allows you to list and unload a specific bot or all bots. Useful when debugging and developing scripts. + Allows you to list and unload a specific bot or all bots. + + Useful when debugging and developing scripts. - **Usage:** @@ -404,7 +406,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q Allows you to execute a command if a specific condition is met. - The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. + The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. + + The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. Also the instance of MCC is available with `MCC.`. diff --git a/docs/l10n/pl/guide/README.md b/docs/l10n/pl/guide/README.md index 81e1aee3..ce5a9b7c 100644 --- a/docs/l10n/pl/guide/README.md +++ b/docs/l10n/pl/guide/README.md @@ -150,14 +150,26 @@ Minecraft Console Client also borrows code from the following libraries: ## Disclaimer -Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. +Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. -Also, remember that when you connect to a server with this program, you will appear where you left the last time. This means that **you can die if you log in in an unsafe place on a survival server!** Use the script scheduler bot to send a teleport command after logging in. +This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. + +Also, remember that when you connect to a server with this program, you will appear where you left the last time. + +This means that **you can die if you log in in an unsafe place on a survival server!** + +Use the script scheduler bot to send a teleport command after logging in. We remind you that **you may get banned** by your server for using this program. Use accordingly with server rules. ## License -Minecraft Console Client is a totally free of charge, open source project. The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) +Minecraft Console Client is a totally free of charge, open source project. -Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) +The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) + +Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. + +More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) + +Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) diff --git a/docs/l10n/pl/guide/chat-bots.md b/docs/l10n/pl/guide/chat-bots.md index 74e68375..6b1bd077 100644 --- a/docs/l10n/pl/guide/chat-bots.md +++ b/docs/l10n/pl/guide/chat-bots.md @@ -67,6 +67,7 @@ - **Default:** `false` + #### `Beep_Enabled`

Tip

@@ -84,6 +85,7 @@ - **Default:** `true` + #### `Trigger_By_Words` - **Description:** @@ -97,6 +99,7 @@ - **Default:** `false` + #### `Trigger_By_Rain` - **Description:** @@ -110,6 +113,7 @@ - **Default:** `false` + #### `Trigger_By_Thunderstorm` - **Description:** @@ -123,6 +127,7 @@ - **Default:** `false` + #### `Log_To_File` - **Description:** @@ -136,6 +141,7 @@ - **Default:** `false` + #### `Log_File` - **Description:** @@ -147,6 +153,7 @@ - **Default:** `"alerts-log.txt"` + #### `Matches` - **Description:** @@ -162,6 +169,7 @@ ``` + #### `Excludes` - **Description:** @@ -199,6 +207,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -214,6 +223,7 @@ - **Default:** `{ min = 60.0, max = 60.0 }` + #### `Command` - **Description:** @@ -225,6 +235,7 @@ - **Default:** `/ping` + #### `Use_Sneak` - **Description:** @@ -236,20 +247,21 @@ - **Default:** `false` + #### `Use_Terrain_Handling` +

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)** + +
+ - **Description:** 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. -

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`. - **Type:** `boolean` @@ -257,6 +269,7 @@ - **Default:** `false` + #### `Walk_Range` - **Description:** @@ -268,32 +281,33 @@ - **Default:** `5` + #### `Walk_Retries` +

Tip

+ + **This happens on each trigger of the task, so it does not permanently switch to alternative method.** + +
+ - **Description:** 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. -

Tip

- - **This happens on each trigger of the task, so it does not permanently switch to alternative method.** - -
- - **Default:** `20` ## Auto Attack +

Tip

+ +**You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** + +
+ - **Description:** Automatically attacks mobs around you, you can configure it to attack both hostile and passive mobs and only certain mobs or all mobs. -

Tip

- - **You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** - -
- - **Settings:** **Section:** **`ChatBot.AutoAttack`** @@ -311,6 +325,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -330,6 +345,7 @@ - **Default:** `single` + #### `Priority` - **Description:** @@ -344,6 +360,7 @@ - **Default:** `distance` + #### `Cooldown_Time` - **Description:** @@ -363,6 +380,7 @@ - **Default:** `{ Custom = false, value = 1.0 }` + #### `Interaction` - **Description:** @@ -386,6 +404,7 @@ - **Default:** `Attack` + #### `Attack_Hostile` - **Description:** @@ -399,6 +418,7 @@ - **Default:** `true` + #### `Attack_Passive` - **Description:** @@ -412,6 +432,7 @@ - **Default:** `false` + #### `List_Mode` - **Description:** @@ -425,6 +446,7 @@ - **Default:** `whitelist` + #### `Entites_List` - **Description:** @@ -443,16 +465,16 @@ ## Auto Craft +

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.** + +
+ - **Description:** Automatically craft items in your inventory or in a 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:** - `/autocraft list` @@ -476,6 +498,7 @@ **Section:** **`ChatBot.AutoCraft`** + #### `Enabled` - **Description:** @@ -489,6 +512,7 @@ - **Default:** `false` + #### `CraftingTable` - **Description:** @@ -512,6 +536,7 @@ ``` + #### `OnFailure` - **Description:** @@ -527,8 +552,15 @@ - **Default:** `abort` + ### Defining a recipe +

Tip

+ + **If you're using `table` you need to set the `CraftingTable` setting.** + +
+ The recipes are defines as a separate new sub-section `[[ChatBot.AutoCraft.Recipes]]` of the `[ChatBot.AutoCraft]` section. The `[[ChatBot.AutoCraft.Recipes]]` section needs to contain the following settings: @@ -543,12 +575,6 @@ **Avaliable values:** `player` and `table` -

Tip

- - **If you're using `table` you need to set the `CraftingTable` setting.** - -
- - `Result` This is the type of resulting item. @@ -569,17 +595,6 @@ Slots = [ "", "", ... ] ``` -

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", ]`** - -
- -

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:** @@ -625,6 +640,10 @@

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", ]`** + + **All item types can be found [here](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/Inventory/ItemType.cs).** + **Make sure to provide materials for your bot by placing them in inventory first.**
@@ -658,6 +677,7 @@ **Section:** **`ChatBot.AutoDig`** + #### `Enabled` - **Description:** @@ -671,6 +691,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -696,6 +717,7 @@ - **Default:** `lookat` + #### `Locations` - **Description:** @@ -722,6 +744,7 @@ ``` + #### `Location_Order` - **Description:** @@ -743,6 +766,7 @@ - **Default:** `distance` + #### `Auto_Start_Delay` - **Description:** @@ -756,6 +780,7 @@ - **Default:** `3.0` + #### `Dig_Timeout` - **Description:** @@ -767,6 +792,7 @@ - **Default:** `60.0` + #### `Log_Block_Dig` - **Description:** @@ -780,6 +806,7 @@ - **Default:** `true` + #### `List_Type` - **Description:** @@ -793,6 +820,7 @@ - **Default:** `whitelist` + #### `Blocks` - **Description:** @@ -838,6 +866,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -865,6 +894,7 @@ - **Default:** `include` + #### `Items` - **Description:** @@ -914,6 +944,7 @@ - **Default:** `false` + #### `Threshold` - **Description:** @@ -966,6 +997,7 @@ **Section:** **`ChatBot.AutoFishing`** + #### `Enabled` - **Description:** @@ -979,6 +1011,7 @@ - **Default:** `false` + #### `Antidespawn` - **Description:** @@ -992,6 +1025,7 @@ - **Default:** `false` + #### `Mainhand` - **Description:** @@ -1008,6 +1042,7 @@ - **Default:** `true` + #### `Auto_Start` - **Description:** @@ -1021,6 +1056,7 @@ - **Default:** `true` + #### `Cast_Delay` - **Description:** @@ -1032,6 +1068,7 @@ - **Default:** `0.4` + #### `Fishing_Delay` - **Description:** @@ -1045,6 +1082,7 @@ - **Default:** `3.0` + #### `Fishing_Timeout` - **Description:** @@ -1056,6 +1094,7 @@ - **Default:** `300.0` + #### `Durability_Limit` - **Description:** @@ -1069,6 +1108,7 @@ - **Default:** `2` + #### `Auto_Rod_Switch` - **Description:** @@ -1082,6 +1122,7 @@ - **Default:** `true` + #### `Stationary_Threshold` - **Description:** @@ -1099,6 +1140,7 @@ - **Default:** `0.001` + #### `Hook_Threshold` - **Description:** @@ -1114,6 +1156,7 @@ - **Default:** `0.2` + #### `Log_Fish_Bobber` - **Description:** @@ -1129,6 +1172,7 @@ - **Default:** `false` + #### `Enable_Move` - **Description:** @@ -1144,6 +1188,7 @@ - **Default:** `false` + ### Adding a position/movement Each position/movement is added as a new `[[ChatBot.AutoFishing.Movements]]` subsection of `[ChatBot.AutoFishing]`. @@ -1185,6 +1230,7 @@ ``` + #### Full example ```toml @@ -1219,6 +1265,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -1236,6 +1283,7 @@ - **Default:** `{ min = 3.0, max = 3.0 }` + #### `Retries` - **Description:** @@ -1253,6 +1301,7 @@ - **Default:** `-1` + #### `Ignore_Kick_Message` - **Description:** @@ -1264,6 +1313,7 @@ - **Default:** `false` + #### `Kick_Messages` - **Description:** @@ -1311,6 +1361,7 @@ - **Default:** `false` + #### `Matches_File` - **Description:** @@ -1332,6 +1383,7 @@ - **Default:** `matches.ini` + #### `Match_Colors` - **Description:** @@ -1373,6 +1425,7 @@ - **Default:** `false` + #### `Add_DateTime` - **Description:** @@ -1384,6 +1437,7 @@ - **Default:** `true` + #### `Log_File` - **Description:** @@ -1393,6 +1447,7 @@ - **Default:** `chatlog-%username%-%serverip%.txt` + #### `Filter` - **Description:** @@ -1458,6 +1513,7 @@ - **Default:** `false` + #### `Update_Limit` - **Description:** @@ -1471,6 +1527,7 @@ - **Default:** `1.5` + #### `Stop_At_Distance` - **Description:** @@ -1512,6 +1569,7 @@ - **Default:** `false` + #### `English` - **Description:** @@ -1523,6 +1581,7 @@ - **Default:** `true` + #### `FileWords_EN` - **Description:** @@ -1539,6 +1598,7 @@ - **Example**: [`words-en.txt`](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/config/hangman-en.txt) + #### `FileWords_FR` - **Description:** @@ -1610,6 +1670,7 @@ **Section:** **`ChatBot.Mailer`** + #### `Enabled` - **Description:** @@ -1623,6 +1684,7 @@ - **Default:** `false` + #### `DatabaseFile` - **Description:** @@ -1634,6 +1696,7 @@ - **Default:** `MailerDatabase.ini` + #### `IgnoreListFile` - **Description:** @@ -1645,6 +1708,7 @@ - **Default:** `MailerIgnoreList.ini` + #### `PublicInteractions` - **Description:** @@ -1658,6 +1722,7 @@ - **Default:** `false` + #### `MaxMailsPerPlayer` - **Description:** @@ -1669,6 +1734,7 @@ - **Default:** `10` + #### `MaxDatabaseSize` - **Description:** @@ -1680,6 +1746,7 @@ - **Default:** `10000` (10 MB) + #### `MailRetentionDays` - **Description:** @@ -1733,6 +1800,7 @@ - **Default:** `false` + #### `Should_Resize` - **Description:** @@ -1760,6 +1828,7 @@ - **Default:** `false` + #### `Resize_To` - **Description:** @@ -1771,6 +1840,7 @@ - **Default:** `256` + #### `Auto_Render_On_Update` - **Description:** @@ -1790,6 +1860,7 @@ - **Default:** `false` + #### `Delete_All_On_Unload` - **Description:** @@ -1803,6 +1874,7 @@ - **Default:** `true` + #### `Notify_On_First_Update` - **Description:** @@ -1835,6 +1907,7 @@ - **Default:** `false` + #### `File` - **Description:** @@ -1844,6 +1917,7 @@ - **Default:** `playerlog.txt` + #### `Delay` - **Description:** @@ -1885,6 +1959,7 @@ - **Default:** `false` + #### `AutoTpaccept` - **Description:** @@ -1898,6 +1973,7 @@ - **Default:** `true` + #### `AutoTpaccept_Everyone` - **Description:** @@ -1951,6 +2027,7 @@ - **Default:** `false` + #### `Backup_Interval` - **Description:** @@ -1986,6 +2063,7 @@ - **Default:** `false` + ### Defining a task - **Description:** @@ -2061,6 +2139,7 @@ ``` + ### Full example ```toml diff --git a/docs/l10n/pl/guide/configuration.md b/docs/l10n/pl/guide/configuration.md index 30dd9cd6..71a5ed16 100644 --- a/docs/l10n/pl/guide/configuration.md +++ b/docs/l10n/pl/guide/configuration.md @@ -144,7 +144,7 @@ Coordinate = { x = 145, y = 64, y = 2045 } This setting is where you define which language you want to use. - When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages. These files describe how some messages should be printed depending on your preferred language. + When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages.These files describe how some messages should be printed depending on your preferred language. The client will automatically load `en_GB.lang` from your Minecraft folder if Minecraft is installed on your computer, or download it from Mojang's servers. You may choose another language in the configuration file. @@ -465,7 +465,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Use `no`, `fast` (5s timeout), or `yes`. Required for joining some servers. + Use `no`, `fast` (5s timeout), or `yes`. + + Required for joining some servers. - **Type:** `string` @@ -648,7 +650,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Affects only Minecraft 1.19+. This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. + Affects only Minecraft 1.19+. + + This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. #### `LoginWithSecureProfile` @@ -674,7 +678,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Whether to sign the messages contained in the commands sent by the MCC. For example, the message in `/msg` and `/me` + Whether to sign the messages contained in the commands sent by the MCC. + + For example, the message in `/msg` and `/me` - **Type:** `boolean` @@ -768,7 +774,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - This setting allows you to define if your want to see info messages. Most of the messages from MCC. + This setting allows you to define if your want to see info messages. + + Most of the messages from MCC. - **Type:** `boolean` @@ -955,7 +963,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - The proxy server IP and port. Proxy server must allow HTTPS for login, and non-443 ports for playing. + The proxy server IP and port. + + Proxy server must allow HTTPS for login, and non-443 ports for playing. - **Format:** diff --git a/docs/l10n/pl/guide/creating-bots.md b/docs/l10n/pl/guide/creating-bots.md index 9e46df68..bc5e2d77 100644 --- a/docs/l10n/pl/guide/creating-bots.md +++ b/docs/l10n/pl/guide/creating-bots.md @@ -99,7 +99,9 @@ Chat Bot (Script) structure is the following: ``` -**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. Every single Chat Bot (Script) must have this section at the beginning in order to work. +**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. + +Every single Chat Bot (Script) must have this section at the beginning in order to work. ### Script Metadata Format @@ -165,7 +167,9 @@ After the end of the **Script Metadata** section, you basically can define any n 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.. +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..

Tip

diff --git a/docs/l10n/pl/guide/installation.md b/docs/l10n/pl/guide/installation.md index 256241f6..92f61049 100644 --- a/docs/l10n/pl/guide/installation.md +++ b/docs/l10n/pl/guide/installation.md @@ -190,7 +190,11 @@ docker build -t minecraft-console-client:latest . docker run -it -v :/opt/data minecraft-console-client:latest ``` -Now you could login and the Client is running. To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. To reattach use the `docker attach` command. +Now you could login and the Client is running. + +To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. + +To reattach use the `docker attach` command. **Start the container using docker-compose:** @@ -222,7 +226,9 @@ docker-compose up docker-compose up -d #for deamonized running in the background ``` -Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. As above, you can stop and remove the container using +Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. + +As above, you can stop and remove the container using ```bash docker-compose down @@ -313,7 +319,9 @@ Once the script has downloaded, run it with: bash ubuntu.sh ``` -Then you will be asked a question, enter `Y` and press `Enter`. Once the installation is complete, you can start Ubuntu with: +Then you will be asked a question, enter `Y` and press `Enter`. + +Once the installation is complete, you can start Ubuntu with: ```bash ./startubuntu.sh @@ -499,7 +507,9 @@ To stop MCC from running you can press `CTRL + C` To edit the configuration/settings, you need a text editor, we recommend Nano, as it's very simple to use, if you have followed the installation steps above, you should be familiar with it, if not, check out [this tutorial](https://www.youtube.com/watch?v=DLeATFgGM-A). -For downloading files, you can use the `wget` file we have installed, simply run: `wget your_link_here` (you have examples above, and a video tutorial down bellow). +For downloading files, you can use the `wget` file we have installed, simply run: + +`wget your_link_here` (you have examples above, and a video tutorial down bellow). Also, here are some linux tutorials for people who are new to it: @@ -644,7 +654,9 @@ You also may want to search for better deals.
-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). +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 @@ -862,7 +874,11 @@ Make a new empty file named `authorized_keys`: touch authorized_keys ``` -Do no close the Git bash/Terminal emulator. On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). +Do no close the Git bash/Terminal emulator. + +On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. + +Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). Type the following command: @@ -940,7 +956,9 @@ Let's check if everything is working correctly: sudo systemctl status sshd ``` -If everything has been configured as it should be you should see `active (running)` as a status of the service. If not, open the config file again and check for mistakes. +If everything has been configured as it should be you should see `active (running)` as a status of the service. + +If not, open the config file again and check for mistakes. Press `q` to exit the log mode. diff --git a/docs/l10n/pl/guide/usage.md b/docs/l10n/pl/guide/usage.md index d0ccab5e..e65294df 100644 --- a/docs/l10n/pl/guide/usage.md +++ b/docs/l10n/pl/guide/usage.md @@ -236,7 +236,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q - **Description:** - Allows you to list and unload a specific bot or all bots. Useful when debugging and developing scripts. + Allows you to list and unload a specific bot or all bots. + + Useful when debugging and developing scripts. - **Usage:** @@ -404,7 +406,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q Allows you to execute a command if a specific condition is met. - The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. + The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. + + The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. Also the instance of MCC is available with `MCC.`. diff --git a/docs/l10n/pt-BR/guide/README.md b/docs/l10n/pt-BR/guide/README.md index 2a306e9d..a8debfb5 100644 --- a/docs/l10n/pt-BR/guide/README.md +++ b/docs/l10n/pt-BR/guide/README.md @@ -150,14 +150,26 @@ Minecraft Console Client also borrows code from the following libraries: ## Disclaimer -Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. +Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. -Also, remember that when you connect to a server with this program, you will appear where you left the last time. This means that **you can die if you log in in an unsafe place on a survival server!** Use the script scheduler bot to send a teleport command after logging in. +This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. + +Also, remember that when you connect to a server with this program, you will appear where you left the last time. + +This means that **you can die if you log in in an unsafe place on a survival server!** + +Use the script scheduler bot to send a teleport command after logging in. We remind you that **you may get banned** by your server for using this program. Use accordingly with server rules. ## License -Minecraft Console Client is a totally free of charge, open source project. The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) +Minecraft Console Client is a totally free of charge, open source project. -Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) +The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) + +Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. + +More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) + +Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) diff --git a/docs/l10n/pt-BR/guide/chat-bots.md b/docs/l10n/pt-BR/guide/chat-bots.md index e2320d4c..9f67e013 100644 --- a/docs/l10n/pt-BR/guide/chat-bots.md +++ b/docs/l10n/pt-BR/guide/chat-bots.md @@ -67,6 +67,7 @@ - **Default:** `false` + #### `Beep_Enabled`

Tip

@@ -84,6 +85,7 @@ - **Default:** `true` + #### `Trigger_By_Words` - **Description:** @@ -97,6 +99,7 @@ - **Default:** `false` + #### `Trigger_By_Rain` - **Description:** @@ -110,6 +113,7 @@ - **Default:** `false` + #### `Trigger_By_Thunderstorm` - **Description:** @@ -123,6 +127,7 @@ - **Default:** `false` + #### `Log_To_File` - **Description:** @@ -136,6 +141,7 @@ - **Default:** `false` + #### `Log_File` - **Description:** @@ -147,6 +153,7 @@ - **Default:** `"alerts-log.txt"` + #### `Matches` - **Description:** @@ -162,6 +169,7 @@ ``` + #### `Excludes` - **Description:** @@ -199,6 +207,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -214,6 +223,7 @@ - **Default:** `{ min = 60.0, max = 60.0 }` + #### `Command` - **Description:** @@ -225,6 +235,7 @@ - **Default:** `/ping` + #### `Use_Sneak` - **Description:** @@ -236,20 +247,21 @@ - **Default:** `false` + #### `Use_Terrain_Handling` +

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)** + +
+ - **Description:** 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. -

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`. - **Type:** `boolean` @@ -257,6 +269,7 @@ - **Default:** `false` + #### `Walk_Range` - **Description:** @@ -268,32 +281,33 @@ - **Default:** `5` + #### `Walk_Retries` +

Tip

+ + **This happens on each trigger of the task, so it does not permanently switch to alternative method.** + +
+ - **Description:** 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. -

Tip

- - **This happens on each trigger of the task, so it does not permanently switch to alternative method.** - -
- - **Default:** `20` ## Auto Attack +

Tip

+ +**You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** + +
+ - **Description:** Automatically attacks mobs around you, you can configure it to attack both hostile and passive mobs and only certain mobs or all mobs. -

Tip

- - **You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** - -
- - **Settings:** **Section:** **`ChatBot. AutoAttack`** @@ -311,6 +325,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -330,6 +345,7 @@ - **Default:** `single` + #### `Priority` - **Description:** @@ -344,6 +360,7 @@ - **Default:** `distance` + #### `Cooldown_Time` - **Description:** @@ -363,6 +380,7 @@ - **Default:** `{ Custom = false, value = 1.0 }` + #### `Interaction` - **Description:** @@ -386,6 +404,7 @@ - **Default:** `Attack` + #### `Attack_Hostile` - **Description:** @@ -399,6 +418,7 @@ - **Default:** `true` + #### `Attack_Passive` - **Description:** @@ -412,6 +432,7 @@ - **Default:** `false` + #### `List_Mode` - **Description:** @@ -425,6 +446,7 @@ - **Default:** `whitelist` + #### `Entites_List` - **Description:** @@ -443,16 +465,16 @@ ## Auto Craft +

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.** + +
+ - **Description:** Automatically craft items in your inventory or in a 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:** - `/autocraft list` @@ -476,6 +498,7 @@ **Section:** **`ChatBot. AutoCraft`** + #### `Enabled` - **Description:** @@ -489,6 +512,7 @@ - **Default:** `false` + #### `CraftingTable` - **Description:** @@ -512,6 +536,7 @@ ``` + #### `OnFailure` - **Description:** @@ -527,8 +552,15 @@ - **Default:** `abort` + ### Defining a recipe +

Tip

+ + **If you're using `table` you need to set the `CraftingTable` setting.** + +
+ The recipes are defines as a separate new sub-section `[[ChatBot. AutoCraft. Recipes]]` of the `[ChatBot. AutoCraft]` section. The `[[ChatBot. AutoCraft. Recipes]]` section needs to contain the following settings: @@ -543,12 +575,6 @@ **Avaliable values:** `player` and `table` -

Tip

- - **If you're using `table` you need to set the `CraftingTable` setting.** - -
- - `Result` This is the type of resulting item. @@ -569,17 +595,6 @@ Slots = [ "", "", ... ] ``` -

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", ]`** - -
- -

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:** @@ -625,6 +640,10 @@

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", ]`** + + **All item types can be found [here](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/Inventory/ItemType.cs).** + **Make sure to provide materials for your bot by placing them in inventory first.**
@@ -658,6 +677,7 @@ **Section:** **`ChatBot. AutoDig`** + #### `Enabled` - **Description:** @@ -671,6 +691,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -696,6 +717,7 @@ - **Default:** `lookat` + #### `Locations` - **Description:** @@ -722,6 +744,7 @@ ``` + #### `Location_Order` - **Description:** @@ -743,6 +766,7 @@ - **Default:** `distance` + #### `Auto_Start_Delay` - **Description:** @@ -756,6 +780,7 @@ - **Default:** `3.0` + #### `Dig_Timeout` - **Description:** @@ -767,6 +792,7 @@ - **Default:** `60.0` + #### `Log_Block_Dig` - **Description:** @@ -780,6 +806,7 @@ - **Default:** `true` + #### `List_Type` - **Description:** @@ -793,6 +820,7 @@ - **Default:** `whitelist` + #### `Blocks` - **Description:** @@ -838,6 +866,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -865,6 +894,7 @@ - **Default:** `include` + #### `Items` - **Description:** @@ -914,6 +944,7 @@ - **Default:** `false` + #### `Threshold` - **Description:** @@ -966,6 +997,7 @@ **Section:** **`ChatBot. AutoFishing`** + #### `Enabled` - **Description:** @@ -979,6 +1011,7 @@ - **Default:** `false` + #### `Antidespawn` - **Description:** @@ -992,6 +1025,7 @@ - **Default:** `false` + #### `Mainhand` - **Description:** @@ -1008,6 +1042,7 @@ - **Default:** `true` + #### `Auto_Start` - **Description:** @@ -1021,6 +1056,7 @@ - **Default:** `true` + #### `Cast_Delay` - **Description:** @@ -1032,6 +1068,7 @@ - **Default:** `0.4` + #### `Fishing_Delay` - **Description:** @@ -1045,6 +1082,7 @@ - **Default:** `3.0` + #### `Fishing_Timeout` - **Description:** @@ -1056,6 +1094,7 @@ - **Default:** `300.0` + #### `Durability_Limit` - **Description:** @@ -1069,6 +1108,7 @@ - **Default:** `2` + #### `Auto_Rod_Switch` - **Description:** @@ -1082,6 +1122,7 @@ - **Default:** `true` + #### `Stationary_Threshold` - **Description:** @@ -1099,6 +1140,7 @@ - **Default:** `0.001` + #### `Hook_Threshold` - **Description:** @@ -1114,6 +1156,7 @@ - **Default:** `0.2` + #### `Log_Fish_Bobber` - **Description:** @@ -1129,6 +1172,7 @@ - **Default:** `false` + #### `Enable_Move` - **Description:** @@ -1144,6 +1188,7 @@ - **Default:** `false` + ### Adding a position/movement Each position/movement is added as a new `[[ChatBot. AutoFishing. Movements]]` subsection of `[ChatBot. AutoFishing]`. @@ -1185,6 +1230,7 @@ ``` + #### Full example ```toml @@ -1219,6 +1265,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -1236,6 +1283,7 @@ - **Default:** `{ min = 3.0, max = 3.0 }` + #### `Retries` - **Description:** @@ -1253,6 +1301,7 @@ - **Default:** `-1` + #### `Ignore_Kick_Message` - **Description:** @@ -1264,6 +1313,7 @@ - **Default:** `false` + #### `Kick_Messages` - **Description:** @@ -1311,6 +1361,7 @@ - **Default:** `false` + #### `Matches_File` - **Description:** @@ -1332,6 +1383,7 @@ - **Default:** `matches.ini` + #### `Match_Colors` - **Description:** @@ -1373,6 +1425,7 @@ - **Default:** `false` + #### `Add_DateTime` - **Description:** @@ -1384,6 +1437,7 @@ - **Default:** `true` + #### `Log_File` - **Description:** @@ -1393,6 +1447,7 @@ - **Default:** `chatlog-%username%-%serverip%.txt` + #### `Filter` - **Description:** @@ -1458,6 +1513,7 @@ - **Default:** `false` + #### `Update_Limit` - **Description:** @@ -1471,6 +1527,7 @@ - **Default:** `1.5` + #### `Stop_At_Distance` - **Description:** @@ -1512,6 +1569,7 @@ - **Default:** `false` + #### `English` - **Description:** @@ -1523,6 +1581,7 @@ - **Default:** `true` + #### `FileWords_EN` - **Description:** @@ -1539,6 +1598,7 @@ - **Example**: [`words-en.txt`](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/config/hangman-en.txt) + #### `FileWords_FR` - **Description:** @@ -1610,6 +1670,7 @@ **Section:** **`ChatBot. Mailer`** + #### `Enabled` - **Description:** @@ -1623,6 +1684,7 @@ - **Default:** `false` + #### `DatabaseFile` - **Description:** @@ -1634,6 +1696,7 @@ - **Default:** `MailerDatabase.ini` + #### `IgnoreListFile` - **Description:** @@ -1645,6 +1708,7 @@ - **Default:** `MailerIgnoreList.ini` + #### `PublicInteractions` - **Description:** @@ -1658,6 +1722,7 @@ - **Default:** `false` + #### `MaxMailsPerPlayer` - **Description:** @@ -1669,6 +1734,7 @@ - **Default:** `10` + #### `MaxDatabaseSize` - **Description:** @@ -1680,6 +1746,7 @@ - **Default:** `10000` (10 MB) + #### `MailRetentionDays` - **Description:** @@ -1733,6 +1800,7 @@ - **Default:** `false` + #### `Should_Resize` - **Description:** @@ -1760,6 +1828,7 @@ - **Default:** `false` + #### `Resize_To` - **Description:** @@ -1771,6 +1840,7 @@ - **Default:** `256` + #### `Auto_Render_On_Update` - **Description:** @@ -1790,6 +1860,7 @@ - **Default:** `false` + #### `Delete_All_On_Unload` - **Description:** @@ -1803,6 +1874,7 @@ - **Default:** `true` + #### `Notify_On_First_Update` - **Description:** @@ -1835,6 +1907,7 @@ - **Default:** `false` + #### `File` - **Description:** @@ -1844,6 +1917,7 @@ - **Default:** `playerlog.txt` + #### `Delay` - **Description:** @@ -1885,6 +1959,7 @@ - **Default:** `false` + #### `AutoTpaccept` - **Description:** @@ -1898,6 +1973,7 @@ - **Default:** `true` + #### `AutoTpaccept_Everyone` - **Description:** @@ -1951,6 +2027,7 @@ - **Default:** `false` + #### `Backup_Interval` - **Description:** @@ -1986,6 +2063,7 @@ - **Default:** `false` + ### Defining a task - **Description:** @@ -2061,6 +2139,7 @@ ``` + ### Full example ```toml diff --git a/docs/l10n/pt-BR/guide/configuration.md b/docs/l10n/pt-BR/guide/configuration.md index e00ce12f..50ed2b17 100644 --- a/docs/l10n/pt-BR/guide/configuration.md +++ b/docs/l10n/pt-BR/guide/configuration.md @@ -142,7 +142,7 @@ Coordinate = { x = 145, y = 64, y = 2045 } This setting is where you define which language you want to use. - When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages. These files describe how some messages should be printed depending on your preferred language. + When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages.These files describe how some messages should be printed depending on your preferred language. The client will automatically load `en_GB.lang` from your Minecraft folder if Minecraft is installed on your computer, or download it from Mojang's servers. You may choose another language in the configuration file. @@ -463,7 +463,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Use `no`, `fast` (5s timeout), or `yes`. Required for joining some servers. + Use `no`, `fast` (5s timeout), or `yes`. + + Required for joining some servers. - **Type:** `string` @@ -646,7 +648,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Affects only Minecraft 1.19+. This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. + Affects only Minecraft 1.19+. + + This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. #### `LoginWithSecureProfile` @@ -672,7 +676,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Whether to sign the messages contained in the commands sent by the MCC. For example, the message in `/msg` and `/me` + Whether to sign the messages contained in the commands sent by the MCC. + + For example, the message in `/msg` and `/me` - **Type:** `boolean` @@ -766,7 +772,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - This setting allows you to define if your want to see info messages. Most of the messages from MCC. + This setting allows you to define if your want to see info messages. + + Most of the messages from MCC. - **Type:** `boolean` @@ -953,7 +961,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - The proxy server IP and port. Proxy server must allow HTTPS for login, and non-443 ports for playing. + The proxy server IP and port. + + Proxy server must allow HTTPS for login, and non-443 ports for playing. - **Format:** diff --git a/docs/l10n/pt-BR/guide/creating-bots.md b/docs/l10n/pt-BR/guide/creating-bots.md index fc025da9..a52cf75a 100644 --- a/docs/l10n/pt-BR/guide/creating-bots.md +++ b/docs/l10n/pt-BR/guide/creating-bots.md @@ -97,7 +97,9 @@ Chat Bot (Script) structure is the following: ``` -**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. Every single Chat Bot (Script) must have this section at the beginning in order to work. +**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. + +Every single Chat Bot (Script) must have this section at the beginning in order to work. ### Script Metadata Format @@ -161,7 +163,9 @@ After the end of the **Script Metadata** section, you basically can define any n 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.. +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..

Tip

diff --git a/docs/l10n/pt-BR/guide/installation.md b/docs/l10n/pt-BR/guide/installation.md index 55175b5e..fe6189dc 100644 --- a/docs/l10n/pt-BR/guide/installation.md +++ b/docs/l10n/pt-BR/guide/installation.md @@ -190,7 +190,11 @@ docker build -t minecraft-console-client:latest . docker run -it -v :/opt/data minecraft-console-client:latest ``` -Now you could login and the Client is running. To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. To reattach use the `docker attach` command. +Now you could login and the Client is running. + +To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. + +To reattach use the `docker attach` command. **Start the container using docker-compose:** @@ -222,7 +226,9 @@ docker-compose up docker-compose up -d #for deamonized running in the background ``` -Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. As above, you can stop and remove the container using +Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. + +As above, you can stop and remove the container using ```bash docker-compose down @@ -313,7 +319,9 @@ Once the script has downloaded, run it with: bash ubuntu.sh ``` -Then you will be asked a question, enter `Y` and press `Enter`. Once the installation is complete, you can start Ubuntu with: +Then you will be asked a question, enter `Y` and press `Enter`. + +Once the installation is complete, you can start Ubuntu with: ```bash ./startubuntu.sh @@ -495,7 +503,9 @@ To stop MCC from running you can press `CTRL + C` To edit the configuration/settings, you need a text editor, we recommend Nano, as it's very simple to use, if you have followed the installation steps above, you should be familiar with it, if not, check out [this tutorial](https://www.youtube.com/watch?v=DLeATFgGM-A). -For downloading files, you can use the `wget` file we have installed, simply run: `wget your_link_here` (you have examples above, and a video tutorial down bellow). +For downloading files, you can use the `wget` file we have installed, simply run: + +`wget your_link_here` (you have examples above, and a video tutorial down bellow). Also, here are some linux tutorials for people who are new to it: @@ -640,7 +650,9 @@ You also may want to search for better deals.
-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). +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 @@ -858,7 +870,11 @@ Make a new empty file named `authorized_keys`: touch authorized_keys ``` -Do no close the Git bash/Terminal emulator. On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). +Do no close the Git bash/Terminal emulator. + +On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. + +Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). Type the following command: @@ -936,7 +952,9 @@ Let's check if everything is working correctly: sudo systemctl status sshd ``` -If everything has been configured as it should be you should see `active (running)` as a status of the service. If not, open the config file again and check for mistakes. +If everything has been configured as it should be you should see `active (running)` as a status of the service. + +If not, open the config file again and check for mistakes. Press `q` to exit the log mode. diff --git a/docs/l10n/pt-BR/guide/usage.md b/docs/l10n/pt-BR/guide/usage.md index 077f4323..0c43fc8d 100644 --- a/docs/l10n/pt-BR/guide/usage.md +++ b/docs/l10n/pt-BR/guide/usage.md @@ -230,7 +230,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q - **Description:** - Allows you to list and unload a specific bot or all bots. Useful when debugging and developing scripts. + Allows you to list and unload a specific bot or all bots. + + Useful when debugging and developing scripts. - **Usage:** @@ -398,7 +400,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q Allows you to execute a command if a specific condition is met. - The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. + The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. + + The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. Also the instance of MCC is available with `MCC.`. diff --git a/docs/l10n/pt/guide/README.md b/docs/l10n/pt/guide/README.md index 2a306e9d..a8debfb5 100644 --- a/docs/l10n/pt/guide/README.md +++ b/docs/l10n/pt/guide/README.md @@ -150,14 +150,26 @@ Minecraft Console Client also borrows code from the following libraries: ## Disclaimer -Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. +Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. -Also, remember that when you connect to a server with this program, you will appear where you left the last time. This means that **you can die if you log in in an unsafe place on a survival server!** Use the script scheduler bot to send a teleport command after logging in. +This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. + +Also, remember that when you connect to a server with this program, you will appear where you left the last time. + +This means that **you can die if you log in in an unsafe place on a survival server!** + +Use the script scheduler bot to send a teleport command after logging in. We remind you that **you may get banned** by your server for using this program. Use accordingly with server rules. ## License -Minecraft Console Client is a totally free of charge, open source project. The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) +Minecraft Console Client is a totally free of charge, open source project. -Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) +The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) + +Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. + +More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) + +Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) diff --git a/docs/l10n/pt/guide/chat-bots.md b/docs/l10n/pt/guide/chat-bots.md index e2320d4c..9f67e013 100644 --- a/docs/l10n/pt/guide/chat-bots.md +++ b/docs/l10n/pt/guide/chat-bots.md @@ -67,6 +67,7 @@ - **Default:** `false` + #### `Beep_Enabled`

Tip

@@ -84,6 +85,7 @@ - **Default:** `true` + #### `Trigger_By_Words` - **Description:** @@ -97,6 +99,7 @@ - **Default:** `false` + #### `Trigger_By_Rain` - **Description:** @@ -110,6 +113,7 @@ - **Default:** `false` + #### `Trigger_By_Thunderstorm` - **Description:** @@ -123,6 +127,7 @@ - **Default:** `false` + #### `Log_To_File` - **Description:** @@ -136,6 +141,7 @@ - **Default:** `false` + #### `Log_File` - **Description:** @@ -147,6 +153,7 @@ - **Default:** `"alerts-log.txt"` + #### `Matches` - **Description:** @@ -162,6 +169,7 @@ ``` + #### `Excludes` - **Description:** @@ -199,6 +207,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -214,6 +223,7 @@ - **Default:** `{ min = 60.0, max = 60.0 }` + #### `Command` - **Description:** @@ -225,6 +235,7 @@ - **Default:** `/ping` + #### `Use_Sneak` - **Description:** @@ -236,20 +247,21 @@ - **Default:** `false` + #### `Use_Terrain_Handling` +

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)** + +
+ - **Description:** 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. -

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`. - **Type:** `boolean` @@ -257,6 +269,7 @@ - **Default:** `false` + #### `Walk_Range` - **Description:** @@ -268,32 +281,33 @@ - **Default:** `5` + #### `Walk_Retries` +

Tip

+ + **This happens on each trigger of the task, so it does not permanently switch to alternative method.** + +
+ - **Description:** 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. -

Tip

- - **This happens on each trigger of the task, so it does not permanently switch to alternative method.** - -
- - **Default:** `20` ## Auto Attack +

Tip

+ +**You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** + +
+ - **Description:** Automatically attacks mobs around you, you can configure it to attack both hostile and passive mobs and only certain mobs or all mobs. -

Tip

- - **You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** - -
- - **Settings:** **Section:** **`ChatBot. AutoAttack`** @@ -311,6 +325,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -330,6 +345,7 @@ - **Default:** `single` + #### `Priority` - **Description:** @@ -344,6 +360,7 @@ - **Default:** `distance` + #### `Cooldown_Time` - **Description:** @@ -363,6 +380,7 @@ - **Default:** `{ Custom = false, value = 1.0 }` + #### `Interaction` - **Description:** @@ -386,6 +404,7 @@ - **Default:** `Attack` + #### `Attack_Hostile` - **Description:** @@ -399,6 +418,7 @@ - **Default:** `true` + #### `Attack_Passive` - **Description:** @@ -412,6 +432,7 @@ - **Default:** `false` + #### `List_Mode` - **Description:** @@ -425,6 +446,7 @@ - **Default:** `whitelist` + #### `Entites_List` - **Description:** @@ -443,16 +465,16 @@ ## Auto Craft +

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.** + +
+ - **Description:** Automatically craft items in your inventory or in a 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:** - `/autocraft list` @@ -476,6 +498,7 @@ **Section:** **`ChatBot. AutoCraft`** + #### `Enabled` - **Description:** @@ -489,6 +512,7 @@ - **Default:** `false` + #### `CraftingTable` - **Description:** @@ -512,6 +536,7 @@ ``` + #### `OnFailure` - **Description:** @@ -527,8 +552,15 @@ - **Default:** `abort` + ### Defining a recipe +

Tip

+ + **If you're using `table` you need to set the `CraftingTable` setting.** + +
+ The recipes are defines as a separate new sub-section `[[ChatBot. AutoCraft. Recipes]]` of the `[ChatBot. AutoCraft]` section. The `[[ChatBot. AutoCraft. Recipes]]` section needs to contain the following settings: @@ -543,12 +575,6 @@ **Avaliable values:** `player` and `table` -

Tip

- - **If you're using `table` you need to set the `CraftingTable` setting.** - -
- - `Result` This is the type of resulting item. @@ -569,17 +595,6 @@ Slots = [ "", "", ... ] ``` -

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", ]`** - -
- -

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:** @@ -625,6 +640,10 @@

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", ]`** + + **All item types can be found [here](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/Inventory/ItemType.cs).** + **Make sure to provide materials for your bot by placing them in inventory first.**
@@ -658,6 +677,7 @@ **Section:** **`ChatBot. AutoDig`** + #### `Enabled` - **Description:** @@ -671,6 +691,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -696,6 +717,7 @@ - **Default:** `lookat` + #### `Locations` - **Description:** @@ -722,6 +744,7 @@ ``` + #### `Location_Order` - **Description:** @@ -743,6 +766,7 @@ - **Default:** `distance` + #### `Auto_Start_Delay` - **Description:** @@ -756,6 +780,7 @@ - **Default:** `3.0` + #### `Dig_Timeout` - **Description:** @@ -767,6 +792,7 @@ - **Default:** `60.0` + #### `Log_Block_Dig` - **Description:** @@ -780,6 +806,7 @@ - **Default:** `true` + #### `List_Type` - **Description:** @@ -793,6 +820,7 @@ - **Default:** `whitelist` + #### `Blocks` - **Description:** @@ -838,6 +866,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -865,6 +894,7 @@ - **Default:** `include` + #### `Items` - **Description:** @@ -914,6 +944,7 @@ - **Default:** `false` + #### `Threshold` - **Description:** @@ -966,6 +997,7 @@ **Section:** **`ChatBot. AutoFishing`** + #### `Enabled` - **Description:** @@ -979,6 +1011,7 @@ - **Default:** `false` + #### `Antidespawn` - **Description:** @@ -992,6 +1025,7 @@ - **Default:** `false` + #### `Mainhand` - **Description:** @@ -1008,6 +1042,7 @@ - **Default:** `true` + #### `Auto_Start` - **Description:** @@ -1021,6 +1056,7 @@ - **Default:** `true` + #### `Cast_Delay` - **Description:** @@ -1032,6 +1068,7 @@ - **Default:** `0.4` + #### `Fishing_Delay` - **Description:** @@ -1045,6 +1082,7 @@ - **Default:** `3.0` + #### `Fishing_Timeout` - **Description:** @@ -1056,6 +1094,7 @@ - **Default:** `300.0` + #### `Durability_Limit` - **Description:** @@ -1069,6 +1108,7 @@ - **Default:** `2` + #### `Auto_Rod_Switch` - **Description:** @@ -1082,6 +1122,7 @@ - **Default:** `true` + #### `Stationary_Threshold` - **Description:** @@ -1099,6 +1140,7 @@ - **Default:** `0.001` + #### `Hook_Threshold` - **Description:** @@ -1114,6 +1156,7 @@ - **Default:** `0.2` + #### `Log_Fish_Bobber` - **Description:** @@ -1129,6 +1172,7 @@ - **Default:** `false` + #### `Enable_Move` - **Description:** @@ -1144,6 +1188,7 @@ - **Default:** `false` + ### Adding a position/movement Each position/movement is added as a new `[[ChatBot. AutoFishing. Movements]]` subsection of `[ChatBot. AutoFishing]`. @@ -1185,6 +1230,7 @@ ``` + #### Full example ```toml @@ -1219,6 +1265,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -1236,6 +1283,7 @@ - **Default:** `{ min = 3.0, max = 3.0 }` + #### `Retries` - **Description:** @@ -1253,6 +1301,7 @@ - **Default:** `-1` + #### `Ignore_Kick_Message` - **Description:** @@ -1264,6 +1313,7 @@ - **Default:** `false` + #### `Kick_Messages` - **Description:** @@ -1311,6 +1361,7 @@ - **Default:** `false` + #### `Matches_File` - **Description:** @@ -1332,6 +1383,7 @@ - **Default:** `matches.ini` + #### `Match_Colors` - **Description:** @@ -1373,6 +1425,7 @@ - **Default:** `false` + #### `Add_DateTime` - **Description:** @@ -1384,6 +1437,7 @@ - **Default:** `true` + #### `Log_File` - **Description:** @@ -1393,6 +1447,7 @@ - **Default:** `chatlog-%username%-%serverip%.txt` + #### `Filter` - **Description:** @@ -1458,6 +1513,7 @@ - **Default:** `false` + #### `Update_Limit` - **Description:** @@ -1471,6 +1527,7 @@ - **Default:** `1.5` + #### `Stop_At_Distance` - **Description:** @@ -1512,6 +1569,7 @@ - **Default:** `false` + #### `English` - **Description:** @@ -1523,6 +1581,7 @@ - **Default:** `true` + #### `FileWords_EN` - **Description:** @@ -1539,6 +1598,7 @@ - **Example**: [`words-en.txt`](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/config/hangman-en.txt) + #### `FileWords_FR` - **Description:** @@ -1610,6 +1670,7 @@ **Section:** **`ChatBot. Mailer`** + #### `Enabled` - **Description:** @@ -1623,6 +1684,7 @@ - **Default:** `false` + #### `DatabaseFile` - **Description:** @@ -1634,6 +1696,7 @@ - **Default:** `MailerDatabase.ini` + #### `IgnoreListFile` - **Description:** @@ -1645,6 +1708,7 @@ - **Default:** `MailerIgnoreList.ini` + #### `PublicInteractions` - **Description:** @@ -1658,6 +1722,7 @@ - **Default:** `false` + #### `MaxMailsPerPlayer` - **Description:** @@ -1669,6 +1734,7 @@ - **Default:** `10` + #### `MaxDatabaseSize` - **Description:** @@ -1680,6 +1746,7 @@ - **Default:** `10000` (10 MB) + #### `MailRetentionDays` - **Description:** @@ -1733,6 +1800,7 @@ - **Default:** `false` + #### `Should_Resize` - **Description:** @@ -1760,6 +1828,7 @@ - **Default:** `false` + #### `Resize_To` - **Description:** @@ -1771,6 +1840,7 @@ - **Default:** `256` + #### `Auto_Render_On_Update` - **Description:** @@ -1790,6 +1860,7 @@ - **Default:** `false` + #### `Delete_All_On_Unload` - **Description:** @@ -1803,6 +1874,7 @@ - **Default:** `true` + #### `Notify_On_First_Update` - **Description:** @@ -1835,6 +1907,7 @@ - **Default:** `false` + #### `File` - **Description:** @@ -1844,6 +1917,7 @@ - **Default:** `playerlog.txt` + #### `Delay` - **Description:** @@ -1885,6 +1959,7 @@ - **Default:** `false` + #### `AutoTpaccept` - **Description:** @@ -1898,6 +1973,7 @@ - **Default:** `true` + #### `AutoTpaccept_Everyone` - **Description:** @@ -1951,6 +2027,7 @@ - **Default:** `false` + #### `Backup_Interval` - **Description:** @@ -1986,6 +2063,7 @@ - **Default:** `false` + ### Defining a task - **Description:** @@ -2061,6 +2139,7 @@ ``` + ### Full example ```toml diff --git a/docs/l10n/pt/guide/configuration.md b/docs/l10n/pt/guide/configuration.md index e00ce12f..50ed2b17 100644 --- a/docs/l10n/pt/guide/configuration.md +++ b/docs/l10n/pt/guide/configuration.md @@ -142,7 +142,7 @@ Coordinate = { x = 145, y = 64, y = 2045 } This setting is where you define which language you want to use. - When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages. These files describe how some messages should be printed depending on your preferred language. + When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages.These files describe how some messages should be printed depending on your preferred language. The client will automatically load `en_GB.lang` from your Minecraft folder if Minecraft is installed on your computer, or download it from Mojang's servers. You may choose another language in the configuration file. @@ -463,7 +463,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Use `no`, `fast` (5s timeout), or `yes`. Required for joining some servers. + Use `no`, `fast` (5s timeout), or `yes`. + + Required for joining some servers. - **Type:** `string` @@ -646,7 +648,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Affects only Minecraft 1.19+. This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. + Affects only Minecraft 1.19+. + + This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. #### `LoginWithSecureProfile` @@ -672,7 +676,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Whether to sign the messages contained in the commands sent by the MCC. For example, the message in `/msg` and `/me` + Whether to sign the messages contained in the commands sent by the MCC. + + For example, the message in `/msg` and `/me` - **Type:** `boolean` @@ -766,7 +772,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - This setting allows you to define if your want to see info messages. Most of the messages from MCC. + This setting allows you to define if your want to see info messages. + + Most of the messages from MCC. - **Type:** `boolean` @@ -953,7 +961,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - The proxy server IP and port. Proxy server must allow HTTPS for login, and non-443 ports for playing. + The proxy server IP and port. + + Proxy server must allow HTTPS for login, and non-443 ports for playing. - **Format:** diff --git a/docs/l10n/pt/guide/creating-bots.md b/docs/l10n/pt/guide/creating-bots.md index fc025da9..a52cf75a 100644 --- a/docs/l10n/pt/guide/creating-bots.md +++ b/docs/l10n/pt/guide/creating-bots.md @@ -97,7 +97,9 @@ Chat Bot (Script) structure is the following: ``` -**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. Every single Chat Bot (Script) must have this section at the beginning in order to work. +**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. + +Every single Chat Bot (Script) must have this section at the beginning in order to work. ### Script Metadata Format @@ -161,7 +163,9 @@ After the end of the **Script Metadata** section, you basically can define any n 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.. +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..

Tip

diff --git a/docs/l10n/pt/guide/installation.md b/docs/l10n/pt/guide/installation.md index 55175b5e..fe6189dc 100644 --- a/docs/l10n/pt/guide/installation.md +++ b/docs/l10n/pt/guide/installation.md @@ -190,7 +190,11 @@ docker build -t minecraft-console-client:latest . docker run -it -v :/opt/data minecraft-console-client:latest ``` -Now you could login and the Client is running. To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. To reattach use the `docker attach` command. +Now you could login and the Client is running. + +To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. + +To reattach use the `docker attach` command. **Start the container using docker-compose:** @@ -222,7 +226,9 @@ docker-compose up docker-compose up -d #for deamonized running in the background ``` -Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. As above, you can stop and remove the container using +Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. + +As above, you can stop and remove the container using ```bash docker-compose down @@ -313,7 +319,9 @@ Once the script has downloaded, run it with: bash ubuntu.sh ``` -Then you will be asked a question, enter `Y` and press `Enter`. Once the installation is complete, you can start Ubuntu with: +Then you will be asked a question, enter `Y` and press `Enter`. + +Once the installation is complete, you can start Ubuntu with: ```bash ./startubuntu.sh @@ -495,7 +503,9 @@ To stop MCC from running you can press `CTRL + C` To edit the configuration/settings, you need a text editor, we recommend Nano, as it's very simple to use, if you have followed the installation steps above, you should be familiar with it, if not, check out [this tutorial](https://www.youtube.com/watch?v=DLeATFgGM-A). -For downloading files, you can use the `wget` file we have installed, simply run: `wget your_link_here` (you have examples above, and a video tutorial down bellow). +For downloading files, you can use the `wget` file we have installed, simply run: + +`wget your_link_here` (you have examples above, and a video tutorial down bellow). Also, here are some linux tutorials for people who are new to it: @@ -640,7 +650,9 @@ You also may want to search for better deals.
-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). +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 @@ -858,7 +870,11 @@ Make a new empty file named `authorized_keys`: touch authorized_keys ``` -Do no close the Git bash/Terminal emulator. On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). +Do no close the Git bash/Terminal emulator. + +On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. + +Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). Type the following command: @@ -936,7 +952,9 @@ Let's check if everything is working correctly: sudo systemctl status sshd ``` -If everything has been configured as it should be you should see `active (running)` as a status of the service. If not, open the config file again and check for mistakes. +If everything has been configured as it should be you should see `active (running)` as a status of the service. + +If not, open the config file again and check for mistakes. Press `q` to exit the log mode. diff --git a/docs/l10n/pt/guide/usage.md b/docs/l10n/pt/guide/usage.md index 077f4323..0c43fc8d 100644 --- a/docs/l10n/pt/guide/usage.md +++ b/docs/l10n/pt/guide/usage.md @@ -230,7 +230,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q - **Description:** - Allows you to list and unload a specific bot or all bots. Useful when debugging and developing scripts. + Allows you to list and unload a specific bot or all bots. + + Useful when debugging and developing scripts. - **Usage:** @@ -398,7 +400,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q Allows you to execute a command if a specific condition is met. - The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. + The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. + + The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. Also the instance of MCC is available with `MCC.`. diff --git a/docs/l10n/ro/guide/README.md b/docs/l10n/ro/guide/README.md index 81e1aee3..ce5a9b7c 100644 --- a/docs/l10n/ro/guide/README.md +++ b/docs/l10n/ro/guide/README.md @@ -150,14 +150,26 @@ Minecraft Console Client also borrows code from the following libraries: ## Disclaimer -Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. +Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. -Also, remember that when you connect to a server with this program, you will appear where you left the last time. This means that **you can die if you log in in an unsafe place on a survival server!** Use the script scheduler bot to send a teleport command after logging in. +This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. + +Also, remember that when you connect to a server with this program, you will appear where you left the last time. + +This means that **you can die if you log in in an unsafe place on a survival server!** + +Use the script scheduler bot to send a teleport command after logging in. We remind you that **you may get banned** by your server for using this program. Use accordingly with server rules. ## License -Minecraft Console Client is a totally free of charge, open source project. The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) +Minecraft Console Client is a totally free of charge, open source project. -Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) +The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) + +Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. + +More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) + +Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) diff --git a/docs/l10n/ro/guide/chat-bots.md b/docs/l10n/ro/guide/chat-bots.md index c67efc3d..64b6a790 100644 --- a/docs/l10n/ro/guide/chat-bots.md +++ b/docs/l10n/ro/guide/chat-bots.md @@ -67,6 +67,7 @@ - **Default:** `false` + #### `Beep_Enabled`

Tip

@@ -84,6 +85,7 @@ - **Default:** `true` + #### `Trigger_By_Words` - **Description:** @@ -97,6 +99,7 @@ - **Default:** `false` + #### `Trigger_By_Rain` - **Description:** @@ -110,6 +113,7 @@ - **Default:** `false` + #### `Trigger_By_Thunderstorm` - **Description:** @@ -123,6 +127,7 @@ - **Default:** `false` + #### `Log_To_File` - **Description:** @@ -136,6 +141,7 @@ - **Default:** `false` + #### `Log_File` - **Description:** @@ -147,6 +153,7 @@ - **Default:** `"alerts-log.txt"` + #### `Matches` - **Description:** @@ -162,6 +169,7 @@ ``` + #### `Excludes` - **Description:** @@ -199,6 +207,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -214,6 +223,7 @@ - **Default:** `{ min = 60.0, max = 60.0 }` + #### `Command` - **Description:** @@ -225,6 +235,7 @@ - **Default:** `/ping` + #### `Use_Sneak` - **Description:** @@ -236,20 +247,21 @@ - **Default:** `false` + #### `Use_Terrain_Handling` +

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)** + +
+ - **Description:** 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. -

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`. - **Type:** `boolean` @@ -257,6 +269,7 @@ - **Default:** `false` + #### `Walk_Range` - **Description:** @@ -268,32 +281,33 @@ - **Default:** `5` + #### `Walk_Retries` +

Tip

+ + **This happens on each trigger of the task, so it does not permanently switch to alternative method.** + +
+ - **Description:** 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. -

Tip

- - **This happens on each trigger of the task, so it does not permanently switch to alternative method.** - -
- - **Default:** `20` ## Auto Attack +

Tip

+ +**You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** + +
+ - **Description:** Automatically attacks mobs around you, you can configure it to attack both hostile and passive mobs and only certain mobs or all mobs. -

Tip

- - **You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** - -
- - **Settings:** **Section:** **`ChatBot.AutoAttack`** @@ -311,6 +325,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -330,6 +345,7 @@ - **Default:** `single` + #### `Priority` - **Description:** @@ -344,6 +360,7 @@ - **Default:** `distance` + #### `Cooldown_Time` - **Description:** @@ -363,6 +380,7 @@ - **Default:** `{ Custom = false, value = 1.0 }` + #### `Interaction` - **Description:** @@ -386,6 +404,7 @@ - **Default:** `Attack` + #### `Attack_Hostile` - **Description:** @@ -399,6 +418,7 @@ - **Default:** `true` + #### `Attack_Passive` - **Description:** @@ -412,6 +432,7 @@ - **Default:** `false` + #### `List_Mode` - **Description:** @@ -425,6 +446,7 @@ - **Default:** `whitelist` + #### `Entites_List` - **Description:** @@ -443,16 +465,16 @@ ## Auto Craft +

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.** + +
+ - **Description:** Automatically craft items in your inventory or in a 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:** - `/autocraft list` @@ -476,6 +498,7 @@ **Section:** **`ChatBot.AutoCraft`** + #### `Enabled` - **Description:** @@ -489,6 +512,7 @@ - **Default:** `false` + #### `CraftingTable` - **Description:** @@ -512,6 +536,7 @@ ``` + #### `OnFailure` - **Description:** @@ -527,8 +552,15 @@ - **Default:** `abort` + ### Defining a recipe +

Tip

+ + **If you're using `table` you need to set the `CraftingTable` setting.** + +
+ The recipes are defines as a separate new sub-section `[[ChatBot.AutoCraft.Recipes]]` of the `[ChatBot.AutoCraft]` section. The `[[ChatBot.AutoCraft.Recipes]]` section needs to contain the following settings: @@ -543,12 +575,6 @@ **Avaliable values:** `player` and `table` -

Tip

- - **If you're using `table` you need to set the `CraftingTable` setting.** - -
- - `Result` This is the type of resulting item. @@ -569,17 +595,6 @@ Slots = [ "", "", ... ] ``` -

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", ]`** - -
- -

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:** @@ -625,6 +640,10 @@

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", ]`** + + **All item types can be found [here](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/Inventory/ItemType.cs).** + **Make sure to provide materials for your bot by placing them in inventory first.**
@@ -658,6 +677,7 @@ **Section:** **`ChatBot.AutoDig`** + #### `Enabled` - **Description:** @@ -671,6 +691,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -696,6 +717,7 @@ - **Default:** `lookat` + #### `Locations` - **Description:** @@ -722,6 +744,7 @@ ``` + #### `Location_Order` - **Description:** @@ -743,6 +766,7 @@ - **Default:** `distance` + #### `Auto_Start_Delay` - **Description:** @@ -756,6 +780,7 @@ - **Default:** `3.0` + #### `Dig_Timeout` - **Description:** @@ -767,6 +792,7 @@ - **Default:** `60.0` + #### `Log_Block_Dig` - **Description:** @@ -780,6 +806,7 @@ - **Default:** `true` + #### `List_Type` - **Description:** @@ -793,6 +820,7 @@ - **Default:** `whitelist` + #### `Blocks` - **Description:** @@ -838,6 +866,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -865,6 +894,7 @@ - **Default:** `include` + #### `Items` - **Description:** @@ -914,6 +944,7 @@ - **Default:** `false` + #### `Threshold` - **Description:** @@ -966,6 +997,7 @@ **Section:** **`ChatBot.AutoFishing`** + #### `Enabled` - **Description:** @@ -979,6 +1011,7 @@ - **Default:** `false` + #### `Antidespawn` - **Description:** @@ -992,6 +1025,7 @@ - **Default:** `false` + #### `Mainhand` - **Description:** @@ -1008,6 +1042,7 @@ - **Default:** `true` + #### `Auto_Start` - **Description:** @@ -1021,6 +1056,7 @@ - **Default:** `true` + #### `Cast_Delay` - **Description:** @@ -1032,6 +1068,7 @@ - **Default:** `0.4` + #### `Fishing_Delay` - **Description:** @@ -1045,6 +1082,7 @@ - **Default:** `3.0` + #### `Fishing_Timeout` - **Description:** @@ -1056,6 +1094,7 @@ - **Default:** `300.0` + #### `Durability_Limit` - **Description:** @@ -1069,6 +1108,7 @@ - **Default:** `2` + #### `Auto_Rod_Switch` - **Description:** @@ -1082,6 +1122,7 @@ - **Default:** `true` + #### `Stationary_Threshold` - **Description:** @@ -1099,6 +1140,7 @@ - **Default:** `0.001` + #### `Hook_Threshold` - **Description:** @@ -1114,6 +1156,7 @@ - **Default:** `0.2` + #### `Log_Fish_Bobber` - **Description:** @@ -1129,6 +1172,7 @@ - **Default:** `false` + #### `Enable_Move` - **Description:** @@ -1144,6 +1188,7 @@ - **Default:** `false` + ### Adding a position/movement Each position/movement is added as a new `[[ChatBot.AutoFishing.Movements]]` subsection of `[ChatBot.AutoFishing]`. @@ -1185,6 +1230,7 @@ ``` + #### Full example ```toml @@ -1219,6 +1265,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -1236,6 +1283,7 @@ - **Default:** `{ min = 3.0, max = 3.0 }` + #### `Retries` - **Description:** @@ -1253,6 +1301,7 @@ - **Default:** `-1` + #### `Ignore_Kick_Message` - **Description:** @@ -1264,6 +1313,7 @@ - **Default:** `false` + #### `Kick_Messages` - **Description:** @@ -1311,6 +1361,7 @@ - **Default:** `false` + #### `Matches_File` - **Description:** @@ -1332,6 +1383,7 @@ - **Default:** `matches.ini` + #### `Match_Colors` - **Description:** @@ -1373,6 +1425,7 @@ - **Default:** `false` + #### `Add_DateTime` - **Description:** @@ -1384,6 +1437,7 @@ - **Default:** `true` + #### `Log_File` - **Description:** @@ -1393,6 +1447,7 @@ - **Default:** `chatlog-%username%-%serverip%.txt` + #### `Filter` - **Description:** @@ -1458,6 +1513,7 @@ - **Default:** `false` + #### `Update_Limit` - **Description:** @@ -1471,6 +1527,7 @@ - **Default:** `1.5` + #### `Stop_At_Distance` - **Description:** @@ -1512,6 +1569,7 @@ - **Default:** `false` + #### `English` - **Description:** @@ -1523,6 +1581,7 @@ - **Default:** `true` + #### `FileWords_EN` - **Description:** @@ -1539,6 +1598,7 @@ - **Example**: [`words-en.txt`](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/config/hangman-en.txt) + #### `FileWords_FR` - **Description:** @@ -1610,6 +1670,7 @@ **Section:** **`ChatBot.Mailer`** + #### `Enabled` - **Description:** @@ -1623,6 +1684,7 @@ - **Default:** `false` + #### `DatabaseFile` - **Description:** @@ -1634,6 +1696,7 @@ - **Default:** `MailerDatabase.ini` + #### `IgnoreListFile` - **Description:** @@ -1645,6 +1708,7 @@ - **Default:** `MailerIgnoreList.ini` + #### `PublicInteractions` - **Description:** @@ -1658,6 +1722,7 @@ - **Default:** `false` + #### `MaxMailsPerPlayer` - **Description:** @@ -1669,6 +1734,7 @@ - **Default:** `10` + #### `MaxDatabaseSize` - **Description:** @@ -1680,6 +1746,7 @@ - **Default:** `10000` (10 MB) + #### `MailRetentionDays` - **Description:** @@ -1733,6 +1800,7 @@ - **Default:** `false` + #### `Should_Resize` - **Description:** @@ -1760,6 +1828,7 @@ - **Default:** `false` + #### `Resize_To` - **Description:** @@ -1771,6 +1840,7 @@ - **Default:** `256` + #### `Auto_Render_On_Update` - **Description:** @@ -1790,6 +1860,7 @@ - **Default:** `false` + #### `Delete_All_On_Unload` - **Description:** @@ -1803,6 +1874,7 @@ - **Default:** `true` + #### `Notify_On_First_Update` - **Description:** @@ -1835,6 +1907,7 @@ - **Default:** `false` + #### `File` - **Description:** @@ -1844,6 +1917,7 @@ - **Default:** `playerlog.txt` + #### `Delay` - **Description:** @@ -1885,6 +1959,7 @@ - **Default:** `false` + #### `AutoTpaccept` - **Description:** @@ -1898,6 +1973,7 @@ - **Default:** `true` + #### `AutoTpaccept_Everyone` - **Description:** @@ -1951,6 +2027,7 @@ - **Default:** `false` + #### `Backup_Interval` - **Description:** @@ -1986,6 +2063,7 @@ - **Default:** `false` + ### Defining a task - **Description:** @@ -2061,6 +2139,7 @@ ``` + ### Full example ```toml diff --git a/docs/l10n/ro/guide/configuration.md b/docs/l10n/ro/guide/configuration.md index 30dd9cd6..71a5ed16 100644 --- a/docs/l10n/ro/guide/configuration.md +++ b/docs/l10n/ro/guide/configuration.md @@ -144,7 +144,7 @@ Coordinate = { x = 145, y = 64, y = 2045 } This setting is where you define which language you want to use. - When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages. These files describe how some messages should be printed depending on your preferred language. + When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages.These files describe how some messages should be printed depending on your preferred language. The client will automatically load `en_GB.lang` from your Minecraft folder if Minecraft is installed on your computer, or download it from Mojang's servers. You may choose another language in the configuration file. @@ -465,7 +465,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Use `no`, `fast` (5s timeout), or `yes`. Required for joining some servers. + Use `no`, `fast` (5s timeout), or `yes`. + + Required for joining some servers. - **Type:** `string` @@ -648,7 +650,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Affects only Minecraft 1.19+. This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. + Affects only Minecraft 1.19+. + + This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. #### `LoginWithSecureProfile` @@ -674,7 +678,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Whether to sign the messages contained in the commands sent by the MCC. For example, the message in `/msg` and `/me` + Whether to sign the messages contained in the commands sent by the MCC. + + For example, the message in `/msg` and `/me` - **Type:** `boolean` @@ -768,7 +774,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - This setting allows you to define if your want to see info messages. Most of the messages from MCC. + This setting allows you to define if your want to see info messages. + + Most of the messages from MCC. - **Type:** `boolean` @@ -955,7 +963,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - The proxy server IP and port. Proxy server must allow HTTPS for login, and non-443 ports for playing. + The proxy server IP and port. + + Proxy server must allow HTTPS for login, and non-443 ports for playing. - **Format:** diff --git a/docs/l10n/ro/guide/creating-bots.md b/docs/l10n/ro/guide/creating-bots.md index 9e46df68..bc5e2d77 100644 --- a/docs/l10n/ro/guide/creating-bots.md +++ b/docs/l10n/ro/guide/creating-bots.md @@ -99,7 +99,9 @@ Chat Bot (Script) structure is the following: ``` -**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. Every single Chat Bot (Script) must have this section at the beginning in order to work. +**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. + +Every single Chat Bot (Script) must have this section at the beginning in order to work. ### Script Metadata Format @@ -165,7 +167,9 @@ After the end of the **Script Metadata** section, you basically can define any n 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.. +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..

Tip

diff --git a/docs/l10n/ro/guide/installation.md b/docs/l10n/ro/guide/installation.md index 256241f6..92f61049 100644 --- a/docs/l10n/ro/guide/installation.md +++ b/docs/l10n/ro/guide/installation.md @@ -190,7 +190,11 @@ docker build -t minecraft-console-client:latest . docker run -it -v :/opt/data minecraft-console-client:latest ``` -Now you could login and the Client is running. To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. To reattach use the `docker attach` command. +Now you could login and the Client is running. + +To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. + +To reattach use the `docker attach` command. **Start the container using docker-compose:** @@ -222,7 +226,9 @@ docker-compose up docker-compose up -d #for deamonized running in the background ``` -Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. As above, you can stop and remove the container using +Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. + +As above, you can stop and remove the container using ```bash docker-compose down @@ -313,7 +319,9 @@ Once the script has downloaded, run it with: bash ubuntu.sh ``` -Then you will be asked a question, enter `Y` and press `Enter`. Once the installation is complete, you can start Ubuntu with: +Then you will be asked a question, enter `Y` and press `Enter`. + +Once the installation is complete, you can start Ubuntu with: ```bash ./startubuntu.sh @@ -499,7 +507,9 @@ To stop MCC from running you can press `CTRL + C` To edit the configuration/settings, you need a text editor, we recommend Nano, as it's very simple to use, if you have followed the installation steps above, you should be familiar with it, if not, check out [this tutorial](https://www.youtube.com/watch?v=DLeATFgGM-A). -For downloading files, you can use the `wget` file we have installed, simply run: `wget your_link_here` (you have examples above, and a video tutorial down bellow). +For downloading files, you can use the `wget` file we have installed, simply run: + +`wget your_link_here` (you have examples above, and a video tutorial down bellow). Also, here are some linux tutorials for people who are new to it: @@ -644,7 +654,9 @@ You also may want to search for better deals.
-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). +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 @@ -862,7 +874,11 @@ Make a new empty file named `authorized_keys`: touch authorized_keys ``` -Do no close the Git bash/Terminal emulator. On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). +Do no close the Git bash/Terminal emulator. + +On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. + +Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). Type the following command: @@ -940,7 +956,9 @@ Let's check if everything is working correctly: sudo systemctl status sshd ``` -If everything has been configured as it should be you should see `active (running)` as a status of the service. If not, open the config file again and check for mistakes. +If everything has been configured as it should be you should see `active (running)` as a status of the service. + +If not, open the config file again and check for mistakes. Press `q` to exit the log mode. diff --git a/docs/l10n/ro/guide/usage.md b/docs/l10n/ro/guide/usage.md index d0ccab5e..e65294df 100644 --- a/docs/l10n/ro/guide/usage.md +++ b/docs/l10n/ro/guide/usage.md @@ -236,7 +236,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q - **Description:** - Allows you to list and unload a specific bot or all bots. Useful when debugging and developing scripts. + Allows you to list and unload a specific bot or all bots. + + Useful when debugging and developing scripts. - **Usage:** @@ -404,7 +406,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q Allows you to execute a command if a specific condition is met. - The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. + The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. + + The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. Also the instance of MCC is available with `MCC.`. diff --git a/docs/l10n/ru/guide/README.md b/docs/l10n/ru/guide/README.md index 0eac2f65..db9c9757 100644 --- a/docs/l10n/ru/guide/README.md +++ b/docs/l10n/ru/guide/README.md @@ -150,14 +150,26 @@ Minecraft Console Client also borrows code from the following libraries: ## Disclaimer -Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. +Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. -Also, remember that when you connect to a server with this program, you will appear where you left the last time. This means that **you can die if you log in in an unsafe place on a survival server!** Use the script scheduler bot to send a teleport command after logging in. +This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. + +Also, remember that when you connect to a server with this program, you will appear where you left the last time. + +This means that **you can die if you log in in an unsafe place on a survival server!** + +Use the script scheduler bot to send a teleport command after logging in. We remind you that **you may get banned** by your server for using this program. Use accordingly with server rules. ## License -Minecraft Console Client is a totally free of charge, open source project. The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) +Minecraft Console Client is a totally free of charge, open source project. -Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) +The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) + +Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. + +More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) + +Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) diff --git a/docs/l10n/ru/guide/chat-bots.md b/docs/l10n/ru/guide/chat-bots.md index 5fccde68..d200b974 100644 --- a/docs/l10n/ru/guide/chat-bots.md +++ b/docs/l10n/ru/guide/chat-bots.md @@ -67,6 +67,7 @@ - **Default:** `false` + #### `Beep_Enabled`

Tip

@@ -84,6 +85,7 @@ - **Default:** `true` + #### `Trigger_By_Words` - **Description:** @@ -97,6 +99,7 @@ - **Default:** `false` + #### `Trigger_By_Rain` - **Description:** @@ -110,6 +113,7 @@ - **Default:** `false` + #### `Trigger_By_Thunderstorm` - **Description:** @@ -123,6 +127,7 @@ - **Default:** `false` + #### `Log_To_File` - **Description:** @@ -136,6 +141,7 @@ - **Default:** `false` + #### `Log_File` - **Description:** @@ -147,6 +153,7 @@ - **Default:** `"alerts-log.txt"` + #### `Matches` - **Description:** @@ -162,6 +169,7 @@ ``` + #### `Excludes` - **Description:** @@ -199,6 +207,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -214,6 +223,7 @@ - **Default:** `{ min = 60.0, max = 60.0 }` + #### `Command` - **Description:** @@ -225,6 +235,7 @@ - **Default:** `/ping` + #### `Use_Sneak` - **Description:** @@ -236,20 +247,21 @@ - **Default:** `false` + #### `Use_Terrain_Handling` +

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)** + +
+ - **Description:** 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. -

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`. - **Type:** `boolean` @@ -257,6 +269,7 @@ - **Default:** `false` + #### `Walk_Range` - **Description:** @@ -268,32 +281,33 @@ - **Default:** `5` + #### `Walk_Retries` +

Tip

+ + **This happens on each trigger of the task, so it does not permanently switch to alternative method.** + +
+ - **Description:** 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. -

Tip

- - **This happens on each trigger of the task, so it does not permanently switch to alternative method.** - -
- - **Default:** `20` ## Auto Attack +

Tip

+ +**You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** + +
+ - **Description:** Automatically attacks mobs around you, you can configure it to attack both hostile and passive mobs and only certain mobs or all mobs. -

Tip

- - **You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** - -
- - **Settings:** **Section:** **`ChatBot.AutoAttack`** @@ -311,6 +325,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -330,6 +345,7 @@ - **Default:** `single` + #### `Priority` - **Description:** @@ -344,6 +360,7 @@ - **Default:** `distance` + #### `Cooldown_Time` - **Description:** @@ -363,6 +380,7 @@ - **Default:** `{ Custom = false, value = 1.0 }` + #### `Interaction` - **Description:** @@ -386,6 +404,7 @@ - **Default:** `Attack` + #### `Attack_Hostile` - **Description:** @@ -399,6 +418,7 @@ - **Default:** `true` + #### `Attack_Passive` - **Description:** @@ -412,6 +432,7 @@ - **Default:** `false` + #### `List_Mode` - **Description:** @@ -425,6 +446,7 @@ - **Default:** `whitelist` + #### `Entites_List` - **Description:** @@ -443,16 +465,16 @@ ## Auto Craft +

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.** + +
+ - **Description:** Automatically craft items in your inventory or in a 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:** - `/autocraft list` @@ -476,6 +498,7 @@ **Section:** **`ChatBot.AutoCraft`** + #### `Enabled` - **Description:** @@ -489,6 +512,7 @@ - **Default:** `false` + #### `CraftingTable` - **Description:** @@ -512,6 +536,7 @@ ``` + #### `OnFailure` - **Description:** @@ -527,8 +552,15 @@ - **Default:** `abort` + ### Defining a recipe +

Tip

+ + **If you're using `table` you need to set the `CraftingTable` setting.** + +
+ The recipes are defines as a separate new sub-section `[[ChatBot.AutoCraft.Recipes]]` of the `[ChatBot.AutoCraft]` section. The `[[ChatBot.AutoCraft.Recipes]]` section needs to contain the following settings: @@ -543,12 +575,6 @@ **Avaliable values:** `player` and `table` -

Tip

- - **If you're using `table` you need to set the `CraftingTable` setting.** - -
- - `Result` This is the type of resulting item. @@ -569,17 +595,6 @@ Slots = [ "", "", ... ] ``` -

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", ]`** - -
- -

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:** @@ -623,6 +638,10 @@

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", ]`** + + **All item types can be found [here](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/Inventory/ItemType.cs).** + **Make sure to provide materials for your bot by placing them in inventory first.**
@@ -656,6 +675,7 @@ **Section:** **`ChatBot.AutoDig`** + #### `Enabled` - **Description:** @@ -669,6 +689,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -694,6 +715,7 @@ - **Default:** `lookat` + #### `Locations` - **Description:** @@ -720,6 +742,7 @@ ``` + #### `Location_Order` - **Description:** @@ -741,6 +764,7 @@ - **Default:** `distance` + #### `Auto_Start_Delay` - **Description:** @@ -754,6 +778,7 @@ - **Default:** `3.0` + #### `Dig_Timeout` - **Description:** @@ -765,6 +790,7 @@ - **Default:** `60.0` + #### `Log_Block_Dig` - **Description:** @@ -778,6 +804,7 @@ - **Default:** `true` + #### `List_Type` - **Description:** @@ -791,6 +818,7 @@ - **Default:** `whitelist` + #### `Blocks` - **Description:** @@ -836,6 +864,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -863,6 +892,7 @@ - **Default:** `include` + #### `Items` - **Description:** @@ -912,6 +942,7 @@ - **Default:** `false` + #### `Threshold` - **Description:** @@ -964,6 +995,7 @@ **Section:** **`ChatBot.AutoFishing`** + #### `Enabled` - **Description:** @@ -977,6 +1009,7 @@ - **Default:** `false` + #### `Antidespawn` - **Description:** @@ -990,6 +1023,7 @@ - **Default:** `false` + #### `Mainhand` - **Description:** @@ -1006,6 +1040,7 @@ - **Default:** `true` + #### `Auto_Start` - **Description:** @@ -1019,6 +1054,7 @@ - **Default:** `true` + #### `Cast_Delay` - **Description:** @@ -1030,6 +1066,7 @@ - **Default:** `0.4` + #### `Fishing_Delay` - **Description:** @@ -1043,6 +1080,7 @@ - **Default:** `3.0` + #### `Fishing_Timeout` - **Description:** @@ -1054,6 +1092,7 @@ - **Default:** `300.0` + #### `Durability_Limit` - **Description:** @@ -1067,6 +1106,7 @@ - **Default:** `2` + #### `Auto_Rod_Switch` - **Description:** @@ -1080,6 +1120,7 @@ - **Default:** `true` + #### `Stationary_Threshold` - **Description:** @@ -1097,6 +1138,7 @@ - **Default:** `0.001` + #### `Hook_Threshold` - **Description:** @@ -1112,6 +1154,7 @@ - **Default:** `0.2` + #### `Log_Fish_Bobber` - **Description:** @@ -1127,6 +1170,7 @@ - **Default:** `false` + #### `Enable_Move` - **Description:** @@ -1142,6 +1186,7 @@ - **Default:** `false` + ### Adding a position/movement Each position/movement is added as a new `[[ChatBot.AutoFishing.Movements]]` subsection of `[ChatBot.AutoFishing]`. @@ -1183,6 +1228,7 @@ ``` + #### Full example ```toml @@ -1215,6 +1261,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -1232,6 +1279,7 @@ - **Default:** `{ min = 3.0, max = 3.0 }` + #### `Retries` - **Description:** @@ -1249,6 +1297,7 @@ - **Default:** `-1` + #### `Ignore_Kick_Message` - **Description:** @@ -1260,6 +1309,7 @@ - **Default:** `false` + #### `Kick_Messages` - **Description:** @@ -1307,6 +1357,7 @@ - **Default:** `false` + #### `Matches_File` - **Description:** @@ -1328,6 +1379,7 @@ - **Default:** `matches.ini` + #### `Match_Colors` - **Description:** @@ -1369,6 +1421,7 @@ - **Default:** `false` + #### `Add_DateTime` - **Description:** @@ -1380,6 +1433,7 @@ - **Default:** `true` + #### `Log_File` - **Description:** @@ -1389,6 +1443,7 @@ - **Default:** `chatlog-%username%-%serverip%.txt` + #### `Filter` - **Description:** @@ -1454,6 +1509,7 @@ - **Default:** `false` + #### `Update_Limit` - **Description:** @@ -1467,6 +1523,7 @@ - **Default:** `1.5` + #### `Stop_At_Distance` - **Description:** @@ -1508,6 +1565,7 @@ - **Default:** `false` + #### `English` - **Description:** @@ -1519,6 +1577,7 @@ - **Default:** `true` + #### `FileWords_EN` - **Description:** @@ -1535,6 +1594,7 @@ - **Example**: [`words-en.txt`](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/config/hangman-en.txt) + #### `FileWords_FR` - **Description:** @@ -1606,6 +1666,7 @@ **Section:** **`ChatBot.Mailer`** + #### `Enabled` - **Description:** @@ -1619,6 +1680,7 @@ - **Default:** `false` + #### `DatabaseFile` - **Description:** @@ -1630,6 +1692,7 @@ - **Default:** `MailerDatabase.ini` + #### `IgnoreListFile` - **Description:** @@ -1641,6 +1704,7 @@ - **Default:** `MailerIgnoreList.ini` + #### `PublicInteractions` - **Description:** @@ -1654,6 +1718,7 @@ - **Default:** `false` + #### `MaxMailsPerPlayer` - **Description:** @@ -1665,6 +1730,7 @@ - **Default:** `10` + #### `MaxDatabaseSize` - **Description:** @@ -1676,6 +1742,7 @@ - **Default:** `10000` (10 MB) + #### `MailRetentionDays` - **Description:** @@ -1729,6 +1796,7 @@ - **Default:** `false` + #### `Should_Resize` - **Description:** @@ -1756,6 +1824,7 @@ - **Default:** `false` + #### `Resize_To` - **Description:** @@ -1767,6 +1836,7 @@ - **Default:** `256` + #### `Auto_Render_On_Update` - **Description:** @@ -1786,6 +1856,7 @@ - **Default:** `false` + #### `Delete_All_On_Unload` - **Description:** @@ -1799,6 +1870,7 @@ - **Default:** `true` + #### `Notify_On_First_Update` - **Description:** @@ -1831,6 +1903,7 @@ - **Default:** `false` + #### `File` - **Description:** @@ -1840,6 +1913,7 @@ - **Default:** `playerlog.txt` + #### `Delay` - **Description:** @@ -1881,6 +1955,7 @@ - **Default:** `false` + #### `AutoTpaccept` - **Description:** @@ -1894,6 +1969,7 @@ - **Default:** `true` + #### `AutoTpaccept_Everyone` - **Description:** @@ -1947,6 +2023,7 @@ - **Default:** `false` + #### `Backup_Interval` - **Description:** @@ -1982,6 +2059,7 @@ - **Default:** `false` + ### Defining a task - **Description:** @@ -2056,6 +2134,7 @@ ``` + ### Full example ```toml diff --git a/docs/l10n/ru/guide/configuration.md b/docs/l10n/ru/guide/configuration.md index 30dd9cd6..71a5ed16 100644 --- a/docs/l10n/ru/guide/configuration.md +++ b/docs/l10n/ru/guide/configuration.md @@ -144,7 +144,7 @@ Coordinate = { x = 145, y = 64, y = 2045 } This setting is where you define which language you want to use. - When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages. These files describe how some messages should be printed depending on your preferred language. + When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages.These files describe how some messages should be printed depending on your preferred language. The client will automatically load `en_GB.lang` from your Minecraft folder if Minecraft is installed on your computer, or download it from Mojang's servers. You may choose another language in the configuration file. @@ -465,7 +465,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Use `no`, `fast` (5s timeout), or `yes`. Required for joining some servers. + Use `no`, `fast` (5s timeout), or `yes`. + + Required for joining some servers. - **Type:** `string` @@ -648,7 +650,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Affects only Minecraft 1.19+. This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. + Affects only Minecraft 1.19+. + + This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. #### `LoginWithSecureProfile` @@ -674,7 +678,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Whether to sign the messages contained in the commands sent by the MCC. For example, the message in `/msg` and `/me` + Whether to sign the messages contained in the commands sent by the MCC. + + For example, the message in `/msg` and `/me` - **Type:** `boolean` @@ -768,7 +774,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - This setting allows you to define if your want to see info messages. Most of the messages from MCC. + This setting allows you to define if your want to see info messages. + + Most of the messages from MCC. - **Type:** `boolean` @@ -955,7 +963,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - The proxy server IP and port. Proxy server must allow HTTPS for login, and non-443 ports for playing. + The proxy server IP and port. + + Proxy server must allow HTTPS for login, and non-443 ports for playing. - **Format:** diff --git a/docs/l10n/ru/guide/creating-bots.md b/docs/l10n/ru/guide/creating-bots.md index 9e46df68..bc5e2d77 100644 --- a/docs/l10n/ru/guide/creating-bots.md +++ b/docs/l10n/ru/guide/creating-bots.md @@ -99,7 +99,9 @@ Chat Bot (Script) structure is the following: ``` -**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. Every single Chat Bot (Script) must have this section at the beginning in order to work. +**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. + +Every single Chat Bot (Script) must have this section at the beginning in order to work. ### Script Metadata Format @@ -165,7 +167,9 @@ After the end of the **Script Metadata** section, you basically can define any n 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.. +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..

Tip

diff --git a/docs/l10n/ru/guide/installation.md b/docs/l10n/ru/guide/installation.md index 88c0764a..38c586d3 100644 --- a/docs/l10n/ru/guide/installation.md +++ b/docs/l10n/ru/guide/installation.md @@ -190,7 +190,11 @@ docker build -t minecraft-console-client:latest . docker run -it -v :/opt/data minecraft-console-client:latest ``` -Now you could login and the Client is running. To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. To reattach use the `docker attach` command. +Now you could login and the Client is running. + +To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. + +To reattach use the `docker attach` command. **Start the container using docker-compose:** @@ -222,7 +226,9 @@ docker-compose up docker-compose up -d #for deamonized running in the background ``` -Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. As above, you can stop and remove the container using +Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. + +As above, you can stop and remove the container using ```bash docker-compose down @@ -313,7 +319,9 @@ Once the script has downloaded, run it with: bash ubuntu.sh ``` -Then you will be asked a question, enter `Y` and press `Enter`. Once the installation is complete, you can start Ubuntu with: +Then you will be asked a question, enter `Y` and press `Enter`. + +Once the installation is complete, you can start Ubuntu with: ```bash ./startubuntu.sh @@ -499,7 +507,9 @@ To stop MCC from running you can press `CTRL + C` To edit the configuration/settings, you need a text editor, we recommend Nano, as it's very simple to use, if you have followed the installation steps above, you should be familiar with it, if not, check out [this tutorial](https://www.youtube.com/watch?v=DLeATFgGM-A). -For downloading files, you can use the `wget` file we have installed, simply run: `wget your_link_here` (you have examples above, and a video tutorial down bellow). +For downloading files, you can use the `wget` file we have installed, simply run: + +`wget your_link_here` (you have examples above, and a video tutorial down bellow). Also, here are some linux tutorials for people who are new to it: @@ -644,7 +654,9 @@ You also may want to search for better deals.
-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). +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 @@ -862,7 +874,11 @@ Make a new empty file named `authorized_keys`: touch authorized_keys ``` -Do no close the Git bash/Terminal emulator. On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). +Do no close the Git bash/Terminal emulator. + +On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. + +Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). Type the following command: @@ -940,7 +956,9 @@ Let's check if everything is working correctly: sudo systemctl status sshd ``` -If everything has been configured as it should be you should see `active (running)` as a status of the service. If not, open the config file again and check for mistakes. +If everything has been configured as it should be you should see `active (running)` as a status of the service. + +If not, open the config file again and check for mistakes. Press `q` to exit the log mode. diff --git a/docs/l10n/ru/guide/usage.md b/docs/l10n/ru/guide/usage.md index 0e8f8a0a..d38b1ee0 100644 --- a/docs/l10n/ru/guide/usage.md +++ b/docs/l10n/ru/guide/usage.md @@ -236,7 +236,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q - **Description:** - Allows you to list and unload a specific bot or all bots. Useful when debugging and developing scripts. + Allows you to list and unload a specific bot or all bots. + + Useful when debugging and developing scripts. - **Применение:** @@ -404,7 +406,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q Allows you to execute a command if a specific condition is met. - The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. + The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. + + The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. Also the instance of MCC is available with `MCC.`. diff --git a/docs/l10n/sr-Cyrl/guide/README.md b/docs/l10n/sr-Cyrl/guide/README.md index 81e1aee3..ce5a9b7c 100644 --- a/docs/l10n/sr-Cyrl/guide/README.md +++ b/docs/l10n/sr-Cyrl/guide/README.md @@ -150,14 +150,26 @@ Minecraft Console Client also borrows code from the following libraries: ## Disclaimer -Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. +Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. -Also, remember that when you connect to a server with this program, you will appear where you left the last time. This means that **you can die if you log in in an unsafe place on a survival server!** Use the script scheduler bot to send a teleport command after logging in. +This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. + +Also, remember that when you connect to a server with this program, you will appear where you left the last time. + +This means that **you can die if you log in in an unsafe place on a survival server!** + +Use the script scheduler bot to send a teleport command after logging in. We remind you that **you may get banned** by your server for using this program. Use accordingly with server rules. ## License -Minecraft Console Client is a totally free of charge, open source project. The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) +Minecraft Console Client is a totally free of charge, open source project. -Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) +The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) + +Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. + +More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) + +Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) diff --git a/docs/l10n/sr-Cyrl/guide/chat-bots.md b/docs/l10n/sr-Cyrl/guide/chat-bots.md index c67efc3d..64b6a790 100644 --- a/docs/l10n/sr-Cyrl/guide/chat-bots.md +++ b/docs/l10n/sr-Cyrl/guide/chat-bots.md @@ -67,6 +67,7 @@ - **Default:** `false` + #### `Beep_Enabled`

Tip

@@ -84,6 +85,7 @@ - **Default:** `true` + #### `Trigger_By_Words` - **Description:** @@ -97,6 +99,7 @@ - **Default:** `false` + #### `Trigger_By_Rain` - **Description:** @@ -110,6 +113,7 @@ - **Default:** `false` + #### `Trigger_By_Thunderstorm` - **Description:** @@ -123,6 +127,7 @@ - **Default:** `false` + #### `Log_To_File` - **Description:** @@ -136,6 +141,7 @@ - **Default:** `false` + #### `Log_File` - **Description:** @@ -147,6 +153,7 @@ - **Default:** `"alerts-log.txt"` + #### `Matches` - **Description:** @@ -162,6 +169,7 @@ ``` + #### `Excludes` - **Description:** @@ -199,6 +207,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -214,6 +223,7 @@ - **Default:** `{ min = 60.0, max = 60.0 }` + #### `Command` - **Description:** @@ -225,6 +235,7 @@ - **Default:** `/ping` + #### `Use_Sneak` - **Description:** @@ -236,20 +247,21 @@ - **Default:** `false` + #### `Use_Terrain_Handling` +

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)** + +
+ - **Description:** 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. -

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`. - **Type:** `boolean` @@ -257,6 +269,7 @@ - **Default:** `false` + #### `Walk_Range` - **Description:** @@ -268,32 +281,33 @@ - **Default:** `5` + #### `Walk_Retries` +

Tip

+ + **This happens on each trigger of the task, so it does not permanently switch to alternative method.** + +
+ - **Description:** 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. -

Tip

- - **This happens on each trigger of the task, so it does not permanently switch to alternative method.** - -
- - **Default:** `20` ## Auto Attack +

Tip

+ +**You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** + +
+ - **Description:** Automatically attacks mobs around you, you can configure it to attack both hostile and passive mobs and only certain mobs or all mobs. -

Tip

- - **You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** - -
- - **Settings:** **Section:** **`ChatBot.AutoAttack`** @@ -311,6 +325,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -330,6 +345,7 @@ - **Default:** `single` + #### `Priority` - **Description:** @@ -344,6 +360,7 @@ - **Default:** `distance` + #### `Cooldown_Time` - **Description:** @@ -363,6 +380,7 @@ - **Default:** `{ Custom = false, value = 1.0 }` + #### `Interaction` - **Description:** @@ -386,6 +404,7 @@ - **Default:** `Attack` + #### `Attack_Hostile` - **Description:** @@ -399,6 +418,7 @@ - **Default:** `true` + #### `Attack_Passive` - **Description:** @@ -412,6 +432,7 @@ - **Default:** `false` + #### `List_Mode` - **Description:** @@ -425,6 +446,7 @@ - **Default:** `whitelist` + #### `Entites_List` - **Description:** @@ -443,16 +465,16 @@ ## Auto Craft +

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.** + +
+ - **Description:** Automatically craft items in your inventory or in a 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:** - `/autocraft list` @@ -476,6 +498,7 @@ **Section:** **`ChatBot.AutoCraft`** + #### `Enabled` - **Description:** @@ -489,6 +512,7 @@ - **Default:** `false` + #### `CraftingTable` - **Description:** @@ -512,6 +536,7 @@ ``` + #### `OnFailure` - **Description:** @@ -527,8 +552,15 @@ - **Default:** `abort` + ### Defining a recipe +

Tip

+ + **If you're using `table` you need to set the `CraftingTable` setting.** + +
+ The recipes are defines as a separate new sub-section `[[ChatBot.AutoCraft.Recipes]]` of the `[ChatBot.AutoCraft]` section. The `[[ChatBot.AutoCraft.Recipes]]` section needs to contain the following settings: @@ -543,12 +575,6 @@ **Avaliable values:** `player` and `table` -

Tip

- - **If you're using `table` you need to set the `CraftingTable` setting.** - -
- - `Result` This is the type of resulting item. @@ -569,17 +595,6 @@ Slots = [ "", "", ... ] ``` -

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", ]`** - -
- -

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:** @@ -625,6 +640,10 @@

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", ]`** + + **All item types can be found [here](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/Inventory/ItemType.cs).** + **Make sure to provide materials for your bot by placing them in inventory first.**
@@ -658,6 +677,7 @@ **Section:** **`ChatBot.AutoDig`** + #### `Enabled` - **Description:** @@ -671,6 +691,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -696,6 +717,7 @@ - **Default:** `lookat` + #### `Locations` - **Description:** @@ -722,6 +744,7 @@ ``` + #### `Location_Order` - **Description:** @@ -743,6 +766,7 @@ - **Default:** `distance` + #### `Auto_Start_Delay` - **Description:** @@ -756,6 +780,7 @@ - **Default:** `3.0` + #### `Dig_Timeout` - **Description:** @@ -767,6 +792,7 @@ - **Default:** `60.0` + #### `Log_Block_Dig` - **Description:** @@ -780,6 +806,7 @@ - **Default:** `true` + #### `List_Type` - **Description:** @@ -793,6 +820,7 @@ - **Default:** `whitelist` + #### `Blocks` - **Description:** @@ -838,6 +866,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -865,6 +894,7 @@ - **Default:** `include` + #### `Items` - **Description:** @@ -914,6 +944,7 @@ - **Default:** `false` + #### `Threshold` - **Description:** @@ -966,6 +997,7 @@ **Section:** **`ChatBot.AutoFishing`** + #### `Enabled` - **Description:** @@ -979,6 +1011,7 @@ - **Default:** `false` + #### `Antidespawn` - **Description:** @@ -992,6 +1025,7 @@ - **Default:** `false` + #### `Mainhand` - **Description:** @@ -1008,6 +1042,7 @@ - **Default:** `true` + #### `Auto_Start` - **Description:** @@ -1021,6 +1056,7 @@ - **Default:** `true` + #### `Cast_Delay` - **Description:** @@ -1032,6 +1068,7 @@ - **Default:** `0.4` + #### `Fishing_Delay` - **Description:** @@ -1045,6 +1082,7 @@ - **Default:** `3.0` + #### `Fishing_Timeout` - **Description:** @@ -1056,6 +1094,7 @@ - **Default:** `300.0` + #### `Durability_Limit` - **Description:** @@ -1069,6 +1108,7 @@ - **Default:** `2` + #### `Auto_Rod_Switch` - **Description:** @@ -1082,6 +1122,7 @@ - **Default:** `true` + #### `Stationary_Threshold` - **Description:** @@ -1099,6 +1140,7 @@ - **Default:** `0.001` + #### `Hook_Threshold` - **Description:** @@ -1114,6 +1156,7 @@ - **Default:** `0.2` + #### `Log_Fish_Bobber` - **Description:** @@ -1129,6 +1172,7 @@ - **Default:** `false` + #### `Enable_Move` - **Description:** @@ -1144,6 +1188,7 @@ - **Default:** `false` + ### Adding a position/movement Each position/movement is added as a new `[[ChatBot.AutoFishing.Movements]]` subsection of `[ChatBot.AutoFishing]`. @@ -1185,6 +1230,7 @@ ``` + #### Full example ```toml @@ -1219,6 +1265,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -1236,6 +1283,7 @@ - **Default:** `{ min = 3.0, max = 3.0 }` + #### `Retries` - **Description:** @@ -1253,6 +1301,7 @@ - **Default:** `-1` + #### `Ignore_Kick_Message` - **Description:** @@ -1264,6 +1313,7 @@ - **Default:** `false` + #### `Kick_Messages` - **Description:** @@ -1311,6 +1361,7 @@ - **Default:** `false` + #### `Matches_File` - **Description:** @@ -1332,6 +1383,7 @@ - **Default:** `matches.ini` + #### `Match_Colors` - **Description:** @@ -1373,6 +1425,7 @@ - **Default:** `false` + #### `Add_DateTime` - **Description:** @@ -1384,6 +1437,7 @@ - **Default:** `true` + #### `Log_File` - **Description:** @@ -1393,6 +1447,7 @@ - **Default:** `chatlog-%username%-%serverip%.txt` + #### `Filter` - **Description:** @@ -1458,6 +1513,7 @@ - **Default:** `false` + #### `Update_Limit` - **Description:** @@ -1471,6 +1527,7 @@ - **Default:** `1.5` + #### `Stop_At_Distance` - **Description:** @@ -1512,6 +1569,7 @@ - **Default:** `false` + #### `English` - **Description:** @@ -1523,6 +1581,7 @@ - **Default:** `true` + #### `FileWords_EN` - **Description:** @@ -1539,6 +1598,7 @@ - **Example**: [`words-en.txt`](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/config/hangman-en.txt) + #### `FileWords_FR` - **Description:** @@ -1610,6 +1670,7 @@ **Section:** **`ChatBot.Mailer`** + #### `Enabled` - **Description:** @@ -1623,6 +1684,7 @@ - **Default:** `false` + #### `DatabaseFile` - **Description:** @@ -1634,6 +1696,7 @@ - **Default:** `MailerDatabase.ini` + #### `IgnoreListFile` - **Description:** @@ -1645,6 +1708,7 @@ - **Default:** `MailerIgnoreList.ini` + #### `PublicInteractions` - **Description:** @@ -1658,6 +1722,7 @@ - **Default:** `false` + #### `MaxMailsPerPlayer` - **Description:** @@ -1669,6 +1734,7 @@ - **Default:** `10` + #### `MaxDatabaseSize` - **Description:** @@ -1680,6 +1746,7 @@ - **Default:** `10000` (10 MB) + #### `MailRetentionDays` - **Description:** @@ -1733,6 +1800,7 @@ - **Default:** `false` + #### `Should_Resize` - **Description:** @@ -1760,6 +1828,7 @@ - **Default:** `false` + #### `Resize_To` - **Description:** @@ -1771,6 +1840,7 @@ - **Default:** `256` + #### `Auto_Render_On_Update` - **Description:** @@ -1790,6 +1860,7 @@ - **Default:** `false` + #### `Delete_All_On_Unload` - **Description:** @@ -1803,6 +1874,7 @@ - **Default:** `true` + #### `Notify_On_First_Update` - **Description:** @@ -1835,6 +1907,7 @@ - **Default:** `false` + #### `File` - **Description:** @@ -1844,6 +1917,7 @@ - **Default:** `playerlog.txt` + #### `Delay` - **Description:** @@ -1885,6 +1959,7 @@ - **Default:** `false` + #### `AutoTpaccept` - **Description:** @@ -1898,6 +1973,7 @@ - **Default:** `true` + #### `AutoTpaccept_Everyone` - **Description:** @@ -1951,6 +2027,7 @@ - **Default:** `false` + #### `Backup_Interval` - **Description:** @@ -1986,6 +2063,7 @@ - **Default:** `false` + ### Defining a task - **Description:** @@ -2061,6 +2139,7 @@ ``` + ### Full example ```toml diff --git a/docs/l10n/sr-Cyrl/guide/configuration.md b/docs/l10n/sr-Cyrl/guide/configuration.md index 30dd9cd6..71a5ed16 100644 --- a/docs/l10n/sr-Cyrl/guide/configuration.md +++ b/docs/l10n/sr-Cyrl/guide/configuration.md @@ -144,7 +144,7 @@ Coordinate = { x = 145, y = 64, y = 2045 } This setting is where you define which language you want to use. - When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages. These files describe how some messages should be printed depending on your preferred language. + When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages.These files describe how some messages should be printed depending on your preferred language. The client will automatically load `en_GB.lang` from your Minecraft folder if Minecraft is installed on your computer, or download it from Mojang's servers. You may choose another language in the configuration file. @@ -465,7 +465,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Use `no`, `fast` (5s timeout), or `yes`. Required for joining some servers. + Use `no`, `fast` (5s timeout), or `yes`. + + Required for joining some servers. - **Type:** `string` @@ -648,7 +650,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Affects only Minecraft 1.19+. This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. + Affects only Minecraft 1.19+. + + This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. #### `LoginWithSecureProfile` @@ -674,7 +678,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Whether to sign the messages contained in the commands sent by the MCC. For example, the message in `/msg` and `/me` + Whether to sign the messages contained in the commands sent by the MCC. + + For example, the message in `/msg` and `/me` - **Type:** `boolean` @@ -768,7 +774,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - This setting allows you to define if your want to see info messages. Most of the messages from MCC. + This setting allows you to define if your want to see info messages. + + Most of the messages from MCC. - **Type:** `boolean` @@ -955,7 +963,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - The proxy server IP and port. Proxy server must allow HTTPS for login, and non-443 ports for playing. + The proxy server IP and port. + + Proxy server must allow HTTPS for login, and non-443 ports for playing. - **Format:** diff --git a/docs/l10n/sr-Cyrl/guide/creating-bots.md b/docs/l10n/sr-Cyrl/guide/creating-bots.md index 9e46df68..bc5e2d77 100644 --- a/docs/l10n/sr-Cyrl/guide/creating-bots.md +++ b/docs/l10n/sr-Cyrl/guide/creating-bots.md @@ -99,7 +99,9 @@ Chat Bot (Script) structure is the following: ``` -**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. Every single Chat Bot (Script) must have this section at the beginning in order to work. +**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. + +Every single Chat Bot (Script) must have this section at the beginning in order to work. ### Script Metadata Format @@ -165,7 +167,9 @@ After the end of the **Script Metadata** section, you basically can define any n 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.. +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..

Tip

diff --git a/docs/l10n/sr-Cyrl/guide/installation.md b/docs/l10n/sr-Cyrl/guide/installation.md index e3324258..232ab34b 100644 --- a/docs/l10n/sr-Cyrl/guide/installation.md +++ b/docs/l10n/sr-Cyrl/guide/installation.md @@ -190,7 +190,11 @@ docker build -t minecraft-console-client:latest . docker run -it -v :/opt/data minecraft-console-client:latest ``` -Now you could login and the Client is running. To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. To reattach use the `docker attach` command. +Now you could login and the Client is running. + +To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. + +To reattach use the `docker attach` command. **Start the container using docker-compose:** @@ -222,7 +226,9 @@ docker-compose up docker-compose up -d #for deamonized running in the background ``` -Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. As above, you can stop and remove the container using +Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. + +As above, you can stop and remove the container using ```bash docker-compose down @@ -313,7 +319,9 @@ Once the script has downloaded, run it with: bash ubuntu.sh ``` -Then you will be asked a question, enter `Y` and press `Enter`. Once the installation is complete, you can start Ubuntu with: +Then you will be asked a question, enter `Y` and press `Enter`. + +Once the installation is complete, you can start Ubuntu with: ```bash ./startubuntu.sh @@ -499,7 +507,9 @@ To stop MCC from running you can press `CTRL + C` To edit the configuration/settings, you need a text editor, we recommend Nano, as it's very simple to use, if you have followed the installation steps above, you should be familiar with it, if not, check out [this tutorial](https://www.youtube.com/watch?v=DLeATFgGM-A). -For downloading files, you can use the `wget` file we have installed, simply run: `wget your_link_here` (you have examples above, and a video tutorial down bellow). +For downloading files, you can use the `wget` file we have installed, simply run: + +`wget your_link_here` (you have examples above, and a video tutorial down bellow). Also, here are some linux tutorials for people who are new to it: @@ -644,7 +654,9 @@ You also may want to search for better deals.
-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). +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 @@ -862,7 +874,11 @@ Make a new empty file named `authorized_keys`: touch authorized_keys ``` -Do no close the Git bash/Terminal emulator. On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). +Do no close the Git bash/Terminal emulator. + +On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. + +Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). Type the following command: @@ -940,7 +956,9 @@ Let's check if everything is working correctly: sudo systemctl status sshd ``` -If everything has been configured as it should be you should see `active (running)` as a status of the service. If not, open the config file again and check for mistakes. +If everything has been configured as it should be you should see `active (running)` as a status of the service. + +If not, open the config file again and check for mistakes. Press `q` to exit the log mode. diff --git a/docs/l10n/sr-Cyrl/guide/usage.md b/docs/l10n/sr-Cyrl/guide/usage.md index d0ccab5e..e65294df 100644 --- a/docs/l10n/sr-Cyrl/guide/usage.md +++ b/docs/l10n/sr-Cyrl/guide/usage.md @@ -236,7 +236,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q - **Description:** - Allows you to list and unload a specific bot or all bots. Useful when debugging and developing scripts. + Allows you to list and unload a specific bot or all bots. + + Useful when debugging and developing scripts. - **Usage:** @@ -404,7 +406,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q Allows you to execute a command if a specific condition is met. - The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. + The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. + + The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. Also the instance of MCC is available with `MCC.`. diff --git a/docs/l10n/sv/guide/README.md b/docs/l10n/sv/guide/README.md index 81e1aee3..ce5a9b7c 100644 --- a/docs/l10n/sv/guide/README.md +++ b/docs/l10n/sv/guide/README.md @@ -150,14 +150,26 @@ Minecraft Console Client also borrows code from the following libraries: ## Disclaimer -Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. +Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. -Also, remember that when you connect to a server with this program, you will appear where you left the last time. This means that **you can die if you log in in an unsafe place on a survival server!** Use the script scheduler bot to send a teleport command after logging in. +This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. + +Also, remember that when you connect to a server with this program, you will appear where you left the last time. + +This means that **you can die if you log in in an unsafe place on a survival server!** + +Use the script scheduler bot to send a teleport command after logging in. We remind you that **you may get banned** by your server for using this program. Use accordingly with server rules. ## License -Minecraft Console Client is a totally free of charge, open source project. The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) +Minecraft Console Client is a totally free of charge, open source project. -Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) +The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) + +Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. + +More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) + +Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) diff --git a/docs/l10n/sv/guide/chat-bots.md b/docs/l10n/sv/guide/chat-bots.md index c67efc3d..64b6a790 100644 --- a/docs/l10n/sv/guide/chat-bots.md +++ b/docs/l10n/sv/guide/chat-bots.md @@ -67,6 +67,7 @@ - **Default:** `false` + #### `Beep_Enabled`

Tip

@@ -84,6 +85,7 @@ - **Default:** `true` + #### `Trigger_By_Words` - **Description:** @@ -97,6 +99,7 @@ - **Default:** `false` + #### `Trigger_By_Rain` - **Description:** @@ -110,6 +113,7 @@ - **Default:** `false` + #### `Trigger_By_Thunderstorm` - **Description:** @@ -123,6 +127,7 @@ - **Default:** `false` + #### `Log_To_File` - **Description:** @@ -136,6 +141,7 @@ - **Default:** `false` + #### `Log_File` - **Description:** @@ -147,6 +153,7 @@ - **Default:** `"alerts-log.txt"` + #### `Matches` - **Description:** @@ -162,6 +169,7 @@ ``` + #### `Excludes` - **Description:** @@ -199,6 +207,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -214,6 +223,7 @@ - **Default:** `{ min = 60.0, max = 60.0 }` + #### `Command` - **Description:** @@ -225,6 +235,7 @@ - **Default:** `/ping` + #### `Use_Sneak` - **Description:** @@ -236,20 +247,21 @@ - **Default:** `false` + #### `Use_Terrain_Handling` +

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)** + +
+ - **Description:** 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. -

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`. - **Type:** `boolean` @@ -257,6 +269,7 @@ - **Default:** `false` + #### `Walk_Range` - **Description:** @@ -268,32 +281,33 @@ - **Default:** `5` + #### `Walk_Retries` +

Tip

+ + **This happens on each trigger of the task, so it does not permanently switch to alternative method.** + +
+ - **Description:** 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. -

Tip

- - **This happens on each trigger of the task, so it does not permanently switch to alternative method.** - -
- - **Default:** `20` ## Auto Attack +

Tip

+ +**You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** + +
+ - **Description:** Automatically attacks mobs around you, you can configure it to attack both hostile and passive mobs and only certain mobs or all mobs. -

Tip

- - **You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** - -
- - **Settings:** **Section:** **`ChatBot.AutoAttack`** @@ -311,6 +325,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -330,6 +345,7 @@ - **Default:** `single` + #### `Priority` - **Description:** @@ -344,6 +360,7 @@ - **Default:** `distance` + #### `Cooldown_Time` - **Description:** @@ -363,6 +380,7 @@ - **Default:** `{ Custom = false, value = 1.0 }` + #### `Interaction` - **Description:** @@ -386,6 +404,7 @@ - **Default:** `Attack` + #### `Attack_Hostile` - **Description:** @@ -399,6 +418,7 @@ - **Default:** `true` + #### `Attack_Passive` - **Description:** @@ -412,6 +432,7 @@ - **Default:** `false` + #### `List_Mode` - **Description:** @@ -425,6 +446,7 @@ - **Default:** `whitelist` + #### `Entites_List` - **Description:** @@ -443,16 +465,16 @@ ## Auto Craft +

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.** + +
+ - **Description:** Automatically craft items in your inventory or in a 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:** - `/autocraft list` @@ -476,6 +498,7 @@ **Section:** **`ChatBot.AutoCraft`** + #### `Enabled` - **Description:** @@ -489,6 +512,7 @@ - **Default:** `false` + #### `CraftingTable` - **Description:** @@ -512,6 +536,7 @@ ``` + #### `OnFailure` - **Description:** @@ -527,8 +552,15 @@ - **Default:** `abort` + ### Defining a recipe +

Tip

+ + **If you're using `table` you need to set the `CraftingTable` setting.** + +
+ The recipes are defines as a separate new sub-section `[[ChatBot.AutoCraft.Recipes]]` of the `[ChatBot.AutoCraft]` section. The `[[ChatBot.AutoCraft.Recipes]]` section needs to contain the following settings: @@ -543,12 +575,6 @@ **Avaliable values:** `player` and `table` -

Tip

- - **If you're using `table` you need to set the `CraftingTable` setting.** - -
- - `Result` This is the type of resulting item. @@ -569,17 +595,6 @@ Slots = [ "", "", ... ] ``` -

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", ]`** - -
- -

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:** @@ -625,6 +640,10 @@

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", ]`** + + **All item types can be found [here](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/Inventory/ItemType.cs).** + **Make sure to provide materials for your bot by placing them in inventory first.**
@@ -658,6 +677,7 @@ **Section:** **`ChatBot.AutoDig`** + #### `Enabled` - **Description:** @@ -671,6 +691,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -696,6 +717,7 @@ - **Default:** `lookat` + #### `Locations` - **Description:** @@ -722,6 +744,7 @@ ``` + #### `Location_Order` - **Description:** @@ -743,6 +766,7 @@ - **Default:** `distance` + #### `Auto_Start_Delay` - **Description:** @@ -756,6 +780,7 @@ - **Default:** `3.0` + #### `Dig_Timeout` - **Description:** @@ -767,6 +792,7 @@ - **Default:** `60.0` + #### `Log_Block_Dig` - **Description:** @@ -780,6 +806,7 @@ - **Default:** `true` + #### `List_Type` - **Description:** @@ -793,6 +820,7 @@ - **Default:** `whitelist` + #### `Blocks` - **Description:** @@ -838,6 +866,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -865,6 +894,7 @@ - **Default:** `include` + #### `Items` - **Description:** @@ -914,6 +944,7 @@ - **Default:** `false` + #### `Threshold` - **Description:** @@ -966,6 +997,7 @@ **Section:** **`ChatBot.AutoFishing`** + #### `Enabled` - **Description:** @@ -979,6 +1011,7 @@ - **Default:** `false` + #### `Antidespawn` - **Description:** @@ -992,6 +1025,7 @@ - **Default:** `false` + #### `Mainhand` - **Description:** @@ -1008,6 +1042,7 @@ - **Default:** `true` + #### `Auto_Start` - **Description:** @@ -1021,6 +1056,7 @@ - **Default:** `true` + #### `Cast_Delay` - **Description:** @@ -1032,6 +1068,7 @@ - **Default:** `0.4` + #### `Fishing_Delay` - **Description:** @@ -1045,6 +1082,7 @@ - **Default:** `3.0` + #### `Fishing_Timeout` - **Description:** @@ -1056,6 +1094,7 @@ - **Default:** `300.0` + #### `Durability_Limit` - **Description:** @@ -1069,6 +1108,7 @@ - **Default:** `2` + #### `Auto_Rod_Switch` - **Description:** @@ -1082,6 +1122,7 @@ - **Default:** `true` + #### `Stationary_Threshold` - **Description:** @@ -1099,6 +1140,7 @@ - **Default:** `0.001` + #### `Hook_Threshold` - **Description:** @@ -1114,6 +1156,7 @@ - **Default:** `0.2` + #### `Log_Fish_Bobber` - **Description:** @@ -1129,6 +1172,7 @@ - **Default:** `false` + #### `Enable_Move` - **Description:** @@ -1144,6 +1188,7 @@ - **Default:** `false` + ### Adding a position/movement Each position/movement is added as a new `[[ChatBot.AutoFishing.Movements]]` subsection of `[ChatBot.AutoFishing]`. @@ -1185,6 +1230,7 @@ ``` + #### Full example ```toml @@ -1219,6 +1265,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -1236,6 +1283,7 @@ - **Default:** `{ min = 3.0, max = 3.0 }` + #### `Retries` - **Description:** @@ -1253,6 +1301,7 @@ - **Default:** `-1` + #### `Ignore_Kick_Message` - **Description:** @@ -1264,6 +1313,7 @@ - **Default:** `false` + #### `Kick_Messages` - **Description:** @@ -1311,6 +1361,7 @@ - **Default:** `false` + #### `Matches_File` - **Description:** @@ -1332,6 +1383,7 @@ - **Default:** `matches.ini` + #### `Match_Colors` - **Description:** @@ -1373,6 +1425,7 @@ - **Default:** `false` + #### `Add_DateTime` - **Description:** @@ -1384,6 +1437,7 @@ - **Default:** `true` + #### `Log_File` - **Description:** @@ -1393,6 +1447,7 @@ - **Default:** `chatlog-%username%-%serverip%.txt` + #### `Filter` - **Description:** @@ -1458,6 +1513,7 @@ - **Default:** `false` + #### `Update_Limit` - **Description:** @@ -1471,6 +1527,7 @@ - **Default:** `1.5` + #### `Stop_At_Distance` - **Description:** @@ -1512,6 +1569,7 @@ - **Default:** `false` + #### `English` - **Description:** @@ -1523,6 +1581,7 @@ - **Default:** `true` + #### `FileWords_EN` - **Description:** @@ -1539,6 +1598,7 @@ - **Example**: [`words-en.txt`](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/config/hangman-en.txt) + #### `FileWords_FR` - **Description:** @@ -1610,6 +1670,7 @@ **Section:** **`ChatBot.Mailer`** + #### `Enabled` - **Description:** @@ -1623,6 +1684,7 @@ - **Default:** `false` + #### `DatabaseFile` - **Description:** @@ -1634,6 +1696,7 @@ - **Default:** `MailerDatabase.ini` + #### `IgnoreListFile` - **Description:** @@ -1645,6 +1708,7 @@ - **Default:** `MailerIgnoreList.ini` + #### `PublicInteractions` - **Description:** @@ -1658,6 +1722,7 @@ - **Default:** `false` + #### `MaxMailsPerPlayer` - **Description:** @@ -1669,6 +1734,7 @@ - **Default:** `10` + #### `MaxDatabaseSize` - **Description:** @@ -1680,6 +1746,7 @@ - **Default:** `10000` (10 MB) + #### `MailRetentionDays` - **Description:** @@ -1733,6 +1800,7 @@ - **Default:** `false` + #### `Should_Resize` - **Description:** @@ -1760,6 +1828,7 @@ - **Default:** `false` + #### `Resize_To` - **Description:** @@ -1771,6 +1840,7 @@ - **Default:** `256` + #### `Auto_Render_On_Update` - **Description:** @@ -1790,6 +1860,7 @@ - **Default:** `false` + #### `Delete_All_On_Unload` - **Description:** @@ -1803,6 +1874,7 @@ - **Default:** `true` + #### `Notify_On_First_Update` - **Description:** @@ -1835,6 +1907,7 @@ - **Default:** `false` + #### `File` - **Description:** @@ -1844,6 +1917,7 @@ - **Default:** `playerlog.txt` + #### `Delay` - **Description:** @@ -1885,6 +1959,7 @@ - **Default:** `false` + #### `AutoTpaccept` - **Description:** @@ -1898,6 +1973,7 @@ - **Default:** `true` + #### `AutoTpaccept_Everyone` - **Description:** @@ -1951,6 +2027,7 @@ - **Default:** `false` + #### `Backup_Interval` - **Description:** @@ -1986,6 +2063,7 @@ - **Default:** `false` + ### Defining a task - **Description:** @@ -2061,6 +2139,7 @@ ``` + ### Full example ```toml diff --git a/docs/l10n/sv/guide/configuration.md b/docs/l10n/sv/guide/configuration.md index 30dd9cd6..71a5ed16 100644 --- a/docs/l10n/sv/guide/configuration.md +++ b/docs/l10n/sv/guide/configuration.md @@ -144,7 +144,7 @@ Coordinate = { x = 145, y = 64, y = 2045 } This setting is where you define which language you want to use. - When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages. These files describe how some messages should be printed depending on your preferred language. + When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages.These files describe how some messages should be printed depending on your preferred language. The client will automatically load `en_GB.lang` from your Minecraft folder if Minecraft is installed on your computer, or download it from Mojang's servers. You may choose another language in the configuration file. @@ -465,7 +465,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Use `no`, `fast` (5s timeout), or `yes`. Required for joining some servers. + Use `no`, `fast` (5s timeout), or `yes`. + + Required for joining some servers. - **Type:** `string` @@ -648,7 +650,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Affects only Minecraft 1.19+. This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. + Affects only Minecraft 1.19+. + + This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. #### `LoginWithSecureProfile` @@ -674,7 +678,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Whether to sign the messages contained in the commands sent by the MCC. For example, the message in `/msg` and `/me` + Whether to sign the messages contained in the commands sent by the MCC. + + For example, the message in `/msg` and `/me` - **Type:** `boolean` @@ -768,7 +774,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - This setting allows you to define if your want to see info messages. Most of the messages from MCC. + This setting allows you to define if your want to see info messages. + + Most of the messages from MCC. - **Type:** `boolean` @@ -955,7 +963,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - The proxy server IP and port. Proxy server must allow HTTPS for login, and non-443 ports for playing. + The proxy server IP and port. + + Proxy server must allow HTTPS for login, and non-443 ports for playing. - **Format:** diff --git a/docs/l10n/sv/guide/creating-bots.md b/docs/l10n/sv/guide/creating-bots.md index 9e46df68..bc5e2d77 100644 --- a/docs/l10n/sv/guide/creating-bots.md +++ b/docs/l10n/sv/guide/creating-bots.md @@ -99,7 +99,9 @@ Chat Bot (Script) structure is the following: ``` -**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. Every single Chat Bot (Script) must have this section at the beginning in order to work. +**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. + +Every single Chat Bot (Script) must have this section at the beginning in order to work. ### Script Metadata Format @@ -165,7 +167,9 @@ After the end of the **Script Metadata** section, you basically can define any n 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.. +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..

Tip

diff --git a/docs/l10n/sv/guide/installation.md b/docs/l10n/sv/guide/installation.md index 256241f6..92f61049 100644 --- a/docs/l10n/sv/guide/installation.md +++ b/docs/l10n/sv/guide/installation.md @@ -190,7 +190,11 @@ docker build -t minecraft-console-client:latest . docker run -it -v :/opt/data minecraft-console-client:latest ``` -Now you could login and the Client is running. To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. To reattach use the `docker attach` command. +Now you could login and the Client is running. + +To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. + +To reattach use the `docker attach` command. **Start the container using docker-compose:** @@ -222,7 +226,9 @@ docker-compose up docker-compose up -d #for deamonized running in the background ``` -Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. As above, you can stop and remove the container using +Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. + +As above, you can stop and remove the container using ```bash docker-compose down @@ -313,7 +319,9 @@ Once the script has downloaded, run it with: bash ubuntu.sh ``` -Then you will be asked a question, enter `Y` and press `Enter`. Once the installation is complete, you can start Ubuntu with: +Then you will be asked a question, enter `Y` and press `Enter`. + +Once the installation is complete, you can start Ubuntu with: ```bash ./startubuntu.sh @@ -499,7 +507,9 @@ To stop MCC from running you can press `CTRL + C` To edit the configuration/settings, you need a text editor, we recommend Nano, as it's very simple to use, if you have followed the installation steps above, you should be familiar with it, if not, check out [this tutorial](https://www.youtube.com/watch?v=DLeATFgGM-A). -For downloading files, you can use the `wget` file we have installed, simply run: `wget your_link_here` (you have examples above, and a video tutorial down bellow). +For downloading files, you can use the `wget` file we have installed, simply run: + +`wget your_link_here` (you have examples above, and a video tutorial down bellow). Also, here are some linux tutorials for people who are new to it: @@ -644,7 +654,9 @@ You also may want to search for better deals.
-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). +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 @@ -862,7 +874,11 @@ Make a new empty file named `authorized_keys`: touch authorized_keys ``` -Do no close the Git bash/Terminal emulator. On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). +Do no close the Git bash/Terminal emulator. + +On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. + +Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). Type the following command: @@ -940,7 +956,9 @@ Let's check if everything is working correctly: sudo systemctl status sshd ``` -If everything has been configured as it should be you should see `active (running)` as a status of the service. If not, open the config file again and check for mistakes. +If everything has been configured as it should be you should see `active (running)` as a status of the service. + +If not, open the config file again and check for mistakes. Press `q` to exit the log mode. diff --git a/docs/l10n/sv/guide/usage.md b/docs/l10n/sv/guide/usage.md index d0ccab5e..e65294df 100644 --- a/docs/l10n/sv/guide/usage.md +++ b/docs/l10n/sv/guide/usage.md @@ -236,7 +236,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q - **Description:** - Allows you to list and unload a specific bot or all bots. Useful when debugging and developing scripts. + Allows you to list and unload a specific bot or all bots. + + Useful when debugging and developing scripts. - **Usage:** @@ -404,7 +406,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q Allows you to execute a command if a specific condition is met. - The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. + The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. + + The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. Also the instance of MCC is available with `MCC.`. diff --git a/docs/l10n/tr/guide/README.md b/docs/l10n/tr/guide/README.md index 63343912..c92ac588 100644 --- a/docs/l10n/tr/guide/README.md +++ b/docs/l10n/tr/guide/README.md @@ -150,14 +150,26 @@ Minecraft Console Client also borrows code from the following libraries: ## Disclaimer -Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. +Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. -Also, remember that when you connect to a server with this program, you will appear where you left the last time. This means that **you can die if you log in in an unsafe place on a survival server!** Use the script scheduler bot to send a teleport command after logging in. +This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. + +Also, remember that when you connect to a server with this program, you will appear where you left the last time. + +This means that **you can die if you log in in an unsafe place on a survival server!** + +Use the script scheduler bot to send a teleport command after logging in. We remind you that **you may get banned** by your server for using this program. Use accordingly with server rules. ## License -Minecraft Console Client is a totally free of charge, open source project. The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) +Minecraft Console Client is a totally free of charge, open source project. -Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) +The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) + +Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. + +More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) + +Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) diff --git a/docs/l10n/tr/guide/chat-bots.md b/docs/l10n/tr/guide/chat-bots.md index b75e53a9..c841333e 100644 --- a/docs/l10n/tr/guide/chat-bots.md +++ b/docs/l10n/tr/guide/chat-bots.md @@ -67,6 +67,7 @@ - **Default:** `false` + #### `Beep_Enabled`

Tip

@@ -84,6 +85,7 @@ - **Default:** `true` + #### `Trigger_By_Words` - **Description:** @@ -97,6 +99,7 @@ - **Default:** `false` + #### `Trigger_By_Rain` - **Description:** @@ -110,6 +113,7 @@ - **Default:** `false` + #### `Trigger_By_Thunderstorm` - **Description:** @@ -123,6 +127,7 @@ - **Default:** `false` + #### `Log_To_File` - **Description:** @@ -136,6 +141,7 @@ - **Default:** `false` + #### `Log_File` - **Description:** @@ -147,6 +153,7 @@ - **Default:** `"alerts-log.txt"` + #### `Matches` - **Description:** @@ -162,6 +169,7 @@ ``` + #### `Excludes` - **Description:** @@ -199,6 +207,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -214,6 +223,7 @@ - **Default:** `{ min = 60.0, max = 60.0 }` + #### `Command` - **Description:** @@ -225,6 +235,7 @@ - **Default:** `/ping` + #### `Use_Sneak` - **Description:** @@ -236,20 +247,21 @@ - **Default:** `false` + #### `Use_Terrain_Handling` +

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)** + +
+ - **Description:** 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. -

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`. - **Type:** `boolean` @@ -257,6 +269,7 @@ - **Default:** `false` + #### `Walk_Range` - **Description:** @@ -268,32 +281,33 @@ - **Default:** `5` + #### `Walk_Retries` +

Tip

+ + **This happens on each trigger of the task, so it does not permanently switch to alternative method.** + +
+ - **Description:** 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. -

Tip

- - **This happens on each trigger of the task, so it does not permanently switch to alternative method.** - -
- - **Default:** `20` ## Auto Attack +

Tip

+ +**You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** + +
+ - **Description:** Automatically attacks mobs around you, you can configure it to attack both hostile and passive mobs and only certain mobs or all mobs. -

Tip

- - **You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** - -
- - **Settings:** **Section:** **`ChatBot.AutoAttack`** @@ -311,6 +325,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -330,6 +345,7 @@ - **Default:** `single` + #### `Priority` - **Description:** @@ -344,6 +360,7 @@ - **Default:** `distance` + #### `Cooldown_Time` - **Description:** @@ -363,6 +380,7 @@ - **Default:** `{ Custom = false, value = 1.0 }` + #### `Interaction` - **Description:** @@ -386,6 +404,7 @@ - **Default:** `Attack` + #### `Attack_Hostile` - **Description:** @@ -399,6 +418,7 @@ - **Default:** `true` + #### `Attack_Passive` - **Description:** @@ -412,6 +432,7 @@ - **Default:** `false` + #### `List_Mode` - **Description:** @@ -425,6 +446,7 @@ - **Default:** `whitelist` + #### `Entites_List` - **Description:** @@ -443,16 +465,16 @@ ## Auto Craft +

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.** + +
+ - **Description:** Automatically craft items in your inventory or in a 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:** - `/autocraft list` @@ -476,6 +498,7 @@ **Section:** **`ChatBot.AutoCraft`** + #### `Enabled` - **Description:** @@ -489,6 +512,7 @@ - **Default:** `false` + #### `CraftingTable` - **Description:** @@ -512,6 +536,7 @@ ``` + #### `OnFailure` - **Description:** @@ -527,8 +552,15 @@ - **Default:** `abort` + ### Defining a recipe +

Tip

+ + **If you're using `table` you need to set the `CraftingTable` setting.** + +
+ The recipes are defines as a separate new sub-section `[[ChatBot.AutoCraft.Recipes]]` of the `[ChatBot.AutoCraft]` section. The `[[ChatBot.AutoCraft.Recipes]]` section needs to contain the following settings: @@ -543,12 +575,6 @@ **Avaliable values:** `player` and `table` -

Tip

- - **If you're using `table` you need to set the `CraftingTable` setting.** - -
- - `Result` This is the type of resulting item. @@ -569,17 +595,6 @@ Slots = [ "", "", ... ] ``` -

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", ]`** - -
- -

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:** @@ -625,6 +640,10 @@

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", ]`** + + **All item types can be found [here](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/Inventory/ItemType.cs).** + **Make sure to provide materials for your bot by placing them in inventory first.**
@@ -658,6 +677,7 @@ **Section:** **`ChatBot.AutoDig`** + #### `Enabled` - **Description:** @@ -671,6 +691,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -696,6 +717,7 @@ - **Default:** `lookat` + #### `Locations` - **Description:** @@ -722,6 +744,7 @@ ``` + #### `Location_Order` - **Description:** @@ -743,6 +766,7 @@ - **Default:** `distance` + #### `Auto_Start_Delay` - **Description:** @@ -756,6 +780,7 @@ - **Default:** `3.0` + #### `Dig_Timeout` - **Description:** @@ -767,6 +792,7 @@ - **Default:** `60.0` + #### `Log_Block_Dig` - **Description:** @@ -780,6 +806,7 @@ - **Default:** `true` + #### `List_Type` - **Description:** @@ -793,6 +820,7 @@ - **Default:** `whitelist` + #### `Blocks` - **Description:** @@ -838,6 +866,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -865,6 +894,7 @@ - **Default:** `include` + #### `Items` - **Description:** @@ -914,6 +944,7 @@ - **Default:** `false` + #### `Threshold` - **Description:** @@ -966,6 +997,7 @@ **Section:** **`ChatBot.AutoFishing`** + #### `Enabled` - **Description:** @@ -979,6 +1011,7 @@ - **Default:** `false` + #### `Antidespawn` - **Description:** @@ -992,6 +1025,7 @@ - **Default:** `false` + #### `Mainhand` - **Description:** @@ -1008,6 +1042,7 @@ - **Default:** `true` + #### `Auto_Start` - **Description:** @@ -1021,6 +1056,7 @@ - **Default:** `true` + #### `Cast_Delay` - **Description:** @@ -1032,6 +1068,7 @@ - **Default:** `0.4` + #### `Fishing_Delay` - **Description:** @@ -1045,6 +1082,7 @@ - **Default:** `3.0` + #### `Fishing_Timeout` - **Description:** @@ -1056,6 +1094,7 @@ - **Default:** `300.0` + #### `Durability_Limit` - **Description:** @@ -1069,6 +1108,7 @@ - **Default:** `2` + #### `Auto_Rod_Switch` - **Description:** @@ -1082,6 +1122,7 @@ - **Default:** `true` + #### `Stationary_Threshold` - **Description:** @@ -1099,6 +1140,7 @@ - **Default:** `0.001` + #### `Hook_Threshold` - **Description:** @@ -1114,6 +1156,7 @@ - **Default:** `0.2` + #### `Log_Fish_Bobber` - **Description:** @@ -1129,6 +1172,7 @@ - **Default:** `false` + #### `Enable_Move` - **Description:** @@ -1144,6 +1188,7 @@ - **Default:** `false` + ### Adding a position/movement Each position/movement is added as a new `[[ChatBot.AutoFishing.Movements]]` subsection of `[ChatBot.AutoFishing]`. @@ -1185,6 +1230,7 @@ ``` + #### Full example ```toml @@ -1219,6 +1265,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -1236,6 +1283,7 @@ - **Default:** `{ min = 3.0, max = 3.0 }` + #### `Retries` - **Description:** @@ -1253,6 +1301,7 @@ - **Default:** `-1` + #### `Ignore_Kick_Message` - **Description:** @@ -1264,6 +1313,7 @@ - **Default:** `false` + #### `Kick_Messages` - **Description:** @@ -1311,6 +1361,7 @@ - **Default:** `false` + #### `Matches_File` - **Description:** @@ -1332,6 +1383,7 @@ - **Default:** `matches.ini` + #### `Match_Colors` - **Description:** @@ -1373,6 +1425,7 @@ - **Default:** `false` + #### `Add_DateTime` - **Description:** @@ -1384,6 +1437,7 @@ - **Default:** `true` + #### `Log_File` - **Description:** @@ -1393,6 +1447,7 @@ - **Default:** `chatlog-%username%-%serverip%.txt` + #### `Filter` - **Description:** @@ -1458,6 +1513,7 @@ - **Default:** `false` + #### `Update_Limit` - **Description:** @@ -1471,6 +1527,7 @@ - **Default:** `1.5` + #### `Stop_At_Distance` - **Description:** @@ -1512,6 +1569,7 @@ - **Default:** `false` + #### `English` - **Description:** @@ -1523,6 +1581,7 @@ - **Default:** `true` + #### `FileWords_EN` - **Description:** @@ -1539,6 +1598,7 @@ - **Example**: [`words-en.txt`](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/config/hangman-en.txt) + #### `FileWords_FR` - **Description:** @@ -1610,6 +1670,7 @@ **Section:** **`ChatBot.Mailer`** + #### `Enabled` - **Description:** @@ -1623,6 +1684,7 @@ - **Default:** `false` + #### `DatabaseFile` - **Description:** @@ -1634,6 +1696,7 @@ - **Default:** `MailerDatabase.ini` + #### `IgnoreListFile` - **Description:** @@ -1645,6 +1708,7 @@ - **Default:** `MailerIgnoreList.ini` + #### `PublicInteractions` - **Description:** @@ -1658,6 +1722,7 @@ - **Default:** `false` + #### `MaxMailsPerPlayer` - **Description:** @@ -1669,6 +1734,7 @@ - **Default:** `10` + #### `MaxDatabaseSize` - **Description:** @@ -1680,6 +1746,7 @@ - **Default:** `10000` (10 MB) + #### `MailRetentionDays` - **Description:** @@ -1733,6 +1800,7 @@ - **Default:** `false` + #### `Should_Resize` - **Description:** @@ -1760,6 +1828,7 @@ - **Default:** `false` + #### `Resize_To` - **Description:** @@ -1771,6 +1840,7 @@ - **Default:** `256` + #### `Auto_Render_On_Update` - **Description:** @@ -1790,6 +1860,7 @@ - **Default:** `false` + #### `Delete_All_On_Unload` - **Description:** @@ -1803,6 +1874,7 @@ - **Default:** `true` + #### `Notify_On_First_Update` - **Description:** @@ -1835,6 +1907,7 @@ - **Default:** `false` + #### `File` - **Description:** @@ -1844,6 +1917,7 @@ - **Default:** `playerlog.txt` + #### `Delay` - **Description:** @@ -1885,6 +1959,7 @@ - **Default:** `false` + #### `AutoTpaccept` - **Description:** @@ -1898,6 +1973,7 @@ - **Default:** `true` + #### `AutoTpaccept_Everyone` - **Description:** @@ -1951,6 +2027,7 @@ - **Default:** `false` + #### `Backup_Interval` - **Description:** @@ -1986,6 +2063,7 @@ - **Default:** `false` + ### Defining a task - **Description:** @@ -2061,6 +2139,7 @@ ``` + ### Full example ```toml diff --git a/docs/l10n/tr/guide/configuration.md b/docs/l10n/tr/guide/configuration.md index 272bbe02..a391da7b 100644 --- a/docs/l10n/tr/guide/configuration.md +++ b/docs/l10n/tr/guide/configuration.md @@ -144,7 +144,7 @@ Coordinate = { x = 145, y = 64, y = 2045 } This setting is where you define which language you want to use. - When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages. These files describe how some messages should be printed depending on your preferred language. + When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages.These files describe how some messages should be printed depending on your preferred language. The client will automatically load `en_GB.lang` from your Minecraft folder if Minecraft is installed on your computer, or download it from Mojang's servers. You may choose another language in the configuration file. @@ -465,7 +465,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Use `no`, `fast` (5s timeout), or `yes`. Required for joining some servers. + Use `no`, `fast` (5s timeout), or `yes`. + + Required for joining some servers. - **Type:** `string` @@ -648,7 +650,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Affects only Minecraft 1.19+. This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. + Affects only Minecraft 1.19+. + + This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. #### `LoginWithSecureProfile` @@ -674,7 +678,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Whether to sign the messages contained in the commands sent by the MCC. For example, the message in `/msg` and `/me` + Whether to sign the messages contained in the commands sent by the MCC. + + For example, the message in `/msg` and `/me` - **Type:** `boolean` @@ -768,7 +774,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - This setting allows you to define if your want to see info messages. Most of the messages from MCC. + This setting allows you to define if your want to see info messages. + + Most of the messages from MCC. - **Type:** `boolean` @@ -955,7 +963,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - The proxy server IP and port. Proxy sunucusu, oturum açmak için HTTPSye ve oynatma için 443 olmayan bağlantı noktalarına izin vermelidir. + The proxy server IP and port. + + Proxy sunucusu, oturum açmak için HTTPSye ve oynatma için 443 olmayan bağlantı noktalarına izin vermelidir. - **Format:** diff --git a/docs/l10n/tr/guide/creating-bots.md b/docs/l10n/tr/guide/creating-bots.md index 9e46df68..bc5e2d77 100644 --- a/docs/l10n/tr/guide/creating-bots.md +++ b/docs/l10n/tr/guide/creating-bots.md @@ -99,7 +99,9 @@ Chat Bot (Script) structure is the following: ``` -**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. Every single Chat Bot (Script) must have this section at the beginning in order to work. +**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. + +Every single Chat Bot (Script) must have this section at the beginning in order to work. ### Script Metadata Format @@ -165,7 +167,9 @@ After the end of the **Script Metadata** section, you basically can define any n 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.. +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..

Tip

diff --git a/docs/l10n/tr/guide/installation.md b/docs/l10n/tr/guide/installation.md index 6d462d16..edf6c12e 100644 --- a/docs/l10n/tr/guide/installation.md +++ b/docs/l10n/tr/guide/installation.md @@ -190,7 +190,11 @@ docker build -t minecraft-console-client:latest . docker run -it -v :/opt/data minecraft-console-client:latest ``` -Now you could login and the Client is running. To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. To reattach use the `docker attach` command. +Now you could login and the Client is running. + +To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. + +To reattach use the `docker attach` command. **Start the container using docker-compose:** @@ -222,7 +226,9 @@ docker-compose up docker-compose up -d #for deamonized running in the background ``` -Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. As above, you can stop and remove the container using +Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. + +As above, you can stop and remove the container using ```bash docker-compose down @@ -313,7 +319,9 @@ Once the script has downloaded, run it with: bash ubuntu.sh ``` -Then you will be asked a question, enter `Y` and press `Enter`. Once the installation is complete, you can start Ubuntu with: +Then you will be asked a question, enter `Y` and press `Enter`. + +Once the installation is complete, you can start Ubuntu with: ```bash ./startubuntu.sh @@ -499,7 +507,9 @@ To stop MCC from running you can press `CTRL + C` To edit the configuration/settings, you need a text editor, we recommend Nano, as it's very simple to use, if you have followed the installation steps above, you should be familiar with it, if not, check out [this tutorial](https://www.youtube.com/watch?v=DLeATFgGM-A). -For downloading files, you can use the `wget` file we have installed, simply run: `wget your_link_here` (you have examples above, and a video tutorial down bellow). +For downloading files, you can use the `wget` file we have installed, simply run: + +`wget your_link_here` (you have examples above, and a video tutorial down bellow). Also, here are some linux tutorials for people who are new to it: @@ -644,7 +654,9 @@ You also may want to search for better deals.
-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). +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 @@ -862,7 +874,11 @@ Make a new empty file named `authorized_keys`: touch authorized_keys ``` -Do no close the Git bash/Terminal emulator. On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). +Do no close the Git bash/Terminal emulator. + +On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. + +Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). Type the following command: @@ -940,7 +956,9 @@ Let's check if everything is working correctly: sudo systemctl status sshd ``` -If everything has been configured as it should be you should see `active (running)` as a status of the service. If not, open the config file again and check for mistakes. +If everything has been configured as it should be you should see `active (running)` as a status of the service. + +If not, open the config file again and check for mistakes. Press `q` to exit the log mode. diff --git a/docs/l10n/tr/guide/usage.md b/docs/l10n/tr/guide/usage.md index 160e847a..be83ebc9 100644 --- a/docs/l10n/tr/guide/usage.md +++ b/docs/l10n/tr/guide/usage.md @@ -236,7 +236,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q - **Description:** - Allows you to list and unload a specific bot or all bots. Useful when debugging and developing scripts. + Allows you to list and unload a specific bot or all bots. + + Useful when debugging and developing scripts. - **Kullanım:** @@ -404,7 +406,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q Allows you to execute a command if a specific condition is met. - The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. + The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. + + The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. Also the instance of MCC is available with `MCC.`. diff --git a/docs/l10n/uk/guide/README.md b/docs/l10n/uk/guide/README.md index 81e1aee3..ce5a9b7c 100644 --- a/docs/l10n/uk/guide/README.md +++ b/docs/l10n/uk/guide/README.md @@ -150,14 +150,26 @@ Minecraft Console Client also borrows code from the following libraries: ## Disclaimer -Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. +Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. -Also, remember that when you connect to a server with this program, you will appear where you left the last time. This means that **you can die if you log in in an unsafe place on a survival server!** Use the script scheduler bot to send a teleport command after logging in. +This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. + +Also, remember that when you connect to a server with this program, you will appear where you left the last time. + +This means that **you can die if you log in in an unsafe place on a survival server!** + +Use the script scheduler bot to send a teleport command after logging in. We remind you that **you may get banned** by your server for using this program. Use accordingly with server rules. ## License -Minecraft Console Client is a totally free of charge, open source project. The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) +Minecraft Console Client is a totally free of charge, open source project. -Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) +The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) + +Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. + +More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) + +Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) diff --git a/docs/l10n/uk/guide/chat-bots.md b/docs/l10n/uk/guide/chat-bots.md index c67efc3d..64b6a790 100644 --- a/docs/l10n/uk/guide/chat-bots.md +++ b/docs/l10n/uk/guide/chat-bots.md @@ -67,6 +67,7 @@ - **Default:** `false` + #### `Beep_Enabled`

Tip

@@ -84,6 +85,7 @@ - **Default:** `true` + #### `Trigger_By_Words` - **Description:** @@ -97,6 +99,7 @@ - **Default:** `false` + #### `Trigger_By_Rain` - **Description:** @@ -110,6 +113,7 @@ - **Default:** `false` + #### `Trigger_By_Thunderstorm` - **Description:** @@ -123,6 +127,7 @@ - **Default:** `false` + #### `Log_To_File` - **Description:** @@ -136,6 +141,7 @@ - **Default:** `false` + #### `Log_File` - **Description:** @@ -147,6 +153,7 @@ - **Default:** `"alerts-log.txt"` + #### `Matches` - **Description:** @@ -162,6 +169,7 @@ ``` + #### `Excludes` - **Description:** @@ -199,6 +207,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -214,6 +223,7 @@ - **Default:** `{ min = 60.0, max = 60.0 }` + #### `Command` - **Description:** @@ -225,6 +235,7 @@ - **Default:** `/ping` + #### `Use_Sneak` - **Description:** @@ -236,20 +247,21 @@ - **Default:** `false` + #### `Use_Terrain_Handling` +

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)** + +
+ - **Description:** 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. -

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`. - **Type:** `boolean` @@ -257,6 +269,7 @@ - **Default:** `false` + #### `Walk_Range` - **Description:** @@ -268,32 +281,33 @@ - **Default:** `5` + #### `Walk_Retries` +

Tip

+ + **This happens on each trigger of the task, so it does not permanently switch to alternative method.** + +
+ - **Description:** 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. -

Tip

- - **This happens on each trigger of the task, so it does not permanently switch to alternative method.** - -
- - **Default:** `20` ## Auto Attack +

Tip

+ +**You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** + +
+ - **Description:** Automatically attacks mobs around you, you can configure it to attack both hostile and passive mobs and only certain mobs or all mobs. -

Tip

- - **You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** - -
- - **Settings:** **Section:** **`ChatBot.AutoAttack`** @@ -311,6 +325,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -330,6 +345,7 @@ - **Default:** `single` + #### `Priority` - **Description:** @@ -344,6 +360,7 @@ - **Default:** `distance` + #### `Cooldown_Time` - **Description:** @@ -363,6 +380,7 @@ - **Default:** `{ Custom = false, value = 1.0 }` + #### `Interaction` - **Description:** @@ -386,6 +404,7 @@ - **Default:** `Attack` + #### `Attack_Hostile` - **Description:** @@ -399,6 +418,7 @@ - **Default:** `true` + #### `Attack_Passive` - **Description:** @@ -412,6 +432,7 @@ - **Default:** `false` + #### `List_Mode` - **Description:** @@ -425,6 +446,7 @@ - **Default:** `whitelist` + #### `Entites_List` - **Description:** @@ -443,16 +465,16 @@ ## Auto Craft +

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.** + +
+ - **Description:** Automatically craft items in your inventory or in a 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:** - `/autocraft list` @@ -476,6 +498,7 @@ **Section:** **`ChatBot.AutoCraft`** + #### `Enabled` - **Description:** @@ -489,6 +512,7 @@ - **Default:** `false` + #### `CraftingTable` - **Description:** @@ -512,6 +536,7 @@ ``` + #### `OnFailure` - **Description:** @@ -527,8 +552,15 @@ - **Default:** `abort` + ### Defining a recipe +

Tip

+ + **If you're using `table` you need to set the `CraftingTable` setting.** + +
+ The recipes are defines as a separate new sub-section `[[ChatBot.AutoCraft.Recipes]]` of the `[ChatBot.AutoCraft]` section. The `[[ChatBot.AutoCraft.Recipes]]` section needs to contain the following settings: @@ -543,12 +575,6 @@ **Avaliable values:** `player` and `table` -

Tip

- - **If you're using `table` you need to set the `CraftingTable` setting.** - -
- - `Result` This is the type of resulting item. @@ -569,17 +595,6 @@ Slots = [ "", "", ... ] ``` -

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", ]`** - -
- -

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:** @@ -625,6 +640,10 @@

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", ]`** + + **All item types can be found [here](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/Inventory/ItemType.cs).** + **Make sure to provide materials for your bot by placing them in inventory first.**
@@ -658,6 +677,7 @@ **Section:** **`ChatBot.AutoDig`** + #### `Enabled` - **Description:** @@ -671,6 +691,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -696,6 +717,7 @@ - **Default:** `lookat` + #### `Locations` - **Description:** @@ -722,6 +744,7 @@ ``` + #### `Location_Order` - **Description:** @@ -743,6 +766,7 @@ - **Default:** `distance` + #### `Auto_Start_Delay` - **Description:** @@ -756,6 +780,7 @@ - **Default:** `3.0` + #### `Dig_Timeout` - **Description:** @@ -767,6 +792,7 @@ - **Default:** `60.0` + #### `Log_Block_Dig` - **Description:** @@ -780,6 +806,7 @@ - **Default:** `true` + #### `List_Type` - **Description:** @@ -793,6 +820,7 @@ - **Default:** `whitelist` + #### `Blocks` - **Description:** @@ -838,6 +866,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -865,6 +894,7 @@ - **Default:** `include` + #### `Items` - **Description:** @@ -914,6 +944,7 @@ - **Default:** `false` + #### `Threshold` - **Description:** @@ -966,6 +997,7 @@ **Section:** **`ChatBot.AutoFishing`** + #### `Enabled` - **Description:** @@ -979,6 +1011,7 @@ - **Default:** `false` + #### `Antidespawn` - **Description:** @@ -992,6 +1025,7 @@ - **Default:** `false` + #### `Mainhand` - **Description:** @@ -1008,6 +1042,7 @@ - **Default:** `true` + #### `Auto_Start` - **Description:** @@ -1021,6 +1056,7 @@ - **Default:** `true` + #### `Cast_Delay` - **Description:** @@ -1032,6 +1068,7 @@ - **Default:** `0.4` + #### `Fishing_Delay` - **Description:** @@ -1045,6 +1082,7 @@ - **Default:** `3.0` + #### `Fishing_Timeout` - **Description:** @@ -1056,6 +1094,7 @@ - **Default:** `300.0` + #### `Durability_Limit` - **Description:** @@ -1069,6 +1108,7 @@ - **Default:** `2` + #### `Auto_Rod_Switch` - **Description:** @@ -1082,6 +1122,7 @@ - **Default:** `true` + #### `Stationary_Threshold` - **Description:** @@ -1099,6 +1140,7 @@ - **Default:** `0.001` + #### `Hook_Threshold` - **Description:** @@ -1114,6 +1156,7 @@ - **Default:** `0.2` + #### `Log_Fish_Bobber` - **Description:** @@ -1129,6 +1172,7 @@ - **Default:** `false` + #### `Enable_Move` - **Description:** @@ -1144,6 +1188,7 @@ - **Default:** `false` + ### Adding a position/movement Each position/movement is added as a new `[[ChatBot.AutoFishing.Movements]]` subsection of `[ChatBot.AutoFishing]`. @@ -1185,6 +1230,7 @@ ``` + #### Full example ```toml @@ -1219,6 +1265,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -1236,6 +1283,7 @@ - **Default:** `{ min = 3.0, max = 3.0 }` + #### `Retries` - **Description:** @@ -1253,6 +1301,7 @@ - **Default:** `-1` + #### `Ignore_Kick_Message` - **Description:** @@ -1264,6 +1313,7 @@ - **Default:** `false` + #### `Kick_Messages` - **Description:** @@ -1311,6 +1361,7 @@ - **Default:** `false` + #### `Matches_File` - **Description:** @@ -1332,6 +1383,7 @@ - **Default:** `matches.ini` + #### `Match_Colors` - **Description:** @@ -1373,6 +1425,7 @@ - **Default:** `false` + #### `Add_DateTime` - **Description:** @@ -1384,6 +1437,7 @@ - **Default:** `true` + #### `Log_File` - **Description:** @@ -1393,6 +1447,7 @@ - **Default:** `chatlog-%username%-%serverip%.txt` + #### `Filter` - **Description:** @@ -1458,6 +1513,7 @@ - **Default:** `false` + #### `Update_Limit` - **Description:** @@ -1471,6 +1527,7 @@ - **Default:** `1.5` + #### `Stop_At_Distance` - **Description:** @@ -1512,6 +1569,7 @@ - **Default:** `false` + #### `English` - **Description:** @@ -1523,6 +1581,7 @@ - **Default:** `true` + #### `FileWords_EN` - **Description:** @@ -1539,6 +1598,7 @@ - **Example**: [`words-en.txt`](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/config/hangman-en.txt) + #### `FileWords_FR` - **Description:** @@ -1610,6 +1670,7 @@ **Section:** **`ChatBot.Mailer`** + #### `Enabled` - **Description:** @@ -1623,6 +1684,7 @@ - **Default:** `false` + #### `DatabaseFile` - **Description:** @@ -1634,6 +1696,7 @@ - **Default:** `MailerDatabase.ini` + #### `IgnoreListFile` - **Description:** @@ -1645,6 +1708,7 @@ - **Default:** `MailerIgnoreList.ini` + #### `PublicInteractions` - **Description:** @@ -1658,6 +1722,7 @@ - **Default:** `false` + #### `MaxMailsPerPlayer` - **Description:** @@ -1669,6 +1734,7 @@ - **Default:** `10` + #### `MaxDatabaseSize` - **Description:** @@ -1680,6 +1746,7 @@ - **Default:** `10000` (10 MB) + #### `MailRetentionDays` - **Description:** @@ -1733,6 +1800,7 @@ - **Default:** `false` + #### `Should_Resize` - **Description:** @@ -1760,6 +1828,7 @@ - **Default:** `false` + #### `Resize_To` - **Description:** @@ -1771,6 +1840,7 @@ - **Default:** `256` + #### `Auto_Render_On_Update` - **Description:** @@ -1790,6 +1860,7 @@ - **Default:** `false` + #### `Delete_All_On_Unload` - **Description:** @@ -1803,6 +1874,7 @@ - **Default:** `true` + #### `Notify_On_First_Update` - **Description:** @@ -1835,6 +1907,7 @@ - **Default:** `false` + #### `File` - **Description:** @@ -1844,6 +1917,7 @@ - **Default:** `playerlog.txt` + #### `Delay` - **Description:** @@ -1885,6 +1959,7 @@ - **Default:** `false` + #### `AutoTpaccept` - **Description:** @@ -1898,6 +1973,7 @@ - **Default:** `true` + #### `AutoTpaccept_Everyone` - **Description:** @@ -1951,6 +2027,7 @@ - **Default:** `false` + #### `Backup_Interval` - **Description:** @@ -1986,6 +2063,7 @@ - **Default:** `false` + ### Defining a task - **Description:** @@ -2061,6 +2139,7 @@ ``` + ### Full example ```toml diff --git a/docs/l10n/uk/guide/configuration.md b/docs/l10n/uk/guide/configuration.md index 30dd9cd6..71a5ed16 100644 --- a/docs/l10n/uk/guide/configuration.md +++ b/docs/l10n/uk/guide/configuration.md @@ -144,7 +144,7 @@ Coordinate = { x = 145, y = 64, y = 2045 } This setting is where you define which language you want to use. - When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages. These files describe how some messages should be printed depending on your preferred language. + When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages.These files describe how some messages should be printed depending on your preferred language. The client will automatically load `en_GB.lang` from your Minecraft folder if Minecraft is installed on your computer, or download it from Mojang's servers. You may choose another language in the configuration file. @@ -465,7 +465,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Use `no`, `fast` (5s timeout), or `yes`. Required for joining some servers. + Use `no`, `fast` (5s timeout), or `yes`. + + Required for joining some servers. - **Type:** `string` @@ -648,7 +650,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Affects only Minecraft 1.19+. This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. + Affects only Minecraft 1.19+. + + This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. #### `LoginWithSecureProfile` @@ -674,7 +678,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Whether to sign the messages contained in the commands sent by the MCC. For example, the message in `/msg` and `/me` + Whether to sign the messages contained in the commands sent by the MCC. + + For example, the message in `/msg` and `/me` - **Type:** `boolean` @@ -768,7 +774,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - This setting allows you to define if your want to see info messages. Most of the messages from MCC. + This setting allows you to define if your want to see info messages. + + Most of the messages from MCC. - **Type:** `boolean` @@ -955,7 +963,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - The proxy server IP and port. Proxy server must allow HTTPS for login, and non-443 ports for playing. + The proxy server IP and port. + + Proxy server must allow HTTPS for login, and non-443 ports for playing. - **Format:** diff --git a/docs/l10n/uk/guide/creating-bots.md b/docs/l10n/uk/guide/creating-bots.md index 9e46df68..bc5e2d77 100644 --- a/docs/l10n/uk/guide/creating-bots.md +++ b/docs/l10n/uk/guide/creating-bots.md @@ -99,7 +99,9 @@ Chat Bot (Script) structure is the following: ``` -**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. Every single Chat Bot (Script) must have this section at the beginning in order to work. +**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. + +Every single Chat Bot (Script) must have this section at the beginning in order to work. ### Script Metadata Format @@ -165,7 +167,9 @@ After the end of the **Script Metadata** section, you basically can define any n 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.. +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..

Tip

diff --git a/docs/l10n/uk/guide/installation.md b/docs/l10n/uk/guide/installation.md index 256241f6..92f61049 100644 --- a/docs/l10n/uk/guide/installation.md +++ b/docs/l10n/uk/guide/installation.md @@ -190,7 +190,11 @@ docker build -t minecraft-console-client:latest . docker run -it -v :/opt/data minecraft-console-client:latest ``` -Now you could login and the Client is running. To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. To reattach use the `docker attach` command. +Now you could login and the Client is running. + +To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. + +To reattach use the `docker attach` command. **Start the container using docker-compose:** @@ -222,7 +226,9 @@ docker-compose up docker-compose up -d #for deamonized running in the background ``` -Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. As above, you can stop and remove the container using +Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. + +As above, you can stop and remove the container using ```bash docker-compose down @@ -313,7 +319,9 @@ Once the script has downloaded, run it with: bash ubuntu.sh ``` -Then you will be asked a question, enter `Y` and press `Enter`. Once the installation is complete, you can start Ubuntu with: +Then you will be asked a question, enter `Y` and press `Enter`. + +Once the installation is complete, you can start Ubuntu with: ```bash ./startubuntu.sh @@ -499,7 +507,9 @@ To stop MCC from running you can press `CTRL + C` To edit the configuration/settings, you need a text editor, we recommend Nano, as it's very simple to use, if you have followed the installation steps above, you should be familiar with it, if not, check out [this tutorial](https://www.youtube.com/watch?v=DLeATFgGM-A). -For downloading files, you can use the `wget` file we have installed, simply run: `wget your_link_here` (you have examples above, and a video tutorial down bellow). +For downloading files, you can use the `wget` file we have installed, simply run: + +`wget your_link_here` (you have examples above, and a video tutorial down bellow). Also, here are some linux tutorials for people who are new to it: @@ -644,7 +654,9 @@ You also may want to search for better deals.
-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). +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 @@ -862,7 +874,11 @@ Make a new empty file named `authorized_keys`: touch authorized_keys ``` -Do no close the Git bash/Terminal emulator. On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). +Do no close the Git bash/Terminal emulator. + +On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. + +Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). Type the following command: @@ -940,7 +956,9 @@ Let's check if everything is working correctly: sudo systemctl status sshd ``` -If everything has been configured as it should be you should see `active (running)` as a status of the service. If not, open the config file again and check for mistakes. +If everything has been configured as it should be you should see `active (running)` as a status of the service. + +If not, open the config file again and check for mistakes. Press `q` to exit the log mode. diff --git a/docs/l10n/uk/guide/usage.md b/docs/l10n/uk/guide/usage.md index d0ccab5e..e65294df 100644 --- a/docs/l10n/uk/guide/usage.md +++ b/docs/l10n/uk/guide/usage.md @@ -236,7 +236,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q - **Description:** - Allows you to list and unload a specific bot or all bots. Useful when debugging and developing scripts. + Allows you to list and unload a specific bot or all bots. + + Useful when debugging and developing scripts. - **Usage:** @@ -404,7 +406,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q Allows you to execute a command if a specific condition is met. - The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. + The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. + + The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. Also the instance of MCC is available with `MCC.`. diff --git a/docs/l10n/vi/guide/README.md b/docs/l10n/vi/guide/README.md index 81e1aee3..ce5a9b7c 100644 --- a/docs/l10n/vi/guide/README.md +++ b/docs/l10n/vi/guide/README.md @@ -150,14 +150,26 @@ Minecraft Console Client also borrows code from the following libraries: ## Disclaimer -Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. +Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. -Also, remember that when you connect to a server with this program, you will appear where you left the last time. This means that **you can die if you log in in an unsafe place on a survival server!** Use the script scheduler bot to send a teleport command after logging in. +This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. + +Also, remember that when you connect to a server with this program, you will appear where you left the last time. + +This means that **you can die if you log in in an unsafe place on a survival server!** + +Use the script scheduler bot to send a teleport command after logging in. We remind you that **you may get banned** by your server for using this program. Use accordingly with server rules. ## License -Minecraft Console Client is a totally free of charge, open source project. The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) +Minecraft Console Client is a totally free of charge, open source project. -Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) +The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) + +Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. + +More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) + +Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) diff --git a/docs/l10n/vi/guide/chat-bots.md b/docs/l10n/vi/guide/chat-bots.md index c67efc3d..64b6a790 100644 --- a/docs/l10n/vi/guide/chat-bots.md +++ b/docs/l10n/vi/guide/chat-bots.md @@ -67,6 +67,7 @@ - **Default:** `false` + #### `Beep_Enabled`

Tip

@@ -84,6 +85,7 @@ - **Default:** `true` + #### `Trigger_By_Words` - **Description:** @@ -97,6 +99,7 @@ - **Default:** `false` + #### `Trigger_By_Rain` - **Description:** @@ -110,6 +113,7 @@ - **Default:** `false` + #### `Trigger_By_Thunderstorm` - **Description:** @@ -123,6 +127,7 @@ - **Default:** `false` + #### `Log_To_File` - **Description:** @@ -136,6 +141,7 @@ - **Default:** `false` + #### `Log_File` - **Description:** @@ -147,6 +153,7 @@ - **Default:** `"alerts-log.txt"` + #### `Matches` - **Description:** @@ -162,6 +169,7 @@ ``` + #### `Excludes` - **Description:** @@ -199,6 +207,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -214,6 +223,7 @@ - **Default:** `{ min = 60.0, max = 60.0 }` + #### `Command` - **Description:** @@ -225,6 +235,7 @@ - **Default:** `/ping` + #### `Use_Sneak` - **Description:** @@ -236,20 +247,21 @@ - **Default:** `false` + #### `Use_Terrain_Handling` +

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)** + +
+ - **Description:** 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. -

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`. - **Type:** `boolean` @@ -257,6 +269,7 @@ - **Default:** `false` + #### `Walk_Range` - **Description:** @@ -268,32 +281,33 @@ - **Default:** `5` + #### `Walk_Retries` +

Tip

+ + **This happens on each trigger of the task, so it does not permanently switch to alternative method.** + +
+ - **Description:** 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. -

Tip

- - **This happens on each trigger of the task, so it does not permanently switch to alternative method.** - -
- - **Default:** `20` ## Auto Attack +

Tip

+ +**You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** + +
+ - **Description:** Automatically attacks mobs around you, you can configure it to attack both hostile and passive mobs and only certain mobs or all mobs. -

Tip

- - **You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** - -
- - **Settings:** **Section:** **`ChatBot.AutoAttack`** @@ -311,6 +325,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -330,6 +345,7 @@ - **Default:** `single` + #### `Priority` - **Description:** @@ -344,6 +360,7 @@ - **Default:** `distance` + #### `Cooldown_Time` - **Description:** @@ -363,6 +380,7 @@ - **Default:** `{ Custom = false, value = 1.0 }` + #### `Interaction` - **Description:** @@ -386,6 +404,7 @@ - **Default:** `Attack` + #### `Attack_Hostile` - **Description:** @@ -399,6 +418,7 @@ - **Default:** `true` + #### `Attack_Passive` - **Description:** @@ -412,6 +432,7 @@ - **Default:** `false` + #### `List_Mode` - **Description:** @@ -425,6 +446,7 @@ - **Default:** `whitelist` + #### `Entites_List` - **Description:** @@ -443,16 +465,16 @@ ## Auto Craft +

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.** + +
+ - **Description:** Automatically craft items in your inventory or in a 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:** - `/autocraft list` @@ -476,6 +498,7 @@ **Section:** **`ChatBot.AutoCraft`** + #### `Enabled` - **Description:** @@ -489,6 +512,7 @@ - **Default:** `false` + #### `CraftingTable` - **Description:** @@ -512,6 +536,7 @@ ``` + #### `OnFailure` - **Description:** @@ -527,8 +552,15 @@ - **Default:** `abort` + ### Defining a recipe +

Tip

+ + **If you're using `table` you need to set the `CraftingTable` setting.** + +
+ The recipes are defines as a separate new sub-section `[[ChatBot.AutoCraft.Recipes]]` of the `[ChatBot.AutoCraft]` section. The `[[ChatBot.AutoCraft.Recipes]]` section needs to contain the following settings: @@ -543,12 +575,6 @@ **Avaliable values:** `player` and `table` -

Tip

- - **If you're using `table` you need to set the `CraftingTable` setting.** - -
- - `Result` This is the type of resulting item. @@ -569,17 +595,6 @@ Slots = [ "", "", ... ] ``` -

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", ]`** - -
- -

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:** @@ -625,6 +640,10 @@

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", ]`** + + **All item types can be found [here](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/Inventory/ItemType.cs).** + **Make sure to provide materials for your bot by placing them in inventory first.**
@@ -658,6 +677,7 @@ **Section:** **`ChatBot.AutoDig`** + #### `Enabled` - **Description:** @@ -671,6 +691,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -696,6 +717,7 @@ - **Default:** `lookat` + #### `Locations` - **Description:** @@ -722,6 +744,7 @@ ``` + #### `Location_Order` - **Description:** @@ -743,6 +766,7 @@ - **Default:** `distance` + #### `Auto_Start_Delay` - **Description:** @@ -756,6 +780,7 @@ - **Default:** `3.0` + #### `Dig_Timeout` - **Description:** @@ -767,6 +792,7 @@ - **Default:** `60.0` + #### `Log_Block_Dig` - **Description:** @@ -780,6 +806,7 @@ - **Default:** `true` + #### `List_Type` - **Description:** @@ -793,6 +820,7 @@ - **Default:** `whitelist` + #### `Blocks` - **Description:** @@ -838,6 +866,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -865,6 +894,7 @@ - **Default:** `include` + #### `Items` - **Description:** @@ -914,6 +944,7 @@ - **Default:** `false` + #### `Threshold` - **Description:** @@ -966,6 +997,7 @@ **Section:** **`ChatBot.AutoFishing`** + #### `Enabled` - **Description:** @@ -979,6 +1011,7 @@ - **Default:** `false` + #### `Antidespawn` - **Description:** @@ -992,6 +1025,7 @@ - **Default:** `false` + #### `Mainhand` - **Description:** @@ -1008,6 +1042,7 @@ - **Default:** `true` + #### `Auto_Start` - **Description:** @@ -1021,6 +1056,7 @@ - **Default:** `true` + #### `Cast_Delay` - **Description:** @@ -1032,6 +1068,7 @@ - **Default:** `0.4` + #### `Fishing_Delay` - **Description:** @@ -1045,6 +1082,7 @@ - **Default:** `3.0` + #### `Fishing_Timeout` - **Description:** @@ -1056,6 +1094,7 @@ - **Default:** `300.0` + #### `Durability_Limit` - **Description:** @@ -1069,6 +1108,7 @@ - **Default:** `2` + #### `Auto_Rod_Switch` - **Description:** @@ -1082,6 +1122,7 @@ - **Default:** `true` + #### `Stationary_Threshold` - **Description:** @@ -1099,6 +1140,7 @@ - **Default:** `0.001` + #### `Hook_Threshold` - **Description:** @@ -1114,6 +1156,7 @@ - **Default:** `0.2` + #### `Log_Fish_Bobber` - **Description:** @@ -1129,6 +1172,7 @@ - **Default:** `false` + #### `Enable_Move` - **Description:** @@ -1144,6 +1188,7 @@ - **Default:** `false` + ### Adding a position/movement Each position/movement is added as a new `[[ChatBot.AutoFishing.Movements]]` subsection of `[ChatBot.AutoFishing]`. @@ -1185,6 +1230,7 @@ ``` + #### Full example ```toml @@ -1219,6 +1265,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -1236,6 +1283,7 @@ - **Default:** `{ min = 3.0, max = 3.0 }` + #### `Retries` - **Description:** @@ -1253,6 +1301,7 @@ - **Default:** `-1` + #### `Ignore_Kick_Message` - **Description:** @@ -1264,6 +1313,7 @@ - **Default:** `false` + #### `Kick_Messages` - **Description:** @@ -1311,6 +1361,7 @@ - **Default:** `false` + #### `Matches_File` - **Description:** @@ -1332,6 +1383,7 @@ - **Default:** `matches.ini` + #### `Match_Colors` - **Description:** @@ -1373,6 +1425,7 @@ - **Default:** `false` + #### `Add_DateTime` - **Description:** @@ -1384,6 +1437,7 @@ - **Default:** `true` + #### `Log_File` - **Description:** @@ -1393,6 +1447,7 @@ - **Default:** `chatlog-%username%-%serverip%.txt` + #### `Filter` - **Description:** @@ -1458,6 +1513,7 @@ - **Default:** `false` + #### `Update_Limit` - **Description:** @@ -1471,6 +1527,7 @@ - **Default:** `1.5` + #### `Stop_At_Distance` - **Description:** @@ -1512,6 +1569,7 @@ - **Default:** `false` + #### `English` - **Description:** @@ -1523,6 +1581,7 @@ - **Default:** `true` + #### `FileWords_EN` - **Description:** @@ -1539,6 +1598,7 @@ - **Example**: [`words-en.txt`](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/config/hangman-en.txt) + #### `FileWords_FR` - **Description:** @@ -1610,6 +1670,7 @@ **Section:** **`ChatBot.Mailer`** + #### `Enabled` - **Description:** @@ -1623,6 +1684,7 @@ - **Default:** `false` + #### `DatabaseFile` - **Description:** @@ -1634,6 +1696,7 @@ - **Default:** `MailerDatabase.ini` + #### `IgnoreListFile` - **Description:** @@ -1645,6 +1708,7 @@ - **Default:** `MailerIgnoreList.ini` + #### `PublicInteractions` - **Description:** @@ -1658,6 +1722,7 @@ - **Default:** `false` + #### `MaxMailsPerPlayer` - **Description:** @@ -1669,6 +1734,7 @@ - **Default:** `10` + #### `MaxDatabaseSize` - **Description:** @@ -1680,6 +1746,7 @@ - **Default:** `10000` (10 MB) + #### `MailRetentionDays` - **Description:** @@ -1733,6 +1800,7 @@ - **Default:** `false` + #### `Should_Resize` - **Description:** @@ -1760,6 +1828,7 @@ - **Default:** `false` + #### `Resize_To` - **Description:** @@ -1771,6 +1840,7 @@ - **Default:** `256` + #### `Auto_Render_On_Update` - **Description:** @@ -1790,6 +1860,7 @@ - **Default:** `false` + #### `Delete_All_On_Unload` - **Description:** @@ -1803,6 +1874,7 @@ - **Default:** `true` + #### `Notify_On_First_Update` - **Description:** @@ -1835,6 +1907,7 @@ - **Default:** `false` + #### `File` - **Description:** @@ -1844,6 +1917,7 @@ - **Default:** `playerlog.txt` + #### `Delay` - **Description:** @@ -1885,6 +1959,7 @@ - **Default:** `false` + #### `AutoTpaccept` - **Description:** @@ -1898,6 +1973,7 @@ - **Default:** `true` + #### `AutoTpaccept_Everyone` - **Description:** @@ -1951,6 +2027,7 @@ - **Default:** `false` + #### `Backup_Interval` - **Description:** @@ -1986,6 +2063,7 @@ - **Default:** `false` + ### Defining a task - **Description:** @@ -2061,6 +2139,7 @@ ``` + ### Full example ```toml diff --git a/docs/l10n/vi/guide/configuration.md b/docs/l10n/vi/guide/configuration.md index 30dd9cd6..71a5ed16 100644 --- a/docs/l10n/vi/guide/configuration.md +++ b/docs/l10n/vi/guide/configuration.md @@ -144,7 +144,7 @@ Coordinate = { x = 145, y = 64, y = 2045 } This setting is where you define which language you want to use. - When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages. These files describe how some messages should be printed depending on your preferred language. + When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages.These files describe how some messages should be printed depending on your preferred language. The client will automatically load `en_GB.lang` from your Minecraft folder if Minecraft is installed on your computer, or download it from Mojang's servers. You may choose another language in the configuration file. @@ -465,7 +465,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Use `no`, `fast` (5s timeout), or `yes`. Required for joining some servers. + Use `no`, `fast` (5s timeout), or `yes`. + + Required for joining some servers. - **Type:** `string` @@ -648,7 +650,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Affects only Minecraft 1.19+. This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. + Affects only Minecraft 1.19+. + + This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. #### `LoginWithSecureProfile` @@ -674,7 +678,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Whether to sign the messages contained in the commands sent by the MCC. For example, the message in `/msg` and `/me` + Whether to sign the messages contained in the commands sent by the MCC. + + For example, the message in `/msg` and `/me` - **Type:** `boolean` @@ -768,7 +774,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - This setting allows you to define if your want to see info messages. Most of the messages from MCC. + This setting allows you to define if your want to see info messages. + + Most of the messages from MCC. - **Type:** `boolean` @@ -955,7 +963,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - The proxy server IP and port. Proxy server must allow HTTPS for login, and non-443 ports for playing. + The proxy server IP and port. + + Proxy server must allow HTTPS for login, and non-443 ports for playing. - **Format:** diff --git a/docs/l10n/vi/guide/creating-bots.md b/docs/l10n/vi/guide/creating-bots.md index 9e46df68..bc5e2d77 100644 --- a/docs/l10n/vi/guide/creating-bots.md +++ b/docs/l10n/vi/guide/creating-bots.md @@ -99,7 +99,9 @@ Chat Bot (Script) structure is the following: ``` -**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. Every single Chat Bot (Script) must have this section at the beginning in order to work. +**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. + +Every single Chat Bot (Script) must have this section at the beginning in order to work. ### Script Metadata Format @@ -165,7 +167,9 @@ After the end of the **Script Metadata** section, you basically can define any n 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.. +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..

Tip

diff --git a/docs/l10n/vi/guide/installation.md b/docs/l10n/vi/guide/installation.md index 3f1dcc6b..9958865c 100644 --- a/docs/l10n/vi/guide/installation.md +++ b/docs/l10n/vi/guide/installation.md @@ -190,7 +190,11 @@ docker build -t minecraft-console-client:latest . docker run -it -v :/opt/data minecraft-console-client:latest ``` -Now you could login and the Client is running. To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. To reattach use the `docker attach` command. +Now you could login and the Client is running. + +To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. + +To reattach use the `docker attach` command. **Start the container using docker-compose:** @@ -222,7 +226,9 @@ docker-compose up docker-compose up -d #for deamonized running in the background ``` -Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. As above, you can stop and remove the container using +Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. + +As above, you can stop and remove the container using ```bash docker-compose down @@ -313,7 +319,9 @@ Once the script has downloaded, run it with: bash ubuntu.sh ``` -Then you will be asked a question, enter `Y` and press `Enter`. Once the installation is complete, you can start Ubuntu with: +Then you will be asked a question, enter `Y` and press `Enter`. + +Once the installation is complete, you can start Ubuntu with: ```bash ./startubuntu.sh @@ -499,7 +507,9 @@ To stop MCC from running you can press `CTRL + C` To edit the configuration/settings, you need a text editor, we recommend Nano, as it's very simple to use, if you have followed the installation steps above, you should be familiar with it, if not, check out [this tutorial](https://www.youtube.com/watch?v=DLeATFgGM-A). -For downloading files, you can use the `wget` file we have installed, simply run: `wget your_link_here` (you have examples above, and a video tutorial down bellow). +For downloading files, you can use the `wget` file we have installed, simply run: + +`wget your_link_here` (you have examples above, and a video tutorial down bellow). Also, here are some linux tutorials for people who are new to it: @@ -644,7 +654,9 @@ You also may want to search for better deals.
-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). +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 @@ -862,7 +874,11 @@ Make a new empty file named `authorized_keys`: touch authorized_keys ``` -Do no close the Git bash/Terminal emulator. On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). +Do no close the Git bash/Terminal emulator. + +On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. + +Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). Type the following command: @@ -940,7 +956,9 @@ Let's check if everything is working correctly: sudo systemctl status sshd ``` -If everything has been configured as it should be you should see `active (running)` as a status of the service. If not, open the config file again and check for mistakes. +If everything has been configured as it should be you should see `active (running)` as a status of the service. + +If not, open the config file again and check for mistakes. Press `q` to exit the log mode. diff --git a/docs/l10n/vi/guide/usage.md b/docs/l10n/vi/guide/usage.md index d0ccab5e..e65294df 100644 --- a/docs/l10n/vi/guide/usage.md +++ b/docs/l10n/vi/guide/usage.md @@ -236,7 +236,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q - **Description:** - Allows you to list and unload a specific bot or all bots. Useful when debugging and developing scripts. + Allows you to list and unload a specific bot or all bots. + + Useful when debugging and developing scripts. - **Usage:** @@ -404,7 +406,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q Allows you to execute a command if a specific condition is met. - The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. + The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. + + The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. Also the instance of MCC is available with `MCC.`. diff --git a/docs/l10n/zh-Hans/guide/README.md b/docs/l10n/zh-Hans/guide/README.md index ad8dfa61..0d3a4ed9 100644 --- a/docs/l10n/zh-Hans/guide/README.md +++ b/docs/l10n/zh-Hans/guide/README.md @@ -136,7 +136,7 @@ ambysdotnet, Awpocalypse, azoundria, bearbear12345, bSun0000, Cat7373, dagonzaro **贡献者** -Allyoutoo, Aragas, Bancey, bearbear12345, corbanmailloux, Daenges, dbear20, dogwatch, initsuj, JamieSinn, justcool393, lokulin, maxpowa, medxo, milutinke, Pokechu22, ReinforceZwei, repository, TheMeq, TheSnoozer, vkorn, v1RuX, yunusemregul, ZizzyDizzyMC, BruceChenQAQ, bradbyte _... And all the [GitHub contributors](https://github.com/MCCTeam/Minecraft-Console-Client/graphs/contributors)!_ And all the [GitHub contributors](https://github.com/MCCTeam/Minecraft-Console-Client/graphs/contributors)! +Allyoutoo, Aragas, Bancey, bearbear12345, corbanmailloux, Daenges, dbear20, dogwatch, initsuj, JamieSinn, justcool393, lokulin, maxpowa, medxo, milutinke, Pokechu22, ReinforceZwei, repository, TheMeq, TheSnoozer, vkorn, v1RuX, yunusemregul, ZizzyDizzyMC, BruceChenQAQ, bradbyte _... And all the [GitHub contributors](https://github.com/MCCTeam/Minecraft-Console-Client/graphs/contributors)!_ **Libraries:** @@ -150,14 +150,26 @@ Minecraft Console Client also borrows code from the following libraries: ## Disclaimer -Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. If you don't trust it, don't use it or check & compile from the source code. +Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. -Also, remember that when you connect to a server with this program, you will appear where you left the last time. Also, remember that when you connect to a server with this program, you will appear where you left the last time. This means that **you can die if you log in in an unsafe place on a survival server!** Use the script scheduler bot to send a teleport command after logging in. +Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. If you don't trust it, don't use it or check & compile from the source code. + +Also, remember that when you connect to a server with this program, you will appear where you left the last time. + +This means that **you can die if you log in in an unsafe place on a survival server!** + +Use the script scheduler bot to send a teleport command after logging in. We remind you that **you may get banned** by your server for using this program. Use accordingly with server rules. Use accordingly with server rules. ## License -Minecraft Console Client is a totally free of charge, open source project. The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) +Minecraft Console Client is a totally free of charge, open source project. The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) -Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) +The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) + +Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. + +More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) + +Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) diff --git a/docs/l10n/zh-Hans/guide/chat-bots.md b/docs/l10n/zh-Hans/guide/chat-bots.md index 13d1182e..ed0150c6 100644 --- a/docs/l10n/zh-Hans/guide/chat-bots.md +++ b/docs/l10n/zh-Hans/guide/chat-bots.md @@ -67,6 +67,7 @@ - **Default:** `false` + #### `Beep_Enabled`

Tip

@@ -84,6 +85,7 @@ - **Default:** `true` + #### `Trigger_By_Words` - **Description:** @@ -97,6 +99,7 @@ - **Default:** `false` + #### `Trigger_By_Rain` - **Description:** @@ -110,6 +113,7 @@ - **Default:** `false` + #### `Trigger_By_Thunderstorm` - **Description:** @@ -123,6 +127,7 @@ - **Default:** `false` + #### `Log_To_File` - **Description:** @@ -136,6 +141,7 @@ - **Default:** `false` + #### `Log_File` - **Description:** @@ -147,6 +153,7 @@ - **Default:** `"alerts-log.txt"` + #### `Matches` - **Description:** @@ -162,6 +169,7 @@ ``` + #### `Excludes` - **Description:** @@ -199,6 +207,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -214,6 +223,7 @@ - **Default:** `{ min = 60.0, max = 60.0 }` + #### `Command` - **Description:** @@ -225,6 +235,7 @@ - **Default:** `/ping` + #### `Use_Sneak` - **Description:** @@ -236,20 +247,21 @@ - **Default:** `false` + #### `Use_Terrain_Handling` +

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)** + +
+ - **Description:** 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. -

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`. - **Type:** `boolean` @@ -257,6 +269,7 @@ - **Default:** `false` + #### `Walk_Range` - **Description:** @@ -268,32 +281,33 @@ - **Default:** `5` + #### `Walk_Retries` +

Tip

+ + **This happens on each trigger of the task, so it does not permanently switch to alternative method.** + +
+ - **Description:** 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. -

Tip

- - **This happens on each trigger of the task, so it does not permanently switch to alternative method.** - -
- - **Default:** `20` ## Auto Attack +

Tip

+ +**You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** + +
+ - **Description:** Automatically attacks mobs around you, you can configure it to attack both hostile and passive mobs and only certain mobs or all mobs. -

Tip

- - **You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** - -
- - **Settings:** **Section:** **`ChatBot.AutoAttack`** @@ -311,6 +325,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -330,6 +345,7 @@ - **Default:** `single` + #### `Priority` - **Description:** @@ -344,6 +360,7 @@ - **Default:** `distance` + #### `Cooldown_Time` - **Description:** @@ -363,6 +380,7 @@ - **Default:** `{ Custom = false, value = 1.0 }` + #### `Interaction` - **Description:** @@ -386,6 +404,7 @@ - **Default:** `Attack` + #### `Attack_Hostile` - **Description:** @@ -399,6 +418,7 @@ - **Default:** `true` + #### `Attack_Passive` - **Description:** @@ -412,6 +432,7 @@ - **Default:** `false` + #### `List_Mode` - **Description:** @@ -425,6 +446,7 @@ - **Default:** `whitelist` + #### `Entites_List` - **Description:** @@ -443,16 +465,16 @@ ## Auto Craft +

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.** + +
+ - **Description:** Automatically craft items in your inventory or in a 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:** - `/autocraft list` @@ -476,6 +498,7 @@ **Section:** **`ChatBot.AutoCraft`** + #### `Enabled` - **Description:** @@ -489,6 +512,7 @@ - **Default:** `false` + #### `CraftingTable` - **Description:** @@ -512,6 +536,7 @@ ``` + #### `OnFailure` - **Description:** @@ -527,8 +552,15 @@ - **Default:** `abort` + ### Defining a recipe +

Tip

+ + **If you're using `table` you need to set the `CraftingTable` setting.** + +
+ The recipes are defines as a separate new sub-section `[[ChatBot.AutoCraft.Recipes]]` of the `[ChatBot.AutoCraft]` section. The `[[ChatBot.AutoCraft.Recipes]]` section needs to contain the following settings: @@ -543,12 +575,6 @@ **Avaliable values:** `player` and `table` -

Tip

- - **If you're using `table` you need to set the `CraftingTable` setting.** - -
- - `Result` This is the type of resulting item. @@ -569,17 +595,6 @@ Slots = [ "", "", ... ] ``` -

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", ]`** - -
- -

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:** @@ -625,6 +640,10 @@

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", ]`** + + **All item types can be found [here](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/Inventory/ItemType.cs).** + **Make sure to provide materials for your bot by placing them in inventory first.**
@@ -658,6 +677,7 @@ **Section:** **`ChatBot.AutoDig`** + #### `Enabled` - **Description:** @@ -671,6 +691,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -696,6 +717,7 @@ - **Default:** `lookat` + #### `Locations` - **Description:** @@ -722,6 +744,7 @@ ``` + #### `Location_Order` - **Description:** @@ -743,6 +766,7 @@ - **Default:** `distance` + #### `Auto_Start_Delay` - **Description:** @@ -756,6 +780,7 @@ - **Default:** `3.0` + #### `Dig_Timeout` - **Description:** @@ -767,6 +792,7 @@ - **Default:** `60.0` + #### `Log_Block_Dig` - **Description:** @@ -780,6 +806,7 @@ - **Default:** `true` + #### `List_Type` - **Description:** @@ -793,6 +820,7 @@ - **Default:** `whitelist` + #### `Blocks` - **Description:** @@ -838,6 +866,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -865,6 +894,7 @@ - **Default:** `include` + #### `Items` - **Description:** @@ -914,6 +944,7 @@ - **Default:** `false` + #### `Threshold` - **Description:** @@ -966,6 +997,7 @@ **Section:** **`ChatBot.AutoFishing`** + #### `Enabled` - **Description:** @@ -979,6 +1011,7 @@ - **Default:** `false` + #### `Antidespawn` - **Description:** @@ -992,6 +1025,7 @@ - **Default:** `false` + #### `Mainhand` - **Description:** @@ -1008,6 +1042,7 @@ - **Default:** `true` + #### `Auto_Start` - **Description:** @@ -1021,6 +1056,7 @@ - **Default:** `true` + #### `Cast_Delay` - **Description:** @@ -1032,6 +1068,7 @@ - **Default:** `0.4` + #### `Fishing_Delay` - **Description:** @@ -1045,6 +1082,7 @@ - **Default:** `3.0` + #### `Fishing_Timeout` - **Description:** @@ -1056,6 +1094,7 @@ - **Default:** `300.0` + #### `Durability_Limit` - **Description:** @@ -1069,6 +1108,7 @@ - **Default:** `2` + #### `Auto_Rod_Switch` - **Description:** @@ -1082,6 +1122,7 @@ - **Default:** `true` + #### `Stationary_Threshold` - **Description:** @@ -1099,6 +1140,7 @@ - **Default:** `0.001` + #### `Hook_Threshold` - **Description:** @@ -1114,6 +1156,7 @@ - **Default:** `0.2` + #### `Log_Fish_Bobber` - **Description:** @@ -1129,6 +1172,7 @@ - **Default:** `false` + #### `Enable_Move` - **Description:** @@ -1144,6 +1188,7 @@ - **Default:** `false` + ### Adding a position/movement Each position/movement is added as a new `[[ChatBot.AutoFishing.Movements]]` subsection of `[ChatBot.AutoFishing]`. @@ -1185,6 +1230,7 @@ ``` + #### Full example ```toml @@ -1219,6 +1265,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -1236,6 +1283,7 @@ - **Default:** `{ min = 3.0, max = 3.0 }` + #### `Retries` - **Description:** @@ -1253,6 +1301,7 @@ - **Default:** `-1` + #### `Ignore_Kick_Message` - **Description:** @@ -1264,6 +1313,7 @@ - **Default:** `false` + #### `Kick_Messages` - **Description:** @@ -1311,6 +1361,7 @@ - **Default:** `false` + #### `Matches_File` - **Description:** @@ -1332,6 +1383,7 @@ - **Default:** `matches.ini` + #### `Match_Colors` - **Description:** @@ -1373,6 +1425,7 @@ - **Default:** `false` + #### `Add_DateTime` - **Description:** @@ -1384,6 +1437,7 @@ - **Default:** `true` + #### `Log_File` - **Description:** @@ -1393,6 +1447,7 @@ - **Default:** `chatlog-%username%-%serverip%.txt` + #### `Filter` - **Description:** @@ -1458,6 +1513,7 @@ - **Default:** `false` + #### `Update_Limit` - **Description:** @@ -1471,6 +1527,7 @@ - **Default:** `1.5` + #### `Stop_At_Distance` - **Description:** @@ -1512,6 +1569,7 @@ - **Default:** `false` + #### `简体中文` - **Description:** @@ -1523,6 +1581,7 @@ - **Default:** `true` + #### `FileWords_EN` - **Description:** @@ -1539,6 +1598,7 @@ - **Example**: [`words-en.txt`](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/config/hangman-en.txt) + #### `FileWords_FR` - **Description:** @@ -1610,6 +1670,7 @@ **Section:** **`ChatBot.Mailer`** + #### `Enabled` - **Description:** @@ -1623,6 +1684,7 @@ - **Default:** `false` + #### `DatabaseFile` - **Description:** @@ -1634,6 +1696,7 @@ - **Default:** `MailerDatabase.ini` + #### `IgnoreListFile` - **Description:** @@ -1645,6 +1708,7 @@ - **Default:** `MailerIgnoreList.ini` + #### `PublicInteractions` - **Description:** @@ -1658,6 +1722,7 @@ - **Default:** `false` + #### `MaxMailsPerPlayer` - **Description:** @@ -1669,6 +1734,7 @@ - **Default:** `10` + #### `MaxDatabaseSize` - **Description:** @@ -1680,6 +1746,7 @@ - **Default:** `10000` (10 MB) + #### `MailRetentionDays` - **Description:** @@ -1733,6 +1800,7 @@ - **Default:** `false` + #### `Should_Resize` - **Description:** @@ -1760,6 +1828,7 @@ - **Default:** `false` + #### `Resize_To` - **Description:** @@ -1771,6 +1840,7 @@ - **Default:** `256` + #### `Auto_Render_On_Update` - **Description:** @@ -1790,6 +1860,7 @@ - **Default:** `false` + #### `Delete_All_On_Unload` - **Description:** @@ -1803,6 +1874,7 @@ - **Default:** `true` + #### `Notify_On_First_Update` - **Description:** @@ -1835,6 +1907,7 @@ - **Default:** `false` + #### `File` - **Description:** @@ -1844,6 +1917,7 @@ - **Default:** `playerlog.txt` + #### `Delay` - **Description:** @@ -1885,6 +1959,7 @@ - **Default:** `false` + #### `AutoTpaccept` - **Description:** @@ -1898,6 +1973,7 @@ - **Default:** `true` + #### `AutoTpaccept_Everyone` - **Description:** @@ -1951,6 +2027,7 @@ - **Default:** `false` + #### `Backup_Interval` - **Description:** @@ -1986,6 +2063,7 @@ - **Default:** `false` + ### Defining a task - **Description:** @@ -2061,6 +2139,7 @@ ``` + ### Full example ```toml diff --git a/docs/l10n/zh-Hans/guide/configuration.md b/docs/l10n/zh-Hans/guide/configuration.md index d3159a4f..f98b43d1 100644 --- a/docs/l10n/zh-Hans/guide/configuration.md +++ b/docs/l10n/zh-Hans/guide/configuration.md @@ -144,7 +144,7 @@ Coordinate = { x = 145, y = 64, y = 2045 } This setting is where you define which language you want to use. - When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages. These files describe how some messages should be printed depending on your preferred language. These files describe how some messages should be printed depending on your preferred language. + When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages.These files describe how some messages should be printed depending on your preferred language. The client will automatically load `en_GB.lang` from your Minecraft folder if Minecraft is installed on your computer, or download it from Mojang's servers. You may choose another language in the configuration file. You may choose another language in the configuration file. @@ -465,7 +465,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Use `no`, `fast` (5s timeout), or `yes`. Required for joining some servers. Required for joining some servers. + Use `no`, `fast` (5s timeout), or `yes`. Required for joining some servers. + + Required for joining some servers. - **Type:** `string` @@ -648,7 +650,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Affects only Minecraft 1.19+. Affects only Minecraft 1.19+. This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. + Affects only Minecraft 1.19+. + + Affects only Minecraft 1.19+. This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. #### `LoginWithSecureProfile` @@ -674,7 +678,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Whether to sign the messages contained in the commands sent by the MCC. For example, the message in `/msg` and `/me` For example, the message in `/msg` and `/me` + Whether to sign the messages contained in the commands sent by the MCC. For example, the message in `/msg` and `/me` + + For example, the message in `/msg` and `/me` - **Type:** `boolean` @@ -768,7 +774,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - This setting allows you to define if your want to see info messages. Most of the messages from MCC. Most of the messages from MCC. + This setting allows you to define if your want to see info messages. Most of the messages from MCC. + + Most of the messages from MCC. - **Type:** `boolean` @@ -955,7 +963,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - The proxy server IP and port. The proxy server IP and port. Proxy server must allow HTTPS for login, and non-443 ports for playing. + The proxy server IP and port. + + The proxy server IP and port. Proxy server must allow HTTPS for login, and non-443 ports for playing. - **Format:** diff --git a/docs/l10n/zh-Hans/guide/creating-bots.md b/docs/l10n/zh-Hans/guide/creating-bots.md index 5eb8f78d..a4870376 100644 --- a/docs/l10n/zh-Hans/guide/creating-bots.md +++ b/docs/l10n/zh-Hans/guide/creating-bots.md @@ -127,7 +127,9 @@ Chat Bot (Script) structure is the following: ``` -**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. Every single Chat Bot (Script) must have this section at the beginning in order to work. Every single Chat Bot (Script) must have this section at the beginning in order to work. +**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. Every single Chat Bot (Script) must have this section at the beginning in order to work. + +Every single Chat Bot (Script) must have this section at the beginning in order to work. ### Script Metadata Format @@ -193,7 +195,9 @@ After the end of the **Script Metadata** section, you basically can define any n 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.. In it you can initialize variables, eg. Dictionaries, etc.. +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.. + +In it you can initialize variables, eg. Dictionaries, etc..

Tip

diff --git a/docs/l10n/zh-Hans/guide/installation.md b/docs/l10n/zh-Hans/guide/installation.md index 073d02cc..fe75d7c5 100644 --- a/docs/l10n/zh-Hans/guide/installation.md +++ b/docs/l10n/zh-Hans/guide/installation.md @@ -190,7 +190,11 @@ docker build -t minecraft-console-client:latest . docker run -it -v :/opt/data minecraft-console-client:latest ``` -Now you could login and the Client is running. Now you could login and the Client is running. To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. To reattach use the `docker attach` command. To reattach use the `docker attach` command. +Now you could login and the Client is running. + +Now you could login and the Client is running. To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. To reattach use the `docker attach` command. + +To reattach use the `docker attach` command. **Start the container using docker-compose:** @@ -222,7 +226,9 @@ docker-compose up docker-compose up -d #for deamonized running in the background ``` -Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. As above, you can stop and remove the container using If you want that functionality, please use the first method: `docker-compose run MCC`. As above, you can stop and remove the container using +Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. As above, you can stop and remove the container using If you want that functionality, please use the first method: `docker-compose run MCC`. + +As above, you can stop and remove the container using ```bash docker-compose down @@ -313,7 +319,9 @@ Once the script has downloaded, run it with: bash ubuntu.sh ``` -Then you will be asked a question, enter `Y` and press `Enter`. Once the installation is complete, you can start Ubuntu with: Once the installation is complete, you can start Ubuntu with: +Then you will be asked a question, enter `Y` and press `Enter`. Once the installation is complete, you can start Ubuntu with: + +Once the installation is complete, you can start Ubuntu with: ```bash ./startubuntu.sh @@ -505,7 +513,9 @@ To stop MCC from running you can press `CTRL + C` To edit the configuration/settings, you need a text editor, we recommend Nano, as it's very simple to use, if you have followed the installation steps above, you should be familiar with it, if not, check out [this tutorial](https://www.youtube.com/watch?v=DLeATFgGM-A). -For downloading files, you can use the `wget` file we have installed, simply run: `wget your_link_here` (you have examples above, and a video tutorial down bellow). +For downloading files, you can use the `wget` file we have installed, simply run: + +`wget your_link_here` (you have examples above, and a video tutorial down bellow). Also, here are some linux tutorials for people who are new to it: @@ -650,7 +660,9 @@ You also may want to search for better deals.
-Register on AWS and enter all of your billing info and a phone number. 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). +Register on AWS and enter all of your billing info and a phone number. + +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 @@ -868,7 +880,11 @@ Make a new empty file named `authorized_keys`: touch authorized_keys ``` -Do no close the Git bash/Terminal emulator. On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). +Do no close the Git bash/Terminal emulator. On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). + +On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. + +Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). Type the following command: @@ -946,7 +962,9 @@ Let's check if everything is working correctly: sudo systemctl status sshd ``` -If everything has been configured as it should be you should see `active (running)` as a status of the service. If not, open the config file again and check for mistakes. If not, open the config file again and check for mistakes. +If everything has been configured as it should be you should see `active (running)` as a status of the service. If not, open the config file again and check for mistakes. + +If not, open the config file again and check for mistakes. Press `q` to exit the log mode. diff --git a/docs/l10n/zh-Hans/guide/usage.md b/docs/l10n/zh-Hans/guide/usage.md index 48afa625..4215b890 100644 --- a/docs/l10n/zh-Hans/guide/usage.md +++ b/docs/l10n/zh-Hans/guide/usage.md @@ -236,7 +236,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q - **Description:** - Allows you to list and unload a specific bot or all bots. Useful when debugging and developing scripts. Useful when debugging and developing scripts. + Allows you to list and unload a specific bot or all bots. Useful when debugging and developing scripts. + + Useful when debugging and developing scripts. - **使用方法:** @@ -404,7 +406,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q Allows you to execute a command if a specific condition is met. - The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. + The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. + + The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. Also the instance of MCC is available with `MCC.`. diff --git a/docs/l10n/zh-Hant/guide/README.md b/docs/l10n/zh-Hant/guide/README.md index 64b1f1f0..69b1170a 100644 --- a/docs/l10n/zh-Hant/guide/README.md +++ b/docs/l10n/zh-Hant/guide/README.md @@ -136,7 +136,7 @@ ambysdotnet, Awpocalypse, azoundria, bearbear12345, bSun0000, Cat7373, dagonzaro **Contributors** -Allyoutoo, Aragas, Bancey, bearbear12345, corbanmailloux, Daenges, dbear20, dogwatch, initsuj, JamieSinn, justcool393, lokulin, maxpowa, medxo, milutinke, Pokechu22, ReinforceZwei, repository, TheMeq, TheSnoozer, vkorn, v1RuX, yunusemregul, ZizzyDizzyMC, BruceChenQAQ, bradbyte _... And all the [GitHub contributors](https://github.com/MCCTeam/Minecraft-Console-Client/graphs/contributors)!_ And all the [GitHub contributors](https://github.com/MCCTeam/Minecraft-Console-Client/graphs/contributors)! +Allyoutoo, Aragas, Bancey, bearbear12345, corbanmailloux, Daenges, dbear20, dogwatch, initsuj, JamieSinn, justcool393, lokulin, maxpowa, medxo, milutinke, Pokechu22, ReinforceZwei, repository, TheMeq, TheSnoozer, vkorn, v1RuX, yunusemregul, ZizzyDizzyMC, BruceChenQAQ, bradbyte _... And all the [GitHub contributors](https://github.com/MCCTeam/Minecraft-Console-Client/graphs/contributors)!_ **Libraries:** @@ -150,14 +150,26 @@ Minecraft Console Client also borrows code from the following libraries: ## Disclaimer -Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. If you don't trust it, don't use it or check & compile from the source code. +Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. -Also, remember that when you connect to a server with this program, you will appear where you left the last time. Also, remember that when you connect to a server with this program, you will appear where you left the last time. This means that **you can die if you log in in an unsafe place on a survival server!** Use the script scheduler bot to send a teleport command after logging in. +Even if everything should work, we are not responsible for any damage this app could cause to your computer or your server. This app does not steal your password. If you don't trust it, don't use it or check & compile from the source code. If you don't trust it, don't use it or check & compile from the source code. + +Also, remember that when you connect to a server with this program, you will appear where you left the last time. + +This means that **you can die if you log in in an unsafe place on a survival server!** + +Use the script scheduler bot to send a teleport command after logging in. We remind you that **you may get banned** by your server for using this program. Use accordingly with server rules. Use accordingly with server rules. ## License -Minecraft Console Client is a totally free of charge, open source project. The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) +Minecraft Console Client is a totally free of charge, open source project. The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) -Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) +The source code is available at [Github Repository](https://github.com/MCCTeam/Minecraft-Console-Client) + +Unless specifically stated, source code is from the MCC Team or Contributors, and available under CDDL-1.0. + +More info about CDDL-1.0: [http://qstuff.blogspot.fr/2007/04/why-cddl.html](http://qstuff.blogspot.fr/2007/04/why-cddl.html) + +Full license at [http://opensource.org/licenses/CDDL-1.0](http://opensource.org/licenses/CDDL-1.0) diff --git a/docs/l10n/zh-Hant/guide/chat-bots.md b/docs/l10n/zh-Hant/guide/chat-bots.md index 7e1d574c..d331c3c9 100644 --- a/docs/l10n/zh-Hant/guide/chat-bots.md +++ b/docs/l10n/zh-Hant/guide/chat-bots.md @@ -67,6 +67,7 @@ - **Default:** `false` + #### `Beep_Enabled`

Tip

@@ -84,6 +85,7 @@ - **Default:** `true` + #### `Trigger_By_Words` - **Description:** @@ -97,6 +99,7 @@ - **Default:** `false` + #### `Trigger_By_Rain` - **Description:** @@ -110,6 +113,7 @@ - **Default:** `false` + #### `Trigger_By_Thunderstorm` - **Description:** @@ -123,6 +127,7 @@ - **Default:** `false` + #### `Log_To_File` - **Description:** @@ -136,6 +141,7 @@ - **Default:** `false` + #### `Log_File` - **Description:** @@ -147,6 +153,7 @@ - **Default:** `"alerts-log.txt"` + #### `Matches` - **Description:** @@ -162,6 +169,7 @@ ``` + #### `Excludes` - **Description:** @@ -199,6 +207,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -214,6 +223,7 @@ - **Default:** `{ min = 60.0, max = 60.0 }` + #### `Command` - **Description:** @@ -225,6 +235,7 @@ - **Default:** `/ping` + #### `Use_Sneak` - **Description:** @@ -236,20 +247,21 @@ - **Default:** `false` + #### `Use_Terrain_Handling` +

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)** + +
+ - **Description:** 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. -

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`. - **Type:** `boolean` @@ -257,6 +269,7 @@ - **Default:** `false` + #### `Walk_Range` - **Description:** @@ -268,32 +281,33 @@ - **Default:** `5` + #### `Walk_Retries` +

Tip

+ + **This happens on each trigger of the task, so it does not permanently switch to alternative method.** + +
+ - **Description:** 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. -

Tip

- - **This happens on each trigger of the task, so it does not permanently switch to alternative method.** - -
- - **Default:** `20` ## Auto Attack +

Tip

+ +**You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** + +
+ - **Description:** Automatically attacks mobs around you, you can configure it to attack both hostile and passive mobs and only certain mobs or all mobs. -

Tip

- - **You need to have [inventoryhandling](configuration.md#inventoryhandling) and [entityhandling](configuration.md#entityhandling) enabled in order for this bot to work.** - -
- - **Settings:** **Section:** **`ChatBot.AutoAttack`** @@ -311,6 +325,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -330,6 +345,7 @@ - **Default:** `single` + #### `Priority` - **Description:** @@ -344,6 +360,7 @@ - **Default:** `distance` + #### `Cooldown_Time` - **Description:** @@ -363,6 +380,7 @@ - **Default:** `{ Custom = false, value = 1.0 }` + #### `Interaction` - **Description:** @@ -386,6 +404,7 @@ - **Default:** `Attack` + #### `Attack_Hostile` - **Description:** @@ -399,6 +418,7 @@ - **Default:** `true` + #### `Attack_Passive` - **Description:** @@ -412,6 +432,7 @@ - **Default:** `false` + #### `List_Mode` - **Description:** @@ -425,6 +446,7 @@ - **Default:** `whitelist` + #### `Entites_List` - **Description:** @@ -443,16 +465,16 @@ ## Auto Craft +

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.** + +
+ - **Description:** Automatically craft items in your inventory or in a 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:** - `/autocraft list` @@ -476,6 +498,7 @@ **Section:** **`ChatBot.AutoCraft`** + #### `Enabled` - **Description:** @@ -489,6 +512,7 @@ - **Default:** `false` + #### `CraftingTable` - **Description:** @@ -512,6 +536,7 @@ ``` + #### `OnFailure` - **Description:** @@ -527,8 +552,15 @@ - **Default:** `abort` + ### Defining a recipe +

Tip

+ + **If you're using `table` you need to set the `CraftingTable` setting.** + +
+ The recipes are defines as a separate new sub-section `[[ChatBot.AutoCraft.Recipes]]` of the `[ChatBot.AutoCraft]` section. The `[[ChatBot.AutoCraft.Recipes]]` section needs to contain the following settings: @@ -543,12 +575,6 @@ **Avaliable values:** `player` and `table` -

Tip

- - **If you're using `table` you need to set the `CraftingTable` setting.** - -
- - `Result` This is the type of resulting item. @@ -569,17 +595,6 @@ Slots = [ "", "", ... ] ``` -

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", ]`** - -
- -

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:** @@ -625,6 +640,10 @@

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", ]`** + + **All item types can be found [here](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/Inventory/ItemType.cs).** + **Make sure to provide materials for your bot by placing them in inventory first.**
@@ -658,6 +677,7 @@ **Section:** **`ChatBot.AutoDig`** + #### `Enabled` - **Description:** @@ -671,6 +691,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -696,6 +717,7 @@ - **Default:** `lookat` + #### `Locations` - **Description:** @@ -722,6 +744,7 @@ ``` + #### `Location_Order` - **Description:** @@ -743,6 +766,7 @@ - **Default:** `distance` + #### `Auto_Start_Delay` - **Description:** @@ -756,6 +780,7 @@ - **Default:** `3.0` + #### `Dig_Timeout` - **Description:** @@ -767,6 +792,7 @@ - **Default:** `60.0` + #### `Log_Block_Dig` - **Description:** @@ -780,6 +806,7 @@ - **Default:** `true` + #### `List_Type` - **Description:** @@ -793,6 +820,7 @@ - **Default:** `whitelist` + #### `Blocks` - **Description:** @@ -838,6 +866,7 @@ - **Default:** `false` + #### `Mode` - **Description:** @@ -865,6 +894,7 @@ - **Default:** `include` + #### `Items` - **Description:** @@ -914,6 +944,7 @@ - **Default:** `false` + #### `Threshold` - **Description:** @@ -966,6 +997,7 @@ **Section:** **`ChatBot.AutoFishing`** + #### `Enabled` - **Description:** @@ -979,6 +1011,7 @@ - **Default:** `false` + #### `Antidespawn` - **Description:** @@ -992,6 +1025,7 @@ - **Default:** `false` + #### `Mainhand` - **Description:** @@ -1008,6 +1042,7 @@ - **Default:** `true` + #### `Auto_Start` - **Description:** @@ -1021,6 +1056,7 @@ - **Default:** `true` + #### `Cast_Delay` - **Description:** @@ -1032,6 +1068,7 @@ - **Default:** `0.4` + #### `Fishing_Delay` - **Description:** @@ -1045,6 +1082,7 @@ - **Default:** `3.0` + #### `Fishing_Timeout` - **Description:** @@ -1056,6 +1094,7 @@ - **Default:** `300.0` + #### `Durability_Limit` - **Description:** @@ -1069,6 +1108,7 @@ - **Default:** `2` + #### `Auto_Rod_Switch` - **Description:** @@ -1082,6 +1122,7 @@ - **Default:** `true` + #### `Stationary_Threshold` - **Description:** @@ -1099,6 +1140,7 @@ - **Default:** `0.001` + #### `Hook_Threshold` - **Description:** @@ -1114,6 +1156,7 @@ - **Default:** `0.2` + #### `Log_Fish_Bobber` - **Description:** @@ -1129,6 +1172,7 @@ - **Default:** `false` + #### `Enable_Move` - **Description:** @@ -1144,6 +1188,7 @@ - **Default:** `false` + ### Adding a position/movement Each position/movement is added as a new `[[ChatBot.AutoFishing.Movements]]` subsection of `[ChatBot.AutoFishing]`. @@ -1185,6 +1230,7 @@ ``` + #### Full example ```toml @@ -1219,6 +1265,7 @@ - **Default:** `false` + #### `Delay` - **Description:** @@ -1236,6 +1283,7 @@ - **Default:** `{ min = 3.0, max = 3.0 }` + #### `Retries` - **Description:** @@ -1253,6 +1301,7 @@ - **Default:** `-1` + #### `Ignore_Kick_Message` - **Description:** @@ -1264,6 +1313,7 @@ - **Default:** `false` + #### `Kick_Messages` - **Description:** @@ -1311,6 +1361,7 @@ - **Default:** `false` + #### `Matches_File` - **Description:** @@ -1332,6 +1383,7 @@ - **Default:** `matches.ini` + #### `Match_Colors` - **Description:** @@ -1373,6 +1425,7 @@ - **Default:** `false` + #### `Add_DateTime` - **Description:** @@ -1384,6 +1437,7 @@ - **Default:** `true` + #### `Log_File` - **Description:** @@ -1393,6 +1447,7 @@ - **Default:** `chatlog-%username%-%serverip%.txt` + #### `Filter` - **Description:** @@ -1458,6 +1513,7 @@ - **Default:** `false` + #### `Update_Limit` - **Description:** @@ -1471,6 +1527,7 @@ - **Default:** `1.5` + #### `Stop_At_Distance` - **Description:** @@ -1512,6 +1569,7 @@ - **Default:** `false` + #### `English` - **Description:** @@ -1523,6 +1581,7 @@ - **Default:** `true` + #### `FileWords_EN` - **Description:** @@ -1539,6 +1598,7 @@ - **Example**: [`words-en.txt`](https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/config/hangman-en.txt) + #### `FileWords_FR` - **Description:** @@ -1610,6 +1670,7 @@ **Section:** **`ChatBot.Mailer`** + #### `Enabled` - **Description:** @@ -1623,6 +1684,7 @@ - **Default:** `false` + #### `DatabaseFile` - **Description:** @@ -1634,6 +1696,7 @@ - **Default:** `MailerDatabase.ini` + #### `IgnoreListFile` - **Description:** @@ -1645,6 +1708,7 @@ - **Default:** `MailerIgnoreList.ini` + #### `PublicInteractions` - **Description:** @@ -1658,6 +1722,7 @@ - **Default:** `false` + #### `MaxMailsPerPlayer` - **Description:** @@ -1669,6 +1734,7 @@ - **Default:** `10` + #### `MaxDatabaseSize` - **Description:** @@ -1680,6 +1746,7 @@ - **Default:** `10000` (10 MB) + #### `MailRetentionDays` - **Description:** @@ -1733,6 +1800,7 @@ - **Default:** `false` + #### `Should_Resize` - **Description:** @@ -1760,6 +1828,7 @@ - **Default:** `false` + #### `Resize_To` - **Description:** @@ -1771,6 +1840,7 @@ - **Default:** `256` + #### `Auto_Render_On_Update` - **Description:** @@ -1790,6 +1860,7 @@ - **Default:** `false` + #### `Delete_All_On_Unload` - **Description:** @@ -1803,6 +1874,7 @@ - **Default:** `true` + #### `Notify_On_First_Update` - **Description:** @@ -1835,6 +1907,7 @@ - **Default:** `false` + #### `File` - **Description:** @@ -1844,6 +1917,7 @@ - **Default:** `playerlog.txt` + #### `Delay` - **Description:** @@ -1885,6 +1959,7 @@ - **Default:** `false` + #### `AutoTpaccept` - **Description:** @@ -1898,6 +1973,7 @@ - **Default:** `true` + #### `AutoTpaccept_Everyone` - **Description:** @@ -1951,6 +2027,7 @@ - **Default:** `false` + #### `Backup_Interval` - **Description:** @@ -1986,6 +2063,7 @@ - **Default:** `false` + ### Defining a task - **Description:** @@ -2061,6 +2139,7 @@ ``` + ### Full example ```toml diff --git a/docs/l10n/zh-Hant/guide/configuration.md b/docs/l10n/zh-Hant/guide/configuration.md index 26ca508a..05c6e3c5 100644 --- a/docs/l10n/zh-Hant/guide/configuration.md +++ b/docs/l10n/zh-Hant/guide/configuration.md @@ -144,7 +144,7 @@ Coordinate = { x = 145, y = 64, y = 2045 } This setting is where you define which language you want to use. - When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages. These files describe how some messages should be printed depending on your preferred language. These files describe how some messages should be printed depending on your preferred language. + When connecting to 1.6+ servers, you will need a translation file to display properly some chat messages.These files describe how some messages should be printed depending on your preferred language. The client will automatically load `en_GB.lang` from your Minecraft folder if Minecraft is installed on your computer, or download it from Mojang's servers. You may choose another language in the configuration file. You may choose another language in the configuration file. @@ -465,7 +465,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Use `no`, `fast` (5s timeout), or `yes`. Required for joining some servers. Required for joining some servers. + Use `no`, `fast` (5s timeout), or `yes`. Required for joining some servers. + + Required for joining some servers. - **Type:** `string` @@ -648,7 +650,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Affects only Minecraft 1.19+. Affects only Minecraft 1.19+. This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. + Affects only Minecraft 1.19+. + + Affects only Minecraft 1.19+. This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang. #### `LoginWithSecureProfile` @@ -674,7 +678,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - Whether to sign the messages contained in the commands sent by the MCC. For example, the message in `/msg` and `/me` For example, the message in `/msg` and `/me` + Whether to sign the messages contained in the commands sent by the MCC. For example, the message in `/msg` and `/me` + + For example, the message in `/msg` and `/me` - **Type:** `boolean` @@ -768,7 +774,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - This setting allows you to define if your want to see info messages. Most of the messages from MCC. Most of the messages from MCC. + This setting allows you to define if your want to see info messages. Most of the messages from MCC. + + Most of the messages from MCC. - **Type:** `boolean` @@ -955,7 +963,9 @@ Coordinate = { x = 145, y = 64, y = 2045 } - **Description:** - The proxy server IP and port. 代理伺服器必須允許HTTPS登入。 代理伺服器必須允許HTTPS登入。 + The proxy server IP and port. 代理伺服器必須允許HTTPS登入。 + + 代理伺服器必須允許HTTPS登入。 - **Format:** diff --git a/docs/l10n/zh-Hant/guide/creating-bots.md b/docs/l10n/zh-Hant/guide/creating-bots.md index 5eb8f78d..a4870376 100644 --- a/docs/l10n/zh-Hant/guide/creating-bots.md +++ b/docs/l10n/zh-Hant/guide/creating-bots.md @@ -127,7 +127,9 @@ Chat Bot (Script) structure is the following: ``` -**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. Every single Chat Bot (Script) must have this section at the beginning in order to work. Every single Chat Bot (Script) must have this section at the beginning in order to work. +**Script Metadata** is a section with a custom format that mixes in C# with our format using comments. Every single Chat Bot (Script) must have this section at the beginning in order to work. + +Every single Chat Bot (Script) must have this section at the beginning in order to work. ### Script Metadata Format @@ -193,7 +195,9 @@ After the end of the **Script Metadata** section, you basically can define any n 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.. In it you can initialize variables, eg. Dictionaries, etc.. +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.. + +In it you can initialize variables, eg. Dictionaries, etc..

Tip

diff --git a/docs/l10n/zh-Hant/guide/installation.md b/docs/l10n/zh-Hant/guide/installation.md index f4f67af5..6f2602d9 100644 --- a/docs/l10n/zh-Hant/guide/installation.md +++ b/docs/l10n/zh-Hant/guide/installation.md @@ -190,7 +190,11 @@ docker build -t minecraft-console-client:latest . docker run -it -v :/opt/data minecraft-console-client:latest ``` -Now you could login and the Client is running. Now you could login and the Client is running. To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. To reattach use the `docker attach` command. To reattach use the `docker attach` command. +Now you could login and the Client is running. + +Now you could login and the Client is running. To detach from the Client but still keep it running in the Background press: `CTRL + P` and then after `CTRL + Q`. To reattach use the `docker attach` command. + +To reattach use the `docker attach` command. **Start the container using docker-compose:** @@ -222,7 +226,9 @@ docker-compose up docker-compose up -d #for deamonized running in the background ``` -Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. As above, you can stop and remove the container using If you want that functionality, please use the first method: `docker-compose run MCC`. As above, you can stop and remove the container using +Note that you won't be able to interact with the client using `docker-compose up`. If you want that functionality, please use the first method: `docker-compose run MCC`. As above, you can stop and remove the container using If you want that functionality, please use the first method: `docker-compose run MCC`. + +As above, you can stop and remove the container using ```bash docker-compose down @@ -313,7 +319,9 @@ Once the script has downloaded, run it with: bash ubuntu.sh ``` -Then you will be asked a question, enter `Y` and press `Enter`. Once the installation is complete, you can start Ubuntu with: Once the installation is complete, you can start Ubuntu with: +Then you will be asked a question, enter `Y` and press `Enter`. Once the installation is complete, you can start Ubuntu with: + +Once the installation is complete, you can start Ubuntu with: ```bash ./startubuntu.sh @@ -505,7 +513,9 @@ To stop MCC from running you can press `CTRL + C` To edit the configuration/settings, you need a text editor, we recommend Nano, as it's very simple to use, if you have followed the installation steps above, you should be familiar with it, if not, check out [this tutorial](https://www.youtube.com/watch?v=DLeATFgGM-A). -For downloading files, you can use the `wget` file we have installed, simply run: `wget your_link_here` (you have examples above, and a video tutorial down bellow). +For downloading files, you can use the `wget` file we have installed, simply run: + +`wget your_link_here` (you have examples above, and a video tutorial down bellow). Also, here are some linux tutorials for people who are new to it: @@ -650,7 +660,9 @@ You also may want to search for better deals.
-Register on AWS and enter all of your billing info and a phone number. 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). +Register on AWS and enter all of your billing info and a phone number. + +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 @@ -868,7 +880,11 @@ Make a new empty file named `authorized_keys`: touch authorized_keys ``` -Do no close the Git bash/Terminal emulator. On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). +Do no close the Git bash/Terminal emulator. On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). + +On your PC, make a new folder where you are going to store your SSH keys that you're going to use to log in to the user account. + +Open the folder, and right click on the empty white space (not on files), if you're on Windows click **Git Bash here**, on mac OS and Linux click on **Open Terminal** (or whatever it is called). Type the following command: @@ -946,7 +962,9 @@ Let's check if everything is working correctly: sudo systemctl status sshd ``` -If everything has been configured as it should be you should see `active (running)` as a status of the service. If not, open the config file again and check for mistakes. If not, open the config file again and check for mistakes. +If everything has been configured as it should be you should see `active (running)` as a status of the service. If not, open the config file again and check for mistakes. + +If not, open the config file again and check for mistakes. Press `q` to exit the log mode. diff --git a/docs/l10n/zh-Hant/guide/usage.md b/docs/l10n/zh-Hant/guide/usage.md index 48afa625..4215b890 100644 --- a/docs/l10n/zh-Hant/guide/usage.md +++ b/docs/l10n/zh-Hant/guide/usage.md @@ -236,7 +236,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q - **Description:** - Allows you to list and unload a specific bot or all bots. Useful when debugging and developing scripts. Useful when debugging and developing scripts. + Allows you to list and unload a specific bot or all bots. Useful when debugging and developing scripts. + + Useful when debugging and developing scripts. - **使用方法:** @@ -404,7 +406,9 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q Allows you to execute a command if a specific condition is met. - The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. + The condition is a C# expression and the local variables you set using [`set`](#set), [`setrnd`](#setrnd) or the configuration file can be used. The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. + + The condition is always returned as a boolean, so only comparison can be done, if needed cast the expression result to bool. Also the instance of MCC is available with `MCC.`.