Admins are now known as staff

To other developers: If you find places where staff are refered to as only admins pls fix it for me.
This commit is contained in:
Seth
2020-08-14 23:44:57 -07:00
parent f42e047723
commit f5b5fcd5ef
187 changed files with 1228 additions and 1787 deletions

View File

@ -15,7 +15,7 @@ import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
@CommandPermissions(level = Rank.SUPER_ADMIN, source = SourceType.BOTH, blockHostConsole = true)
@CommandPermissions(level = Rank.TRIAL_MOD, source = SourceType.BOTH, blockHostConsole = true)
@CommandParameters(description = "Temporarily bans a player for five minutes.", usage = "/<command> [-q] <username> [reason]", aliases = "noob")
public class Command_tban extends FreedomCommand
{
@ -93,7 +93,7 @@ public class Command_tban extends FreedomCommand
if (reason != null)
{
FUtil.adminAction(sender.getName(), "Tempbanning " + player.getName() + " for 5 minutes - Reason: " + reason, true);
FUtil.staffAction(sender.getName(), "Tempbanning " + player.getName() + " for 5 minutes - Reason: " + reason, true);
kick.append("\n")
.append(ChatColor.RED)
.append("Reason: ")
@ -102,7 +102,7 @@ public class Command_tban extends FreedomCommand
}
else
{
FUtil.adminAction(sender.getName(), "Tempbanning " + player.getName() + " for 5 minutes", true);
FUtil.staffAction(sender.getName(), "Tempbanning " + player.getName() + " for 5 minutes", true);
}
}
}