Migrate (what I could find) legacy component system uses to kyori component system

Create List command
Remove fionn command
Remove test command
Add Mojang Utils
Auto add Plex Players back to cache on start if any are online
This commit is contained in:
spacerocket62
2022-01-27 01:00:50 -08:00
parent 29b547fc8b
commit 8202021f07
28 changed files with 510 additions and 573 deletions

View File

@ -47,7 +47,6 @@ public class AdminCMD extends PlexCommand
if (!isConsole(sender))
{
send(sender, tl("consoleOnly"));
throw new ConsoleOnlyException();
}
@ -153,7 +152,7 @@ public class AdminCMD extends PlexCommand
return usage("/admin list");
}
return fromString("Admins: " + StringUtils.join(plugin.getAdminList().getAllAdmins(), ", "));
return componentFromString("Admins: " + StringUtils.join(plugin.getAdminList().getAllAdmins(), ", "));
}
return null;
}