Class SetLoginMessageCMD

java.lang.Object
org.bukkit.command.Command
dev.plex.command.PlexCommand
dev.plex.command.impl.SetLoginMessageCMD
All Implemented Interfaces:
org.bukkit.command.PluginIdentifiableCommand

public class SetLoginMessageCMD extends PlexCommand
  • Field Details

    • nameRequired

      private final boolean nameRequired
    • rankRequired

      private final boolean rankRequired
  • Constructor Details

    • SetLoginMessageCMD

      public SetLoginMessageCMD()
  • Method Details

    • execute

      protected net.kyori.adventure.text.Component execute(@NotNull @NotNull org.bukkit.command.CommandSender sender, @Nullable @Nullable org.bukkit.entity.Player playerSender, String[] args)
      Description copied from class: PlexCommand
      Executes the command
      Specified by:
      execute in class PlexCommand
      Parameters:
      sender - The sender of the command
      playerSender - The player who executed the command (null if CommandSource is console or if CommandSource is any but console executed)
      args - A Kyori Component to send to the sender (can be null)
    • validateMessage

      private void validateMessage(String message)