Package | Description |
---|---|
org.bukkit |
The root package of the Bukkit API, contains generalized API classes.
|
org.bukkit.plugin.java |
Classes for handling
plugins written in
java. |
Modifier and Type | Method and Description |
---|---|
static @Nullable PluginCommand |
Bukkit.getPluginCommand(@NotNull String name)
Gets a
PluginCommand with the given name or alias. |
@Nullable PluginCommand |
Server.getPluginCommand(@NotNull String name)
Gets a
PluginCommand with the given name or alias. |
Modifier and Type | Method and Description |
---|---|
@Nullable PluginCommand |
JavaPlugin.getCommand(@NotNull String name)
Gets the command with the given name, specific to this plugin.
|
Copyright © 2021. All rights reserved.