@Override
    public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
        if (cmd.getName().equalsIgnoreCase("eweather")) {
            if (args.length > 0) {
                if (args[0].equalsIgnoreCase("update")) {
                    return updateWeather(sender);
                }
                else if (args[0].equalsIgnoreCase("info")) {
                    return info(sender, args);

                }
                else if (args[0].equalsIgnoreCase("set")) {
                    return setWeather(sender, args);

                }
                else if (args[0].equalsIgnoreCase("reset")) {
                    return resetWeather(sender, args);

                }
                else if (args[0].equalsIgnoreCase("reload")) {
                    return reloadConfiguration(sender);
                }
            }
            else {
                return printUsage(sender);
            }
        }
        return false;
    }