Skip to content

Allow the ability to use aliases without requiring a name in @Execute #402

@RyanTheTechMan

Description

@RyanTheTechMan

This would only affect @Execute as you need a base command to add arguments to.

Currently in v3.4.2 if an alias is set without the name parameter, then aliases are not used. This is not expected behavior.

Wanted:

@Execute(aliases = {"info"})

This would allow the player to run /example or /example info

The current work around is to create two separate functions, one with a name parameter and one without.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurehacktoberfestThis year we’re celebrating 11 years of open source love! https://hacktoberfest.com/

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions