Add missing command completions for BungeeCord
This commit is contained in:
parent
7128b45ade
commit
0ed2b567c8
5 changed files with 23 additions and 8 deletions
|
|
@ -48,6 +48,7 @@ public class ServerUtils extends Plugin {
|
|||
CommandCompletions<BungeeCommandCompletionContext> commandCompletions = commandManager.getCommandCompletions();
|
||||
commandCompletions.registerAsyncCompletion("plugins", context -> manager.getPluginNames());
|
||||
commandCompletions.registerAsyncCompletion("pluginJars", context -> manager.getPluginFileNames());
|
||||
commandCompletions.registerAsyncCompletion("commands", context -> manager.getCommands());
|
||||
|
||||
reload();
|
||||
getProxy().getPluginManager().registerListener(this, new BungeeListener());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue