FlashyReese / CommandAliases

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

Unable to get custom command working #37

Closed ChristopherHaws closed 1 year ago

ChristopherHaws commented 1 year ago

Hello!

I have created a file called tpsbar.yaml in the commandaliases directory with the following contents:

commandMode: COMMAND_CUSTOM
customCommand:
  parent: tpsbar
  actions:
    - command: tabtps toggle bossbar
      commandType: SERVER

When I load the server and type /tpsbar, it doesn't give autocompletion and the command says it doesn't exist. I can't figure out what I am doing wrong. Any help would be appreciated ^_^

FlashyReese commented 1 year ago

It's currently hardcoded to .yml instead of supporting both .yaml and .yml.

ChristopherHaws commented 1 year ago

Thank you so much! I didn't even think of trying that xD