mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Last changes for 1.7.3 release
Change config files. Change version number.
This commit is contained in:
parent
49a2d2b681
commit
879c124d6a
7 changed files with 50 additions and 9 deletions
|
|
@ -15,7 +15,7 @@ namespace MinecraftClient
|
||||||
{
|
{
|
||||||
private static McTcpClient Client;
|
private static McTcpClient Client;
|
||||||
public static string[] startupargs;
|
public static string[] startupargs;
|
||||||
public const string Version = "1.7.2";
|
public const string Version = "1.7.3";
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The main entry point of Minecraft Console Client
|
/// The main entry point of Minecraft Console Client
|
||||||
|
|
@ -23,7 +23,7 @@ namespace MinecraftClient
|
||||||
|
|
||||||
static void Main(string[] args)
|
static void Main(string[] args)
|
||||||
{
|
{
|
||||||
Console.WriteLine("Console Client for MC 1.7.2 to 1.7.5 - v" + Version + " - By ORelio & Contributors");
|
Console.WriteLine("Console Client for MC 1.7.2 to 1.7.9 - v" + Version + " - By ORelio & Contributors");
|
||||||
|
|
||||||
//Basic Input/Output ?
|
//Basic Input/Output ?
|
||||||
if (args.Length >= 1 && args[args.Length - 1] == "BasicIO")
|
if (args.Length >= 1 && args[args.Length - 1] == "BasicIO")
|
||||||
|
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
ORelio
|
|
||||||
PutYourNameHere
|
|
||||||
|
|
@ -20,7 +20,7 @@ CHURCH
|
||||||
OFFICE
|
OFFICE
|
||||||
APRICOT
|
APRICOT
|
||||||
PLANISPHERE
|
PLANISPHERE
|
||||||
WORLDWIDE
|
WORLD MAP
|
||||||
FISHING
|
FISHING
|
||||||
CASE
|
CASE
|
||||||
SADDLE
|
SADDLE
|
||||||
13
MinecraftClient/config/sample-script.txt
Normal file
13
MinecraftClient/config/sample-script.txt
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
# This is a sample script for Minecraft Console Client
|
||||||
|
# Any line beginning with "#" is ignored and treated as a comment.
|
||||||
|
# Allowed instructions: send, wait, disconnect, exit
|
||||||
|
# send <text> : send a message or a command to the server
|
||||||
|
# wait <time> : wait X ticks (10 ticks = 1 second)
|
||||||
|
# connect <serverip> : go to the given server and resume the script
|
||||||
|
# disconnect : disconnect from the server and exit the client
|
||||||
|
# exit : exit this script but stay connected to the server
|
||||||
|
|
||||||
|
send Hello World! I'm a bot scripted using Minecraft Console Client.
|
||||||
|
wait 60
|
||||||
|
send Now quitting. Bye :)
|
||||||
|
disconnect
|
||||||
34
MinecraftClient/config/sample-tasks.ini
Normal file
34
MinecraftClient/config/sample-tasks.ini
Normal file
|
|
@ -0,0 +1,34 @@
|
||||||
|
# Minecraft Console Client
|
||||||
|
# ScriptScheduler Tasks
|
||||||
|
# Example config file
|
||||||
|
|
||||||
|
# Structure of a task: [Task] Followed by triggers and other settings.
|
||||||
|
# The example below contains all the possible fields for a task
|
||||||
|
# Time is HH:mm format, several different hours can be provided
|
||||||
|
|
||||||
|
[Task]
|
||||||
|
triggerOnFirstLogin=false
|
||||||
|
triggerOnLogin=false
|
||||||
|
triggerOnTime=true
|
||||||
|
timeValue=19:30
|
||||||
|
timeValue=08:10
|
||||||
|
script=event.txt
|
||||||
|
|
||||||
|
# Another minimal example: some properties may be omitted
|
||||||
|
# This is highly recommended for improving task readability
|
||||||
|
|
||||||
|
[Task]
|
||||||
|
triggerOnFirstLogin=true
|
||||||
|
script=startup.txt
|
||||||
|
|
||||||
|
# Of course, the tasks file can contain as much tasks as you want.
|
||||||
|
# Another example tiggered on logging in and every night at midnight:
|
||||||
|
|
||||||
|
[Task]
|
||||||
|
triggerOnLogin=true
|
||||||
|
triggerOnTime=true
|
||||||
|
timeValue=00:00
|
||||||
|
script=midnight.txt
|
||||||
|
|
||||||
|
# Enjoy!
|
||||||
|
# - ORelio
|
||||||
|
|
@ -1,4 +0,0 @@
|
||||||
send Hello World! I'm a bot.
|
|
||||||
wait 60
|
|
||||||
send Now quitting :)
|
|
||||||
disconnect
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue