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

@ -13,7 +13,7 @@ import org.bukkit.entity.Player;
import org.bukkit.plugin.Plugin;
import org.bukkit.plugin.PluginManager;
@CommandPermissions(level = Rank.TELNET_ADMIN, source = SourceType.BOTH)
@CommandPermissions(level = Rank.MOD, source = SourceType.BOTH)
@CommandParameters(description = "Enable, disable, or reload a specified plugin, as well as list all plugins on the server.", usage = "/<command> <<enable | disable | reload> <pluginname>> | list>", aliases = "plc")
public class Command_plugincontrol extends FreedomCommand
{
@ -135,7 +135,7 @@ public class Command_plugincontrol extends FreedomCommand
@Override
public List<String> getTabCompleteOptions(CommandSender sender, Command command, String alias, String[] args)
{
if (!plugin.al.isAdmin(sender))
if (!plugin.sl.isStaff(sender))
{
return Collections.emptyList();
}