lishid / OpenInv

Open anyone's inventory as a chest, real-time!
GNU General Public License v3.0
119 stars 94 forks source link

OpenInv is Overriding too Many Commands #79

Closed Techno3600 closed 6 years ago

Techno3600 commented 6 years ago

Hello,

I installed OpenInv a long time ago, but when I try to do /ac or /sc for other commands like stuff in Essentials it this plugin overrides it and therefore cool features from other plugins cannot be used because OpenInv overrides every other plugin. My solution is to do something like this in the config. CompatibilityOptions:

The event priority which OpenInv should use for the specific event.

# If another plugin overrides SV's join/leave settings, setting the priorities to MONITOR can help.
# Allowed values: LOWEST, LOW, NORMAL, HIGH, HIGHEST, MONITOR

CommandImput: HIGH # <- Set this to "HIGH" if you use Essentials to modify stuff CommandImput: NORMAL

Kakifrucht commented 6 years ago

Just use /pluginname:command for overriden commands, or spell them out instead of using short aliases. For Essentials commands you can always prefix your command with an e, e.g. instead of /home /ehome.

RoboMWM commented 6 years ago

Use commands.yml to setup command/command aliases to whatever you want.

Also, there is no such priority system for commands. Just events.

Jikoo commented 6 years ago

As Robo said, use your commands.yml to set up command overrides. This is a default Bukkit feature.