Package io.github.simplexdevelopment.cl
Class DummyCommand
java.lang.Object
org.bukkit.command.Command
io.github.simplexdevelopment.cl.DummyCommand
- All Implemented Interfaces:
org.bukkit.command.PluginIdentifiableCommand
public final class DummyCommand
extends org.bukkit.command.Command
implements org.bukkit.command.PluginIdentifiableCommand
-
Field Summary
Fields inherited from class org.bukkit.command.Command
description, timings, usageMessage -
Method Summary
Methods inherited from class org.bukkit.command.Command
broadcastCommandMessage, broadcastCommandMessage, getAliases, getDescription, getLabel, getName, getPermission, getPermissionMessage, getTimingName, getUsage, isRegistered, permissionMessage, permissionMessage, register, setAliases, setDescription, setLabel, setName, setPermission, setPermissionMessage, setUsage, tabComplete, tabComplete, testPermission, testPermissionSilent, toString, unregister
-
Method Details
-
execute
public boolean execute(@NotNull @NotNull org.bukkit.command.CommandSender sender, @NotNull @NotNull String commandLabel, @NotNull @NotNull String[] args) The actual executor method.- Specified by:
executein classorg.bukkit.command.Command- Parameters:
sender- The user who sent the commandcommandLabel- The name of the commandargs- Any additional arguments the user may input- Returns:
- Successfully executed the command or not
-
getPlugin
@NotNull public @NotNull org.bukkit.plugin.Plugin getPlugin()- Specified by:
getPluginin interfaceorg.bukkit.command.PluginIdentifiableCommand- Returns:
- Gets your plugin (Generic)
-