diff --git a/MinecraftClient/Program.cs b/MinecraftClient/Program.cs index c1790e20..8f6bb425 100644 --- a/MinecraftClient/Program.cs +++ b/MinecraftClient/Program.cs @@ -14,11 +14,12 @@ namespace MinecraftClient /// This source code is released under the CDDL 1.0 License. /// - class Program + static class Program { private static McTcpClient Client; public static string[] startupargs; - public const string Version = "1.8.0-Indev"; + public const string Version = "1.8.0 Beta"; + private static Thread offlinePrompt = null; /// /// The main entry point of Minecraft Console Client diff --git a/MinecraftClient/config/README.txt b/MinecraftClient/config/README.txt new file mode 100644 index 00000000..755cee64 --- /dev/null +++ b/MinecraftClient/config/README.txt @@ -0,0 +1,181 @@ +======================================================================== + Minecraft Client v1.8.0 BETA for Minecraft 1.7.2 to 1.7.10 - By ORelio +======================================================================== + +Thanks for dowloading Minecraft Console Client! + +Minecraft Console Client is a lightweight app able to connect to any minecraft server, +both offline and online mode. It enables you to send commands and receive text messages +in a fast and easy way without having to open the main Minecraft game. + +============ + How to use +============ + +First, extract the archive if not already extracted. +On Windows, simply open MinecraftClient.exe by double-clicking on it. +On Mac or Linux, open a terminal in this folder and run "mono MinecraftClient.exe". + +=========================================== + Using Configuration files & Enabling bots +=========================================== + +Simply open the INI file with a text editor and change the values. +To enable a bot change the "enabled" value in the INI file from "false" to "true". +You will still be able to send and receive chat messages when a bot is loaded. +You can remove or comment some lines from the INI file to use the default values instead. +You can have several INI files and drag & drop one of them over MinecraftClient.exe + +==================== + Command-line usage +==================== + +> MinecraftClient.exe username password server +This will automatically connect you to the chosen server. + +> MinecraftClient.exe username password server "/mycommand" +This will automatically send "/mycommand" to the server and close. +To send several commands and maybe stay connected, use the Scripting bot instead. + +> MinecraftClient.exe myconfig.ini +This will load the specified configuration file +If the file contains login / password / server ip, it will automatically connect. + +> MinecraftClient.exe myconfig.ini othername otherpassword otherIP +Load the specified configuration file and override some settings from the file. + +=================== + Internal commands +=================== + +These commands can be performed from the chat prompt, scripts or remote control. +From chat prompt, commands must by default be prepended with a slash, eg. /quit +In scripts and remote control, no slash is needed to perform the command. + + - quit or exit: disconnect from the server and close the application + - reco [account] : disconnect and reconnect to the server + - connect [account] : go to the given server and resume the script + - script