private boolean cmdGlobalAgree(CommandSender sender) {
		plugin.getPlayerHandler().addPlayer(sender.getName());
		try {
			if (plugin.getPlayerHandler().agreed(sender.getName())) {
				sender.sendMessage("You have already agreed to the Global Chat rules!");
				return true;
			}
			if (!plugin.getPlayerHandler().readRules(sender.getName())) {
				sender.sendMessage("You need to read the Global Chat rules first!");
				sender.sendMessage("Use /globalrules to read them!");
				return true;
			}
		}
		catch (SQLException e) {
			sender.sendMessage("An error occured!");
			e.printStackTrace();
			return true;
		}
		plugin.getPlayerHandler().setAgreed(sender.getName(), true);
		sender.sendMessage("You have agreed to the Global Chat rules and you can use the chat!");
		return true;
	}