mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
[SKIP_BUILD] Change file encoding to UTF-8 with BOM
This commit is contained in:
parent
a4e55e8a93
commit
ef39e8329c
119 changed files with 141 additions and 141 deletions
|
|
@ -1,4 +1,4 @@
|
|||
//MCCScript 1.0
|
||||
//MCCScript 1.0
|
||||
|
||||
MCC.LoadBot(new AutoLeaveOnLowHp());
|
||||
|
||||
|
|
@ -19,4 +19,4 @@ namespace MinecraftClient.ChatBots
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
//MCCScript 1.0
|
||||
//MCCScript 1.0
|
||||
|
||||
MCC.LoadBot(new AutoTree());
|
||||
|
||||
|
|
@ -177,4 +177,4 @@ public class AutoTree : ChatBot
|
|||
default: return "Available commands: toggle, set, type";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
//MCCScript 1.0
|
||||
//MCCScript 1.0
|
||||
//using System.Collections.Specialized;
|
||||
//using MinecraftClient.Protocol;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
//MCCScript 1.0
|
||||
//MCCScript 1.0
|
||||
|
||||
MCC.LoadBot(new EntityCount());
|
||||
|
||||
|
|
@ -46,4 +46,4 @@ class EntityCount : ChatBot
|
|||
|
||||
return $"Found {counter} of entity type: {args[0]}";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
//MCCScript 1.0
|
||||
//MCCScript 1.0
|
||||
|
||||
MCC.LoadBot(new MineCube());
|
||||
|
||||
|
|
@ -490,4 +490,4 @@ class MineCube : ChatBot
|
|||
|
||||
return "Invalid command syntax.\n" + getHelpPage();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
//MCCScript 1.0
|
||||
//MCCScript 1.0
|
||||
//using System.Threading.Tasks;
|
||||
|
||||
//==== CONFIG START ====
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
//MCCScript 1.0
|
||||
//MCCScript 1.0
|
||||
//using System.Threading.Tasks;
|
||||
|
||||
MCC.LoadBot(new QIWI_DonationBot());
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
//MCCScript 1.0
|
||||
//MCCScript 1.0
|
||||
|
||||
MCC.LoadBot(new SugarCaneFarmer());
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
//MCCScript 1.0
|
||||
//MCCScript 1.0
|
||||
|
||||
MCC.LoadBot(new SugarCaneMiner());
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
//MCCScript 1.0
|
||||
//MCCScript 1.0
|
||||
|
||||
MCC.LoadBot(new TreeFarmer());
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
//MCCScript 1.0
|
||||
//MCCScript 1.0
|
||||
//using System.Threading.Tasks;
|
||||
//dll Newtonsoft.Json.dll
|
||||
//using Newtonsoft.Json;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Minecraft Console Client
|
||||
# Minecraft Console Client
|
||||
# AutoRespond matches
|
||||
# Example config file
|
||||
|
||||
|
|
@ -71,4 +71,4 @@ match=§ahello
|
|||
action=send Hello back!
|
||||
|
||||
# Enjoy!
|
||||
# - ORelio
|
||||
# - ORelio
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
//MCCScript 1.0
|
||||
//MCCScript 1.0
|
||||
|
||||
/* This script demonstrates how to use methods and arguments */
|
||||
|
||||
|
|
@ -28,4 +28,4 @@ void SleepBetweenSends()
|
|||
{
|
||||
MCC.LogToConsole("Sleeping for 5 seconds...");
|
||||
Thread.Sleep(5000);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
//MCCScript 1.0
|
||||
//MCCScript 1.0
|
||||
|
||||
MCC.LoadBot(new PMForwarder());
|
||||
|
||||
|
|
@ -36,4 +36,4 @@ public class PMForwarder : ChatBot
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
//MCCScript 1.0
|
||||
//MCCScript 1.0
|
||||
|
||||
string[] commands = new[] {
|
||||
"send command1",
|
||||
|
|
@ -8,4 +8,4 @@ string[] commands = new[] {
|
|||
|
||||
int randomIndex = new Random().Next(0, commands.Length);
|
||||
string randomCommand = commands[randomIndex];
|
||||
MCC.PerformInternalCommand(randomCommand);
|
||||
MCC.PerformInternalCommand(randomCommand);
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
//MCCScript 1.0
|
||||
//MCCScript 1.0
|
||||
|
||||
/* This is a sample script that will load a ChatBot into Minecraft Console Client
|
||||
* Simply execute the script once with /script or the script scheduler to load the bot */
|
||||
|
|
@ -32,4 +32,4 @@ public class ExampleBot : ChatBot
|
|||
LogToConsole("Private message from " + username + ": " + message);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
//MCCScript 1.0
|
||||
//MCCScript 1.0
|
||||
|
||||
string mojangStatus = PerformHttpRequest("https://status.mojang.com/check");
|
||||
MCC.LogToConsole(mojangStatus);
|
||||
|
|
@ -31,4 +31,4 @@ void SendHttpPostAsync(string uri, string text)
|
|||
responseString = reader.ReadToEnd();
|
||||
//LogToConsole(responseString);
|
||||
}).Start();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
//MCCScript 1.0
|
||||
//MCCScript 1.0
|
||||
|
||||
MCC.LoadBot(new PeriodicTask());
|
||||
|
||||
|
|
@ -29,4 +29,4 @@ public class PeriodicTask : ChatBot
|
|||
nextTaskRun = dateNow.AddSeconds(60);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
//MCCScript 1.0
|
||||
//MCCScript 1.0
|
||||
|
||||
MCC.LoadBot(new WatchLamp());
|
||||
|
||||
|
|
@ -58,4 +58,4 @@ class WatchLamp : ChatBot
|
|||
}
|
||||
else checkCount++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
//MCCScript 1.0
|
||||
//MCCScript 1.0
|
||||
|
||||
/* This is a sample script for Minecraft Console Client
|
||||
* The code provided in this file will be compiled at runtime and executed
|
||||
|
|
@ -11,4 +11,4 @@ for (int i = 0; i < 5; i++)
|
|||
MCC.SendText("Hello World no. " + count);
|
||||
MCC.LogToConsole("Sleeping for 5 seconds...");
|
||||
Thread.Sleep(5000);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue