mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-13 11:41:34 +01:00
Removed redundant empty comments from enum classes
This commit is contained in:
parent
89bac474a7
commit
11d98d491a
@ -16,8 +16,7 @@ public enum Actions {
|
||||
FIRST_SESSION(1),
|
||||
FIRST_LOGOUT(2),
|
||||
NEW_NICKNAME(3),
|
||||
KILLED(-2), // Not stored in ActionsTable.
|
||||
;
|
||||
KILLED(-2); // Not stored in ActionsTable.
|
||||
|
||||
private final int id;
|
||||
|
||||
|
@ -9,22 +9,22 @@ package com.djrapitops.plan.system.settings;
|
||||
public enum Permissions {
|
||||
|
||||
HELP("plan.?"),
|
||||
//
|
||||
|
||||
INSPECT("plan.inspect"),
|
||||
QUICK_INSPECT("plan.qinspect"),
|
||||
INSPECT_OTHER("plan.inspect.other"),
|
||||
QUICK_INSPECT_OTHER("plan.qinspect.other"),
|
||||
//
|
||||
|
||||
ANALYZE("plan.analyze"),
|
||||
QUICK_ANALYZE("plan.qanalyze"),
|
||||
//
|
||||
|
||||
SEARCH("plan.search"),
|
||||
//
|
||||
|
||||
RELOAD("plan.reload"),
|
||||
INFO("plan.info"),
|
||||
MANAGE("plan.manage"),
|
||||
MANAGE_WEB("plan.webmanage"),
|
||||
//
|
||||
|
||||
IGNORE_COMMANDUSE("plan.ignore.commanduse");
|
||||
|
||||
private final String permission;
|
||||
|
@ -71,9 +71,9 @@ public enum Settings {
|
||||
WEBSERVER_CERTIFICATE_ALIAS("WebServer.Security.SSL-Certificate.Alias"),
|
||||
EXTERNAL_WEBSERVER_LINK("WebServer.ExternalWebServerAddress"),
|
||||
PLUGIN_BUYCRAFT_SECRET("Plugins.BuyCraft.Secret"),
|
||||
//
|
||||
|
||||
SERVER_NAME("Server.ServerName"),
|
||||
//
|
||||
|
||||
FORMAT_DATE_FULL("Customization.Formatting.Dates.Full"),
|
||||
FORMAT_DATE_NO_SECONDS("Customization.Formatting.Dates.NoSeconds"),
|
||||
FORMAT_DATE_CLOCK("Customization.Formatting.Dates.JustClock"),
|
||||
@ -89,11 +89,11 @@ public enum Settings {
|
||||
FORMAT_SECONDS("Customization.Formatting.TimeAmount.Seconds"),
|
||||
FORMAT_ZERO_SECONDS("Customization.Formatting.TimeAmount.Zero"),
|
||||
FORMAT_DECIMALS("Customization.Formatting.DecimalPoints"),
|
||||
//
|
||||
|
||||
COLOR_MAIN("Commands.Colors.Main"),
|
||||
COLOR_SEC("Commands.Colors.Secondary"),
|
||||
COLOR_TER("Commands.Colors.Highlight"),
|
||||
//
|
||||
|
||||
THEME_BASE("Theme.Base"),
|
||||
THEME_GRAPH_TPS_THRESHOLD_HIGH("Theme.Graphs.TPS.High-Threshold"),
|
||||
THEME_GRAPH_TPS_THRESHOLD_MED("Theme.Graphs.TPS.Medium-Threshold"),
|
||||
@ -103,7 +103,7 @@ public enum Settings {
|
||||
HIDE_TOWNS("Plugins.Towny.HideTowns"),
|
||||
// Config section
|
||||
WORLD_ALIASES("Customization.WorldAliases"),
|
||||
//
|
||||
|
||||
// Bungee
|
||||
BUNGEE_IP("Server.IP"),
|
||||
BUNGEE_NETWORK_NAME("Network.Name");
|
||||
|
@ -14,23 +14,23 @@ public enum Msg {
|
||||
ENABLE_WEBSERVER_INFO("Enable - WebServer Info"),
|
||||
ENABLE_BOOT_ANALYSIS_INFO("Enable - Boot Analysis 30s Notify"),
|
||||
ENABLE_BOOT_ANALYSIS_RUN_INFO("Enable - Boot Analysis Notify"),
|
||||
//
|
||||
|
||||
ENABLE_NOTIFY_EMPTY_IP("Enable Notify-Empty IP"),
|
||||
ENABLE_NOTIFY_NO_DATA_VIEW("Enable Notify - No data view"),
|
||||
ENABLE_NOTIFY_DISABLED_CHATLISTENER("Enable Notify - ChatListener"),
|
||||
ENABLE_NOTIFY_DISABLED_COMMANDLISTENER("Enable Notify - Disabled CommandListener"),
|
||||
ENABLE_NOTIFY_DISABLED_DEATHLISTENER("Enable Notify - Disabled DeathListener"),
|
||||
//
|
||||
|
||||
ENABLE_FAIL_WRONG_DB("Enable FAIL - Wrong Db Type"),
|
||||
ENABLE_FAIL_DB("Enable FAIL-Db"),
|
||||
ENABLE_DB_FAIL_DISABLE_INFO("Enable Db FAIL - Disable Info"),
|
||||
//
|
||||
|
||||
RUN_WARN_QUEUE_SIZE("WARN - Too Small Queue Size"),
|
||||
//
|
||||
|
||||
DISABLED("Disable"),
|
||||
DISABLE_CACHE_SAVE("Disable - Save"),
|
||||
DISABLE_WEBSERVER("Disable - WebServer"),
|
||||
//
|
||||
|
||||
ANALYSIS_START("Analysis - Start"),
|
||||
ANALYSIS_FETCH_UUID("Analysis - Fetch Phase Start"),
|
||||
ANALYSIS_FETCH("Analysis - Fetch Phase"),
|
||||
@ -40,7 +40,7 @@ public enum Msg {
|
||||
ANALYSIS_FAIL_NO_PLAYERS("Analysis FAIL - No Players"),
|
||||
ANALYSIS_FAIL_NO_DATA("Analysis FAIL - No Data"),
|
||||
ANALYSIS_FAIL_FETCH_EXCEPTION("Analysis FAIL - Fetch Exception"),
|
||||
//
|
||||
|
||||
MANAGE_INFO_CONFIG_REMINDER("Manage - Remind Config Change"),
|
||||
MANAGE_INFO_START("Manage - Start"),
|
||||
MANAGE_INFO_IMPORT("Manage - Import"),
|
||||
@ -50,7 +50,7 @@ public enum Msg {
|
||||
MANAGE_INFO_MOVE_SUCCESS("Manage - Move Success"),
|
||||
MANAGE_INFO_CLEAR_SUCCESS("Manage - Clear Success"),
|
||||
MANAGE_INFO_REMOVE_SUCCESS("Manage - Remove Success"),
|
||||
//
|
||||
|
||||
MANAGE_FAIL_INCORRECT_PLUGIN("Manage FAIL - Incorrect Plugin"),
|
||||
MANAGE_FAIL_PLUGIN_NOT_ENABLED("Manage FAIL - Unenabled Plugin"),
|
||||
MANAGE_FAIL_SAME_DB("Manage FAIL - Same DB"),
|
||||
@ -58,13 +58,13 @@ public enum Msg {
|
||||
MANAGE_FAIL_FAULTY_DB("Manage FAIL - Faulty DB Connection"),
|
||||
MANAGE_FAIL_NO_PLAYERS("Manage FAIL - Empty DB"),
|
||||
MANAGE_FAIL_FILE_NOT_FOUND("Manage FAIL - Backup File Not Found"),
|
||||
//
|
||||
|
||||
MANAGE_FAIL_CONFIRM("Manage FAIL - Confirm Action"),
|
||||
MANAGE_NOTIFY_REWRITE("Manage NOTIFY - Rewrite"),
|
||||
MANAGE_NOTIFY_OVERWRITE("Manage NOTIFY - Overwrite"),
|
||||
MANAGE_NOTIFY_PARTIAL_OVERWRITE("Manage NOTIFY - Partial Overwrite"),
|
||||
MANAGE_NOTIFY_REMOVE("Manage NOTIFY - Remove"),
|
||||
//
|
||||
|
||||
CMD_FAIL_REQ_ARGS("Cmd FAIL - Requires Arguments"),
|
||||
CMD_FAIL_REQ_ONE_ARG("Cmd FAIL - Require only one Argument"),
|
||||
CMD_FAIL_NO_PERMISSION("Cmd FAIL - No Permission"),
|
||||
@ -73,7 +73,7 @@ public enum Msg {
|
||||
CMD_FAIL_USERNAME_NOT_KNOWN("Cmd FAIL - Unknown Username"),
|
||||
CMD_FAIL_TIMEOUT("Cmd FAIL - Timeout"),
|
||||
CMD_FAIL_NO_DATA_VIEW("Cmd FAIL - No Data View"),
|
||||
//
|
||||
|
||||
CMD_INFO_ANALYSIS_TEMP_DISABLE("Analysis NOTIFY - Temporary Disable"),
|
||||
CMD_INFO_CLICK_ME("Cmd - Click Me"),
|
||||
CMD_INFO_LINK("Cmd - Link"),
|
||||
@ -82,7 +82,7 @@ public enum Msg {
|
||||
CMD_INFO_RELOAD_COMPLETE("Cmd - Reload Success"),
|
||||
CMD_INFO_FETCH_DATA("Cmd - Fetch Data"),
|
||||
CMD_INFO_SEARCHING("Cmd - Searching"),
|
||||
//
|
||||
|
||||
CMD_USG_ANALYZE("Cmd - Usage /plan analyze"),
|
||||
CMD_USG_QANALYZE("Cmd - Usage /plan qanalyze"),
|
||||
CMD_USG_HELP("Cmd - Usage /plan help"),
|
||||
@ -107,7 +107,7 @@ public enum Msg {
|
||||
CMD_USG_WEB_DELETE("Cmd - Usage /plan webuser delete"),
|
||||
CMD_USG_WEB_LEVEL("Cmd - Usage /plan webuser level"),
|
||||
CMD_USG_WEB_REGISTER("Cmd - Usage /plan webuser register"),
|
||||
//
|
||||
|
||||
CMD_HELP_ANALYZE("In Depth Help - /plan analyze ?"),
|
||||
CMD_HELP_QANALYZE("In Depth Help - /plan qanalyze ?"),
|
||||
CMD_HELP_PLAN("In Depth Help - /plan ?"),
|
||||
@ -123,15 +123,15 @@ public enum Msg {
|
||||
CMD_HELP_SEARCH("In Depth Help - /plan search ?"),
|
||||
CMD_HELP_WEB("In Depth Help - /plan webuser ?"),
|
||||
CMD_HELP_WEB_REGISTER("In Depth Help - /plan webuser register ?"),
|
||||
//
|
||||
|
||||
CMD_HEADER_ANALYZE("Cmd Header - Analysis"),
|
||||
CMD_HEADER_INSPECT("Cmd Header - Inspect"),
|
||||
CMD_HEADER_INFO("Cmd Header - Info"),
|
||||
CMD_HEADER_SEARCH("Cmd Header - Search"),
|
||||
//
|
||||
|
||||
CMD_CONSTANT_LIST_BALL(">Constant - List Ball"),
|
||||
CMD_CONSTANT_FOOTER(">Constant - CMD Footer"),
|
||||
//
|
||||
|
||||
HTML_NO_PLUGINS("Html - No Extra Plugins"),
|
||||
HTML_BANNED("Html - Banned"),
|
||||
HTML_OP("Html - OP"),
|
||||
|
@ -12,10 +12,10 @@ package com.djrapitops.plan.system.settings.theme;
|
||||
public enum ThemeVal {
|
||||
|
||||
THEME_DEFAULT("DefaultColor", "light-green"),
|
||||
//
|
||||
|
||||
FONT_STYLESHEET("Font.FontStyleSheet", "https://fonts.googleapis.com/css?family=Roboto:400,700&subset=latin,cyrillic-ext"),
|
||||
FONT_FAMILY("Font.FontFamily", "\"Roboto\", sans-serif"),
|
||||
//
|
||||
|
||||
RED("Colors.red", "#E91E63"),
|
||||
PINK("Colors.pink", "#F44336"),
|
||||
PURPLE("Colors.purple", "#9C27B0"),
|
||||
@ -37,7 +37,7 @@ public enum ThemeVal {
|
||||
BLUE_GREY("Colors.blue-grey", "#607D8B"),
|
||||
BLACK("Colors.black", "#000000"),
|
||||
WHITE("Colors.Extra.White", "#fff"),
|
||||
//
|
||||
|
||||
GRAPH_PUNCHCARD("GraphColors.PunchCard", "#222"),
|
||||
GRAPH_PLAYERS_ONLINE("GraphColors.PlayersOnline", "#1E90FF"),
|
||||
GRAPH_TPS_HIGH("GraphColors.TPS.High", "#267F00"),
|
||||
@ -53,7 +53,7 @@ public enum ThemeVal {
|
||||
GRAPH_SERVER_PREF_PIE("GraphColors.ServerPreferencePie", "\"#0099C6\", \"#66AA00\", \"#316395\", \"#994499\", \"#22AA99\", \"#AAAA11\", \"#6633CC\", \"#E67300\", \"#329262\", \"#5574A6\""),
|
||||
WORLD_MAP_HIGH("GraphColors.WorldMap_High", "#267f00"),
|
||||
WORLD_MAP_LOW("GraphColors.WorldMap_Low", "#EEFFEE"),
|
||||
//
|
||||
|
||||
PARSED_SESSION_ACCORDION("ParsedElements.SessionAccordion", "teal"),
|
||||
PARSED_SERVER_ACCORDION("ParsedElements.ServerAccordion", "light-green");
|
||||
|
||||
|
@ -16,19 +16,19 @@ public enum PageId {
|
||||
SERVER("serverPage:"),
|
||||
PLAYER("playerPage:"),
|
||||
PLAYERS("playersPage"),
|
||||
//
|
||||
|
||||
ERROR("error:"),
|
||||
FORBIDDEN(ERROR.of("Forbidden")),
|
||||
NOT_FOUND(ERROR.of("Not Found")),
|
||||
TRUE("true"),
|
||||
FALSE("false"),
|
||||
//
|
||||
|
||||
JS("js:"),
|
||||
CSS("css:"),
|
||||
//
|
||||
|
||||
FAVICON_REDIRECT("Redirect:Favicon"),
|
||||
AUTH_PROMPT("PromptAuth"),
|
||||
//
|
||||
|
||||
PLAYER_PLUGINS_TAB("playerPluginsTab:"),
|
||||
NETWORK_CONTENT("networkContent");
|
||||
|
||||
|
@ -27,7 +27,7 @@ public enum Html {
|
||||
COLOR_D("<span class=\"pink\">"),
|
||||
COLOR_E("<span class=\"yellow\">"),
|
||||
COLOR_F("<span class=\"white\">"),
|
||||
//
|
||||
|
||||
FONT_AWESOME_ICON("<i class=\"fa fa-${0}\"></i>"),
|
||||
FA_COLORED_ICON("<i class=\"col-${0} fa fa-${1}\"></i>"),
|
||||
GREEN_THUMB("<i class=\"fa fa-thumbs-up g\"></i>"),
|
||||
@ -42,21 +42,21 @@ public enum Html {
|
||||
LINK_EXTERNAL("<a class=\"link\" target=\"_blank\" href=\"${0}\">${1}</a>"),
|
||||
LINK_CLASS("class=\"link\""),
|
||||
IMG("<img src=\"${0}\">"),
|
||||
//
|
||||
|
||||
PARAGRAPH("<p>${0}</p>"),
|
||||
HEADER("<h1>${0}</h1>"),
|
||||
HEADER_2("<h2>${0}</h2>"),
|
||||
//
|
||||
|
||||
DIV_W_CLASS("<div class=\"${0}\">${1}</div>"),
|
||||
DIV_W_CLASS_STYLE("<div class=\"${0}\" style=\"${1}\">${2}</div>"),
|
||||
//
|
||||
|
||||
ROW("<div class=\"row\">${0}</div>"),
|
||||
CARD("<div class=\"card\">${0}</div>"),
|
||||
BODY("<div class=\"body\">${0}</div>"),
|
||||
PANEL("<div class=\"panel panel-default\">${0}</div>"),
|
||||
PANEL_BODY("<div class=\"panel-body\">${0}</div>"),
|
||||
HELP_BUBBLE("<div class=\"col-xs-6 col-sm-6 col-lg-6\"><a href=\"javascript:void(0)\" class=\"help material-icons pull-right\" data-trigger=\"focus\" data-toggle=\"popover\" data-placement=\"left\" data-container=\"body\" data-html=\"true\" data-original-title=\"${0}\" data-content=\"${1}\">help_outline</a></div>"),
|
||||
//
|
||||
|
||||
TABLE_END("</tbody></table>"),
|
||||
TABLE("<table class=\"table table-striped\">"),
|
||||
TABLE_SCROLL("<table class=\"table table-striped scrollbar\">"),
|
||||
|
Loading…
Reference in New Issue
Block a user