Class Link
java.lang.Object
com.github.mafelp.minecraft.commands.Link
- All Implemented Interfaces:
org.bukkit.command.CommandExecutor
public class Link
extends java.lang.Object
implements org.bukkit.command.CommandExecutor
Class handling the linking of minecraft and discord accounts -
Warning This class in currently not implemented.
-
Constructor Summary
Constructors Constructor Description Link()
-
Method Summary
Modifier and Type Method Description boolean
onCommand(org.bukkit.command.CommandSender sender, @NotNull org.bukkit.command.Command command, @NotNull java.lang.String label, java.lang.String[] args)
The Method called when command "/token" is executed.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Link
public Link()
-
-
Method Details
-
onCommand
public boolean onCommand(org.bukkit.command.CommandSender sender, @NotNull @NotNull org.bukkit.command.Command command, @NotNull @NotNull java.lang.String label, java.lang.String[] args)The Method called when command "/token" is executed.- Specified by:
onCommand
in interfaceorg.bukkit.command.CommandExecutor
- Parameters:
sender
- 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
-