Minecraft-Console-Client/MinecraftClient/Commands/List.cs
2014-11-11 00:55:42 +11:00

20 lines
484 B
C#

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 "";
}
}
}