public static String tempban(String muter, String mutedPlayerName, double days){
		// Initial message
		String regex = RPSystem.chatConfig.getString("format.ban");
		int realDays = 0;
		
		// Token replacement
		regex = regex.replaceAll("%t", Timestamp.NOW());
		regex = regex.replaceAll("%banner", muter);
		if(days >= 1) {
			regex.replaceAll("%y", "days");
			realDays = (int) days;
		}
		else if(days >= 0.014666666666666667 && days < 1){
			regex = regex.replaceAll("%y", "hours");
			realDays = (int) (24 * days);
		}
		else if(days >= 0.00024444444444444445 && days < 0.014666666666666667){
			regex = regex.replaceAll("%y", "minutes");
			realDays = (int) (1440 * days);
		}
		else if(days < 0.00024444444444444445) {
			regex = regex.replaceAll("%y", "seconds");
			realDays = (int) (186400 * days);
		}
		regex = regex.replaceAll("%banned", mutedPlayerName);
		regex = regex.replaceAll("%n", Integer.toString(realDays));
		
		regex = build(regex.split(" "));

		
		return regex;	}