mirror of
https://github.com/TotalFreedomMC/TotalFreedomMod.git
synced 2025-08-07 04:53:05 +00:00
More stuff for discord and mb changes
This commit is contained in:
parent
92ad950155
commit
59ee519955
9 changed files with 35 additions and 29 deletions
|
@ -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<>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue