-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Command aliases have no means of resolving conflicts with other plugins #239
Comments
Unfortunately, the Bukkit API doesn't provide a means of defining command priorities. There is no good way for us to forcibly override other plugins' commands without special-casing Essentials or other hacky workarounds.** It is entirely arbitrary, therefore, whether LibertyBans' or Essentials' command is chosen. Nonetheless, this behavior is so commonly reported by users that it deserves to be better documented. It is the number one reason users come to ask for support. To avoid arbitrary behavior, command conflicts should be resolved through one of multiple means:
These options should be documented on a wiki page so that we can refer users to them without having to reiterate the state of command handling ad infinitum. I am therefore marking this issue as "documentation" so that someone can contribute a wiki page for us. **I will note that AdvancedBan took a different approach. Whereas LibertyBans has a no-hacks and reliable-software policy, AdvancedBan has more of a "just make it work" policy. Hence Leoko's decision on the matter when I was a contributor to AdvancedBan and raised the issue there. |
The commands with libertybans and essentials seem to be feuding more than when I initially posted this issue. The bandaid solution is to use
etc Notice the lack of colon between "libertybans" and the command. |
At the time I tried both forms both with the ":" and without. The temporary solution is to edit the Essentials commands in plugin.yml and removing those related to bans, mutes, kics, etc. |
I see. Strange, I didn't have to modify the plugins.yml file. |
LibertyBans Version
LibertyBans 1.1.0-RC1
I have confirmed that ...
Platform
Spigot/Paper
Description
With config.yml ConfigurationSection:
commands.aliases
set as follows, when an operator types/unban <player>
the essentials executing occurs. It was my understanding that whatever aliases are in this config should be top priority.The text was updated successfully, but these errors were encountered: