Konfiguration
Der Minecraft-Konsolen-Client kann sowohl durch Kommandozeilenparameter und der Konfigurationsdatei konfiguriert werden.
By the default all of the configurations are stored in the configuration file named MinecraftClient.ini
which is created the first time you run the program, but you also can specify your own configuration file by providing a path to it as a first parameter when starting the MCC, check out Usage for examples.
Warnung
Kürzlich haben wir das Konfigurationsformat von INI auf TOML geändert und die Dokumentation musste aktualisiert werden. Wenn du einen Fehler findest, melde ihn bitte auf unserem Discord-Server oder im Repositorium als Problem.
Anmerkungen
- Some settings will be omitted from the documentation due to them being not used often, we do not want documentation to be cluttered, we advise you to manually read through the configuration file, where every setting has a description next to it.
- Some plugin/bot related settings will be covered in the plugins section, not here
Konfigurationsdatei
Format
The configuration file uses the TOML format, all of the options are key-value pairs separated into sections.
Sections are defined in-between the square brackets (Example: [This is a section]
), each occurrence of this marks a beginning of a new section.
The settings/options are defined as key-value pairs, where the name of the setting and the value are separated by the equals sign =
(Example: some-setting=some value
).
Lines starting with #
are comments, they do not have an effect on the configuration of the program, their purpose is purely a descriptive one.
To get familiar with all the data types and styles of settings please read the official TOML documenation.
Vollständiges Beispiel:
[SectionNameHere]
Setting_Name = "this is some name"
Setting_Something = 15
[OtherSection]
# This is a comment explaining what this setting/option does
Other_Setting = true # This also is a comment
[ThirdSection]
Section_Enabled = true
colors = [ "red", "yellow", "green" ]
[ThirdSection.Subsection]
Coordinate = { x = 145, y = 64, y = 2045 }
Main Section
Main General section
- Section header:
Main.General
Account
Beschreibung:
This setting is where you need to provide your in-game name (for offline accounts) or email for Microsoft accounts (Mojang accounts do not work anymore) and your password (if using an offline account, use
-
for the password).Format:
Account = { Login = "<email>", Password = "<password>" }
Type:
inline table
Beispiel:
Account = { Login = "some.random.player@gmail.com", Password = "myEpicPassword123" }
Server
Beschreibung:
This is the setting where you provide the address of the game server, "Host" can be filled in with domain name or IP address. (The "Port" field can be deleted, it will be resolved automatically)
Host can also fill in the nickname of the server in the "Server List" below.
Format:
Server = { Host = "<ip>", Port = <port> }
Type:
inline table
Beispiel:
Server = { Host = "mysupercoolserver.com" }
Server = { Host = "192.168.1.27", Port = 12345 }
Server = { Host = "ServerAlias1" }
AccountType
Beschreibung:
This setting is where you define the type of your account:
mojang
ormicrosoft
Tipp
Mojang accounts are going to stop working soon for everyone, they already are not working for some people.
Typ:
string
Default:
microsoft
Beispiel:
AccountType = "microsoft"
Method
Beschreibung:
This setting is where you define the way you will sign in with your Microsoft account, available options are
mcc
andbrowser
.Typ:
string
Standard:
mcc
Beispiel:
Method = "mcc"
Main Advanced section
- Section header:
Main.Advanced
Language
Beschreibung:
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.
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.To find your language code, check this link.
Typ:
string
Standard:
en_gb
Beispiel:
Language = "en_gb"
ConsoleTitle
Beschreibung:
This setting is where you can change the title of the program window if you want to. You can use the variables in it.
Typ:
string
Default:
"%username%@%serverip% - Minecraft Console Client"
Beispiel:
ConsoleTitle = "%username%@%serverip% - Minecraft Console Client"
InternalCmdChar
Beschreibung:
This setting is where you can change the prefix character of internal MCC commands.
Available options:
none
slash
backslash
Typ:
string
Default:
slash
Beispiel:
InternalCmdChar = "slash"
MessageCooldown
Beschreibung:
This setting is where you can change the minimum delay in seconds between messages to avoid being kicked for spam.
Typ:
float
Default:
1.0
BotOwners
Beschreibung:
This setting is where you can set the owners of the bots/client which can be used by some plugins. The names are separated as strings within an array, separated by commas.
Format:
BotOwners = [ "<nick>", "<nick>", ... ]
Type:
array of strings
Default:
[ "Player1", "Player2", ]
Beispiel:
BotOwners = [ "milutinke", "bradbyte", "BruceChen", ]
Warnung
Admins can impersonate players on versions older than 1.19
MinecraftVersion
Beschreibung:
This setting is where you can set the version you are playing on.
Format:
MinecraftVersion = "<version>"
Typ:
string
Version format:
1.X.X
Typ:
string
Default:
auto
Beispiel:
MinecraftVersion = "1.18.2"
Tipp
MCC supports only 1.4.6 - 1.19.2
EnableForge
Beschreibung:
This setting is where you can define if you're playing on a forge server.
Typ:
string
Available options:
auto
no
force
Default:
auto
Tipp
Force-enabling only works for MC 1.13 +
BrandInfo
Beschreibung:
This setting is where you can change how MCC identifies itself to the server. It can be whatever you like, example:
vanilla
,mcc
,empty
.Typ:
string
Standard:
mcc
Tipp
For playing on Hypixel you need to use
vanilla
ChatbotLogFile
Beschreibung:
This setting is where you can set the path to the file which will contain the logs, leave empty for no log file.
Typ:
string
Standard: Leer
Beispiel:
ChatbotLogFile = "my-log.txt"
PrivateMsgsCmdName
Beschreibung:
The name of the command which is used for remote control of the bot.
Typ:
string
Default:
tell
ShowSystemMessages
Beschreibung:
This setting is where you can define if you want to see the system messages (example command block outputs) if you're an OP.
Typ:
boolean
Standard:
true
ShowXPBarMessages
Beschreibung:
This setting is where you can define if you want to see the Boss XP Bar messages.
Typ:
boolean
Standard:
true
Note: Can create a spam if there is a bunch of withers
ShowChatLinks
Beschreibung:
This setting is where you can define if you want to decode links embedded in chat messages and show them in console.
Typ:
boolean
Standard:
true
ShowInventoryLayout
Beschreibung:
This setting is where you can define if you want to have the MCC show you the inventory in a form of an ASCII art when using the
/inventory
internal command.How it looks like:
Typ:
boolean
Standard:
true
TerrainAndMovements
Beschreibung:
This setting is where you can set if you want to enable terrain movement, so you can use command like
/move
and some bots.Warnung
This feature is currently not supported in
1.4.6 - 1.6
.Typ:
boolean
Standard:
false
Tipp
Sometimes the latest versions might not support this straight away, since Mojang often makes changes to this.
InventoryHandling
Beschreibung:
This setting is where you can set if you want to enable inventory handling using the
/inventory
command.Warnung
This feature is currently not supported in
1.4.6 - 1.9
. But we are working on getting it supported in 1.8 and 1.9.Typ:
boolean
Standard:
false
EntityHandling
Beschreibung:
This setting is where you can set if you want to enable interactions with entities such as players, mobs, minecarts, etc..
Warnung
This feature is currently not supported in
1.4.6 - 1.7
.Typ:
boolean
Standard:
false
Tipp
Sometimes the latest versions might not support this straight away, since Mojang often makes changes to this.
SessionCache
Beschreibung:
This setting is where you can define is you want your session info to be stored on the disk or in memory, or not to be stored (this will make you login every time which will add some time to the process).
You can disable this by using
none
.The
disk
option will save your login authorization token on the disk, but this can be a bit of a security risk if someone else has access to your folder where you have MCC installed.The
memory
will last until you close down the program.Typ:
string
Default:
disk
ProfileKeyCache
Beschreibung:
Same as
SessionCache
but for your profile keys which are used for chat signing and validation.Typ:
string
Default:
disk
ResolveSrvRecords
Beschreibung:
Use
no
,fast
(5s timeout), oryes
.Required for joining some servers.
Typ:
string
Default:
fast
PlayerHeadAsIcon
Beschreibung:
This setting allows you to set the icon of the program to be the head of your in-game skin.
Typ:
boolean
Standard:
true
Tipp
Only works on Windows XP-8 or Windows 10 with old console
ExitOnFailure
Beschreibung:
This setting allows you to define if your want to disable pauses on error, for using MCC in non-interactive scripts
Typ:
boolean
Standard:
false
CacheScript
Beschreibung:
This setting allows you to define if your want to have MCC cache compiled scripts for faster load on low-end devices.
Typ:
boolean
Standard:
true
Timestamps
Beschreibung:
This setting allows you to define if your want to have MCC prepend timestamps to chat messages.
Typ:
boolean
Standard:
false
AutoRespawn
Beschreibung:
This setting allows you to define if your want to auto respawn if you die.
Typ:
boolean
Standard:
false
Tipp
Make sure the spawn point is safe
MinecraftRealms
Beschreibung:
This setting allows you to define if your want to enable support for joining Minecraft Realms.
Typ:
boolean
Standard:
false
MoveHeadWhileWalking
Beschreibung:
This setting allows you to define if your want to enable head movement while walking to avoid anti-cheat triggers
Typ:
boolean
Standard:
true
TcpTimeout
Beschreibung:
This setting allows you to define a custom timeout period in seconds. Use only if you know what you're doing.
Type:
integer
Default:
30
EnableEmoji
Beschreibung:
This setting allows you to disable emojis in the
chunk
command.Typ:
boolean
Standard:
true
MovementSpeed
Beschreibung:
This setting allows you to change the movement speed of the bot.
Type:
integer
Default:
2
Warnung
A movement speed higher than 2 may be considered cheating by some plugins.
IgnoreInvalidPlayerName
Description:
Minecraft player name can only consist of English letters, numbers, and underscore symbols. Other name will be considered as invalid and ignored by default.
Type:
boolean
Default:
true
Account List section
Section header:
Main.Advanced.AccountList
Beschreibung:
This section allows you to add multiple accounts so you can switch easily between them on the fly.
Usage examples:
/connect <serverip> Player1
Type:
array of inline tables
Format:
<account nick> = { Login = "<email>", Password = "<password>" }
Beispiele:
Player1 = { Login = "playerone@email.com", Password = "thepassword" }
Server List section
Section header:
Main.Advanced.ServerList
Beschreibung:
This section allows you to add multiple server aliases which enables fast and easy switching between servers. Aliases cannot contain dots or spaces, and the name "localhost" cannot be used as an alias.
Usage examples:
/connect Server2
Type:
array of inline tables
Format:
<server alias> = { Host = "<ip>", Port = <port> }
Beispiele:
ServerAlias1 = { Host = "mc.awesomeserver.com" } ServerAlias2 = { Host = "192.168.1.27", Port = 12345 }
Signature section
Section header:
Signature
Beschreibung:
Affects only Minecraft 1.19+.
This section contains settings related to a new chat reporting (signing and verifying) feature introduced by Mojang.
LoginWithSecureProfile
Beschreibung:
Microsoft accounts only. If disabled, will not be able to sign chat and join servers configured with
enforce-secure-profile=true
Typ:
boolean
Standard:
true
SignChat
Beschreibung:
Whether to sign the chat sent from the MCC.
Typ:
boolean
Standard:
true
SignMessageInCommand
Beschreibung:
Whether to sign the messages contained in the commands sent by the MCC.
For example, the message in
/msg
and/me
Typ:
boolean
Standard:
true
MarkLegallySignedMsg
Beschreibung:
Use green color block to mark chat with legitimate signatures.
Typ:
boolean
Standard:
false
MarkModifiedMsg
Beschreibung:
Use yellow color block to mark chat that have been modified by the server.
Typ:
boolean
Standard:
true
MarkIllegallySignedMsg
Beschreibung:
Use red color block to mark chat without legitimate signature.
Typ:
boolean
Standard:
true
MarkSystemMessage
Beschreibung:
Use gray color block to mark system message (always without signature).
Typ:
boolean
Standard:
false
ShowModifiedChat
Beschreibung:
Set to true to display messages modified by the server, false to display the original signed messages.
Typ:
boolean
Standard:
true
ShowIllegalSignedChat
Beschreibung:
Whether to display chat and messages in commands without legal signature.
Typ:
boolean
Standard:
true
Logging section
- Section header:
Logging
DebugMessages
Beschreibung:
This setting allows you to define if your want to see debug messages while the client is running, this is useful when there is a bug and you want to report a problem, or if you're developing a script/bot and you want to debug it.
Typ:
boolean
Standard:
false
ChatMessages
Beschreibung:
This setting allows you to define if your want to see chat messages.
Typ:
boolean
Standard:
true
InfoMessages
Beschreibung:
This setting allows you to define if your want to see info messages.
Most of the messages from MCC.
Typ:
boolean
Standard:
true
WarningMessages
Beschreibung:
This setting allows you to define if your want to see warning messages.
Typ:
boolean
Standard:
true
ErrorMessages
Beschreibung:
This setting allows you to define if your want to see error messages.
Typ:
boolean
Standard:
true
ChatFilterRegex
Beschreibung:
This setting allows you to define if your want to filter chat messages being logged using a Regex expression.
More on Regex here.
Typ:
string
Default:
.*
Tipp
Not filtering anything by default
DebugFilterRegex
Beschreibung:
This setting allows you to define if your want to filter debug messages being logged using a Regex expression.
More on Regex here.
Typ:
string
Default:
.*
Tipp
Not filtering anything by default
FilterMode
Beschreibung:
Can be
disable
,blacklist
orwhitelist
"disable" will disable the filter,
blacklist
hides the messages, while thewhitelist
shows the messages that match the Regex expression that you've defined.Typ:
string
Default:
disable
LogToFile
Beschreibung:
This setting allows you to define if your want to log messages to a file.
Typ:
boolean
Standard:
false
LogFile
Beschreibung:
This setting allows you to define a path to a file where you want to log messages if you have enabled logging to a file with
LogToFile = true
.Typ:
string
Default:
console-log.txt
Tipp
%username% and %serverip% will be substituted with your username and the IP address of the server you are connected to. So you can use something like:
console-log-%username%-%serverip%.txt
PrependTimestamp
Beschreibung:
This setting allows you to define if your want prepend timestamps to messages that are written to the log file.
Typ:
boolean
Standard:
false
SaveColorCodes
Beschreibung:
This setting allows you to define if your want keep the server color codes in the logged messages.
Example of a color coded message:
§bsome message
Typ:
boolean
Standard:
false
App Vars section
Section header:
AppVar
Beschreibung:
This section allows you to define your own custom settings/variables which you can use in scripts, bots or other setting fields.
To define a variable/setting, simply make a new line with the following format under the
[AppVar.VarStirng]
section:Tipp
%username%
,%serverip%
,%datetime%
are reserved variablesSection header:
Logging
Beispiele:
your_var = "your_value" "your var 2" = "your value 2"
Proxy section
Section header:
Proxy
Beschreibung:
Connect to a server via a proxy instead of connecting directly.
Enabled_Login
Beschreibung:
If Mojang session services or Microsoft login services are blocked on your network or your ip is blacklisted or rate limited by Microsoft, set the value to
true
.Typ:
boolean
Standard:
false
Enabled_Ingame
Beschreibung:
Whether to connect to the game server through a proxy.
If connecting to a port 25565 (Minecraft) is blocked on your network, set the value to
true
to login and connect using the proxy.Typ:
boolean
Standard:
false
Warnung
Make sure your server rules allow Proxies or VPNs before setting the setting to
true
, or you may face consequences!
Server
Beschreibung:
The proxy server IP and port.
Proxy server must allow HTTPS for login, and non-443 ports for playing.
Format:
Server = { Host = "<ip>", Port = <port> }
Default:
{ Host = "0.0.0.0", Port = 8080 }
Proxy_Type
Beschreibung:
The type of your proxy.
Available options:
HTTPT
SOCKS4
SOCKS4a
SOCKS5
Typ:
string
Default:
HTTPT
Username
Beschreibung:
The proxy account username.
Only needed for password protected proxies.
Default: ``
Password
Beschreibung:
The proxy account password.
Only needed for password protected proxies.
Default: ``
MCSettings section
Section header:
MCSettings
Beschreibung:
Client settings related to language, render distance, difficulty, chat and skins.
Enabled
Beschreibung:
This setting allows you to specify if you want to use settings from this section.
Typ:
boolean
Standard:
true
Locale
Beschreibung:
Use any language implemented in Minecraft
Typ:
string
Default:
en_US
RenderDistance
Beschreibung:
Render distance in chunks:
0 - 255
Type:
integer
Default:
8
Difficulty
Beschreibung:
Available options:
peaceful
easy
normal
difficult
Typ:
string
Default:
normal
ChatMode
Beschreibung:
This setting allows you to effectively mute yourself.
Available options:
enabled
(You can chat)commands
(You can only do commands)disabled
Typ:
string
Default:
enabled
ChatColors
Beschreibung:
This setting allows you to disable chat colors.
Typ:
boolean
Standard:
true
MainHand
Beschreibung:
This setting allows you to specify your main hand.
Available values:
right
andleft
Typ:
string
Default:
left
MCSettings Skin section
Section header:
MCSettings.Skin
Beschreibung:
Skin options.
Cape
Beschreibung:
This setting allows you to specify if you want to have your skin cape shown.
Typ:
boolean
Standard:
true
Hat
Beschreibung:
This setting allows you to specify if you want to have your skin hat shown.
Typ:
boolean
Standard:
true
Jacket
Beschreibung:
This setting allows you to specify if you want to have your skin jacket shown.
Typ:
boolean
Standard:
false
Sleeve_Left
Beschreibung:
This setting allows you to specify if you want to have your left sleeve shown.
Typ:
boolean
Standard:
false
Sleeve_Right
Beschreibung:
This setting allows you to specify if you want to have your right sleeve shown.
Typ:
boolean
Standard:
false
Pants_Left
Beschreibung:
This setting allows you to specify if you want to have your left part of the pants shown.
Typ:
boolean
Standard:
false
Pants_Right
Beschreibung:
This setting allows you to specify if you want to have your right part of the pants shown.
Typ:
boolean
Standard:
false
Chat Format section
Section header:
ChatFormat
Beschreibung:
The MCC does it best to detect chat messages, but some server have unusual chat formats.
When this happens, you'll need to configure the chat format yourself using settings from this section.
The MCC uses Regular Expressions (Regex) to detect the chat formatting, in case that you're not familiar with Regex you can use the following resources to learn it and test it out:
Crashkurse:
In-depth tutorials:
Testing Regex expressions online:
Builtins
Beschreibung:
This setting allows you to define if your want use the default chat formats.
Set to
false
to avoid conflicts with custom formats.Typ:
boolean
Standard:
true
UserDefined
Beschreibung:
This setting allows you to define if your want to use the custom chat formats defined bellow using Regex.
Set to
true
to use the custom formats defined inPublic
,Private
andTeleportRequest
.Typ:
boolean
Standard:
false
Public
Beschreibung:
This setting allows you to specify a custom chat message format using Regex (Regular expressions).
More on Regex here.
Only works when
Builtins
is set tofalse
.Typ:
string
Default:
Public = "^<([a-zA-Z0-9_]+)> (.+)$"
Private
Beschreibung:
This setting allows you to specify a custom chat message format for private messages using Regex (Regular expressions).
More on Regex here.
Only works when
Builtins
is set tofalse
.Typ:
string
Default:
Private = "^([a-zA-Z0-9_]+) whispers to you: (.+)$"
TeleportRequest
Beschreibung:
This setting allows you to specify a custom chat message format for a Teleport request using Regex (Regular expressions).
More on Regex here.
Only works when
Builtins
is set tofalse
.Typ:
string
Default:
TeleportRequest = '^([a-zA-Z0-9_]+) has requested (?:to|that you) teleport to (?:you|them)\.$'