Plex/src/main/java/me/totalfreedom/plex/rank/enums/Rank.java

33 lines
1.0 KiB
Java
Raw Normal View History

package me.totalfreedom.plex.rank.enums;
import org.bukkit.ChatColor;
public enum Rank
{
2020-10-28 03:49:56 +00:00
IMPOSTER(-1, ChatColor.AQUA + "an " + ChatColor.YELLOW + "Imposter", ChatColor.YELLOW + "[Imp]"),
NONOP(0, ChatColor.WHITE + "a " + ChatColor.WHITE + "Non-Op", ChatColor.WHITE + ""),
OP(1, ChatColor.GREEN + "an " + ChatColor.GREEN + "Operator", ChatColor.GREEN + "[OP]"),
ADMIN(2, ChatColor.DARK_GREEN + "an " + ChatColor.DARK_GREEN + "Admin", ChatColor.DARK_GREEN + "[Admin]"),
SENIOR_ADMIN(3, ChatColor.GOLD + "a " + ChatColor.GOLD + "Senior Admin", ChatColor.GOLD + "[SrA]"),
EXECUTIVE(4, ChatColor.RED + "an " + ChatColor.RED + "Executive", ChatColor.RED + "[Exec]");
2020-10-28 03:49:56 +00:00
private final String loginMessage;
private final String prefix;
2020-10-28 03:49:56 +00:00
Rank(int level, String loginMessage, String prefix)
{
2020-10-28 03:49:56 +00:00
this.loginMessage = loginMessage;
this.prefix = prefix;
}
2020-10-28 03:49:56 +00:00
public String getPrefix()
{
return prefix;
}
2020-10-28 03:49:56 +00:00
public String getLoginMSG()
{
return loginMessage;
}
}