public class AnnoyingOptions
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
@NotNull org.bukkit.ChatColor |
colorDark
OPTIONAL The secondary color used by the API (e.g. |
@NotNull org.bukkit.ChatColor |
colorLight
OPTIONAL The primary color used by the API (e.g. |
@NotNull java.util.Set<AnnoyingCommand> |
commands
|
@NotNull java.util.List<AnnoyingDependency> |
dependencies
OPTIONAL Dependencies of the API and the plugin (add to this Set) |
@NotNull java.lang.String |
invalidArguments
OPTIONAL The AnnoyingPlugin.messages key for the plugin's "invalid arguments" message |
@NotNull java.util.Set<AnnoyingListener> |
listeners
OPTIONAL The Listeners to register (add to this Set) |
@NotNull java.lang.String |
messagesFileName
RECOMMENDED The file name of the messages file (usually messages.yml) |
@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 |
prefix
OPTIONAL The AnnoyingPlugin.messages key for the plugin's prefix |
@NotNull java.lang.String |
splitterJson
|
@NotNull java.lang.String |
splitterPlaceholder
OPTIONAL The AnnoyingPlugin.messages key for the plugin's placeholder component splitter |
| Constructor and Description |
|---|
AnnoyingOptions() |
@NotNull public @NotNull org.bukkit.ChatColor colorLight
OPTIONAL The primary color used by the API (e.g. for start messages)@NotNull public @NotNull org.bukkit.ChatColor colorDark
OPTIONAL The secondary color used by the API (e.g. for start messages)@NotNull public @NotNull java.lang.String messagesFileName
RECOMMENDED The file name of the messages file (usually messages.yml)
If not specified, no messages will be loaded (plugin will still enable)
@NotNull public @NotNull java.lang.String prefix
OPTIONAL The AnnoyingPlugin.messages key for the plugin's prefix
AnnoyingAPI will turn this into the message from the resource file
@NotNull public @NotNull java.lang.String splitterJson
OPTIONAL The AnnoyingPlugin.messages key for the plugin's JSON component splitter
AnnoyingAPI will turn this into the message from the resource file
@NotNull public @NotNull java.lang.String splitterPlaceholder
OPTIONAL The AnnoyingPlugin.messages key for the plugin's placeholder component splitter
AnnoyingAPI will turn this into the message from the resource file
@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 invalidArguments
OPTIONAL The AnnoyingPlugin.messages key for the plugin's "invalid arguments" message@NotNull public final @NotNull java.util.Set<AnnoyingCommand> commands
@NotNull public final @NotNull java.util.Set<AnnoyingListener> listeners
OPTIONAL The Listeners to register (add to this Set)@NotNull public final @NotNull java.util.List<AnnoyingDependency> dependencies
OPTIONAL Dependencies of the API and the plugin (add to this Set)