Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up1.13 Tab Completion for Aliases / Plugin Command Replacements #1733
Comments
|
It appears that this was previously reported to spigot in bug report: It would be wonderful if paper or spigot could define commands from vanilla that will not be overridden by plugins. Such that a plugin that has a command like: Maybe a potential option in commands.yml like: ignore-plugin-commands:
- give
- enchant
- list
- ect. |
|
To me it looks like essentials should properly implement command disabling. It still registers the command, which is why tabcomplete is going through. EDIT: EDIT#2: |
|
EssentialsX responded, part of their response was:
I think this is fair; since a variety of plugins could be overriding vanilla commands, Counting on plugin devs to properly handle these situations isn't as realistic as spigot or paper keeping certain listed vanilla commands top priority and not letting plugins take them over |
|
Is there any update on this? Ran into it on Paper for 1.15.2, with EssentialsX 2.17.1.0. |
|
This isn't really viable for aliases given the nature of how they work, bukkit doesn't really offer much to deal with this, ideally, the command map would be exposed so that plugins can just not register commands if they're disabled... |
|
I haven't tested it but as far as I can tell this plugin claims to have this functionality, but is no longer maintained. |


What behaviour is expected:
Proper tab complete for alias commands from commands.yml
The /give command is shared between EssentialsX and Vanilla; ideal fix would be assigning it an alias in the commands.yml file to direct /give to the /minecraft:give command, and retain tab completion to the alias.
What behaviour is observed:
Tab completion for

/giveonly provides usernames, and goes on forever.Steps/models to reproduce:
commands.yml
paper.yml
\plugins\Essentials\config.yml
Plugin list:
EssentialsX 2.15.0.56 (b660)
Paper build number:
Paper b474
Anything else:
Could there be potential for "priority" commands? Listing vanilla commands that will not become secondary to plugin commands?
I could very well just not be doing this correctly, but I just want to retain proper tab completion for a vanilla command that's been overridden by a plugin.