-
-
Notifications
You must be signed in to change notification settings - Fork 75
Closed
Labels
enhancementNew feature or requestNew feature or requestimplemented for next releaseThis has been implemented in the current dev build for the next public releaseThis has been implemented in the current dev build for the next public release
Description
Description
I'd like to be able to supply help messages to users for commands in the user's preferred language.
Expected code
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)
Extra details
No response
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestimplemented for next releaseThis has been implemented in the current dev build for the next public releaseThis has been implemented in the current dev build for the next public release