Pass through the messages and clean them up

This commit is contained in:
2026-05-19 17:59:35 -04:00
parent 73c4449cb3
commit 3da6b2972e
20 changed files with 291 additions and 137 deletions
@@ -97,7 +97,7 @@ public class PlexCMD extends ServerCommand
{
if (!hasUpdateAccess(playerSender, sender))
{
return messageComponent("noPermissionRank", "a Developer");
return mmString("<red>You must be a Developer to use this command.");
}
for (PlexModule module : plugin.getModuleManager().getModules())
{
@@ -111,7 +111,7 @@ public class PlexCMD extends ServerCommand
{
if (!hasUpdateAccess(playerSender, sender))
{
return messageComponent("noPermissionRank", "a Developer");
return mmString("<red>You must be a Developer to use this command.");
}
if (!plugin.getUpdateChecker().getUpdateStatusMessage(sender, false, 0))
{