@Override
	public void execute(CommandSender sender, String[] arg1) {
		if (!CommandUtil.hasPermission(sender, PERMISSION_NODES)) {
			sender.sendMessage(plugin.NO_PERMISSION);
			return;
		}
		
		if (arg1.length > 1) {
			String player = arg1[0];
			if (plugin.getProxy().getPlayer(player) != null) {
				for (ProxiedPlayer data : plugin.getProxy().getPlayers()) {
					plugin.getUtilities().teleportToPlayer(data, plugin.getProxy().getPlayer(player));
					data.sendMessage(ChatColor.DARK_GREEN + "All players have been teleported to " + player);
				}
			} else {
				sender.sendMessage(plugin.PLAYER_NOT_ONLINE);
			}
		} else {
			for (ProxiedPlayer data : plugin.getProxy().getPlayers()) {
				plugin.getUtilities().teleportToPlayer(data, (ProxiedPlayer) sender);
				data.sendMessage(ChatColor.DARK_GREEN + "All players have been teleported to " + sender.getName());
			}
		}
	}