Class Unlink
java.lang.Object
com.github.mafelp.minecraft.commands.Unlink
- All Implemented Interfaces:
org.bukkit.command.CommandExecutor
public class Unlink
extends java.lang.Object
implements org.bukkit.command.CommandExecutor
The class that handles execution of the command
/unlink-
Constructor Summary
Constructors Constructor Description Unlink() -
Method Summary
Modifier and Type Method Description booleanonCommand(@NotNull org.bukkit.command.CommandSender commandSender, @NotNull org.bukkit.command.Command command, @NotNull java.lang.String label, java.lang.String[] args)The Method called when command/unlinkis executed.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Unlink
public Unlink()
-
-
Method Details
-
onCommand
public boolean onCommand(@NotNull @NotNull org.bukkit.command.CommandSender commandSender, @NotNull @NotNull org.bukkit.command.Command command, @NotNull @NotNull java.lang.String label, java.lang.String[] args)The Method called when command/unlinkis executed.- Specified by:
onCommandin 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
-