Added a player list command /list

This commit is contained in:
lokulin 2014-11-11 00:32:32 +11:00
parent 157aa2a786
commit 07fed5cd24
5 changed files with 85 additions and 5 deletions

View file

@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MinecraftClient.Commands
{
public class List : Command
{
public override string CMDName { get { return "list"; } }
public override string CMDDesc { get { return "list: get the player list."; } }
public override string Run(McTcpClient handler, string command)
{
handler.ListPlayers();
return "";
}
}
}