public abstract class GeyserCommand extends Object implements org.geysermc.api.command.Command
| Constructor and Description |
|---|
GeyserCommand(String name) |
GeyserCommand(String name,
String description) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
execute(org.geysermc.api.command.CommandSender sender,
String[] args) |
List<String> |
getAliases() |
GeyserCommandMap |
getCommandMap() |
String |
getDescription() |
String |
getName() |
void |
setAliases(List<String> aliases) |
void |
setDescription(String description) |
void |
setName(String name) |
public GeyserCommand(String name)
public String getName()
getName in interface org.geysermc.api.command.Commandpublic void setName(String name)
public String getDescription()
getDescription in interface org.geysermc.api.command.Commandpublic void setDescription(String description)
public List<String> getAliases()
getAliases in interface org.geysermc.api.command.Commandpublic void setAliases(List<String> aliases)
setAliases in interface org.geysermc.api.command.Commandpublic abstract void execute(org.geysermc.api.command.CommandSender sender,
String[] args)
execute in interface org.geysermc.api.command.Commandpublic GeyserCommandMap getCommandMap()
Copyright © 2020 GeyserMC. All rights reserved.