Skip to content

cannot specify alias to run a specific function #80

@TheAfroOfDoom

Description

@TheAfroOfDoom

i want to specify an alias so i can run a specific function. when i try the following config file though, it fails to load:

config/commandaliases/soul-0.json

{
  "schemaVersion": 1,
  "commandMode": "COMMAND_REDIRECT_NOARG",
  "command": "s0",
  "redirectTo": "function _:soul/0"
}
[SERVER] COMMAND_REDIRECT - Could not find existing command "function _:soul/0": C:\Users\afro\AppData\Roaming\.minecraft\config\commandaliases\soul-0.json

Image

similarly, i was hoping i could specify an alias to what is partially a function, but this doesnt seem to work. e.g.

/a <...> -> /function _:attack/<...>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions