using System;
using System.Linq;
using System.Text;
using System.Data;
using System.Collections.Generic;
using Plus.Communication.Packets.Outgoing.Users;
using Plus.Communication.Packets.Outgoing.Notifications;
using Plus.Communication.Packets.Outgoing.Handshake;
using Plus.Communication.Packets.Outgoing.Quests;
using Plus.HabboHotel.Items;
using Plus.Communication.Packets.Outgoing.Inventory.Furni;
using Plus.Communication.Packets.Outgoing.Catalog;
using Plus.HabboHotel.Quests;
using Plus.HabboHotel.Rooms;
using System.Threading;
using Plus.HabboHotel.GameClients;
using Plus.Communication.Packets.Outgoing.Rooms.Avatar;
using Plus.Communication.Packets.Outgoing.Pets;
using Plus.Communication.Packets.Outgoing.Messenger;
using Plus.HabboHotel.Users.Messenger;
using Plus.Communication.Packets.Outgoing.Rooms.Polls;
using Plus.Communication.Packets.Outgoing.Rooms.Notifications;
using Plus.Communication.Packets.Outgoing.Availability;
using Plus.Communication.Packets.Outgoing;
using Plus.Communication.Packets.Outgoing.Rooms.Polls.Questions;
namespace Plus.HabboHotel.Rooms.Chat.Commands.User
{
class InfoCommand : IChatCommand
{
public string PermissionRequired
{
get { return "command_info"; }
}
public string Parameters
{
get { return ""; }
}
public string Description
{
get { return "Info su Plus"; }
}
public void Execute(GameClient Session, Room Room, string[] Params)
{
TimeSpan Uptime = DateTime.Now - PlusEnvironment.ServerStarted;
int OnlineUsers = PlusEnvironment.GetGame().GetClientManager().Count;
int RoomCount = PlusEnvironment.GetGame().GetRoomManager().Count;
Session.SendMessage(new RoomNotificationComposer("Informazioni/Statistiche",
"<b>Utenti Online:</b> " + OnlineUsers + "\n" +
"<b>Stanze caricate:</b> " + RoomCount + "\n" +
"<b>Avviato Da:</b> " + Uptime.Days + " Giorni, " + Uptime.Hours + " Ore e " + Uptime.Minutes + " Minuti\n\n" +
"<b>Base Emulatore:</b> Plus Emulator \n" +
"<b>Diritti a:</b>Urcan \n" +
"<b>Versione SWF:</b> " + PlusEnvironment.SWFRevision, "plus", ""));
}
}
}
Non sta un file img, qual'è?
@alessio666super