public static String center(String text) {
	    int spaces = (int) Math.round(( 80 - 1.4 * ChatColor.stripColor(text).length()) / 2);
	    String s = "";
	    for(int i = 0; i < spaces; i++) {
	    	s = s + " ";
	    }
	    return s + text;
	}