Package me.totalfreedom.command
Class BukkitDelegate
java.lang.Object
org.bukkit.command.Command
me.totalfreedom.command.BukkitDelegate
- All Implemented Interfaces:
org.bukkit.command.PluginIdentifiableCommand
public final class BukkitDelegate
extends org.bukkit.command.Command
implements org.bukkit.command.PluginIdentifiableCommand
This class is acts as a delegate between our custom command implementation and the Bukkit API.
This class is not meant to be used directly, and is only public to allow for the Bukkit API to access it. As a result, this file will remain undocumented.
This class is not thread-safe.
This class is not meant to be extended.
This class is not meant to be instantiated.
This class is not meant to be used outside Patchwork.
This class is not meant to be used directly, and is only public to allow for the Bukkit API to access it. As a result, this file will remain undocumented.
This class is not thread-safe.
This class is not meant to be extended.
This class is not meant to be instantiated.
This class is not meant to be used outside Patchwork.
-
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, broadcastCommandMessage, broadcastCommandMessage, getAliases, getDescription, getLabel, getName, getPermission, getPermissionMessage, getTimingName, getUsage, isRegistered, permissionMessage, permissionMessage, register, setAliases, setDescription, setLabel, setName, setPermission, setPermissionMessage, setUsage, 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) - Specified by:
executein classorg.bukkit.command.Command
-
tabComplete
public List<String> tabComplete(org.bukkit.command.CommandSender sender, String alias, String[] args) - Overrides:
tabCompletein classorg.bukkit.command.Command
-
getPlugin
@NotNull public @NotNull org.bukkit.plugin.Plugin getPlugin()- Specified by:
getPluginin interfaceorg.bukkit.command.PluginIdentifiableCommand
-