Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request #323

Closed
corentingosselin opened this issue May 1, 2021 · 2 comments
Closed

Feature request #323

corentingosselin opened this issue May 1, 2021 · 2 comments

Comments

@corentingosselin
Copy link

corentingosselin commented May 1, 2021

This would be fun if we could change the command via any sort of configuration because annotations do not allow that :S
So we could set the command with something like:
CMD.getRegisteredCommands().forEach(r -> r.setCommand(config.command));

@RoinujNosde
Copy link
Contributor

You can do that with command replacements:
https://github.com/aikar/commands/wiki/Command-Replacements

@corentingosselin
Copy link
Author

Nice ! my bad I misunderstood the replacement feature, thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants