Class Whisper
java.lang.Object
com.github.mafelp.minecraft.commands.Whisper
- All Implemented Interfaces:
org.bukkit.command.CommandExecutor
The class that handles execution of the command
/whisper
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Whisper
public Whisper()
-
-
Method Details
-
onCommand
public boolean onCommand(@NotNull @NotNull org.bukkit.command.CommandSender commandSender, @NotNull @NotNull org.bukkit.command.Command command, @NotNull @NotNull String label, @NotNull @NotNull String[] args)The Method called when command/token
is executed.- Specified by:
onCommand
in interfaceorg.bukkit.command.CommandExecutor
- Parameters:
commandSender
- The sender of the commandcommand
- the command he/she usedlabel
- the label of the commandargs
- additional arguments passed: Discord ID and unique identifier.- Returns:
- command success
-