Commit graph

39 commits

Author SHA1 Message Date
ReinforceZwei
17dbe10ff3 Settings: Make Microsoft as default account type 2022-04-06 18:24:49 +02:00
泠辰
f77a06e8ec
Update and improve translation. (#1987) 2022-04-03 01:23:26 +08:00
Рома Данилов
7e2e90b9f2
Updated Russian Language (#1985)
* Updated Russian Language
Removed bad spaces
Удалены лишние пробелы
* Update ru.ini
* Update MinecraftClient/Resources/lang/ru.ini
2022-04-02 18:28:05 +02:00
tobycm
cec770da56
Add a portion of Vietnamese translation (#1982)
* Create vi.ini
Vietnamese language translate
* Add more translation
* Add translation to README file
2022-04-01 23:18:10 +02:00
Marko von Oppen
8795aab810
Add command to disable Gravity (#1955)
Allow disabling gravity (flying) for servers that allow this.
/move gravity: show gravity handling status
/move gravity on: enable gravity handling (falling)
/move gravity off: disable gravity handling (flying)

Co-authored-by: ORelio <ORelio@users.noreply.github.com>
2022-03-06 19:37:27 +01:00
LesterLian
288994aeec
Chinese Translation Improvement (#1959) 2022-03-06 23:22:37 +08: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
dd3fd3c9d2
Add "-f" to the /move command (#1874) 2021-12-29 22:34:40 +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
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
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
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
ReinforceZwei
4577deee61 Create Russian translation file (#1635)
Translated by @iwixw
2021-06-16 21:06:03 +08:00
ORelio
39b7d878dd Handle negative value in server ping (#1626) 2021-06-11 23:11:32 +02:00
ORelio
f16e9e87dd Add support for inventory layout as ASCII art (#906)
Inventory art mostly made by Mhowser
TODO: Implement remaining inventory types
2021-05-29 15:21:38 +02:00
ORelio
b9935ab8fa AutoRespond: Support for per-match cooldown (#593)
Prevent a match from triggering too often using a cooldown
By default, matches do not have a cooldown (it's opt-in)
Also add translation support and more debug messages
2021-05-22 15:27:28 +02:00
ORelio
172e25fef0 Parse settings from the command line (#1578)
Allow specifying any setting as --setting=value
Sections other than main: --section.setting=value
Previous positional arguments are still supported
Update user manual with quick usage and examples
2021-05-20 21:40:57 +02:00
ORelio
9af9fe78ee Realms: Allow direct server ID, handle invalid ID (#1533) 2021-05-20 19:09:41 +02:00
ORelio
83521d7cca
Inventory creativedelete: German translation (#1592)
* Add lines to translate in de.ini following #1590
* Apply suggestions from code review
Translation from @Daenges and @cyb3rko
Co-authored-by: Daenges <57369924+Daenges@users.noreply.github.com>
Co-authored-by: Niko Diamadis <niko@cyb3rko.de>
2021-05-16 18:50:11 +02:00
ORelio
64123a26a5 Add /inventory creativedelete (#1590) 2021-05-15 20:11:07 +02:00
ReinforceZwei
7723ed57ea
Update de.ini (#1584) 2021-05-12 12:41:49 +08:00
ReinforceZwei
1cd7c098c3
Add command for dropping items from inventory (#1581)
* Add command for dropping items from inventory
* Allow other container to be used
2021-05-10 20:27:18 +02:00
ReinforceZwei
92eb4e1457
Update de.ini (#1539) 2021-04-15 22:32:41 +08:00
LesterLian
621e5e2200
Implement Realms support (#1533)
Resolve #51 

* Realms: update to new API; fix HTTP Get

* Realms: suggested changes

Co-authored-by: ORelio <ORelio@users.noreply.github.com>

* Realms: suggested changes

Co-authored-by: ORelio <ORelio@users.noreply.github.com>

* Add negative number support for JSON parser

* Nice print realms worlds result

* Option to join Realms world with world ID

* Suggested changes

Co-authored-by: ORelio <ORelio@users.noreply.github.com>

* Failure handle

Co-authored-by: ORelio <ORelio@users.noreply.github.com>

* world id paired with index

* fix text

* Clean up the code a bit

* Add setting for displaying Realms worlds

* Rename Realms worlds setting

* Put messages into translation file

Co-authored-by: Zizhen Lian <zizhlian@umd.edu>
Co-authored-by: ORelio <ORelio@users.noreply.github.com>
Co-authored-by: ReinforceZwei <39955851+ReinforceZwei@users.noreply.github.com>
2021-04-12 19:46:33 +08:00
Daenges
b83fc2c9b9
Add German language support (#1526)
Translated by Daenges and cyb3rko

Co-authored-by: Niko Diamadis <niko@cyb3rko.de>
2021-04-09 21:29:55 +02:00
ReinforceZwei
53e2413204
Add setting for overriding attack speed for autoattack (#1512)
* Add setting for overriding attack speed for autoattack

* Change cooldown value type to float

* Fix minor grammar issue
2021-03-28 19:26:38 +08:00
ReinforceZwei
240468ad22
Implement log to file logger (#1494)
* Implement log to file

Logger moved to it's own namespace

* Add lock to log file
2021-03-07 14:23:26 +08:00
ReinforceZwei
71eb1dca17
Implement browser sign-in method (#1447)
* Implement browser sign-in method

* Handle empty link

* Improve

* Handle user cancel login
2021-02-06 09:29:14 +08:00
ReinforceZwei
d19764869c
Fix player inventory being deleted by server (#1430)
* Fix auto drop crash

* Fix player inventory being deleted by server
2021-01-31 08:25:04 +08:00
ReinforceZwei
38a890f840
Implement new logger (#1426)
* Implement multi-channel logger

* Implement chat filter

* Improve a bit

* Improvement

* Add debug message filter and filter mode

* Avoid duplicate debug prefix string

Co-authored-by: ORelio <ORelio@users.noreply.github.com>
2021-01-29 07:45:18 +08:00
ReinforceZwei
c04c597aba
Implement Microsoft account login (#1397)
* Implement Microsoft account login
* Create proxied web request class
* Whole bunch of code that doesn't work
* I finally FIXED IT
It took me 2 hours to resolve the problem
* Fill the missed method summary
* Remove some unused code
* Revert http version
* Remove JSON parsing bug workaround
Not needed anymore as per e06438b582
* Remove comment asking about clientID
Client ID is used for session token refreshes. Random UUID without hyphens
Co-authored-by: ORelio <ORelio@users.noreply.github.com>
2021-01-06 21:14:51 +01:00
ORelio
330dda9c15 Add random demay in AutoRelog
Useful when reconnecting many accounts at once
Related issues: #663, #740, #975, #1312
2020-11-04 19:23:46 +01:00
ReinforceZwei
ec9f999857
Add Mode switching command for AutoDrop (#1293)
* Add new command for AutoDrop
* Minor imporvement for AutoDrop
* Fix inventory update event passed a non-exist inventory ID
* Minor improvement for AutoDrop
2020-10-25 17:43:05 +01:00
ORelio
9169036893 Implement global chat message cooldown (#661)
Merge 'splitmessagedelay' and 'botmessagedelay' settings into
a single 'messagecooldown' entry, implement global cooldown to
fix autorespond, scripts and commands not being delayed properly.
2020-10-24 17:49:18 +02:00
ORelio
d3f150ba12 Allow force-enabling Forge support for 1.13+ (#1184)
Skip login step and join even when forge info is missing in server info.
However, this only works for 1.13+. Server info retrieval is required
for enabling Forge support on older Minecraft versions.
2020-10-18 13:09:49 +02:00
ReinforceZwei
2017d5d652
Add support of language files (#1273)
* Basic support of language file
Only mapped main part of MCC.
* Translations function imporve
* Change translation file naming
* Fix default translation file naming
* Complete translation file mapping for main part
Command and ChatBot not done yet
* Complete translation mapping for commands
Except Entitycmd
* Complete translation mapping for ChatBots
* Add new method for replacing translation key
Just for Entitycmd. Be proud of yourself. We have a convenient method now.
* Complete all translation mapping
* Add default config and translation file to resource
* Remove untranslatable messages from default translation file
2020-10-17 13:41:31 +02:00
ORelio
a2ce7ab2c4 Fix Resources folder
Git could not detect file renaming because Windows files are case
insensitive. So need to delete in previous commit and re-add files in
this one.
2014-05-31 02:01:53 +02:00