mincraft command in plugin
public class CommandKit implements CommandExecutor { // This method is called, when somebody uses our command @Override public boolean onCommand(CommandSender sender, Command command, String label, String[] args) { return false; } }
Source: www.spigotmc.org