Merge pull request #1317 from DogooFalchion/motd

Update MotD file parsing to convert color formats into smart text.
This commit is contained in:
Lucas Nicodemus 2016-10-23 19:27:52 -06:00 committed by GitHub
commit 1328d71fdc
4 changed files with 102 additions and 13 deletions

View file

@ -4862,12 +4862,12 @@ namespace TShockAPI
private static void Motd(CommandArgs args)
{
TShock.Utils.ShowFileToUser(args.Player, "motd.txt");
TShock.Utils.ShowFileToUser(args.Player, FileTools.MotdPath);
}
private static void Rules(CommandArgs args)
{
TShock.Utils.ShowFileToUser(args.Player, "rules.txt");
TShock.Utils.ShowFileToUser(args.Player, FileTools.RulesPath);
}
private static void Whisper(CommandArgs args)