Commit graph

962 commits

Author SHA1 Message Date
Dusan Milutinovic
61a682a69b Added Entity, Item and Block palletes for 1.17/1 and 1.18/1. Added pallete generators as a command line option. Fixed a minor warning with AttackBot 2022-02-13 01:10:10 +01:00
ORelio
6986902938
Docker: Fix start-latest.sh (#1924)
Properly remove carriage return when extracting release tag
2022-02-05 23:26:54 +01:00
ReinforceZwei
cc75db7070
MSA: Disable refresh token for MCC signin method (#1925)
* MSA: Change classes to static class

* MSA: Disable refresh token for MCC sign method
2022-02-05 13:07:15 +08:00
ORelio
ed452cf632 Realms API: Handle HTTP request failure (#1921) 2022-01-31 20:56:39 +01:00
ORelio
0e2ebf484b Docker: Update start-latest.sh (grep -i)
Use -i if case changes for the Location: header
2022-01-26 13:23:21 +01:00
ORelio
2dfec8b047 Docker: Update start-latest.sh
Download MinecraftClient.exe from GitHub instead of AppVeyor
2022-01-26 13:19:56 +01:00
ORelio
72bb4a0dc4 Fix Badge in README 2022-01-26 13:05:26 +01:00
ORelio
111d06e177 Update badge in README 2022-01-26 13:03:33 +01:00
ORelio
4e4a61d6e9
Set-Up GitHub Actions
Fix project name
2022-01-26 12:55:08 +01:00
ORelio
8e563a42f0
Build and Release with GitHub Actions
Based on research by TheSnoozer (#1267) and Archer57 (#1854), discussed in #1916.
2022-01-26 12:53:37 +01:00
Daenges
095c9cf137
Fix quote detection in /setrnd (#1915)
* Fix quote detection in /setrnd
Before the function crashed when entering quoted strings.
* Fix indentation
* Fix out of array error
2022-01-24 16:15:44 +01:00
Daenges
bbe000b640
Fix /move crash and /setrnd (#1914)
* Fix /move crash
* Fix substring cutting in SetRnd
2022-01-23 21:31:44 +01:00
goldenlib
223db4af6a
Add French translation (#1896)
Also minor imprivements to English translation
Co-authored-by: ORelio <ORelio@users.noreply.github.com>
2022-01-16 11:43:57 +01:00
Daenges
95378dca8e
Automatic sugar cane farming (#1882)
* Automatic sugar cane farming

Inspired by #1871 I wrote a script to farm a field of sugar cane fully autonomous.

* Implement suggestions

* Remove unused comment

* Remove comment and improve return value
2022-01-04 22:34:09 +08:00
Daenges
dd3fd3c9d2
Add "-f" to the /move command (#1874) 2021-12-29 22:34:40 +08:00
ORelio
259ef80cf9 Inventory: Select foreground container (#1875)
When several containers are open "/inventory container" will select
the container with highest ID (i.e. foreground container)
2021-12-28 11:15:11 +01:00
ReinforceZwei
25248025c2 Fix hyperlink in chat message cause crash
See #1850
2021-12-24 11:57:27 +08:00
Archer57
2858e0cbb7
Added docker-compose configuration (#1855)
* Fixed some spelling and typing mistakes

* Added docker-compose configuration

* Added docker-compose description to the user manual

* changed the default path of the mapped volume to a relative path
2021-12-19 11:49:02 +08:00
Archer57
5a56ae65b2
Fixed some spelling and typing mistakes (#1852) 2021-12-17 12:13:03 +08:00
ReinforceZwei
04d83bf277 SessionCache: Add backward compatibility for old session file 2021-12-17 09:29:24 +08:00
ReinforceZwei
4b8ca158a8
Microsoft Sign-in: Add refresh token support (#1838) 2021-12-16 15:53:31 +08:00
ReinforceZwei
e68a51dcff Move parseCommandLine method to command class 2021-12-15 21:25:24 +08:00
Daenges
381b8ea7d1
Add setrnd command (#1846)
* Add setrnd command

* Make rand private

* Add console-like argument behaviour

* Remove unused using declarations

* Add german and english translations

* Improve translation, Add notice to config README, Add check wheather arguments are provided

* Add some comments

* Remove typo

* Add %player% constant to setrnd

* Remove test variable and add comments

* Remove typo

* Reverse changes

* Remove translations
2021-12-15 18:51:16 +08:00
ReinforceZwei
333358c73b
Fix respawn packet (#1848) 2021-12-11 21:06:17 +08:00
ReinforceZwei
bdcf3e5aa2
Update version to 1.18.1 (#1845) 2021-12-10 22:15:00 +08:00
ReinforceZwei
fdc3069083
Microsoft Sign-in: Migrate to our own client Id (#1827)
* Microsoft Sign-in: Migrate to our own client Id

- Drop support of "mcc" sign-in method
- Add nuget packages for decoding JWT

* Remove JWT nuget package

* Remove client secret

It is not needed after changing application type in Azure

* Change token validation method to expiration time

* Revert changes of dropping mcc sign-in method

* Add email pre-fill for browser sign-in
2021-12-04 19:15:58 +08:00
ReinforceZwei
9a9245f193
Update version to 1.18 (#1836) 2021-12-02 21:07:57 +08:00
ORelio
6918a64c47
README: Fix build status badge 2021-11-23 20:44:58 +01:00
ORelio
1d1bd69eb2 Spectator-Teleport: Add MC version check (#1825)
Feature not supported by Minecraft 1.7, only 1.8+
2021-11-18 17:42:31 +01:00
xXjojaXx
76a10c0cd8
Spectator-Teleport Implementation (#1825) 2021-11-18 00:33:52 +08:00
Daenges
4ba09754de
Add logging of color codes (#1811) 2021-10-30 11:40:58 +08:00
Daenges
6928cd40fd
Add toggle to head movement while walking (#1805)
* Add toggle to head movement while walking

* correct typo

* Correcting the correcting

* Improve description.

Co-authored-by: ReinforceZwei <39955851+ReinforceZwei@users.noreply.github.com>

Co-authored-by: ReinforceZwei <39955851+ReinforceZwei@users.noreply.github.com>
2021-10-29 12:45:30 +08:00
ORelio
8de7618027 Update README and URLs
Moving to a GitHub organization!
2021-10-10 20:56:39 +02:00
ORelio
bb4c13168b Mojang Login: Enable TLS 1.2 (#1780)
Enable TLS 1.2 which is disabled by default on .NET 4.0
See also: #1783
2021-10-05 22:09:48 +02:00
ReinforceZwei
eba309191c WebRequest: Enable TLS 1.2
Fix #1774
Temporary fix. May not work if .NET Framework 4.6+ missing
2021-10-01 14:32:34 +08:00
ORelio
981dd51a9b Add inline documentation and warnings in config (#1764)
...as documentation may not be included/redistributed with MCC.
2021-09-19 15:31:39 +02:00
ReinforceZwei
41b0325f45
Delete issue form for question (#1736)
* Delete issue form for question

* Proprose changes for the "ask for help" paragraph

Co-authored-by: ORelio <ORelio@users.noreply.github.com>
2021-08-25 18:08:08 +08:00
Daenges
a05e89cf58
Addition to MojangAPI.cs (#1714)
* Add skin handling to MojangAPI.cs

* Add new skin requests and improve commenting

* Update UUID hash method to detect default player skin
according to https://github.com/ORelio/Minecraft-Console-Client/pull/1714#issuecomment-894751307

* Add custom return types

* Add ServiceStatus enum for the mojang services
2021-08-13 14:27:53 +08:00
ORelio
ab3f624336
Readme: Mono certificates: Add help from #1708
Mozroots is not longer used for newer Mono versions
2021-08-06 11:35:45 +02:00
Daenges
6a361ed674
Integration of the Mojang API (#1709)
* Add Mojang API integration

* Addition in MinecraftClient.csproj

* Move Mojang API to Protocol namespace

* Add changes of MinecraftClient.csproj

* Add rate limit warning

* Improve rate limit warning
2021-08-06 14:25:46 +08:00
Daenges
b3b9a26288
Add script for excavating cubes (#1677)
* 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>
2021-08-03 13:25:43 +08:00
ReinforceZwei
349a3de8e4
Update translation file indexes web URL to the latest (#1698) 2021-07-25 20:10:37 +08:00
ReinforceZwei
8a44aa29d3
Create Github issue form (#1692)
* Create Github issue form

* Update general_question_form.yaml
2021-07-19 14:59:06 +08:00
ReinforceZwei
c18bff361c
Create bug report GitHub issue form (#1691)
* Issue form
* Create bug report GitHub issue form
2021-07-18 18:46:58 +02:00
ReinforceZwei
982f358bf3 ResourcePackSend: Add URL checking for invalid resource pack 2021-07-10 19:28:39 +08:00
ReinforceZwei
581095e03e ResorecePackSend: Attempt to resolve #1667 2021-07-08 14:22:27 +08:00
ReinforceZwei
029762e0a9
Update to 1.17.1 (#1672) 2021-07-08 14:10:54 +08:00
Рома Данилов
48577bf034
More events (#1660)
* + OnBlockBreakAnimation

* + OnBlockBreakAnimation

* + OnEntityAnimation

* Add checks

* + OnBlockChange

* + OnMultiBlockChange

* Fix

* Fix

* Fix

* add summary

* Fix

* fix other summary
2021-07-04 14:26:41 +08:00
Cubik
c0f128f632
Add Chinese Localization (#1651)
* Update README-zh-Hans.md

* Create zh.ini

* Translate [mcc]

* Update zh.ini

* Update zh.ini

* Update zh.ini

* Update zh.ini

Basically localized comments and text

* Update zh.ini

Some translation and format errors have been corrected

* Update zh.ini

Fixed word order problem

* Update zh.ini

Fixed all problems

* Rename zh.ini to zh-CHS.ini

* Fix wrong translations and add missing translations

Co-authored-by: WUTONK <wjt474696120@gmail.com>
2021-06-24 09:30:13 +08:00
ORelio
e90e7b6b2c
Update user manual 2021-06-18 21:03:00 +02:00