Package me.ulrich.koth.interfaces
Interface CommandAPI
- All Known Implementing Classes:
CommandAPIManager
public interface CommandAPI
-
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)
-
Method Details
-
showHelpSubmessage
-
getKothCommander
HashMap<String,CommandData> getKothCommander() -
getUKothCommander
HashMap<String,CommandData> getUKothCommander() -
unRegisterCommand
-
insertCommand
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) -
registerCommand
-
sendCommandJson
void sendCommandJson(org.bukkit.command.CommandSender player, CommandData comander, KothEnum.MsgUsage key, List<String> data) -
sendSubCommandJson
void sendSubCommandJson(org.bukkit.command.CommandSender player, CommandData comander, String sub, KothEnum.MsgUsage key, List<String> data) -
unRegisterAdmCommand
-
registerAdmCommand
-
insertAdmCommand
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)
-