Package me.ulrich.clans.api
Class CommandAPIManager
java.lang.Object
me.ulrich.clans.api.CommandAPIManager
- All Implemented Interfaces:
CommandAPI
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanfindAliases(String sub, String alias) findAliasesByValue(String sub) findReturnAliases(String sub) findReturnMain(String sub) voidinsertCommand(String command, String permission, String alias, double value, int cooldown, CommandData_show data, CommandData_title title, CommandData_actionbar actionbar, CommandData_sound sound, HashMap<String, CommandData_show> subcommands, CommandData_disable disable) voidregisterCommand(String alias, ClansCommand command) replaceCmd(String string) replaceMainCmd(String string) voidsendCommandJson(org.bukkit.command.CommandSender player, CommandData comander, ClanEnum.MsgUsage key, List<String> data) voidsendSubCommandJson(org.bukkit.command.CommandSender player, CommandData comander, String sub, ClanEnum.MsgUsage key, List<String> data) voidshowHelpSubmessage(org.bukkit.command.CommandSender sender, CommandData commander) voidunRegisterCommand(String command)
-
Constructor Details
-
CommandAPIManager
-
-
Method Details
-
getClanCommander
- Specified by:
getClanCommanderin interfaceCommandAPI
-
getUClanCommander
- Specified by:
getUClanCommanderin interfaceCommandAPI
-
unRegisterCommand
- Specified by:
unRegisterCommandin interfaceCommandAPI
-
registerCommand
- Specified by:
registerCommandin interfaceCommandAPI
-
insertCommand
public void insertCommand(String command, String permission, String alias, double value, int cooldown, CommandData_show data, CommandData_title title, CommandData_actionbar actionbar, CommandData_sound sound, HashMap<String, CommandData_show> subcommands, CommandData_disable disable) - Specified by:
insertCommandin interfaceCommandAPI
-
getCommandAliases
- Specified by:
getCommandAliasesin interfaceCommandAPI
-
getMainCommandAliases
- Specified by:
getMainCommandAliasesin interfaceCommandAPI
-
replaceMainCmd
- Specified by:
replaceMainCmdin interfaceCommandAPI
-
replaceCmd
- Specified by:
replaceCmdin interfaceCommandAPI
-
showHelpSubmessage
- Specified by:
showHelpSubmessagein interfaceCommandAPI
-
findAliases
- Specified by:
findAliasesin interfaceCommandAPI
-
findReturnAliases
- Specified by:
findReturnAliasesin interfaceCommandAPI
-
findReturnMain
- Specified by:
findReturnMainin interfaceCommandAPI
-
findAliasesByValue
- Specified by:
findAliasesByValuein interfaceCommandAPI
-
sendCommandJson
public void sendCommandJson(org.bukkit.command.CommandSender player, CommandData comander, ClanEnum.MsgUsage key, List<String> data) - Specified by:
sendCommandJsonin interfaceCommandAPI
-
sendSubCommandJson
public void sendSubCommandJson(org.bukkit.command.CommandSender player, CommandData comander, String sub, ClanEnum.MsgUsage key, List<String> data) - Specified by:
sendSubCommandJsonin interfaceCommandAPI
-