mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2025-06-29 03:36:42 +00:00
Temporarily disable some things
This commit is contained in:
@ -57,10 +57,10 @@ public class Admin implements ConfigLoadable, ConfigSavable, Validatable
|
||||
private String acFormat = null;
|
||||
@Getter
|
||||
@Setter
|
||||
private Boolean oldTags = null;
|
||||
private Boolean oldTags = false;
|
||||
@Getter
|
||||
@Setter
|
||||
private Boolean logStick = null;
|
||||
private Boolean logStick = false;
|
||||
|
||||
public static final String CONFIG_FILENAME = "admins.yml";
|
||||
|
||||
|
@ -113,6 +113,17 @@ public class AdminList extends FreedomService
|
||||
config.save();
|
||||
}
|
||||
|
||||
public void messageAllAdmins(String message)
|
||||
{
|
||||
for (Player player : server.getOnlinePlayers())
|
||||
{
|
||||
if (isAdmin(player))
|
||||
{
|
||||
player.sendMessage(message);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public synchronized boolean isAdminSync(CommandSender sender)
|
||||
{
|
||||
return isAdmin(sender);
|
||||
|
Reference in New Issue
Block a user