
Originally Posted by
Twan
Dont think its the full source, searched for all comands. Cant find anything about the ''about command''
Like this? :P
Code:
internal void info() {
DateTime Now = DateTime.Now;
TimeSpan Uptime = Now - FirewindEnvironment.ServerStarted;
StringBuilder Alert = new StringBuilder();
int UsersOnline = FirewindEnvironment.GetGame().GetClientManager().ClientCount;
int RoomsLoaded = FirewindEnvironment.GetGame().GetRoomManager().LoadedRoomsCount;
Alert.Append(FirewindEnvironment.PrettyVersion + " - Awasome version\n");
Alert.Append("-----------------------------------------------\n");
Alert.Append("Thanks to:\n");
Alert.Append(" - All developers of butterfly/uber/everything really");
Alert.Append("Server Status:\n");
Alert.Append("-----------------------------------------------\n\n");
Alert.Append("Uptime: " + Uptime.Minutes + " minutes, " + Uptime.Hours + " hours and " + Uptime.Days + " day(s)\n");
Alert.Append("Users online: " + UsersOnline + "\n");
Alert.Append("Rooms loaded: " + RoomsLoaded + "\n\n");
Session.SendBroadcastMessage(Alert.ToString());
}
PrettyVersion = string.Format("Firewind {0}", Assembly.GetExecutingAssembly().GetName().Version);