public static class AnnoyingOptions.MessageKeys extends java.lang.Object implements Dumpable<org.bukkit.configuration.ConfigurationSection>
AnnoyingPlugin.messages keys| Modifier and Type | Field and Description |
|---|---|
@NotNull java.lang.String |
disabledCommand
OPTIONAL The AnnoyingPlugin.messages key for the plugin's "disabled command" message |
@NotNull java.lang.String |
globalPlaceholders
OPTIONAL The AnnoyingPlugin.messages key for the plugin's global placeholders |
@NotNull java.lang.String |
invalidArgument
OPTIONAL The AnnoyingPlugin.messages key for the plugin's "invalid argument" message |
@NotNull java.lang.String |
invalidArguments
OPTIONAL The AnnoyingPlugin.messages key for the plugin's "invalid arguments" message |
@NotNull java.lang.String |
noPermission
OPTIONAL The AnnoyingPlugin.messages key for the plugin's "no permission" message |
@NotNull java.lang.String |
playerOnly
OPTIONAL The AnnoyingPlugin.messages key for the plugin's "player-only" message |
@NotNull java.lang.String |
splitterJson
OPTIONAL The AnnoyingPlugin.messages key for the plugin's JSON component splitter |
@NotNull java.lang.String |
splitterPlaceholder
OPTIONAL The AnnoyingPlugin.messages key for the plugin's placeholder component splitter |
@NotNull java.lang.String |
updateAvailable
OPTIONAL The key for the message sent in the console when an update is available for the plugin |
| Constructor and Description |
|---|
MessageKeys()
Creates a new
AnnoyingOptions.MessageKeys with the default values |
| Modifier and Type | Method and Description |
|---|---|
@NotNull org.bukkit.configuration.ConfigurationSection |
dump(@NotNull org.bukkit.configuration.ConfigurationSection section)
Dumps the object to an object
|
static @NotNull AnnoyingOptions.MessageKeys |
load(@NotNull org.bukkit.configuration.ConfigurationSection section)
Loads the
AnnoyingOptions.MessageKeys from the specified ConfigurationSection |
@NotNull public @NotNull java.lang.String globalPlaceholders
OPTIONAL The AnnoyingPlugin.messages key for the plugin's global placeholdersAnnoyingPlugin.globalPlaceholders@NotNull public @NotNull java.lang.String splitterJson
OPTIONAL The AnnoyingPlugin.messages key for the plugin's JSON component splitter@NotNull public @NotNull java.lang.String splitterPlaceholder
OPTIONAL The AnnoyingPlugin.messages key for the plugin's placeholder component splitter@NotNull public @NotNull java.lang.String updateAvailable
OPTIONAL The key for the message sent in the console when an update is available for the plugin@NotNull public @NotNull java.lang.String noPermission
OPTIONAL The AnnoyingPlugin.messages key for the plugin's "no permission" message@NotNull public @NotNull java.lang.String playerOnly
OPTIONAL The AnnoyingPlugin.messages key for the plugin's "player-only" message@NotNull public @NotNull java.lang.String invalidArgument
OPTIONAL The AnnoyingPlugin.messages key for the plugin's "invalid argument" message
This should contain %argument% for the invalid argument
@NotNull public @NotNull java.lang.String invalidArguments
OPTIONAL The AnnoyingPlugin.messages key for the plugin's "invalid arguments" message@NotNull public @NotNull java.lang.String disabledCommand
OPTIONAL The AnnoyingPlugin.messages key for the plugin's "disabled command" messagepublic MessageKeys()
AnnoyingOptions.MessageKeys with the default values@NotNull public static @NotNull AnnoyingOptions.MessageKeys load(@NotNull @NotNull org.bukkit.configuration.ConfigurationSection section)
AnnoyingOptions.MessageKeys from the specified ConfigurationSectionsection - the section to load the AnnoyingOptions.MessageKeys fromAnnoyingOptions.MessageKeys@NotNull
public @NotNull org.bukkit.configuration.ConfigurationSection dump(@NotNull
@NotNull org.bukkit.configuration.ConfigurationSection section)
Dumpable