Spigot Plugin Development - 54 - Tab Completion with Commands

Channel:
Subscribers:
32,299
Published on ● Video Link: https://www.youtube.com/watch?v=rQce_yEXSOE



Duration: 38:48
28,627 views
448


In this episode, I show you how to add tab completion to your commands in spigot. Tab completion is when suggestions come up in the minecraft chat for the next argument for the command. We can do this by using either a TabCompleter or TabExecutor. I show both and I also show how to use this in our command manager, shown a few episodes ago. #Spigot #MinecraftPluginDevelopment

Code: https://snippets.cacher.io/snippet/e0c0d664cd59ee78f6a8
CommandManager Code: https://gitlab.com/kinglydeveloper/updated-command-manager
JavaDocs: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/command/TabCompleter.html

⭐ Kite is a free AI-powered coding assistant that will help you code faster and smarter. The Kite plugin integrates with all the top editors and IDEs to give you smart completions and documentation while you’re typing. I've tried it an it's awesome! https://www.kite.com/get-kite/?utm_medium=referral&utm_source=youtube&utm_campaign=kodysimpson&utm_content=description-only

Discord: https://rebrand.ly/discordlink
Support: https://www.youtube.com/channel/UC_LtbK9pzAEI-4yVprLOcyA/join
More Videos coming soon.
Leave a comment for any future video suggestions.







Tags:
spigot
tab completion spigot
tab completer
tab completer bukkit