CobbleSword / BurritoSpigot

BurritoSpigot is a fork of TacoSpigot 1.8.9 that offers several enhancements to performance as well as bug fixes. while offer extra APIs and support for plugins
Other
53 stars 18 forks source link

commands.yml bug #11

Open ghost opened 2 years ago

ghost commented 2 years ago

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?

CyberFlameGO commented 2 years ago

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

ghost commented 2 years ago

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

Read my edited message

ghost commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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

ghost commented 2 years ago

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 commented 2 years ago

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