public class AnnoyingCommandRegister
extends java.lang.Object
All credit for this class goes to realEntity303, author of PlugManX
| Constructor and Description |
|---|
AnnoyingCommandRegister()
Initialize the command register
|
| Modifier and Type | Method and Description |
|---|---|
void |
register(@NotNull org.bukkit.command.Command command,
@NotNull java.lang.String fallbackPrefix)
Register a command from another plugin
|
void |
sync()
Refreshes the command list
|
public AnnoyingCommandRegister()
public void register(@NotNull
@NotNull org.bukkit.command.Command command,
@NotNull
@NotNull java.lang.String fallbackPrefix)
command - the command to registerfallbackPrefix - the fallback command prefixpublic void sync()