@Override
    public void execute(CommandSender sender, String[] args) {
        if (sender instanceof ProxiedPlayer) {
            if (args.length != 1) {
                sender.sendMessage(new ComponentBuilder("").append(ChatColor.DARK_PURPLE + "You are currently connected to " + ChatColor.GOLD + ProxyServer.getInstance().getPlayer(sender.getName()).getServer().getInfo().getName()).create());
                sender.sendMessage(new ComponentBuilder("").append(ChatColor.GREEN + "To change servers, type " + ChatColor.AQUA + "/server [name]").create());
                sender.sendMessage(new ComponentBuilder("").append(ChatColor.GREEN + "To list servers, type " + ChatColor.AQUA + "/listservers").create());
                return;
            }
            if (args.length == 1) {
                String server = args[0];
                if (ProxyServer.getInstance().getServers().get(server) == null) {
                    sender.sendMessage(new ComponentBuilder("").append(ChatColor.RED + "We could not find the server " + ChatColor.GOLD + args[0]).create());
                    return;
                }
                sender.sendMessage(new ComponentBuilder("").append(ChatColor.GOLD + "Connecting you to " + ChatColor.RED + server).create());
                ((ProxiedPlayer) sender).connect(ProxyServer.getInstance().getServers().get(server));
            }
        } else {
            sender.sendMessage(new ComponentBuilder("").append(plugin.prefix + ChatColor.RED + "This is a player command!").create());
        }
    }