Merge pull request #361 from PlaceholderAPI/casing

fixed ecloud casing
This commit is contained in:
PiggyPiglet 2020-07-24 17:54:42 +08:00 committed by GitHub
commit 7d091f3cf4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 35 additions and 35 deletions

View File

@ -58,18 +58,18 @@ public final class CommandECloud extends PlaceholderCommand
if (params.isEmpty()) if (params.isEmpty())
{ {
Msg.msg(sender, Msg.msg(sender,
"&b&lPlaceholderAPI &8- &7ECloud Help Menu &8- ", "&b&lPlaceholderAPI &8- &7eCloud Help Menu &8- ",
" ", " ",
"&b/papi &fecloud status", "&b/papi &fecloud status",
" &7&oView status of the ecloud", " &7&oView status of the eCloud",
"&b/papi &fecloud list <all/{author}/installed> {page}", "&b/papi &fecloud list <all/{author}/installed> {page}",
" &7&oList all/author specific available expansions", " &7&oList all/author specific available expansions",
"&b/papi &fecloud info <expansion name> {version}", "&b/papi &fecloud info <expansion name> {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 <expansion name>", "&b/papi &fecloud placeholders <expansion name>",
" &7&oView placeholders for an expansion", " &7&oView placeholders for an expansion",
"&b/papi &fecloud download <expansion name> {version}", "&b/papi &fecloud download <expansion name> {version}",
" &7&oDownload an expansion from the ecloud", " &7&oDownload an expansion from the eCloud",
"&b/papi &fecloud refresh", "&b/papi &fecloud refresh",
" &7&oFetch the most up to date list of expansions available.", " &7&oFetch the most up to date list of expansions available.",
"&b/papi &fecloud clear", "&b/papi &fecloud clear",
@ -97,7 +97,7 @@ public final class CommandECloud extends PlaceholderCommand
if (!(target instanceof CommandECloudToggle) && !plugin.getPlaceholderAPIConfig().isCloudEnabled()) if (!(target instanceof CommandECloudToggle) && !plugin.getPlaceholderAPIConfig().isCloudEnabled())
{ {
Msg.msg(sender, Msg.msg(sender,
"&cThe ECloud Manager is not enabled!"); "&cThe eCloud Manager is not enabled!");
return; return;
} }

View File

@ -22,7 +22,7 @@ public final class CommandECloudClear extends PlaceholderCommand
{ {
plugin.getExpansionCloud().clean(); plugin.getExpansionCloud().clean();
Msg.msg(sender, Msg.msg(sender,
"&aThe ECloud cache has been cleared!"); "&aThe eCloud cache has been cleared!");
} }
} }

View File

@ -26,7 +26,7 @@ public final class CommandECloudDownload extends PlaceholderCommand
if (params.isEmpty()) if (params.isEmpty())
{ {
Msg.msg(sender, Msg.msg(sender,
"&cYou must supply the name of a cloud expansion."); "&cYou must supply the name of an eCloud expansion.");
return; return;
} }

View File

@ -24,7 +24,7 @@ public final class CommandECloudRefresh extends PlaceholderCommand
plugin.getExpansionCloud().fetch(plugin.getPlaceholderAPIConfig().cloudAllowUnverifiedExpansions()); plugin.getExpansionCloud().fetch(plugin.getPlaceholderAPIConfig().cloudAllowUnverifiedExpansions());
Msg.msg(sender, Msg.msg(sender,
"&aThe ECloud Manager has been refreshed!"); "&aThe eCloud Manager has been refreshed!");
} }
} }

View File

@ -29,8 +29,8 @@ public final class CommandECloudStatus extends PlaceholderCommand
final StringBuilder builder = new StringBuilder(); final StringBuilder builder = new StringBuilder();
builder.append("&bThere are &a").append(expansionCount).append("&b expansions available on the 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 expansion cloud.").append('\n'); builder.append("&7A total of &f").append(authorCount).append("&7 authors have contributed to the eCloud.").append('\n');
if (updateCount > 0) if (updateCount > 0)
{ {

View File

@ -40,7 +40,7 @@ public final class CommandECloudToggle extends PlaceholderCommand
if (desiredState == currentState) if (desiredState == currentState)
{ {
Msg.msg(sender, Msg.msg(sender,
"&7The ECloud Manager is already " + (desiredState ? "enabled" : "disabled")); "&7The eCloud Manager is already " + (desiredState ? "enabled" : "disabled"));
return; return;
} }
@ -56,7 +56,7 @@ public final class CommandECloudToggle extends PlaceholderCommand
} }
Msg.msg(sender, Msg.msg(sender,
"&aThe ECloud Manager has been " + (desiredState ? "enabled" : "disabled")); "&aThe eCloud Manager has been " + (desiredState ? "enabled" : "disabled"));
} }
} }

View File

@ -28,7 +28,7 @@ public final class CommandVersion extends PlaceholderCommand
"&b&lPlaceholderAPI &e(&f" + description.getVersion() + "&e)", "&b&lPlaceholderAPI &e(&f" + description.getVersion() + "&e)",
"&fAuthors&8: &6" + description.getAuthors(), "&fAuthors&8: &6" + description.getAuthors(),
"&fPAPI Commands&8: &b/papi &7help", "&fPAPI Commands&8: &b/papi &7help",
"&fECloud Commands&8: &b/papi &7ecloud"); "&feCloud Commands&8: &b/papi &7ecloud");
} }
} }

View File

@ -14,12 +14,12 @@ commands:
permissions: permissions:
placeholderapi.*: placeholderapi.*:
description: "ability to use all papi commands" description: "Ability to use all PAPI commands"
children: children:
placeholderapi.admin: true placeholderapi.admin: true
placeholderapi.ecloud.*: true placeholderapi.ecloud.*: true
placeholderapi.admin: placeholderapi.admin:
description: "ability to use all papi commands" description: "Ability to use all PAPI commands"
children: children:
placeholderapi.help: true placeholderapi.help: true
placeholderapi.info: true placeholderapi.info: true
@ -31,7 +31,7 @@ permissions:
placeholderapi.unregister: true placeholderapi.unregister: true
placeholderapi.updatenotify: true placeholderapi.updatenotify: true
placeholderapi.ecloud.*: placeholderapi.ecloud.*:
description: "ability to use all papi ecloud commands" description: "Ability to use all PAPI ecloud commands"
children: children:
placeholderapi.ecloud: true placeholderapi.ecloud: true
placeholderapi.ecloud.info: true placeholderapi.ecloud.info: true
@ -44,55 +44,55 @@ permissions:
placeholderapi.ecloud.placeholders: true placeholderapi.ecloud.placeholders: true
placeholderapi.help: placeholderapi.help:
default: "op" default: "op"
description: "allows you to view the list of papi commands" description: "Allows you to view the list of PAPI commands"
placeholderapi.info: placeholderapi.info:
default: "op" default: "op"
description: "allows you to view expansion information" description: "Allows you to view expansion information"
placeholderapi.list: placeholderapi.list:
default: "op" default: "op"
description: "allows you to list active expansions" description: "Allows you to list active expansions"
placeholderapi.ecloud: placeholderapi.ecloud:
default: "op" default: "op"
description: "allows you to access papi ecloud" description: "Allows you to access PAPI eCloud"
placeholderapi.parse: placeholderapi.parse:
default: "op" default: "op"
description: "allows you to parse placeholders" description: "Allows you to parse placeholders"
placeholderapi.reload: placeholderapi.reload:
default: "op" default: "op"
description: "allows you to reload papi and its configuration" description: "Allows you to reload PAPI and its configuration"
placeholderapi.version: placeholderapi.version:
default: "op" default: "op"
description: "allows you to view the version of papi installed" description: "Allows you to view the version of PAPI installed"
placeholderapi.register: placeholderapi.register:
default: "op" default: "op"
description: "allows you to register expansions" description: "Allows you to register expansions"
placeholderapi.unregister: placeholderapi.unregister:
default: "op" default: "op"
description: "allows you to unregister expansions" description: "Allows you to unregister expansions"
placeholderapi.updatenotify: placeholderapi.updatenotify:
default: "op" default: "op"
description: "notifies you when there is a PAPI update" description: "Notifies you when there is a PAPI update"
placeholderapi.ecloud.info: placeholderapi.ecloud.info:
default: "op" default: "op"
description: "allows you to view cloud expansion information" description: "Allows you to view cloud expansion information"
placeholderapi.ecloud.list: placeholderapi.ecloud.list:
default: "op" default: "op"
description: "allows you to list cloud expansions" description: "Allows you to list eCloud expansions"
placeholderapi.ecloud.clear: placeholderapi.ecloud.clear:
default: "op" 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: placeholderapi.ecloud.toggle:
default: "op" 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: placeholderapi.ecloud.status:
default: "op" 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: placeholderapi.ecloud.refresh:
default: "op" 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: placeholderapi.ecloud.download:
default: "op" 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: placeholderapi.ecloud.placeholders:
default: "op" default: "op"
description: "allows you to view the placeholders of a cloud expansion" description: "Allows you to view the placeholders of a eCloud expansion"