public static class MetadataSpigotExtension.Command extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
alias(Object alias)
Adds an alias to this command.
|
List<String> |
aliases()
Gets the usage set for this command.
|
eu.hexagonmc.spigot.annotation.meta.PluginCommand |
build()
Builds a
PluginCommand of this extension. |
String |
description()
Gets the description set for this command.
|
void |
description(Object description)
Sets the description of this command.
|
String |
getName()
Gets the name set for this dependency.
|
String |
name()
Gets the name set for this dependency.
|
String |
permission()
Gets the permission set for this command.
|
void |
permission(Object permission)
Sets the permission of this command.
|
String |
usage()
Gets the usage set for this command.
|
void |
usage(Object usage)
Sets the usage of this command.
|
public String name()
public String getName()
public void description(Object description)
description - The description to setpublic String description()
public void alias(Object alias)
alias - The alias to addpublic void permission(Object permission)
permission - The permission to setpublic String permission()
public void usage(Object usage)
usage - The usage to setpublic String usage()
public eu.hexagonmc.spigot.annotation.meta.PluginCommand build()
PluginCommand of this extension.PluginCommand