More stuff for discord and mb changes

This commit is contained in:
ZeroEpoch1969
2019-04-23 00:36:51 -07:00
parent 92ad950155
commit 59ee519955
9 changed files with 35 additions and 29 deletions

View File

@ -85,6 +85,11 @@ public class FUtil
return ConfigEntry.SERVER_OWNERS.getStringList().contains(name) || ConfigEntry.SERVER_EXECUTIVES.getStringList().contains(name);
}
public static boolean canManageMasterBuilders(String name)
{
return ConfigEntry.SERVER_OWNERS.getStringList().contains(name) || ConfigEntry.SERVER_EXECUTIVES.getStringList().contains(name) || ConfigEntry.SERVER_MASTER_BUILDER_MANAGEMENT.getStringList().contains(name);
}
public static List<String> getPlayerList()
{
List<String> names = new ArrayList<>();