Skip to content
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

How to disable /repair mcMMO command #1972

Closed
pilot3101 opened this issue Apr 7, 2014 · 9 comments
Closed

How to disable /repair mcMMO command #1972

pilot3101 opened this issue Apr 7, 2014 · 9 comments

Comments

@pilot3101
Copy link

Hey!

How do I disable the /repair command that mcMMO has?

Thanks!

Have a great day!

@Glitchfinder
Copy link
Contributor

Are you having trouble with mcMMO and Essentials? We can't just disable /repair, but Essentials also has /erepair, /fix, and /efix as aliases to their /repair command. If you don't want people using the repair skill, you have to deny a several permissions as well.

@TfT-02
Copy link
Contributor

TfT-02 commented May 30, 2014

Closed due to inactivity and an answer has been given.

@TfT-02 TfT-02 closed this as completed May 30, 2014
@Flexo013
Copy link

Flexo013 commented Mar 2, 2015

Please re-open this issue.

I want my players to have /repair from Essentials and not /repair from mcMMO. Frankly I would like to disable the entire repair skill from mcMMO and everything it does, including the commands it requires. I know that I can deny my players the permission to us /repair from mcMMO using -mcmmo.commands.repair as a permission, however this just gives them the message "Insufficient permissions." when they try /repair, instead of Essentials repair taking over.

It would be a nice feature to have a enabled: true|false for each skill. That way we can choose which skills of mcMMO we would like to use.

@madtomic
Copy link

madtomic commented Mar 7, 2015

I like an enabled: true|false for each skill

@Glitchfinder
Copy link
Contributor

Unless the API has been significantly altered since the last time I looked, there is no way to enable/disable commands on the fly without using internal values that are inaccessible for a reason. Yes, there are plugins that do it. No, they should not be doing it. No, mcMMO will not do so until a way to legitimately disable commands using the API is added.

@Flexo013
Copy link

Flexo013 commented Mar 8, 2015

Understandable. However I see that mcMMO makes sure to overwrite the /repair that Essentials provides. Maybe you could provide an option which allows the user to set which command takes priority.

@Glitchfinder
Copy link
Contributor

That isn't a matter of overwriting a command. It is a load order issue. If you absolutely must have the /repair from Essentials, refer to their config files. There should be a bit about prioritizing load order to ensure commands get overwritten.

@t00thpick1
Copy link
Member

This can be done using the commands.yml feature that I personally built into bukkit several months ago

@Flexo013
Copy link

Thanks a bunch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants