mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-11 03:38:28 +00:00
Add /ess dump all
as alias for /ess dump *
(#4517)
Co-authored-by: Josh Roy <10731363+JRoy@users.noreply.github.com>
This commit is contained in:
parent
fde6524e46
commit
c85d772e1b
3 changed files with 6 additions and 6 deletions
4
.github/ISSUE_TEMPLATE/report-a-bug.yml
vendored
4
.github/ISSUE_TEMPLATE/report-a-bug.yml
vendored
|
@ -24,8 +24,8 @@ body:
|
|||
|
||||
- type: input
|
||||
attributes:
|
||||
label: "`/ess dump *` output"
|
||||
description: Run `/ess dump *` in the console, then copy and paste the link from the output of the command into this box. (If this command doesn't work, you should [update EssentialsX](https://essentialsx.net/downloads.html) and try again.)
|
||||
label: "`/ess dump all` output"
|
||||
description: Run `/ess dump all` in the console, then copy and paste the link from the output of the command into this box. (If this command doesn't work, you should [update EssentialsX](https://essentialsx.net/downloads.html) and try again.)
|
||||
validations:
|
||||
required: true
|
||||
- type: input
|
||||
|
|
|
@ -266,7 +266,7 @@ public class Commandessentials extends EssentialsCommand {
|
|||
boolean kits = false;
|
||||
boolean log = false;
|
||||
for (final String arg : args) {
|
||||
if (arg.equals("*")) {
|
||||
if (arg.equals("*") || arg.equalsIgnoreCase("all")) {
|
||||
config = true;
|
||||
discord = true;
|
||||
kits = true;
|
||||
|
@ -719,9 +719,9 @@ public class Commandessentials extends EssentialsCommand {
|
|||
}
|
||||
break;
|
||||
case "dump":
|
||||
final List<String> list = Lists.newArrayList("config", "kits", "log", "discord", "*");
|
||||
final List<String> list = Lists.newArrayList("config", "kits", "log", "discord", "all");
|
||||
for (String arg : args) {
|
||||
if (arg.equals("*")) {
|
||||
if (arg.equals("*") || arg.equalsIgnoreCase("all")) {
|
||||
list.clear();
|
||||
return list;
|
||||
}
|
||||
|
|
|
@ -316,7 +316,7 @@ essentialsCommandUsage6=/<command> cleanup
|
|||
essentialsCommandUsage6Description=Cleans up old userdata
|
||||
essentialsCommandUsage7=/<command> homes
|
||||
essentialsCommandUsage7Description=Manages user homes
|
||||
essentialsCommandUsage8=/<command> dump [*] [config] [discord] [kits] [log]
|
||||
essentialsCommandUsage8=/<command> dump [all] [config] [discord] [kits] [log]
|
||||
essentialsCommandUsage8Description=Generates a server dump with the requested information
|
||||
essentialsHelp1=The file is broken and Essentials can''t open it. Essentials is now disabled. If you can''t fix the file yourself, go to http\://tiny.cc/EssentialsChat
|
||||
essentialsHelp2=The file is broken and Essentials can''t open it. Essentials is now disabled. If you can''t fix the file yourself, either type /essentialshelp in game or go to http\://tiny.cc/EssentialsChat
|
||||
|
|
Loading…
Reference in a new issue