mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-11-07 17:36:07 +00:00
Merge branch 'master' into rpc
This commit is contained in:
commit
477da50fe0
24 changed files with 1230 additions and 116 deletions
Binary file not shown.
|
|
@ -477,20 +477,24 @@ cmd.useitem.use=Used an item
|
|||
# ChatBots. Naming style: bot.<className>.<msg...>
|
||||
|
||||
# Alerts
|
||||
botname.Alerts=Alerts
|
||||
bot.alerts.start_rain=§cWeather change: It is raining now.§r
|
||||
bot.alerts.end_rain=§cWeather change: It is no longer raining.§r
|
||||
bot.alerts.start_thunderstorm=§cWeather change: It is a thunderstorm.§r
|
||||
bot.alerts.end_thunderstorm=§cWeather change: It is no longer a thunderstorm.§r
|
||||
|
||||
# Anti AFK
|
||||
botname.AntiAFK=AntiAFK
|
||||
bot.antiafk.not_using_terrain_handling=The terrain handling is not enabled in the settings of the client, enable it if you want to use it with this bot. Using alternative (command) method.
|
||||
bot.antiafk.swapping=The time range begins with a bigger value, swapped them around.
|
||||
bot.antiafk.invalid_walk_range=Invalid walk range provided, must be a positive integer greater than 0, using default value of 5!
|
||||
|
||||
# AutoAttack
|
||||
botname.AutoAttack=AutoAttack
|
||||
bot.autoAttack.invalidcooldown=Attack cooldown value cannot be smaller than 0.
|
||||
|
||||
# AutoCraft
|
||||
botname.AutoCraft=AutoCraft
|
||||
bot.autoCraft.cmd=Auto-crafting ChatBot command
|
||||
bot.autoCraft.alias=Auto-crafting ChatBot command alias
|
||||
bot.autoCraft.cmd.list=Total {0} recipes loaded: {1}
|
||||
|
|
@ -523,6 +527,7 @@ bot.autocraft.invaild_slots=The number of slots does not match and has been adju
|
|||
bot.autocraft.invaild_invaild_result=Invalid result item!
|
||||
|
||||
# AutoDig
|
||||
botname.AutoDig=AutoDig
|
||||
bot.autodig.start_delay=Digging will start in {0:0.0} second(s).
|
||||
bot.autodig.dig_timeout=Digging block timeout, retry.
|
||||
bot.autodig.not_allow=The block currently pointed to is not in the allowed list.
|
||||
|
|
@ -535,6 +540,7 @@ bot.autodig.help.stop=Deactivate the automatic digging bot.
|
|||
bot.autodig.help.help=Get the command description. Usage: /digbot help <command name>
|
||||
|
||||
# AutoDrop
|
||||
botname.AutoDrop=AutoDrop
|
||||
bot.autoDrop.cmd=AutoDrop ChatBot command
|
||||
bot.autoDrop.alias=AutoDrop ChatBot command alias
|
||||
bot.autoDrop.on=AutoDrop enabled
|
||||
|
|
@ -550,7 +556,11 @@ bot.autoDrop.unknown_mode=Unknwon mode. Available modes: Include, Exclude, Every
|
|||
bot.autoDrop.no_mode=Cannot read drop mode from config. Using include mode.
|
||||
bot.autoDrop.no_inventory=Cannot find inventory {0}!
|
||||
|
||||
# AutoEat
|
||||
botname.AutoEat=AutoEat
|
||||
|
||||
# AutoFish
|
||||
botname.AutoFishing=AutoFishing
|
||||
bot.autoFish.no_inv_handle=Inventory handling is not enabled. Cannot check rod durability and switch rods.
|
||||
bot.autoFish.start_at=Fishing will start in {0:0.0} second(s).
|
||||
bot.autoFish.throw=Casting successfully.
|
||||
|
|
@ -563,15 +573,20 @@ bot.autoFish.fishing_timeout=Fishing timeout, will soon re-cast.
|
|||
bot.autoFish.cast_timeout=Casting timeout and will soon retry. (Timeout increased to {0:0.0} sec).
|
||||
bot.autoFish.update_lookat=Update yaw = {0:0.00}, pitch = {1:0.00}.
|
||||
bot.autoFish.switch=Switch to the rod in slot {0}, durability {1}/64.
|
||||
bot.autoFish.status_info=All items obtained from fishing (not entirely accurate):
|
||||
# AutoFish cmd
|
||||
bot.autoFish.cmd=Auto-Fishing ChatBot command
|
||||
bot.autoFish.available_cmd=Available commands: {0}. Use /fish help <cmd name> for more information.
|
||||
bot.autoFish.start=Start auto-fishing.
|
||||
bot.autoFish.stop=Stop auto-fishing.
|
||||
bot.autoFish.status_clear=The record of the obtained items has been cleared.
|
||||
bot.autoFish.help.start=Start auto-fishing.
|
||||
bot.autoFish.help.stop=Stop auto-fishing.
|
||||
bot.autoFish.help.status=List all obtained items. Or use "/fish status clear" to clear the list.
|
||||
bot.autoFish.help.help=Get the command description. Usage: /fish help <command name>
|
||||
|
||||
# AutoRelog
|
||||
botname.AutoRelog=AutoRelog
|
||||
bot.autoRelog.launch=Launching with {0} reconnection attempts
|
||||
bot.autoRelog.no_kick_msg=Initializing without a kick message file
|
||||
bot.autoRelog.loading=Loading messages from file: {0}
|
||||
|
|
@ -586,6 +601,7 @@ bot.autoRelog.reconnect_ignore=Message not containing any defined keywords. Igno
|
|||
bot.autoRelog.wait=Waiting {0:0.000} seconds before reconnecting...
|
||||
|
||||
# AutoRespond
|
||||
botname.AutoRespond=AutoRespond
|
||||
bot.autoRespond.loading=Loading matches from '{0}'
|
||||
bot.autoRespond.file_not_found=File not found: '{0}'
|
||||
bot.autoRespond.loaded_match=Loaded match:\n{0}
|
||||
|
|
@ -595,9 +611,70 @@ bot.autoRespond.match_run=Running action: {0}
|
|||
bot.autoRespond.match=match: {0}\nregex: {1}\naction: {2}\nactionPrivate: {3}\nactionOther: {4}\nownersOnly: {5}\ncooldown: {6}
|
||||
|
||||
# ChatLog
|
||||
botname.ChatLog=ChatLog
|
||||
bot.chatLog.invalid_file=Path '{0}' contains invalid characters.
|
||||
|
||||
# DiscordBridge
|
||||
botname.DiscordBridge=DiscordBridge
|
||||
bot.DiscordBridge.command_executed=The command was executed with the result
|
||||
bot.DiscordBridge.connected=Succesfully connected with MCC!
|
||||
bot.DiscordBridge.missing_token=Please provide a valid token!
|
||||
bot.DiscordBridge.guild_not_found=The provided guild/server with an id '{0}' has not been found!
|
||||
bot.DiscordBridge.channel_not_found=The provided channel with an id '{0}' has not been found!
|
||||
bot.DiscordBridge.unknown_error=An unknown error has occured!
|
||||
bot.DiscordBridge.canceled_sending=Sending message to Discord was canceled due an error occuring. For more info enable Debug.
|
||||
bot.DiscordBridge.desc=This command allows you to specify in the which direction the messages will be relayed via the Discord Bridge chat bot.
|
||||
bot.DiscordBridge.invalid_direction=Invalid direction provided! Available directions: both|b, minecraft|mc, discord|dsc. Example: "dscbridge direction mc"
|
||||
bot.DiscordBridge.direction=Direction of the Discord Brdige has been switched to '{0}'!
|
||||
bot.DiscordBridge.direction.both=Both
|
||||
bot.DiscordBridge.direction.minecraft=Minecraft
|
||||
bot.DiscordBridge.direction.discord=Discord
|
||||
|
||||
# Farmer
|
||||
botname.Farmer=Farmer
|
||||
bot.farmer.desc=Farming bot
|
||||
bot.farmer.not_implemented=Not implemented bellow 1.13!
|
||||
bot.farmer.already_stopped=The bot has already stopped farming!
|
||||
bot.farmer.stopping=Stoping farming, this might take a second...
|
||||
bot.farmer.stopped=Stopped farming!
|
||||
bot.farmer.already_running=The bot is already farming!
|
||||
bot.farmer.invalid_crop_type=Invalid crop type provided (Types which you can use: Beetroot, Carrot, Melon, Netherwart, Pumpkin, Potato, Wheat)!
|
||||
bot.farmer.warining_invalid_parameter=Invalid parameter "{0}" provided (Use format: "key:value")!
|
||||
bot.farmer.invalid_radius=Invalid radius provided, you must provide a valid integer number greater than 0!
|
||||
bot.farmer.warining_force_unsafe=You have enabled un-safe movement, the bot might get hurt!
|
||||
bot.farmer.warining_allow_teleport=You have enabled teleporting, this might get your bot account kicked and in the worst case scenario banned! Use with caution!
|
||||
bot.farmer.started=Started farming!
|
||||
bot.farmer.crop_type=Crop type
|
||||
bot.farmer.radius=Radius
|
||||
bot.farmer.needs_terrain=The Farmer bot needs Terrain Handling in order to work, please enable it!
|
||||
bot.farmer.needs_inventory=The Farmer bot needs Inventory Handling in order to work, please enable it!
|
||||
|
||||
# Follow player
|
||||
botname.FollowPlayer=FollowPlayer
|
||||
cmd.follow.desc=Makes the bot follow a specified player
|
||||
cmd.follow.usage=follow <player name|stop> [-f] (Use -f to enable un-safe walking)
|
||||
cmd.follow.already_stopped=Already stopped
|
||||
cmd.follow.stopping=Stopped following!
|
||||
cmd.follow.invalid_name=Invalid or empty player name provided!
|
||||
cmd.follow.invalid_player=The specified player is either not connected out out of the range!
|
||||
cmd.follow.cant_reach_player=Can not reach the player, he is either in chunks that are not loaded, too far away or not reachable by a bot due to obstacles like gaps or water bodies!
|
||||
cmd.follow.already_following=Already following {0}!
|
||||
cmd.follow.switched=Switched to following {0}!
|
||||
cmd.follow.started=Started following {0}!
|
||||
cmd.follow.unsafe_enabled=Enabled us-safe walking (NOTE: The bot might die or get hurt!)
|
||||
cmd.follow.note=NOTE: The bot is quite slow, you need to walk slowly and at a close distance for it to be able to keep up, kinda like when you make animals follow you by holding food in your hand. This is a limitation due to a pathfinding algorithm, we are working to get a better one.
|
||||
cmd.follow.player_came_to_the_range=The player {0} came back to the range!
|
||||
cmd.follow.resuming=Resuming to follow!
|
||||
cmd.follow.player_left_the_range=The player {0} has left the range!
|
||||
cmd.follow.pausing=Pausing!
|
||||
cmd.follow.player_left=The player {0} left the server!
|
||||
cmd.follow.stopping=Stopped!
|
||||
|
||||
# HangmanGame
|
||||
botname.HangmanGame=HangmanGame
|
||||
|
||||
# Mailer
|
||||
botname.Mailer=Mailer
|
||||
bot.mailer.init=Initializing Mailer with settings:
|
||||
bot.mailer.init.db= - Database File: {0}
|
||||
bot.mailer.init.ignore= - Ignore List: {0}
|
||||
|
|
@ -630,6 +707,7 @@ bot.mailer.cmd.ignore.invalid=Missing or invalid name. Usage: {0} <username>
|
|||
bot.mailer.cmd.help=See usage
|
||||
|
||||
# Maps
|
||||
botname.Map=Map
|
||||
bot.map.cmd.desc=Render maps (item maps)
|
||||
bot.map.cmd.not_found=A map with id '{0}' does not exists!
|
||||
bot.map.cmd.invalid_id=Invalid ID provided, must be a number!
|
||||
|
|
@ -640,58 +718,32 @@ bot.map.rendered=Succesfully rendered a map with id '{0}' to: '{1}'
|
|||
bot.map.failed_to_render=Failed to render the map with id: '{0}'
|
||||
bot.map.list_item=- Map id: {0} (Last Updated: {1})
|
||||
bot.map.scale=The size of the map is reduced from ({0}x{1}) to ({2}x{3}) due to the size limitation of the current terminal.
|
||||
bot.map.resized_rendered_image=Resized the rendered image of the map with id: '{0}' to {1}x{1}.
|
||||
bot.map.sent_to_discord=Sent a rendered image of a map with an id '{0}' to the Discord via Discord Brdige chat bot!
|
||||
bot.map.sent_to_telegram=Sent a rendered image of a map with an id '{0}' to the Telegram via Telegram Bridge chat bot!
|
||||
|
||||
# PlayerListLogger
|
||||
botname.PlayerListLogger=PlayerListLogger
|
||||
|
||||
# RemoteControl
|
||||
botname.RemoteControl=RemoteControl
|
||||
|
||||
# ReplayCapture
|
||||
botname.ReplayCapture=ReplayCapture
|
||||
bot.replayCapture.cmd=replay command
|
||||
bot.replayCapture.created=Replay file created.
|
||||
bot.replayCapture.stopped=Record stopped.
|
||||
bot.replayCapture.restart=Record was stopped. Restart the program to start another record.
|
||||
|
||||
# Farmer
|
||||
bot.farmer.desc=Farming bot
|
||||
bot.farmer.not_implemented=Not implemented bellow 1.13!
|
||||
bot.farmer.already_stopped=The bot has already stopped farming!
|
||||
bot.farmer.stopping=Stoping farming, this might take a second...
|
||||
bot.farmer.stopped=Stopped farming!
|
||||
bot.farmer.already_running=The bot is already farming!
|
||||
bot.farmer.invalid_crop_type=Invalid crop type provided (Types which you can use: Beetroot, Carrot, Melon, Netherwart, Pumpkin, Potato, Wheat)!
|
||||
bot.farmer.warining_invalid_parameter=Invalid parameter "{0}" provided (Use format: "key:value")!
|
||||
bot.farmer.invalid_radius=Invalid radius provided, you must provide a valid integer number greater than 0!
|
||||
bot.farmer.warining_force_unsafe=You have enabled un-safe movement, the bot might get hurt!
|
||||
bot.farmer.warining_allow_teleport=You have enabled teleporting, this might get your bot account kicked and in the worst case scenario banned! Use with caution!
|
||||
bot.farmer.started=Started farming!
|
||||
bot.farmer.crop_type=Crop type
|
||||
bot.farmer.radius=Radius
|
||||
bot.farmer.needs_terrain=The Farmer bot needs Terrain Handling in order to work, please enable it!
|
||||
bot.farmer.needs_inventory=The Farmer bot needs Inventory Handling in order to work, please enable it!
|
||||
|
||||
# Follow player
|
||||
cmd.follow.desc=Makes the bot follow a specified player
|
||||
cmd.follow.usage=follow <player name|stop> [-f] (Use -f to enable un-safe walking)
|
||||
cmd.follow.already_stopped=Already stopped
|
||||
cmd.follow.stopping=Stopped following!
|
||||
cmd.follow.invalid_name=Invalid or empty player name provided!
|
||||
cmd.follow.invalid_player=The specified player is either not connected out out of the range!
|
||||
cmd.follow.cant_reach_player=Can not reach the player, he is either in chunks that are not loaded, too far away or not reachable by a bot due to obstacles like gaps or water bodies!
|
||||
cmd.follow.already_following=Already following {0}!
|
||||
cmd.follow.switched=Switched to following {0}!
|
||||
cmd.follow.started=Started following {0}!
|
||||
cmd.follow.unsafe_enabled=Enabled us-safe walking (NOTE: The bot might die or get hurt!)
|
||||
cmd.follow.note=NOTE: The bot is quite slow, you need to walk slowly and at a close distance for it to be able to keep up, kinda like when you make animals follow you by holding food in your hand. This is a limitation due to a pathfinding algorithm, we are working to get a better one.
|
||||
cmd.follow.player_came_to_the_range=The player {0} came back to the range!
|
||||
cmd.follow.resuming=Resuming to follow!
|
||||
cmd.follow.player_left_the_range=The player {0} has left the range!
|
||||
cmd.follow.pausing=Pausing!
|
||||
cmd.follow.player_left=The player {0} left the server!
|
||||
cmd.follow.stopping=Stopped!
|
||||
|
||||
# Script
|
||||
botname.Script=Script
|
||||
bot.script.not_found=§8[MCC] [{0}] Cannot find script file: {1}
|
||||
bot.script.file_not_found=File not found: '{0}'
|
||||
bot.script.fail=Script '{0}' failed to run ({1}).
|
||||
bot.script.pm.loaded=Script '{0}' loaded.
|
||||
|
||||
# ScriptScheduler
|
||||
botname.ScriptScheduler=ScriptScheduler
|
||||
bot.scriptScheduler.loaded_task=Loaded task:\n{0}
|
||||
bot.scriptScheduler.no_trigger=This task will never trigger:\n{0}
|
||||
bot.scriptScheduler.no_action=No action for task:\n{0}
|
||||
|
|
@ -700,6 +752,24 @@ bot.scriptScheduler.running_inverval=Interval / Running action: {0}
|
|||
bot.scriptScheduler.running_login=Login / Running action: {0}
|
||||
bot.scriptScheduler.task=triggeronfirstlogin: {0}\n triggeronlogin: {1}\n triggerontime: {2}\n triggeroninterval: {3}\n timevalue: {4}\n timeinterval: {5}\n action: {6}
|
||||
|
||||
# TelegramBridge
|
||||
botname.TelegramBridge=TelegramBridge
|
||||
bot.TelegramBridge.command_executed=The command was executed with the result
|
||||
bot.TelegramBridge.connected=Succesfully connected with the MCC!
|
||||
bot.TelegramBridge.disconnected=Disconnected from from the MCC!
|
||||
bot.TelegramBridge.missing_token=Please provide a valid bot token!
|
||||
bot.TelegramBridge.missing_channel_id=[WARNING] You have not provided a Channel ID, you will ONLY get replies to commands sent from Telegram!
|
||||
bot.TelegramBridge.missing_authorized_channels=[WARNING] You have not provided any Channel IDs, for "Authorized_Chat_Ids" field, anyone who finds your bot will be able to send messages and commands to it!
|
||||
bot.TelegramBridge.unauthorized=**🛑 Unauthorized access! 🛑\n\nAdd the ID of this chat to "Authorized_Chat_Ids" field in the configuration file to gain access!**
|
||||
bot.TelegramBridge.unknown_error=An unknown error has occured!
|
||||
bot.TelegramBridge.canceled_sending=Sending message to Telegram was canceled due an error occuring. For more info enable Debug.
|
||||
bot.TelegramBridge.desc=This command allows you to specify in the which direction the messages will be relayed via the Telegram Bridge chat bot.
|
||||
bot.TelegramBridge.invalid_direction=Invalid direction provided! Available directions: both|b, minecraft|mc, telegram|tg|t. Example: "tgbridge direction mc"
|
||||
bot.TelegramBridge.direction=Direction of the Telegram Brdige has been switched to '{0}'!
|
||||
bot.TelegramBridge.direction.both=Both
|
||||
bot.TelegramBridge.direction.minecraft=Minecraft
|
||||
bot.TelegramBridge.direction.Telegram=Telegram
|
||||
|
||||
# WebSocketBot
|
||||
bot.WebSocketBot.session_id_changed=§bSession with an id §a{0}§b has been renamed to: §a{1}§b!
|
||||
bot.WebSocketBot.session_authenticated=§bSession with an id §a{0}§b has been succesfully authenticated!
|
||||
|
|
@ -712,12 +782,12 @@ bot.WebSocketBot.new_session=§bNew session connected: §a{0}
|
|||
bot.WebSocketBot.session_disconnected=§bSession with an id §a{0}§b has disconnected!
|
||||
|
||||
# TestBot
|
||||
botname.TestBot=TestBot
|
||||
bot.testBot.told=Bot: {0} told me : {1}
|
||||
bot.testBot.said=Bot: {0} said : {1}
|
||||
|
||||
|
||||
[config]
|
||||
|
||||
config.load=Settings have been loaded from {0}
|
||||
config.load.fail=§cFailed to load settings:§r
|
||||
config.write.fail=§cFailed to write to settings file {0}§r
|
||||
|
|
@ -915,6 +985,15 @@ config.ChatBot.AutoRespond.Match_Colors=Do not remove colors from text (Note: Yo
|
|||
# ChatBot.ChatLog
|
||||
config.ChatBot.ChatLog=Logs chat messages in a file on disk.
|
||||
|
||||
# ChatBot.DiscordBridge
|
||||
config.ChatBot.DiscordBridge=This bot allows you to send and recieve messages and commands via a Discord channel.\n# For Setup you can either use the documentation or read here (Documentation has images).\n# Documentation: https://mccteam.github.io/guide/chat-bots.html#discord-bridge\n# Setup:\n# First you need to create a Bot on the Discord Developers Portal, here is a video tutorial: https://www.youtube.com/watch?v=2FgMnZViNPA .\n# /!\ IMPORTANT /!\: When creating a bot, you MUST ENABLE "Message Content Intent", "Server Members Intent" and "Presence Intent" in order for bot to work! Also follow along carefully do not miss any steps!\n# When making a bot, copy the generated token and paste it here in "Token" field (tokens are important, keep them safe).\n# Copy the "Application ID" and go to: https://bit.ly/2Spn2Q3 .\n# Paste the id you have copied and check the "Administrator" field in permissions, then click on the link at the bottom.\n# This will open an invitation menu with your servers, choose the server you want to invite the bot on and invite him.\n# Once you've invited the bot, go to your Discord client and go to Settings -> Advanced and Enable "Developer Mode".\n# Exit the settings and right click on a server you have invited the bot to in the server list, then click "Copy ID", and paste the id here in "GuildId".\n# Then right click on a channel where you want to interact with the bot and again right click -> "Copy ID", pase the copied id here in "ChannelId".\n# And for the end, send a message in the channel, right click on your nick and again right click -> "Copy ID", then paste the id here in "OwnersIds".\n# How to use:\n# To execute an MCC command, prefix it with a dot ".", example: ".move 143 64 735" .\n# To send a message, simply type it out and hit enter.
|
||||
config.ChatBot.DiscordBridge.Token=Your Discord Bot token.
|
||||
config.ChatBot.DiscordBridge.GuildId=The ID of a server/guild where you have invited the bot to.
|
||||
config.ChatBot.DiscordBridge.ChannelId=The ID of a channel where you want to interact with the MCC using the bot.
|
||||
config.ChatBot.DiscordBridge.OwnersIds=A list of IDs of people you want to be able to interact with the MCC using the bot.
|
||||
config.ChatBot.DiscordBridge.MessageSendTimeout=How long to wait (in seconds) if a message can not be sent to discord before canceling the task (minimum 1 second).
|
||||
config.ChatBot.DiscordBridge.Formats=Message formats\n# Words wrapped with { and } are going to be replaced during the code execution, do not change them!\n# For example. {message} is going to be replace with an actual message, {username} will be replaced with an username, {timestamp} with the current time.\n# For Discord message formatting, check the following: https://bit.ly/3F8CUCm
|
||||
|
||||
# ChatBot.Farmer
|
||||
config.ChatBot.Farmer=Automatically farms crops for you (plants, breaks and bonemeals them).\n# Crop types available: Beetroot, Carrot, Melon, Netherwart, Pumpkin, Potato, Wheat.\n# Usage: "/farmer start" command and "/farmer stop" command.\n# NOTE: This a newly added bot, it is not perfect and was only tested in 1.19.2, there are some minor issues like not being able to bonemeal carrots/potatoes sometimes.\n# or bot jumps onto the farm land and breaks it (this happens rarely but still happens). We are looking forward at improving this.\n# It is recommended to keep the farming area walled off and flat to avoid the bot jumping.\n# Also, if you have your farmland that is one block high, make it 2 or more blocks high so the bot does not fall through, as it can happen sometimes when the bot reconnects.\n# The bot also does not pickup all items if they fly off to the side, we have a plan to implement this option in the future as well as drop off and bonemeal refill chest(s).
|
||||
config.ChatBot.Farmer.Delay_Between_Tasks=Delay between tasks in seconds (Minimum 1 second)
|
||||
|
|
@ -931,12 +1010,15 @@ config.ChatBot.HangmanGame=A small game to demonstrate chat interactions. Player
|
|||
config.ChatBot.Mailer=Relay messages between players and servers, like a mail plugin\n# This bot can store messages when the recipients are offline, and send them when they join the server\n# /!\ Server admins can spoof PMs (/tellraw, /nick) so enable this bot only if you trust server admins
|
||||
|
||||
# ChatBot.Map
|
||||
config.ChatBot.Map=Allows you to render maps into .jpg images\n# This is useful for solving captchas which use maps\n# The maps are rendered into Rendered_Maps folder.\n# NOTE:\n# This feature is currently only useful for solving captchas which use maps.\n# If some servers have a very short time for solving captchas, enabe Auto_Render_On_Update and prepare to open the file quickly.\n# On linux you can use FTP to access generated files.\n# In the future it might will be possible to display maps directly in the console with a separate command.\n# /!\ Make sure server rules allow bots to be used on the server, or you risk being punished.
|
||||
config.ChatBot.Map=Allows you to render maps in the console and into images (which can be then sent to Discord using Discord Bridge Chat Bot)\n# This is useful for solving captchas which use maps\n# The maps are rendered into Rendered_Maps folder if the Save_To_File is enabled.\n# NOTE:\n# If some servers have a very short time for solving captchas, enabe Auto_Render_On_Update to see them immediatelly in the console.\n# /!\ Make sure server rules allow bots to be used on the server, or you risk being punished.
|
||||
config.ChatBot.Map.Render_In_Console=Whether to render the map in the console.
|
||||
config.ChatBot.Map.Save_To_File=Whether to store the rendered map as a file.
|
||||
config.ChatBot.Map.Save_To_File=Whether to store the rendered map as a file (You need this setting if you want to get a map on Discord using Discord Bridge).
|
||||
config.ChatBot.Map.Auto_Render_On_Update=Automatically render the map once it is received or updated from/by the server
|
||||
config.ChatBot.Map.Delete_All_On_Unload=Delete all rendered maps on unload/reload (Does not delete the images if you exit the client)
|
||||
config.ChatBot.Map.Delete_All_On_Unload=Delete all rendered maps on unload/reload or when you launch the MCC again.
|
||||
config.ChatBot.Map.Notify_On_First_Update=Get a notification when you have gotten a map from the server for the first time
|
||||
config.ChatBot.Map.Resize_To=The size that a rendered image should be resized to, in pixels (eg. 512).
|
||||
config.ChatBot.Map.Rasize_Rendered_Image=Resize an rendered image, this is useful when images that are rendered are small and when are being sent to Discord.
|
||||
config.ChatBot.Map.Send_Rendered_To_Bridges=Send a rendered map (saved to a file) to a Discord or a Telegram channel via the Discord or Telegram Bride chat bot (The Discord/Telegram Bridge chat bot must be enabled and configured!)\n# You need to enable Save_To_File in order for this to work.\n# We also recommend turning on resizing.
|
||||
|
||||
# ChatBot.PlayerListLogger
|
||||
config.ChatBot.PlayerListLogger=Log the list of players periodically into a textual file.
|
||||
|
|
@ -952,6 +1034,14 @@ config.ChatBot.ReplayCapture.Backup_Interval=How long should replay file be auto
|
|||
# ChatBot.ScriptScheduler
|
||||
config.ChatBot.ScriptScheduler=Schedule commands and scripts to launch on various events such as server join, date/time or time interval\n# See https://mccteam.github.io/guide/chat-bots.html#script-scheduler for more info
|
||||
|
||||
# ChatBot.TelegramBridge
|
||||
config.ChatBot.TelegramBridge=This bot allows you to send and receive messages and commands via a Telegram Bot DM or to receive messages in a Telegram channel.\n# /!\ NOTE: You can't send messages and commands from a group channel, you can only send them in the bot DM, but you can get the messages from the client in a group channel.\n#-----------------------------------------------------------\n# Setup:\n# First you need to create a Telegram bot and obtain an API key, to do so, go to Telegram and find @botfather\n# Click on "Start" button and read the bot reply, then type "/newbot", the Botfather will guide you through the bot creation.\n# Once you create the bot, copy the API key that you have gotten, and put it into the "Token" field of "ChatBot.TelegramBridge" section (this section).\n# /!\ Do not share this token with anyone else as it will give them the control over your bot. Save it securely.\n# Then launch the client and go to Telegram, find your newly created bot by searching for it with its username, and open a DM with it.\n# Click on "Start" button and type and send the following command ".chatid" to obtain the chat id. \n# Copy the chat id number (eg. 2627844670) and paste it in the "ChannelId" field and add it to the "Authorized_Chat_Ids" field (in this section) (an id in "Authorized_Chat_Ids" field is a number/long, not a string!), then save the file.\n# Now you can use the bot using it's DM.\n# /!\ If you do not add the id of your chat DM with the bot to the "Authorized_Chat_Ids" field, ayone who finds your bot via search will be able to execute commands and send messages!\n# /!\ An id pasted in to the "Authorized_Chat_Ids" should be a number/long, not a string!\n#-----------------------------------------------------------\n# NOTE: If you want to recieve messages to a group channel instead, make the channel temporarely public, invite the bot to it and make it an administrator, then set the channel to private if you want.\n# Then set the "ChannelId" field to the @ of your channel (you must include the @ in the settings, eg. "@mysupersecretchannel"), this is the username you can see in the invite link of the channel.\n# /!\ Only include the username with @ prefix, do not include the rest of the link. Example if you have "https://t.me/mysupersecretchannel", the "ChannelId" will be "@mysupersecretchannel".\n# /!\ Note that you will not be able to send messages to the client from a group channel!\n#-----------------------------------------------------------\n# How to use the bot:\n# To execute an MCC command, prefix it with a dot ".", example: ".move 143 64 735" .\n# To send a message, simply type it out and hit enter.
|
||||
config.ChatBot.TelegramBridge.Token=Your Telegram Bot token.
|
||||
config.ChatBot.TelegramBridge.ChannelId=An ID of a channel where you want to interact with the MCC using the bot.
|
||||
config.ChatBot.TelegramBridge.Authorized_Chat_Ids=A list of Chat IDs that are allowed to send messages and execute commands. To get an id of your chat DM with the bot use ".chatid" bot command in Telegram.
|
||||
config.ChatBot.TelegramBridge.MessageSendTimeout=How long to wait (in seconds) if a message can not be sent to Telegram before canceling the task (minimum 1 second).
|
||||
config.ChatBot.TelegramBridge.Formats=Message formats\n# Words wrapped with { and } are going to be replaced during the code execution, do not change them!\n# For example. {message} is going to be replace with an actual message, {username} will be replaced with an username, {timestamp} with the current time.\n# For Telegram message formatting, check the following: https://sendpulse.com/blog/telegram-text-formatting
|
||||
|
||||
# ChatBot.WebSocketBot
|
||||
config.ChatBot.WebSocketBot=Remotely control the client using Web Sockets.\n# This is useful if you want to implement an application that can remotely and asynchronously execute procedures in MCC.\n# Example implementation written in JavaScript: https://github.com/milutinke/MCC.js.git\n# The protocol specification will be available in the documentation soon.
|
||||
config.ChatBot.WebSocketBot.Ip=The IP address that Websocket server will be bounded to.
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue