Removed Aliases from DeepHelp since they're already displayed.

This commit is contained in:
Rsl1122 2018-07-29 08:42:48 +03:00
parent bf81052dac
commit 8b2f38eb5f
3 changed files with 21 additions and 21 deletions

View File

@ -76,17 +76,17 @@
<pattern>com.fasterxml</pattern>
<shadedPattern>plan.com.fasterxml</shadedPattern>
</relocation>
<relocation>
<pattern>com.zaxxer</pattern>
<shadedPattern>plan.com.zaxxer</shadedPattern>
</relocation>
<relocation>
<pattern>org.slf4j</pattern>
<shadedPattern>plan.org.slf4j</shadedPattern>
<excludes>
<exclude>org.slf4j.Logger</exclude>
</excludes>
</relocation>
<relocation>
<pattern>com.zaxxer</pattern>
<shadedPattern>plan.com.zaxxer</shadedPattern>
</relocation>
<relocation>
<pattern>org.slf4j</pattern>
<shadedPattern>plan.org.slf4j</shadedPattern>
<excludes>
<exclude>org.slf4j.Logger</exclude>
</excludes>
</relocation>
</relocations>
</configuration>
</plugin>

View File

@ -1,6 +1,5 @@
package com.djrapitops.plan.command.commands.manage;
import com.djrapitops.plan.PlanBungee;
import com.djrapitops.plan.PlanPlugin;
import com.djrapitops.plan.api.exceptions.connection.*;
import com.djrapitops.plan.system.database.databases.Database;
@ -14,6 +13,7 @@ import com.djrapitops.plan.system.locale.lang.DeepHelpLang;
import com.djrapitops.plan.system.processing.Processing;
import com.djrapitops.plan.system.settings.Permissions;
import com.djrapitops.plan.system.webserver.WebServerSystem;
import com.djrapitops.plugin.api.Check;
import com.djrapitops.plugin.command.CommandNode;
import com.djrapitops.plugin.command.CommandType;
import com.djrapitops.plugin.command.ISender;
@ -37,7 +37,7 @@ public class ManageConDebugCommand extends CommandNode {
locale = plugin.getSystem().getLocaleSystem().getLocale();
setShortHelp(locale.getString(plugin instanceof PlanBungee ? CmdHelpLang.CON : CmdHelpLang.MANAGE_CON));
setShortHelp(locale.getString(Check.isBungeeAvailable() ? CmdHelpLang.CON : CmdHelpLang.MANAGE_CON));
setInDepthHelp(locale.getArray(DeepHelpLang.MANAGE_CON));
}

View File

@ -7,19 +7,19 @@ package com.djrapitops.plan.system.locale.lang;
*/
public enum DeepHelpLang implements Lang {
PLAN("In Depth Help - /plan ?", "> §2Main Command\\ Access to subcommands and help\\ §2/plan §fList subcommands\\ §2/plan <subcommand> ? §fIn depth help"),
ANALYZE("In Depth Help - /plan analyze ?", "> §2Analysis Command\\ Refreshes server page and displays link to the web page.\\\\ §2Aliases: §f/plan a|analyse|analysis"),
ANALYZE("In Depth Help - /plan analyze ?", "> §2Analysis Command\\ Refreshes server page and displays link to the web page."),
SETUP("In Depth Help - /planbungee setup ?", "> §2Set-up toggle Command\\ Toggles set-up mode on Bungee.\\ Safeguard against unauthorized MySQL snooping with another server."),
DISABLE("In Depth Help - /planbungee disable ?", "> §2Disable Command\\ Runs onDisable on PlanBungee.\\ Plugin can be enabled with /planbungee reload afterwards.\\ §bDoes not support swapping jar on the fly"),
INSPECT("In Depth Help - /plan inspect ?", "> §2Inspect Command\\ Refreshes player page and displays link to the web page.\\ §2Alias: §f/plan <name>"),
PLAYERS("In Depth Help - /plan players ?", "> §2Players Command\\ Displays link to the players page.\\ §2Aliases: §f/plan pl|list|playerlist"),
SERVERS("In Depth Help - /plan servers ?", "> §2Servers Command\\ Displays list of Plan servers in the Database.\\ Can be used to debug issues with database registration on a network.\\ §2Aliases: §f/plan ls|sl|serverlist"),
MANAGE("In Depth Help - /plan manage ?", "> §2Manage Command\\ Manage MySQL and SQLite database of Plan.\\ §2/plan m §fList subcommands\\ §2/plan m <subcommand> ? §fIn depth help\\ §2Alias: §f/plan m"),
NETWORK("In Depth Help - /plan network ?", "> §2Network Command\\ Displays link to the network page.\\ If not on a network, this page displays the server page.\\ §2Alias: §f/plan n"),
INSPECT("In Depth Help - /plan inspect ?", "> §2Inspect Command\\ Refreshes player page and displays link to the web page."),
PLAYERS("In Depth Help - /plan players ?", "> §2Players Command\\ Displays link to the players page."),
SERVERS("In Depth Help - /plan servers ?", "> §2Servers Command\\ Displays list of Plan servers in the Database.\\ Can be used to debug issues with database registration on a network."),
MANAGE("In Depth Help - /plan manage ?", "> §2Manage Command\\ Manage MySQL and SQLite database of Plan.\\ §2/plan m §fList subcommands\\ §2/plan m <subcommand> ? §fIn depth help"),
NETWORK("In Depth Help - /plan network ?", "> §2Network Command\\ Displays link to the network page.\\ If not on a network, this page displays the server page."),
QINSPECT("In Depth Help - /plan qinspect ?", "> §2Quick Inspect Command\\ Displays some information about the player in game."),
RELOAD("In Depth Help - /plan reload ?", "> §2Reload Command\\ Restarts the plugin using onDisable and onEnable.\\ §bDoes not support swapping jar on the fly"),
SEARCH("In Depth Help - /plan search ?", "> §2Search Command\\ Get a list of Player names that match the given argument.\\§7 Example: /plan search 123 - Finds all users with 123 in their name."),
UPDATE("In Depth Help - /plan update ?", "> §2Update Command\\ Used to update the plugin on the next shutdown\\ /plan update - Changelog link\\ /plan update -u - Schedule update to happen on all network servers that are online, next time they reboot.\\ /plan update cancel - Cancel scheduled update on servers that haven't rebooted yet."),
WEB("In Depth Help - /plan web ?", "< §2Web User Manage Command.\\ §2/plan web §fList subcommands\\ §2/plan web <subcommand> ? §fIn Depth help\\ §2Alias: §f/plan web"),
WEB("In Depth Help - /plan web ?", "< §2Web User Manage Command.\\ §2/plan web §fList subcommands\\ §2/plan web <subcommand> ? §fIn Depth help"),
MANAGE_BACKUP("In Depth Help - /plan manage backup ?", "> §2Backup Subcommand\\ Creates a new SQLite database (.db file) with contents of currently active database in the Plan plugin folder."),
MANAGE_CLEAR("In Depth Help - /plan manage clear ?", "> §2Clear Subcommand\\ Removes everything in the active database. Use with caution."),
@ -31,7 +31,7 @@ public enum DeepHelpLang implements Lang {
MANAGE_RESTORE("In Depth Help - /plan manage restore ?", "> §2Restore Subcommand\\ Restore a previous backup SQLite database (.db file)\\ You can also restore database.db from another server to MySQL.\\ Target database is cleared before transfer."),
MANAGE_SETUP("In Depth Help - /plan manage setup ?", "> §2Setup Subcommand\\ Set-up a connection between Bungee and this server for network functionality.\\ BungeeAddress can be found in the enable log on console when Plan enables on Bungee."),
WEB_REGISTER("In Depth Help - /plan web register ?", "> §2Register Subcommand\\ Registers a new Web User.\\ Registering a user for another player requires plan.webmanage permission.\\ Passwords are hashed with PBKDF2 (64,000 iterations of SHA1) using a cryptographically-random salt.\\ §2Alias: §f/plan register");
WEB_REGISTER("In Depth Help - /plan web register ?", "> §2Register Subcommand\\ Registers a new Web User.\\ Registering a user for another player requires plan.webmanage permission.\\ Passwords are hashed with PBKDF2 (64,000 iterations of SHA1) using a cryptographically-random salt.");
private final String identifier;
private final String defaultValue;