mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-11-07 17:36:07 +00:00
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
This commit is contained in:
parent
0c88c18ea0
commit
2017d5d652
54 changed files with 1658 additions and 660 deletions
167
MinecraftClient/Resources/config/MinecraftClient.ini
Normal file
167
MinecraftClient/Resources/config/MinecraftClient.ini
Normal file
|
|
@ -0,0 +1,167 @@
|
|||
# Startup Config File
|
||||
|
||||
[Main]
|
||||
|
||||
# General settings
|
||||
# Leave blank to prompt user on startup
|
||||
# Use "-" as password for offline mode
|
||||
|
||||
login=
|
||||
password=
|
||||
serverip=
|
||||
|
||||
# Advanced settings
|
||||
|
||||
language=en_GB
|
||||
consoletitle=%username%@%serverip% - Minecraft Console Client
|
||||
internalcmdchar=slash # Use 'none', 'slash' or 'backslash'
|
||||
splitmessagedelay=2 # Seconds between each part of a long message
|
||||
botowners=Player1,Player2,Player3 # Name list or myfile.txt, one name per line. !Server admins can impersonate owners!
|
||||
botmessagedelay=2 # Seconds to delay between message a bot makes to avoid accidental spam
|
||||
mcversion=auto # Use 'auto' or '1.X.X' values
|
||||
mcforge=auto # Use 'auto' or 'false'
|
||||
brandinfo=mcc # Use 'mcc','vanilla', or 'none'
|
||||
chatbotlogfile= # Leave empty for no logfile
|
||||
privatemsgscmdname=tell # Used by RemoteControl bot
|
||||
showsystemmessages=true # System messages for server ops
|
||||
showxpbarmessages=true # Messages displayed above xp bar
|
||||
showchatlinks=true # Show links embedded in chat messages
|
||||
terrainandmovements=false # Uses more ram, cpu, bandwidth
|
||||
inventoryhandling=false # Toggle inventory handling (beta)
|
||||
entityhandling=false # Toggle entity handling (beta)
|
||||
sessioncache=disk # How to retain session tokens. Use 'none', 'memory' or 'disk'
|
||||
resolvesrvrecords=fast # Use 'false', 'fast' (5s timeout), or 'true'. Required for joining some servers.
|
||||
accountlist=accounts.txt # See README > 'Servers and Accounts file' for more info about this file
|
||||
serverlist=servers.txt # See README > 'Servers and Accounts file' for more info about this file
|
||||
playerheadicon=true # Only works on Windows XP-8 or Windows 10 with old console
|
||||
exitonfailure=false # Disable pauses on error, for using MCC in non-interactive scripts
|
||||
debugmessages=false # Please enable this before submitting bug reports. Thanks!
|
||||
scriptcache=true # Cache compiled scripts for faster load on low-end devices
|
||||
timestamps=false # Prepend timestamps to chat messages
|
||||
autorespawn=false # Toggle auto respawn if client player was dead (make sure your spawn point is safe)
|
||||
|
||||
[AppVars]
|
||||
# yourvar=yourvalue
|
||||
# can be used in some other fields as %yourvar%
|
||||
# %username% and %serverip% are reserved variables.
|
||||
|
||||
[Proxy]
|
||||
enabled=false # Use 'false', 'true', or 'login' for login only
|
||||
type=HTTP # Supported types: HTTP, SOCKS4, SOCKS4a, SOCKS5
|
||||
server=0.0.0.0:0000 # Proxy server must allow HTTPS for login, and non-443 ports for playing
|
||||
username= # Only required for password-protected proxies
|
||||
password= # Only required for password-protected proxies
|
||||
|
||||
[ChatFormat]
|
||||
# Do not forget to uncomment (remove '#') these settings if modifying them
|
||||
builtins=true # MCC built-in support for common message formats
|
||||
# public=^<([a-zA-Z0-9_]+)> (.+)$
|
||||
# private=^([a-zA-Z0-9_]+) whispers to you: (.+)$
|
||||
# tprequest=^([a-zA-Z0-9_]+) has requested (?:to|that you) teleport to (?:you|them)\.$
|
||||
|
||||
[MCSettings]
|
||||
enabled=true # If disabled, settings below are not sent to the server
|
||||
locale=en_US # Use any language implemented in Minecraft
|
||||
renderdistance=medium # Use tiny, short, medium, far, or chunk amount [0 - 255]
|
||||
difficulty=normal # MC 1.7- difficulty. peaceful, easy, normal, difficult
|
||||
chatmode=enabled # Use 'enabled', 'commands', or 'disabled'. Allows to mute yourself...
|
||||
chatcolors=true # Allows disabling chat colors server-side
|
||||
main_hand=left # MC 1.9+ main hand. left or right
|
||||
skin_cape=true
|
||||
skin_hat=true
|
||||
skin_jacket=false
|
||||
skin_sleeve_left=false
|
||||
skin_sleeve_right=false
|
||||
skin_pants_left=false
|
||||
skin_pants_right=false
|
||||
# Bot Settings
|
||||
|
||||
[Alerts]
|
||||
enabled=false
|
||||
alertsfile=alerts.txt
|
||||
excludesfile=alerts-exclude.txt
|
||||
beeponalert=true
|
||||
|
||||
[AntiAFK]
|
||||
enabled=false
|
||||
delay=600 #10 = 1s
|
||||
command=/ping
|
||||
|
||||
[AutoRelog]
|
||||
enabled=false
|
||||
delay=10
|
||||
retries=3 #-1 = unlimited
|
||||
ignorekickmessage=false
|
||||
kickmessagesfile=kickmessages.txt
|
||||
|
||||
[ChatLog]
|
||||
enabled=false
|
||||
timestamps=true
|
||||
filter=messages
|
||||
logfile=chatlog-%username%-%serverip%.txt
|
||||
|
||||
[Hangman]
|
||||
enabled=false
|
||||
english=true
|
||||
wordsfile=hangman-en.txt
|
||||
fichiermots=hangman-fr.txt
|
||||
|
||||
[ScriptScheduler]
|
||||
enabled=false
|
||||
tasksfile=tasks.ini
|
||||
|
||||
[RemoteControl]
|
||||
enabled=false
|
||||
autotpaccept=true
|
||||
tpaccepteveryone=false
|
||||
|
||||
[AutoRespond]
|
||||
enabled=false
|
||||
matchesfile=matches.ini
|
||||
|
||||
[AutoAttack]
|
||||
# Entity Handling NEED to be enabled first
|
||||
enabled=false
|
||||
mode=single # single or multi. single target one mob per attack. multi target all mobs in range per attack
|
||||
priority=distance # health or distance. Only needed when using single mode
|
||||
|
||||
[AutoFishing]
|
||||
# Entity Handling NEED to be enabled first
|
||||
enabled=false
|
||||
antidespawn=false
|
||||
|
||||
[AutoEat]
|
||||
# Inventory Handling NEED to be enabled first
|
||||
enabled=false
|
||||
threshold=6
|
||||
|
||||
[AutoCraft]
|
||||
# Inventory Handling NEED to be enabled first
|
||||
# Enable terrainandmovements if you need to use crafting table
|
||||
enabled=false
|
||||
configfile=autocraft\config.ini
|
||||
|
||||
[Mailer]
|
||||
# Let the bot act like a mail plugin
|
||||
enabled=false
|
||||
database=MailerDatabase.ini
|
||||
ignorelist=MailerIgnoreList.ini
|
||||
publicinteractions=false
|
||||
maxmailsperplayer=10
|
||||
maxdatabasesize=10000
|
||||
retentiondays=30
|
||||
|
||||
[AutoDrop]
|
||||
# Inventory Handling NEED to be enabled first
|
||||
enabled=false
|
||||
mode=include # include, exclude or everything. Include: drop item IN the list. Exclude: drop item NOT IN the list
|
||||
items= # separate each item with comma ','
|
||||
# For the naming of the items, please see
|
||||
# https://github.com/ORelio/Minecraft-Console-Client/blob/master/MinecraftClient/Inventory/ItemType.cs
|
||||
|
||||
[ReplayMod]
|
||||
# Enable recording the game and replay it later using Replay Mod
|
||||
# You MUST exit the program using /quit command or the replay will NOT be saved!
|
||||
enabled=false
|
||||
backupinterval=300 # How long should replay file be auto-saved, in seconds. Use -1 for disabled
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue