From fccf0d5bb836903848185ecc73ff566e33371ceb Mon Sep 17 00:00:00 2001 From: Sxtanna Date: Fri, 24 Jul 2020 05:21:43 -0400 Subject: [PATCH 1/5] fixed ecloud casing --- .../placeholderapi/commands/impl/cloud/CommandECloud.java | 6 +++--- .../commands/impl/cloud/CommandECloudClear.java | 2 +- .../commands/impl/cloud/CommandECloudToggle.java | 4 ++-- .../placeholderapi/commands/impl/local/CommandVersion.java | 2 +- src/main/resources/plugin.yml | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main/java/me/clip/placeholderapi/commands/impl/cloud/CommandECloud.java b/src/main/java/me/clip/placeholderapi/commands/impl/cloud/CommandECloud.java index 08eec91..333a608 100644 --- a/src/main/java/me/clip/placeholderapi/commands/impl/cloud/CommandECloud.java +++ b/src/main/java/me/clip/placeholderapi/commands/impl/cloud/CommandECloud.java @@ -58,7 +58,7 @@ public final class CommandECloud extends PlaceholderCommand if (params.isEmpty()) { Msg.msg(sender, - "&b&lPlaceholderAPI &8- &7ECloud Help Menu &8- ", + "&b&lPlaceholderAPI &8- &7eCloud Help Menu &8- ", " ", "&b/papi &fecloud status", " &7&oView status of the ecloud", @@ -69,7 +69,7 @@ public final class CommandECloud extends PlaceholderCommand "&b/papi &fecloud placeholders ", " &7&oView placeholders for an expansion", "&b/papi &fecloud download {version}", - " &7&oDownload an expansion from the ecloud", + " &7&oDownload an expansion from the eCloud", "&b/papi &fecloud refresh", " &7&oFetch the most up to date list of expansions available.", "&b/papi &fecloud clear", @@ -97,7 +97,7 @@ public final class CommandECloud extends PlaceholderCommand if (!(target instanceof CommandECloudToggle) && !plugin.getPlaceholderAPIConfig().isCloudEnabled()) { Msg.msg(sender, - "&cThe ECloud Manager is not enabled!"); + "&cThe eCloud Manager is not enabled!"); return; } diff --git a/src/main/java/me/clip/placeholderapi/commands/impl/cloud/CommandECloudClear.java b/src/main/java/me/clip/placeholderapi/commands/impl/cloud/CommandECloudClear.java index a428669..247c89e 100644 --- a/src/main/java/me/clip/placeholderapi/commands/impl/cloud/CommandECloudClear.java +++ b/src/main/java/me/clip/placeholderapi/commands/impl/cloud/CommandECloudClear.java @@ -22,7 +22,7 @@ public final class CommandECloudClear extends PlaceholderCommand { plugin.getExpansionCloud().clean(); Msg.msg(sender, - "&aThe ECloud cache has been cleared!"); + "&aThe eCloud cache has been cleared!"); } } diff --git a/src/main/java/me/clip/placeholderapi/commands/impl/cloud/CommandECloudToggle.java b/src/main/java/me/clip/placeholderapi/commands/impl/cloud/CommandECloudToggle.java index fdff773..4a8d04d 100644 --- a/src/main/java/me/clip/placeholderapi/commands/impl/cloud/CommandECloudToggle.java +++ b/src/main/java/me/clip/placeholderapi/commands/impl/cloud/CommandECloudToggle.java @@ -40,7 +40,7 @@ public final class CommandECloudToggle extends PlaceholderCommand if (desiredState == currentState) { Msg.msg(sender, - "&7The ECloud Manager is already " + (desiredState ? "enabled" : "disabled")); + "&7The eCloud Manager is already " + (desiredState ? "enabled" : "disabled")); return; } @@ -56,7 +56,7 @@ public final class CommandECloudToggle extends PlaceholderCommand } Msg.msg(sender, - "&aThe ECloud Manager has been " + (desiredState ? "enabled" : "disabled")); + "&aThe eCloud Manager has been " + (desiredState ? "enabled" : "disabled")); } } diff --git a/src/main/java/me/clip/placeholderapi/commands/impl/local/CommandVersion.java b/src/main/java/me/clip/placeholderapi/commands/impl/local/CommandVersion.java index 2e46fff..7757db2 100644 --- a/src/main/java/me/clip/placeholderapi/commands/impl/local/CommandVersion.java +++ b/src/main/java/me/clip/placeholderapi/commands/impl/local/CommandVersion.java @@ -28,7 +28,7 @@ public final class CommandVersion extends PlaceholderCommand "&b&lPlaceholderAPI &e(&f" + description.getVersion() + "&e)", "&fAuthors&8: &6" + description.getAuthors(), "&fPAPI Commands&8: &b/papi &7help", - "&fECloud Commands&8: &b/papi &7ecloud"); + "&feCloud Commands&8: &b/papi &7ecloud"); } } diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 53578ee..c202e23 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -53,7 +53,7 @@ permissions: description: "allows you to list active expansions" placeholderapi.ecloud: default: "op" - description: "allows you to access papi ecloud" + description: "allows you to access papi eCloud" placeholderapi.parse: default: "op" description: "allows you to parse placeholders" From 79b8dd73a51f4c0ad87f0b3a3d0dcac7d0007f95 Mon Sep 17 00:00:00 2001 From: PiggyPiglet Date: Fri, 24 Jul 2020 17:25:34 +0800 Subject: [PATCH 2/5] Fixed missed casings --- .../clip/placeholderapi/commands/impl/cloud/CommandECloud.java | 2 +- .../commands/impl/cloud/CommandECloudRefresh.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/me/clip/placeholderapi/commands/impl/cloud/CommandECloud.java b/src/main/java/me/clip/placeholderapi/commands/impl/cloud/CommandECloud.java index 333a608..b294882 100644 --- a/src/main/java/me/clip/placeholderapi/commands/impl/cloud/CommandECloud.java +++ b/src/main/java/me/clip/placeholderapi/commands/impl/cloud/CommandECloud.java @@ -61,7 +61,7 @@ public final class CommandECloud extends PlaceholderCommand "&b&lPlaceholderAPI &8- &7eCloud Help Menu &8- ", " ", "&b/papi &fecloud status", - " &7&oView status of the ecloud", + " &7&oView status of the eCloud", "&b/papi &fecloud list {page}", " &7&oList all/author specific available expansions", "&b/papi &fecloud info {version}", diff --git a/src/main/java/me/clip/placeholderapi/commands/impl/cloud/CommandECloudRefresh.java b/src/main/java/me/clip/placeholderapi/commands/impl/cloud/CommandECloudRefresh.java index f67a854..5cea281 100644 --- a/src/main/java/me/clip/placeholderapi/commands/impl/cloud/CommandECloudRefresh.java +++ b/src/main/java/me/clip/placeholderapi/commands/impl/cloud/CommandECloudRefresh.java @@ -24,7 +24,7 @@ public final class CommandECloudRefresh extends PlaceholderCommand plugin.getExpansionCloud().fetch(plugin.getPlaceholderAPIConfig().cloudAllowUnverifiedExpansions()); Msg.msg(sender, - "&aThe ECloud Manager has been refreshed!"); + "&aThe eCloud Manager has been refreshed!"); } } From 3429d69f9d09231f1a2f0e34220b1c97442f2b02 Mon Sep 17 00:00:00 2001 From: PiggyPiglet Date: Fri, 24 Jul 2020 17:32:39 +0800 Subject: [PATCH 3/5] Fixed more casings --- .../commands/impl/cloud/CommandECloud.java | 2 +- .../impl/cloud/CommandECloudDownload.java | 2 +- .../impl/cloud/CommandECloudStatus.java | 4 +- src/main/resources/plugin.yml | 44 +++++++++---------- 4 files changed, 26 insertions(+), 26 deletions(-) diff --git a/src/main/java/me/clip/placeholderapi/commands/impl/cloud/CommandECloud.java b/src/main/java/me/clip/placeholderapi/commands/impl/cloud/CommandECloud.java index b294882..c3d8bbd 100644 --- a/src/main/java/me/clip/placeholderapi/commands/impl/cloud/CommandECloud.java +++ b/src/main/java/me/clip/placeholderapi/commands/impl/cloud/CommandECloud.java @@ -65,7 +65,7 @@ public final class CommandECloud extends PlaceholderCommand "&b/papi &fecloud list {page}", " &7&oList all/author specific available expansions", "&b/papi &fecloud info {version}", - " &7&oView information about a specific expansion available on the cloud", + " &7&oView information about a specific expansion available on the eCloud", "&b/papi &fecloud placeholders ", " &7&oView placeholders for an expansion", "&b/papi &fecloud download {version}", diff --git a/src/main/java/me/clip/placeholderapi/commands/impl/cloud/CommandECloudDownload.java b/src/main/java/me/clip/placeholderapi/commands/impl/cloud/CommandECloudDownload.java index 15431d1..f830446 100644 --- a/src/main/java/me/clip/placeholderapi/commands/impl/cloud/CommandECloudDownload.java +++ b/src/main/java/me/clip/placeholderapi/commands/impl/cloud/CommandECloudDownload.java @@ -26,7 +26,7 @@ public final class CommandECloudDownload extends PlaceholderCommand if (params.isEmpty()) { Msg.msg(sender, - "&cYou must supply the name of a cloud expansion."); + "&cYou must supply the name of an eCloud expansion."); return; } diff --git a/src/main/java/me/clip/placeholderapi/commands/impl/cloud/CommandECloudStatus.java b/src/main/java/me/clip/placeholderapi/commands/impl/cloud/CommandECloudStatus.java index 74bd025..86474cd 100644 --- a/src/main/java/me/clip/placeholderapi/commands/impl/cloud/CommandECloudStatus.java +++ b/src/main/java/me/clip/placeholderapi/commands/impl/cloud/CommandECloudStatus.java @@ -29,8 +29,8 @@ public final class CommandECloudStatus extends PlaceholderCommand final StringBuilder builder = new StringBuilder(); - builder.append("&bThere are &a").append(expansionCount).append("&b expansions available on the cloud.").append('\n'); - builder.append("&7A total of &f").append(authorCount).append("&7 authors have contributed to the expansion cloud.").append('\n'); + builder.append("&bThere are &a").append(expansionCount).append("&b expansions available on the eCloud.").append('\n'); + builder.append("&7A total of &f").append(authorCount).append("&7 authors have contributed to the eCloud.").append('\n'); if (updateCount > 0) { diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index c202e23..39e6122 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -14,12 +14,12 @@ commands: permissions: placeholderapi.*: - description: "ability to use all papi commands" + description: "Ability to use all PAPI commands" children: placeholderapi.admin: true placeholderapi.ecloud.*: true placeholderapi.admin: - description: "ability to use all papi commands" + description: "Ability to use all PAPI commands" children: placeholderapi.help: true placeholderapi.info: true @@ -31,7 +31,7 @@ permissions: placeholderapi.unregister: true placeholderapi.updatenotify: true placeholderapi.ecloud.*: - description: "ability to use all papi ecloud commands" + description: "Ability to use all PAPI ecloud commands" children: placeholderapi.ecloud: true placeholderapi.ecloud.info: true @@ -44,55 +44,55 @@ permissions: placeholderapi.ecloud.placeholders: true placeholderapi.help: default: "op" - description: "allows you to view the list of papi commands" + description: "Allows you to view the list of PAPI commands" placeholderapi.info: default: "op" - description: "allows you to view expansion information" + description: "Allows you to view expansion information" placeholderapi.list: default: "op" - description: "allows you to list active expansions" + description: "Allows you to list active expansions" placeholderapi.ecloud: - default: "op" - description: "allows you to access papi eCloud" + default: "op" + description: "Allows you to access PAPI eCloud" placeholderapi.parse: default: "op" - description: "allows you to parse placeholders" + description: "Allows you to parse placeholders" placeholderapi.reload: default: "op" - description: "allows you to reload papi and its configuration" + description: "Allows you to reload PAPI and its configuration" placeholderapi.version: default: "op" - description: "allows you to view the version of papi installed" + description: "Allows you to view the version of PAPI installed" placeholderapi.register: default: "op" - description: "allows you to register expansions" + description: "Allows you to register expansions" placeholderapi.unregister: default: "op" - description: "allows you to unregister expansions" + description: "Allows you to unregister expansions" placeholderapi.updatenotify: default: "op" - description: "notifies you when there is a PAPI update" + description: "Notifies you when there is a PAPI update" placeholderapi.ecloud.info: default: "op" - description: "allows you to view cloud expansion information" + description: "Allows you to view cloud expansion information" placeholderapi.ecloud.list: default: "op" - description: "allows you to list cloud expansions" + description: "Allows you to list eCloud expansions" placeholderapi.ecloud.clear: default: "op" - description: "allows you to clear the local cloud expansion cache" + description: "Allows you to clear the local eCloud expansion cache" placeholderapi.ecloud.toggle: default: "op" - description: "allows you to toggle/enable/disable the cloud manager" + description: "Allows you to toggle/enable/disable the eCloud manager" placeholderapi.ecloud.status: default: "op" - description: "allows you to view the status of cloud expansions" + description: "Allows you to view the status of eCloud expansions" placeholderapi.ecloud.refresh: default: "op" - description: "allows you to refresh the local cloud expansion cache" + description: "Allows you to refresh the local eCloud expansion cache" placeholderapi.ecloud.download: default: "op" - description: "allows you to download an expansion from the cloud" + description: "Allows you to download an expansion from the eCloud" placeholderapi.ecloud.placeholders: default: "op" - description: "allows you to view the placeholders of a cloud expansion" \ No newline at end of file + description: "Allows you to view the placeholders of a eCloud expansion" \ No newline at end of file From 51abc00e519b11713d10b3e297f45b64d7097618 Mon Sep 17 00:00:00 2001 From: PiggyPiglet Date: Fri, 24 Jul 2020 17:35:21 +0800 Subject: [PATCH 4/5] added a missing apostrophe --- src/main/resources/plugin.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 39e6122..c607d2f 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -59,7 +59,7 @@ permissions: description: "Allows you to parse placeholders" placeholderapi.reload: default: "op" - description: "Allows you to reload PAPI and its configuration" + description: "Allows you to reload PAPI and it's configuration" placeholderapi.version: default: "op" description: "Allows you to view the version of PAPI installed" From 34a0bff760f2e5e2a6a50598a5368f0835823cf6 Mon Sep 17 00:00:00 2001 From: PiggyPiglet Date: Fri, 24 Jul 2020 17:37:33 +0800 Subject: [PATCH 5/5] removed apostrophe, apparently that particular rule doesn't apply to "its". --- src/main/resources/plugin.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index c607d2f..39e6122 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -59,7 +59,7 @@ permissions: description: "Allows you to parse placeholders" placeholderapi.reload: default: "op" - description: "Allows you to reload PAPI and it's configuration" + description: "Allows you to reload PAPI and its configuration" placeholderapi.version: default: "op" description: "Allows you to view the version of PAPI installed"