SimpleCommand

public class SimpleCommand extends CommandBase
Author:Florian Warzecha

Fields

command

protected Method command

name

protected String name

plugin

protected Plugin plugin

usage

protected String usage

Constructors

SimpleCommand

public SimpleCommand(String name, String usage, Method command, Plugin plugin)

Methods

execute

public void execute(MinecraftServer server, ICommandSender sender, String[] args)

getName

public String getName()

getPlugin

public Plugin getPlugin()

getUsage

public String getUsage(ICommandSender sender)