Merge pull request #1317 from DogooFalchion/motd
Update MotD file parsing to convert color formats into smart text.
This commit is contained in:
commit
1328d71fdc
4 changed files with 102 additions and 13 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue