Skip to content

Unable to forcefully unregister commands in bukkit namespace #210

@Reminant

Description

@Reminant

CommandAPI version: 5.12

Server version: Paper version git-Paper-762 (MC: 1.16.5) (Implementing API version 1.16.5-R0.1-SNAPSHOT)

What I did:

CommandAPI running as plugin on the server.

class Main extends JavaPlugin {
    @Override
    public void onEnable() {
        CommandAPI.unregister("help", true);
        CommandAPI.unregister("me", true);
    }
}

Actual result:

  • "help" command not unregistered, neither was "bukkit:help".
  • "me" command was unregistered and so was "minecraft:me"
  • No error messages

Relevant console output:

[11:44:07 INFO]: [CommandAPI] Loading CommandAPI v5.12
[11:44:07 INFO]: [CommandAPI] Hooked into Spigot successfully for Chat/ChatComponents
[11:44:07 INFO]: [CommandAPI] Enabling CommandAPI v5.12
[11:44:07 INFO]: [CommandAPI] Linked 27 Bukkit permissions to commands
[11:44:07 INFO]: [CommandAPI] Reloading datapacks...
[11:44:08 INFO]: [CommandAPI] Finished reloading datapacks

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingimplemented for next releaseThis has been implemented in the current dev build for the next public release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions