mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2025-07-01 20:46:41 +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:
@ -22,7 +22,7 @@ public class Command_lockup extends FreedomCommand
|
||||
{
|
||||
if (args[0].equalsIgnoreCase("all"))
|
||||
{
|
||||
FUtil.staffAction(sender.getName(), "Locking up all players", true);
|
||||
FUtil.adminAction(sender.getName(), "Locking up all players", true);
|
||||
|
||||
for (Player player : server.getOnlinePlayers())
|
||||
{
|
||||
@ -32,7 +32,7 @@ public class Command_lockup extends FreedomCommand
|
||||
}
|
||||
else if (args[0].equalsIgnoreCase("purge"))
|
||||
{
|
||||
FUtil.staffAction(sender.getName(), "Unlocking all players", true);
|
||||
FUtil.adminAction(sender.getName(), "Unlocking all players", true);
|
||||
for (Player player : server.getOnlinePlayers())
|
||||
{
|
||||
cancelLockup(player);
|
||||
@ -59,7 +59,7 @@ public class Command_lockup extends FreedomCommand
|
||||
|
||||
if (!silent)
|
||||
{
|
||||
FUtil.staffAction(sender.getName(), "Locking up " + player.getName(), true);
|
||||
FUtil.adminAction(sender.getName(), "Locking up " + player.getName(), true);
|
||||
}
|
||||
startLockup(player);
|
||||
msg("Locked up " + player.getName() + ".");
|
||||
@ -76,7 +76,7 @@ public class Command_lockup extends FreedomCommand
|
||||
|
||||
if (!silent)
|
||||
{
|
||||
FUtil.staffAction(sender.getName(), "Unlocking " + player.getName(), true);
|
||||
FUtil.adminAction(sender.getName(), "Unlocking " + player.getName(), true);
|
||||
}
|
||||
cancelLockup(player);
|
||||
msg("Unlocked " + player.getName() + ".");
|
||||
@ -132,4 +132,4 @@ public class Command_lockup extends FreedomCommand
|
||||
}
|
||||
}.runTaskTimer(plugin, 0L, 5L));
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user