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:
@ -58,7 +58,7 @@ public class Command_mbconfig extends FreedomCommand
|
||||
plugin.sql.addPlayer(data);
|
||||
msg(counter + " IPs removed.");
|
||||
msg(data.getIps().get(0) + " is now your only IP address");
|
||||
FUtil.staffAction(sender.getName(), "Clearing my IPs", true);
|
||||
FUtil.adminAction(sender.getName(), "Clearing my IPs", true);
|
||||
return true;
|
||||
}
|
||||
case "clearip":
|
||||
@ -118,7 +118,7 @@ public class Command_mbconfig extends FreedomCommand
|
||||
|
||||
if (data.isMasterBuilder() && plugin.pl.isPlayerImpostor(player))
|
||||
{
|
||||
FUtil.staffAction(sender.getName(), "Re-adding " + data.getName() + " to the Master Builder list", true);
|
||||
FUtil.adminAction(sender.getName(), "Re-adding " + data.getName() + " to the Master Builder list", true);
|
||||
|
||||
if (plugin.pl.getPlayer(player).getFreezeData().isFrozen())
|
||||
{
|
||||
@ -134,7 +134,7 @@ public class Command_mbconfig extends FreedomCommand
|
||||
}
|
||||
else if (!data.isMasterBuilder())
|
||||
{
|
||||
FUtil.staffAction(sender.getName(), "Adding " + data.getName() + " to the Master Builder list", true);
|
||||
FUtil.adminAction(sender.getName(), "Adding " + data.getName() + " to the Master Builder list", true);
|
||||
data.setMasterBuilder(true);
|
||||
data.setVerification(true);
|
||||
plugin.pl.save(data);
|
||||
@ -171,7 +171,7 @@ public class Command_mbconfig extends FreedomCommand
|
||||
return true;
|
||||
}
|
||||
|
||||
FUtil.staffAction(sender.getName(), "Removing " + data.getName() + " from the Master Builder list", true);
|
||||
FUtil.adminAction(sender.getName(), "Removing " + data.getName() + " from the Master Builder list", true);
|
||||
data.setMasterBuilder(false);
|
||||
if (data.getDiscordID() == null)
|
||||
{
|
||||
|
Reference in New Issue
Block a user