Merge branch 'help-improvements' of https://github.com/MiniDigger/commands into MiniDigger-help-improvements

* 'help-improvements' of https://github.com/MiniDigger/commands:
  start with abstracting help messages out
  make sure to only treat a type as sender if its not annotated with "other"
  help improvements
This commit is contained in:
Aikar
2018-03-21 21:20:53 -04:00
7 changed files with 224 additions and 35 deletions
+5 -1
View File
@@ -35,7 +35,11 @@ acf-core.please_specify_at_most = Error: Please specify a value at most {max}.
acf-core.please_specify_at_least = Error: Please specify a value at least {min}.
acf-core.not_allowed_on_console = Error: Console may not execute this command.
acf-core.could_not_find_player = Error: Could not find a player by the name: <c2>{search}</c2>
acf-core.help_format = <c1>{command}</c1> <c2>{parameters}</c2> <c3>{separator} {description}</c3>
acf-core.no_command_matched_search = No command matched <c2>{search}</c2>.
acf-core.help_page_information = - Showing page <c2>{page}</c2> of <c2>{totalpages}</c2> (<c3>{results}</c3> results).
acf-core.help_no_results = Error: No more results.
acf-core.help_header = <c3>=== </c3><c1>Showing help for </c1><c2>{command}</c2><c3> ===</c3>
acf-core.help_format = <c1>{command}</c1> <c2>{parameters}</c2> <c3>{separator} {description}</c3>
acf-core.help_detailed_header = <c3>=== </c3><c1>Showing detailed help for </c1><c2>{command}</c2><c3> ===</c3>
acf-core.help_detailed_format = <c2>{name}</c2>: <c3>{description}</c3>
acf-core.help_search_header = <c3>=== </c3><c1>Showing help for </c1><c2>{command}</c2> <c1>{search}</c1><c3> ===</c3>