* Add MineCube.cs * Clear unused comments and using directives * Move the command to a chatbot class * Set a maximum sleep time for block mining * Add tool selection function * Improve the block - tool detection * Improve naming and comments * Add missing blocktypes * Add block-tool assertion and tool switching in hotbar * Remove unused using declaratives and improve coordinate handling * Move Material2Tool in the Mapping folder * Add function to let the bot mine up to 5 blocks above its head * Remove obsolete function to detect breakability * Implement mineup command Users can dig out a 2 high square manually. The client will walk through it mining everything that is reachable above, while avoiding falling blocks and liquids. * Refactor big parts of the code Move the function for obtaining cubes to a seperate file. Sort Unbreakables alphabetically. Change the distance to wait in the mine function back to 2. * Fix suggestions from review Change several parts of the code according to the review Add credits * Convert the bot into a script file and move it to config folder Adjust the script to be loadable with /script Remove unnecessary code Add public modifier to material2tool * Add checking for lava and water for normal mining * Remove MineCube.cs from chatbots * Code re-format Rename variables Fix indentation Co-authored-by: ReinforceZwei <39955851+ReinforceZwei@users.noreply.github.com> |
||
|---|---|---|
| .github/ISSUE_TEMPLATE | ||
| .idea | ||
| DebugTools | ||
| Docker | ||
| MinecraftClient | ||
| MinecraftClientGUI | ||
| .gitignore | ||
| MinecraftClient.sln | ||
| MinecraftClientGUI.sln | ||
| README-zh-Hans.md | ||
| README.md | ||
Minecraft Console Client
Minecraft Console Client(MCC) is a lightweight app allowing you to connect to any Minecraft server, send commands and receive text messages in a fast and easy way without having to open the main Minecraft game. It also provides various automation for administration and other purposes.
Looking for maintainers
Due to no longer having time to implement upgrades for new Minecraft versions and fixing bugs, I'm looking for motivated people to take over the project. If you feel like it could be you, please have a look at the issues section :)
Download
Get exe file from the latest development build. This exe file is a .NET binary which also works on Mac and Linux.
How to use
Check out the sample configuration files which includes the how-to-use README.
Help and more info is also available on the Minecraft Forum thread.
Building from source
First of all, get a zip of source code, extract it and navigate to the MinecraftClient folder.
Edit MinecraftClient.csproj to set the Build target to Release on line 4:
<Configuration Condition=" '$(Configuration)' == '' ">Release</Configuration>
On Windows
- Locate
MSBuild.exefor .NET 4 insideC:\Windows\Microsoft.NET\Framework\v4.X.XXXXX - Drag and drop
MinecraftClient.csprojoverMSBuild.exeto launch the build - If the build succeeds, you can find
MinecraftClient.exeunderMinecraftClient\bin\Release
On Mac and Linux
- Install the Mono Framework if not already installed
- Run
msbuild MinecraftClient.csprojin a terminal - If the build succeeds, you can find
MinecraftClient.exeunderMinecraftClient\bin\Release
How to contribute
If you'd like to contribute to Minecraft Console Client, great, just fork the repository and submit a pull request. The Indev branch for contributions to future stable versions is no longer used as MCC is currently distributed as development builds only.
Translate Minecraft Console Client to your language
If you would like to translate Minecraft Console Client to a different language, please download the translation file from the repository or just fork the repository. Once you finished the translation work, submit a pull request or send us the file in case you did not fork the repository.
To use the translated language file, place it under lang/mcc/ folder and set your language in .ini config. You may create the directory if does not exist.
For the names of the translation file, please see this comment.
License
Unless specifically stated, the code is from the MCC developers, and available under CDDL-1.0. Else, the license and original author are mentioned in source file headers. The main terms of the CDDL-1.0 license are basically the following:
- You may use the licensed code in whole or in part in any program you desire, regardless of the license of the program as a whole (or rather, as excluding the code you are borrowing). The program itself may be open or closed source, free or commercial.
- However, in all cases, any modifications, improvements, or additions to the CDDL code (any code that is referenced in direct modifications to the CDDL code is considered an addition to the CDDL code, and so is bound by this requirement; e.g. a modification of a math function to use a fast lookup table makes that table itself an addition to the CDDL code, regardless of whether it's in a source code file of its own) must be made publicly and freely available in source, under the CDDL license itself.
- In any program (source or binary) that uses CDDL code, recognition must be given to the source (either project or author) of the CDDL code. As well, modifications to the CDDL code (which must be distributed as source) may not remove notices indicating the ancestry of the code.
More info at http://qstuff.blogspot.fr/2007/04/why-cddl.html Full license at http://opensource.org/licenses/CDDL-1.0