bukkit-runtime icon indicating copy to clipboard operation
bukkit-runtime copied to clipboard

Correctly register commands

Open AL1L opened this issue 4 years ago • 1 comments

Although there's no easy way to do it, we need to register the commands correctly in Bukkit with tab complete and everything so that it doesn't show up as red and unknown command. To support more versions, we can use the current system as a fallback.

AL1L avatar Jan 26 '22 21:01 AL1L

They've added this already.

andriemc avatar Jun 11 '22 12:06 andriemc

Registering commands is supported by adding them to your project package.json file, like this:

{
    "commands": {
        "gmc": {
            "description": "sets your gamemode to creative"
        }
    }
}

connerdouglass avatar Jun 20 '24 18:06 connerdouglass