Class TeamMessageCommand
java.lang.Object
pro.cloudnode.smp.cloudnodemsg.command.Command
pro.cloudnode.smp.cloudnodemsg.command.TeamMessageCommand
- All Implemented Interfaces:
CommandExecutor
,TabCompleter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiononTabComplete
(@NotNull CommandSender sender, @NotNull Command command, @NotNull String label, @NotNull String @NotNull [] args) boolean
run
(@NotNull CommandSender sender, @NotNull String label, @NotNull String @NotNull [] args) static boolean
sendTeamMessage
(@NotNull Player sender, @NotNull Team team, @NotNull Component message) Send message to online team membersMethods inherited from class pro.cloudnode.smp.cloudnodemsg.command.Command
onCommand, sendMessage
-
Constructor Details
-
TeamMessageCommand
public TeamMessageCommand()
-
-
Method Details
-
run
public boolean run(@NotNull @NotNull CommandSender sender, @NotNull @NotNull String label, @NotNull @NotNull String @NotNull [] args) -
onTabComplete
-
sendTeamMessage
public static boolean sendTeamMessage(@NotNull @NotNull Player sender, @NotNull @NotNull Team team, @NotNull @NotNull Component message) Send message to online team members
-