public class AnnoyingOptions
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
@NotNull java.lang.String |
bStatsFileName
REQUIRED The name of the file to use for the bStats toggle |
@Nullable java.lang.Integer |
bStatsId
RECOMMENDED The ID of the plugin on bStats |
AnnoyingResource.ResourceOptions |
bStatsOptions
|
@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
OPTIONAL The file name of the messages file (usually messages.yml) |
AnnoyingResource.ResourceOptions |
messagesOptions
|
@NotNull java.lang.String |
noPermission
OPTIONAL The AnnoyingPlugin.messages key for the plugin's "no permission" message |
@Nullable me.clip.placeholderapi.expansion.PlaceholderExpansion |
papiExpansionToRegister
|
@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 |
@NotNull java.util.Map<AnnoyingUpdate.Platform,java.lang.String> |
updatePlatforms
RECOMMENDED The different platforms the plugin is available on |
| Constructor and Description |
|---|
AnnoyingOptions()
Constructs a new
AnnoyingOptions instance |
@Nullable public @Nullable java.lang.Integer bStatsId
@NotNull public @NotNull java.lang.String bStatsFileName
REQUIRED The name of the file to use for the bStats toggle
This is required as bStats requires a way to disable metrics. Tampering with this in such a way that removes the ability to disable metrics will result in your plugin being banned from bStats
IF YOU CHANGE THIS: The file MUST have an enabled key for a boolean to toggle bStats. If it doesn't, bStats will always be disabled
@Nullable public AnnoyingResource.ResourceOptions bStatsOptions
@NotNull public @NotNull java.lang.String messagesFileName
OPTIONAL The file name of the messages file (usually messages.yml)
If not specified, no messages will be loaded (plugin will still enable)
@Nullable public AnnoyingResource.ResourceOptions messagesOptions
@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 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
@Nullable public @Nullable me.clip.placeholderapi.expansion.PlaceholderExpansion papiExpansionToRegister
@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
@NotNull public @NotNull java.util.Map<AnnoyingUpdate.Platform,java.lang.String> updatePlatforms
RECOMMENDED The different platforms the plugin is available on
If not specified, the plugin will not be able to check for updates
public AnnoyingOptions()
AnnoyingOptions instance