mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-29 08:36:45 +01:00
Make the "Display all commands" message configurable too
This commit is contained in:
parent
11689bf855
commit
df3e78ee40
@ -83,7 +83,7 @@ public class Help extends Command {
|
|||||||
"%category_desc%", c.toString()));
|
"%category_desc%", c.toString()));
|
||||||
}
|
}
|
||||||
builder.append("\n").append(Captions.HELP_INFO_ITEM.s().replaceAll("%category%", "all")
|
builder.append("\n").append(Captions.HELP_INFO_ITEM.s().replaceAll("%category%", "all")
|
||||||
.replaceAll("%category_desc%", "Display all commands"));
|
.replaceAll("%category_desc%", Captions.HELP_DISPLAY_ALL_COMMANDS.s()));
|
||||||
builder.append("\n" + Captions.HELP_FOOTER.s());
|
builder.append("\n" + Captions.HELP_FOOTER.s());
|
||||||
MainUtil.sendMessage(player, builder.toString(), false);
|
MainUtil.sendMessage(player, builder.toString(), false);
|
||||||
return;
|
return;
|
||||||
|
@ -840,6 +840,8 @@ public enum Captions {
|
|||||||
HELP_INFO_ITEM("$1/plot help %category% $3- $2%category_desc%", "Help"), HELP_ITEM(
|
HELP_INFO_ITEM("$1/plot help %category% $3- $2%category_desc%", "Help"), HELP_ITEM(
|
||||||
"$1%usage% [%alias%]&- $3- $2%desc%&-", "Help"),
|
"$1%usage% [%alias%]&- $3- $2%desc%&-", "Help"),
|
||||||
|
|
||||||
|
HELP_DISPLAY_ALL_COMMANDS("Display all commands", "Help"),
|
||||||
|
|
||||||
BUCKET_ENTRIES_IGNORED(
|
BUCKET_ENTRIES_IGNORED(
|
||||||
"$2Total bucket values add up to 1 or more. Blocks without a spcified chance will be ignored",
|
"$2Total bucket values add up to 1 or more. Blocks without a spcified chance will be ignored",
|
||||||
"Generator_Bucket"),
|
"Generator_Bucket"),
|
||||||
|
Loading…
Reference in New Issue
Block a user