public void setScoreboardFormat(String scoreboardText, String scoreboardScoreType) {
		if(scoreboardText == null || scoreboardScoreType == null)
			throw new NullPointerException();
		if(!scoreboardScoreType.matches("(?i)d|h|m|s|ms"))
			throw new IllegalArgumentException();
		String oldText = this.scoreboardText;
		scoreboardText = replaceColorCodes(scoreboardText);
		this.scoreboardText = scoreboardText;
		this.scoreboardScoreType = scoreboardScoreType;
		if(scoreboard != null && oldText != null) {
			OfflinePlayer target = getServer().getOfflinePlayer(oldText);
			scoreboard.resetScores(target);
			target = getServer().getOfflinePlayer(scoreboardText);
			objective.getScore(target).setScore((int) getTimeFromType(scoreboardScoreType));
		}
	}