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

commands.yml bug #11

Open
ghost opened this issue Dec 11, 2021 · 8 comments
Open

commands.yml bug #11

ghost opened this issue Dec 11, 2021 · 8 comments

Comments

@ghost
Copy link

ghost commented Dec 11, 2021

So I can't make a custom command or unregister command if i put ":" in the command for example I want to unregister "/bukkit:plugins" command simply i just do this:

aliases:
bukkit:plugins:
- []

but this work fine if i would to unregister "/plugins" but i want to remove "/bukkit:plugins" so this doesn't work on version below 1.12 can you fix this issue?

@ghost ghost changed the title commands.yml commands.yml bug Dec 11, 2021
@CyberFlameGO
Copy link
Contributor

If I’m not mistaken you’re meant to put it in quotes, so "bukkit:plugins": should work

@ghost
Copy link
Author

ghost commented Dec 11, 2021

If I’m not mistaken you’re meant to put it in quotes, so "bukkit:plugins": should work

Read my edited message

@ghost
Copy link
Author

ghost commented Dec 11, 2021

If I’m not mistaken you’re meant to put it in quotes, so "bukkit:plugins": should work

this doesn't work either i've already tested that

@CyberFlameGO
Copy link
Contributor

ohhh I actually think you’re just meant to put the command in quotes; I don’t think you can override those types of commands as commands.yml is simply for aliasing commands. You could just disable the permission at its roots, or if you find a patch for it we can look at getting it contributed.

@ghost
Copy link
Author

ghost commented Dec 11, 2021

ohhh I actually think you’re just meant to put the command in quotes; I don’t think you can override those types of commands as commands.yml is simply for aliasing commands. You could just disable the permission at its roots, or if you find a patch for it we can look at getting it contributed.

But i want to unregister it completely

@CyberFlameGO
Copy link
Contributor

The best way to completely unregister it is to remove the code for the commands

@ghost
Copy link
Author

ghost commented Dec 11, 2021

ohhh I actually think you’re just meant to put the command in quotes; I don’t think you can override those types of commands as commands.yml is simply for aliasing commands. You could just disable the permission at its roots, or if you find a patch for it we can look at getting it contributed.

You can take a look at new commands.yml system on Paper library? idk? but you can take a look at new minecraft version server softwares

@HeathLoganCampbell
Copy link
Member

HeathLoganCampbell commented Dec 12, 2021

Wow, I have neve heard this feature before, so oh it works is you're making an alises of "Bukkit:plugins" to nothing?

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

No branches or pull requests

2 participants