Package me.ulrich.koth.api
Class CommandAPIManager
java.lang.Object
me.ulrich.koth.api.CommandAPIManager
- All Implemented Interfaces:
CommandAPI
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinsertAdmCommand(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) 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) voidregisterAdmCommand(String alias, KothCommand command) voidregisterCommand(String alias, KothCommand command) voidsendCommandJson(org.bukkit.command.CommandSender player, CommandData comander, KothEnum.MsgUsage key, List<String> data) voidsendSubCommandJson(org.bukkit.command.CommandSender player, CommandData comander, String sub, KothEnum.MsgUsage key, List<String> data) voidshowHelpSubmessage(org.bukkit.command.CommandSender sender, CommandData commander) voidunRegisterAdmCommand(String command) voidunRegisterCommand(String command)
-
Constructor Details
-
CommandAPIManager
public CommandAPIManager()
-
-
Method Details
-
getKothCommander
- Specified by:
getKothCommanderin interfaceCommandAPI
-
getUKothCommander
- Specified by:
getUKothCommanderin 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
-
unRegisterAdmCommand
- Specified by:
unRegisterAdmCommandin interfaceCommandAPI
-
registerAdmCommand
- Specified by:
registerAdmCommandin interfaceCommandAPI
-
insertAdmCommand
public void insertAdmCommand(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:
insertAdmCommandin interfaceCommandAPI
-
showHelpSubmessage
- Specified by:
showHelpSubmessagein interfaceCommandAPI
-
sendCommandJson
public void sendCommandJson(org.bukkit.command.CommandSender player, CommandData comander, KothEnum.MsgUsage key, List<String> data) - Specified by:
sendCommandJsonin interfaceCommandAPI
-
sendSubCommandJson
public void sendSubCommandJson(org.bukkit.command.CommandSender player, CommandData comander, String sub, KothEnum.MsgUsage key, List<String> data) - Specified by:
sendSubCommandJsonin interfaceCommandAPI
-