Alright so this command is quite useful considering it uses a txt file to grab the text and you can update the list without restarting the server!
First locate AdminCommands.cs and add this command:
Code:
internal class UpdatesCmd : Command
{
public UpdatesCmd()
: base("updates", 0)
{
}
protected override bool Process(Player player, RealmTime time, string[] args)
{
string[] txt = System(dot)IO.File.ReadAllLines("updates.txt");
string text = string.Join(", ", txt);
player.SendInfo(text);
return true;
}
}
For some reason mpgh is being weird so make sure you replace (dot) with a period!!!
Now go into your server files and locate bin/debug and add a new txt file named updates
Follow this format to add new things:
Code:
Update1
Update2
Update3
Etc...
It should work flawlessly! If you have any issues let me know I'll be happy to help (: