mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2025-06-29 19:46:42 +00:00
staff -> admins
* rename everything containing staff back to admin (as requested by ryan i've renamed commands like slconfig to saconfig but left "slconfig" as an alias) * format almost every file correctly * a few other improvements
This commit is contained in:
@ -54,7 +54,7 @@ public class FSync
|
||||
}.runTask(plugin);
|
||||
}
|
||||
|
||||
public static void staffChatMessage(final CommandSender sender, final String message)
|
||||
public static void adminChatMessage(final CommandSender sender, final String message)
|
||||
{
|
||||
final TotalFreedomMod plugin = TotalFreedomMod.plugin();
|
||||
new BukkitRunnable()
|
||||
@ -63,7 +63,7 @@ public class FSync
|
||||
@Override
|
||||
public void run()
|
||||
{
|
||||
plugin.cm.staffChat(sender, message);
|
||||
plugin.cm.adminChat(sender, message);
|
||||
}
|
||||
|
||||
}.runTask(plugin);
|
||||
@ -98,4 +98,4 @@ public class FSync
|
||||
|
||||
}.runTask(plugin);
|
||||
}
|
||||
}
|
||||
}
|
@ -164,7 +164,7 @@ public class FUtil
|
||||
List<String> names = new ArrayList<>();
|
||||
for (Player player : Bukkit.getOnlinePlayers())
|
||||
{
|
||||
if (!TotalFreedomMod.plugin().sl.isVanished(player.getName()))
|
||||
if (!TotalFreedomMod.plugin().al.isVanished(player.getName()))
|
||||
{
|
||||
names.add(player.getName());
|
||||
}
|
||||
@ -347,9 +347,9 @@ public class FUtil
|
||||
player.setFlying(flying);
|
||||
}
|
||||
|
||||
public static void staffAction(String staffMemberName, String action, boolean isRed)
|
||||
public static void adminAction(String adminName, String action, boolean isRed)
|
||||
{
|
||||
FUtil.bcastMsg(staffMemberName + " - " + action, (isRed ? ChatColor.RED : ChatColor.AQUA));
|
||||
FUtil.bcastMsg(adminName + " - " + action, (isRed ? ChatColor.RED : ChatColor.AQUA));
|
||||
}
|
||||
|
||||
public static String formatLocation(Location location)
|
||||
|
Reference in New Issue
Block a user