Changes with chat, add some commands

This commit is contained in:
Ivan
2020-03-27 18:16:28 -04:00
parent 48ee7b0e6d
commit 4a5032bb4c
8 changed files with 259 additions and 6 deletions

View File

@ -61,6 +61,12 @@ public class RankManager extends FreedomService
{
return Title.DEVELOPER;
}
// Contributors always show up
if (FUtil.CONTRIBUTORS.contains(player.getName()))
{
return Title.CONTRIBUTOR;
}
if (ConfigEntry.SERVER_EXECUTIVES.getList().contains(player.getName()) && plugin.al.isAdmin(player))
{

View File

@ -11,6 +11,7 @@ public enum Title implements Displayable
ASSISTANT_EXECUTIVE("an", "Assistant Executive", ChatColor.RED, "Asst Exec"),
EXECUTIVE("an", "Executive", ChatColor.RED, "Exec"),
DEVELOPER("a", "Developer", ChatColor.DARK_PURPLE, "Dev"),
CONTRIBUTOR("a", "TotalFreedom Contributor", ChatColor.DARK_PURPLE, "Contributor"),
OWNER("the", "Owner", ChatColor.DARK_RED, "Owner");
private final String determiner;