FlashyReese / CommandAliases

Alternate short commands for complex commands
MIT License
26 stars 6 forks source link

Command redirect did not work #26

Closed Pixaurora closed 2 years ago

Pixaurora commented 2 years ago

There's no error, but the below format does not do anything. I also found that reversing the placement of "say" and "s" also did nothing, so it doesn't seem to just be me putting stuff in the wrong place. Was the format updated since the latest wiki page was made?

{
    "commandMode": "COMMAND_REDIRECT",
    "redirectCommand": {
        "command": "say",
        "redirectTo": "s"
    }
}
FlashyReese commented 2 years ago

I assume you are using the version 0.6.0, it's a bug with my implementation to work with LuckPerms. You can downgrade to 0.5.0 or install LuckPerms and grant yourself permission of commandaliases.s.

The command should look like this

{
    "commandMode": "COMMAND_REDIRECT",
    "redirectCommand": {
        "command": "s",
        "redirectTo": "say"
    }
}