[SKIP_BUILD] Change file encoding to UTF-8 with BOM

This commit is contained in:
BruceChen 2022-11-28 13:55:05 +08:00
parent a4e55e8a93
commit ef39e8329c
119 changed files with 141 additions and 141 deletions

View file

@ -1,4 +1,4 @@
//MCCScript 1.0
//MCCScript 1.0
MCC.LoadBot(new AutoLeaveOnLowHp());
@ -19,4 +19,4 @@ namespace MinecraftClient.ChatBots
}
}
}
}
}

View file

@ -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";
}
}
}
}

View file

@ -1,4 +1,4 @@
//MCCScript 1.0
//MCCScript 1.0
//using System.Collections.Specialized;
//using MinecraftClient.Protocol;

View file

@ -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]}";
}
}
}

View file

@ -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();
}
}
}

View file

@ -1,4 +1,4 @@
//MCCScript 1.0
//MCCScript 1.0
//using System.Threading.Tasks;
//==== CONFIG START ====

View file

@ -1,4 +1,4 @@
//MCCScript 1.0
//MCCScript 1.0
//using System.Threading.Tasks;
MCC.LoadBot(new QIWI_DonationBot());

View file

@ -1,4 +1,4 @@
//MCCScript 1.0
//MCCScript 1.0
MCC.LoadBot(new SugarCaneFarmer());

View file

@ -1,4 +1,4 @@
//MCCScript 1.0
//MCCScript 1.0
MCC.LoadBot(new SugarCaneMiner());

View file

@ -1,4 +1,4 @@
//MCCScript 1.0
//MCCScript 1.0
MCC.LoadBot(new TreeFarmer());

View file

@ -1,4 +1,4 @@
//MCCScript 1.0
//MCCScript 1.0
//using System.Threading.Tasks;
//dll Newtonsoft.Json.dll
//using Newtonsoft.Json;

View file

@ -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

View file

@ -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);
}
}

View file

@ -1,4 +1,4 @@
//MCCScript 1.0
//MCCScript 1.0
MCC.LoadBot(new PMForwarder());
@ -36,4 +36,4 @@ public class PMForwarder : ChatBot
}
}
}
}
}

View file

@ -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);

View file

@ -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);
}
}
}
}

View file

@ -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();
}
}

View file

@ -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);
}
}
}
}

View file

@ -1,4 +1,4 @@
//MCCScript 1.0
//MCCScript 1.0
MCC.LoadBot(new WatchLamp());
@ -58,4 +58,4 @@ class WatchLamp : ChatBot
}
else checkCount++;
}
}
}

View file

@ -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);
}
}