Class TeamMessageCommand

java.lang.Object
pro.cloudnode.smp.cloudnodemsg.command.Command
pro.cloudnode.smp.cloudnodemsg.command.TeamMessageCommand
All Implemented Interfaces:
CommandExecutor, TabCompleter

public class TeamMessageCommand extends Command
  • Constructor Details

    • TeamMessageCommand

      public TeamMessageCommand()
  • Method Details

    • run

      public boolean run(@NotNull @NotNull CommandSender sender, @NotNull @NotNull String label, @NotNull @NotNull String @NotNull [] args)
      Specified by:
      run in class Command
    • onTabComplete

      @Nullable public @Nullable List<@NotNull String> onTabComplete(@NotNull @NotNull CommandSender sender, @NotNull Command command, @NotNull @NotNull String label, @NotNull @NotNull String @NotNull [] args)
    • sendTeamMessage

      public static boolean sendTeamMessage(@NotNull @NotNull Player sender, @NotNull @NotNull Team team, @NotNull @NotNull Component message)
      Send message to online team members