public class AnnoyingOptions
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
@NotNull java.util.Set<AnnoyingCommand> |
commandsToRegister
OPTIONAL The AnnoyingCommands to register (add commands to this in the plugin's constructor) |
@NotNull java.util.List<AnnoyingDependency> |
dependencies
OPTIONAL The AnnoyingDependencys to check for (add dependencies to this in the plugin's constructor) |
@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 |
invalidArguments
OPTIONAL The AnnoyingPlugin.messages key for the plugin's "invalid arguments" message |
@NotNull java.util.Set<AnnoyingListener> |
listenersToRegister
OPTIONAL The AnnoyingListeners to register (add listeners to this in the plugin's constructor) |
@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 |
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 |
| Constructor and Description |
|---|
AnnoyingOptions()
Constructs a new
AnnoyingOptions instance |
@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 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 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 @NotNull java.lang.String disabledCommand
OPTIONAL The AnnoyingPlugin.messages key for the plugin's "disabled command" message@NotNull public final @NotNull java.util.Set<AnnoyingCommand> commandsToRegister
OPTIONAL The AnnoyingCommands to register (add commands to this in the plugin's constructor)
If you add a command to this OUTSIDE the constructor, it will not be registered
@NotNull public final @NotNull java.util.Set<AnnoyingListener> listenersToRegister
OPTIONAL The AnnoyingListeners to register (add listeners to this in the plugin's constructor)
If you add a listener to this OUTSIDE the constructor, it will not be registered
@NotNull public final @NotNull java.util.List<AnnoyingDependency> dependencies
OPTIONAL The AnnoyingDependencys to check for (add dependencies to this in the plugin's constructor)
If you add a dependency to this OUTSIDE the constructor, it will not be checked
public AnnoyingOptions()
AnnoyingOptions instance
Only exists to give the constructor a Javadoc