Uses of Interface
co.aikar.commands.CommandCompletions.CommandCompletionHandler
-
Uses of CommandCompletions.CommandCompletionHandler in co.aikar.commands
Modifier and TypeInterfaceDescriptionstatic interface
Modifier and TypeMethodDescriptionCommandCompletions.registerAsyncCompletion
(String id, CommandCompletions.AsyncCommandCompletionHandler<C> handler) Registr a completion handler to provide command completions based on the user input.CommandCompletions.registerCompletion
(String id, CommandCompletions.CommandCompletionHandler<C> handler) Registr a completion handler to provide command completions based on the user input.CommandCompletions.registerStaticCompletion
(String id, String list) Register a static list of command completions that will never change.CommandCompletions.registerStaticCompletion
(String id, String[] completions) Register a static list of command completions that will never changeCommandCompletions.registerStaticCompletion
(String id, Collection<String> completions) Register a static list of command completions that will never changeCommandCompletions.registerStaticCompletion
(String id, Supplier<Collection<String>> supplier) Register a static list of command completions that will never change.CommandCompletions.unregisterCompletion
(String id) Unregister a completion handler.Modifier and TypeMethodDescriptionCommandCompletions.registerCompletion
(String id, CommandCompletions.CommandCompletionHandler<C> handler) Registr a completion handler to provide command completions based on the user input.