mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-11-18 00:25:29 +01:00
Fixed some issues with the new commands
This commit is contained in:
parent
c3250892d8
commit
f8e924060b
@ -289,7 +289,7 @@ public class PlanCommand {
|
||||
|
||||
private Subcommand webUsersCommand() {
|
||||
return Subcommand.builder()
|
||||
.aliases("users", "webusers")
|
||||
.aliases("users", "webusers", "web")
|
||||
.requirePermission(Permissions.USERS)
|
||||
.description(locale.getString(HelpLang.USERS))
|
||||
.inDepthDescription(locale.getString(DeepHelpLang.USERS))
|
||||
|
@ -44,7 +44,6 @@ public class HelpFormatter {
|
||||
String m = colors.getMainColor();
|
||||
String s = colors.getSecondaryColor();
|
||||
String asString = subcommands.stream()
|
||||
.filter(cmd -> cmd.getDescription() != null)
|
||||
.map(cmd ->
|
||||
m + mainCommand + " " + cmd.getPrimaryAlias() +
|
||||
(sender.supportsChatEvents() ? "" : " " + cmd.getArgumentsAsString()) + "***" +
|
||||
|
@ -72,7 +72,7 @@ public enum CommandLang implements Lang {
|
||||
LINK_REGISTER("Cmd - Link Register", "Register page: "),
|
||||
|
||||
HEADER_HELP("Cmd Header - Help", "> §2/${0} Help"),
|
||||
FOOTER_HELP("Cmd Footer - Help", "> §7Hover over command or arguments to learn more about them."),
|
||||
FOOTER_HELP("Cmd Footer - Help", "§7Hover over command or arguments to learn more about them."),
|
||||
HEADER_SEARCH("Cmd Header - Search", "> §2${0} Results for §f${1}§2:"),
|
||||
HEADER_ANALYSIS("Cmd Header - Analysis", "> §2Analysis Results"),
|
||||
HEADER_INFO("Cmd Header - Info", "> §2Player Analytics"),
|
||||
|
Loading…
Reference in New Issue
Block a user