Closed XHawk87 closed 5 months ago
I'd like to be able to supply help messages to users for commands in the user's preferred language.
new CommandAPICommand("blah") .withHelp(makeHelpTopic("blah")) .executes( ... ) .register();
public HelpTopic makeHelpTopic(String commandName) { return new HelpTopic() { @Override public String getFullText(@NotNull CommandSender forWho) { // Something something i18n } } }
This would be an alternative to .withHelp(String shortDescription, String fullDescription)
.withHelp(String shortDescription, String fullDescription)
No response
Implemented for 9.4.0
Implemented in version 9.4.0.
Description
I'd like to be able to supply help messages to users for commands in the user's preferred language.
Expected code
This would be an alternative to
.withHelp(String shortDescription, String fullDescription)
Extra details
No response