Uses of Interface
org.bukkit.plugin.Plugin
Package
Description
The root package of the Bukkit API, contains generalized API classes.
Classes relating to handling specialized non-chat player input.
Classes dedicated to facilitate direct player-to-plugin communication.
Interfaces for non-voxel objects that can exist in a
world
, including all players, monsters, projectiles, etc.Classes dedicated to handling triggered code executions.
Events
relating to programmatic state
changes on the server.Classes dedicated to providing a layer of plugin specified data on various
Minecraft concepts.
Classes dedicated to providing binary state properties to players.
Classes specifically relating to loading software modules at runtime.
Classes for handling
plugins
written in
java.Classes dedicated to specialized plugin to client protocols.
Classes dedicated to letting
plugins
run
code at specific time intervals, including thread safety.-
Uses of Plugin in co.aikar.timings
Modifier and TypeMethodDescriptionTimingsManager.getPluginByClassloader
(@Nullable Class<?> clazz) Looks up the class loader for the specified class, and if it is a PluginClassLoader, return the Plugin that created this class.Modifier and TypeMethodDescriptionReturns a Timing for a plugin corresponding to a name.Returns a handler that has a groupHandler timer handler.Returns a Timing object after starting it, useful for Java7 try-with-resources.Returns a Timing object after starting it, useful for Java7 try-with-resources.ModifierConstructorDescriptionTimedEventExecutor
(@NotNull EventExecutor executor, @NotNull Plugin plugin, @Nullable Method method, @NotNull Class<? extends Event> eventClass) Wraps an event executor and associates a timing handler to it. -
Uses of Plugin in com.destroystokyo.paper
ModifierConstructorDescriptionNamespacedTag
(@NotNull Plugin plugin, @NotNull String key) Create a key in the plugin's namespace. -
Uses of Plugin in com.destroystokyo.paper.exception
Modifier and TypeMethodDescriptionServerPluginException.getResponsiblePlugin()
Gets the plugin which is directly responsible for the exception being thrownModifierConstructorDescriptionprotected
ServerEventException
(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, Plugin responsiblePlugin, Listener listener, Event event) ServerEventException
(String message, Throwable cause, Plugin responsiblePlugin, Listener listener, Event event) ServerEventException
(Throwable cause, Plugin responsiblePlugin, Listener listener, Event event) protected
ServerPluginEnableDisableException
(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, Plugin responsiblePlugin) ServerPluginEnableDisableException
(String message, Throwable cause, Plugin responsiblePlugin) ServerPluginEnableDisableException
(Throwable cause, Plugin responsiblePlugin) protected
ServerPluginException
(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, Plugin responsiblePlugin) ServerPluginException
(String message, Throwable cause, Plugin responsiblePlugin) ServerPluginException
(Throwable cause, Plugin responsiblePlugin) protected
ServerPluginMessageException
(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, Plugin responsiblePlugin, Player player, String channel, byte[] data) ServerPluginMessageException
(String message, Throwable cause, Plugin responsiblePlugin, Player player, String channel, byte[] data) ServerPluginMessageException
(Throwable cause, Plugin responsiblePlugin, Player player, String channel, byte[] data) -
Uses of Plugin in org.bukkit
Modifier and TypeMethodDescriptionChunk.getPluginChunkTickets()
Retrieves a collection specifying which plugins have tickets for this chunk.World.getPluginChunkTickets()
Returns a map of which plugins have tickets for what chunks.World.getPluginChunkTickets
(int x, int z) Retrieves a collection specifying which plugins have tickets for the specified chunk.Modifier and TypeMethodDescriptionboolean
Chunk.addPluginChunkTicket
(@NotNull Plugin plugin) Adds a plugin ticket for this chunk, loading this chunk if it is not already loaded.boolean
World.addPluginChunkTicket
(int x, int z, @NotNull Plugin plugin) Adds a plugin ticket for the specified chunk, loading the chunk if it is not already loaded.static @Nullable NamespacedKey
NamespacedKey.fromString
(@NotNull String string, @Nullable Plugin defaultNamespace) Get a NamespacedKey from the supplied string with a default namespace if a namespace is not defined.static boolean
UnsafeValues.isLegacyPlugin
(Plugin plugin) Deprecated, for removal: This API element is subject to removal in a future version.boolean
Chunk.removePluginChunkTicket
(@NotNull Plugin plugin) Removes the specified plugin's ticket for this chunkboolean
World.removePluginChunkTicket
(int x, int z, @NotNull Plugin plugin) Removes the specified plugin's ticket for the specified chunkvoid
World.removePluginChunkTickets
(@NotNull Plugin plugin) Removes all plugin tickets for the specified pluginModifierConstructorDescriptionNamespacedKey
(@NotNull Plugin plugin, @NotNull String key) Create a key in the plugin's namespace. -
Uses of Plugin in org.bukkit.command
Modifier and TypeMethodDescriptionPluginCommand.getPlugin()
Gets the owner of this PluginCommandPluginIdentifiableCommand.getPlugin()
Gets the owner of this PluginIdentifiableCommand.Modifier and TypeMethodDescriptiondefault @NotNull PermissionAttachment
MessageCommandSender.addAttachment
(@NotNull Plugin plugin) default @NotNull PermissionAttachment
MessageCommandSender.addAttachment
(@NotNull Plugin plugin, int ticks) default @NotNull PermissionAttachment
MessageCommandSender.addAttachment
(@NotNull Plugin plugin, @NotNull String name, boolean value) default @NotNull PermissionAttachment
MessageCommandSender.addAttachment
(@NotNull Plugin plugin, @NotNull String name, boolean value, int ticks) -
Uses of Plugin in org.bukkit.conversations
Modifier and TypeFieldDescriptionprotected Plugin
ConversationFactory.plugin
protected Plugin
InactivityConversationCanceller.plugin
protected Plugin
PluginNameConversationPrefix.plugin
Modifier and TypeMethodDescriptionConversationContext.getPlugin()
Gets the plugin that owns this conversation.ModifierConstructorDescriptionConversation
(@Nullable Plugin plugin, @NotNull Conversable forWhom, @Nullable Prompt firstPrompt) Initializes a new Conversation.Conversation
(@Nullable Plugin plugin, @NotNull Conversable forWhom, @Nullable Prompt firstPrompt, @NotNull Map<Object, Object> initialSessionData) Initializes a new Conversation.ConversationContext
(@Nullable Plugin plugin, @NotNull Conversable forWhom, @NotNull Map<Object, Object> initialSessionData) ConversationFactory
(@NotNull Plugin plugin) Constructs a ConversationFactory.InactivityConversationCanceller
(@NotNull Plugin plugin, int timeoutSeconds) Creates an InactivityConversationCanceller.PlayerNamePrompt
(@NotNull Plugin plugin) PluginNameConversationPrefix
(@NotNull Plugin plugin, @NotNull String separator, @NotNull ChatColor prefixColor) -
Uses of Plugin in org.bukkit.entity
Modifier and TypeMethodDescriptionvoid
Player.hideEntity
(@NotNull Plugin plugin, @NotNull Entity entity) Visually hides an entity from this player.void
Player.hidePlayer
(@NotNull Plugin plugin, @NotNull Player player) Hides a player from this playervoid
Player.showEntity
(@NotNull Plugin plugin, @NotNull Entity entity) Allows this player to see an entity that was previously hidden.void
Player.showPlayer
(@NotNull Plugin plugin, @NotNull Player player) Allows this player to see a player that was previously hidden. -
Uses of Plugin in org.bukkit.event
Modifier and TypeMethodDescriptionstatic @NotNull ArrayList<RegisteredListener>
HandlerList.getRegisteredListeners
(@NotNull Plugin plugin) Get a specific plugin's registered listeners associated with this handler listvoid
HandlerList.unregister
(@NotNull Plugin plugin) Remove a specific plugin's listeners from this handlerstatic void
HandlerList.unregisterAll
(@NotNull Plugin plugin) Unregister a specific plugin's listeners from all handler lists. -
Uses of Plugin in org.bukkit.event.server
ModifierConstructorDescriptionPluginDisableEvent
(@NotNull Plugin plugin) PluginEnableEvent
(@NotNull Plugin plugin) PluginEvent
(@NotNull Plugin plugin) -
Uses of Plugin in org.bukkit.metadata
Modifier and TypeFieldDescriptionprotected final WeakReference<Plugin>
MetadataValueAdapter.owningPlugin
Modifier and TypeMethodDescriptionMetadataValue.getOwningPlugin()
Returns thePlugin
that created this metadata item.MetadataValueAdapter.getOwningPlugin()
Modifier and TypeMethodDescriptionvoid
MetadataStore.invalidateAll
(@NotNull Plugin owningPlugin) Invalidates all metadata in the metadata store that originates from the given plugin.void
MetadataStoreBase.invalidateAll
(@NotNull Plugin owningPlugin) Invalidates all metadata in the metadata store that originates from the given plugin.void
Removes all metadata in the metadata store that originates from the given plugin.void
Metadatable.removeMetadata
(@NotNull String metadataKey, @NotNull Plugin owningPlugin) Removes the given metadata value from the implementing object's metadata store.void
Removes a metadata item owned by a plugin from a subject.void
MetadataStoreBase.removeMetadata
(T subject, @NotNull String metadataKey, @NotNull Plugin owningPlugin) Removes a metadata item owned by a plugin from a subject.ModifierConstructorDescriptionFixedMetadataValue
(@NotNull Plugin owningPlugin, @Nullable Object value) Initializes a FixedMetadataValue with an Objectprotected
LazyMetadataValue
(@NotNull Plugin owningPlugin) Protected special constructor used by FixedMetadataValue to bypass standard setup.Initialized a LazyMetadataValue object with the default CACHE_AFTER_FIRST_EVAL cache strategy.LazyMetadataValue
(@NotNull Plugin owningPlugin, @NotNull LazyMetadataValue.CacheStrategy cacheStrategy, @NotNull Callable<Object> lazyValue) Initializes a LazyMetadataValue object with a specific cache strategy.protected
MetadataValueAdapter
(@NotNull Plugin owningPlugin) -
Uses of Plugin in org.bukkit.permissions
Modifier and TypeMethodDescriptionPermissionAttachment.getPlugin()
Gets the plugin responsible for this attachmentModifier and TypeMethodDescriptionPermissible.addAttachment
(@NotNull Plugin plugin) Adds a new emptyPermissionAttachment
to this objectPermissible.addAttachment
(@NotNull Plugin plugin, int ticks) Temporarily adds a new emptyPermissionAttachment
to this objectPermissible.addAttachment
(@NotNull Plugin plugin, @NotNull String name, boolean value) Adds a newPermissionAttachment
with a single permission by name and valuePermissible.addAttachment
(@NotNull Plugin plugin, @NotNull String name, boolean value, int ticks) Temporarily adds a newPermissionAttachment
with a single permission by name and valuePermissibleBase.addAttachment
(@NotNull Plugin plugin) PermissibleBase.addAttachment
(@NotNull Plugin plugin, int ticks) PermissibleBase.addAttachment
(@NotNull Plugin plugin, @NotNull String name, boolean value) PermissibleBase.addAttachment
(@NotNull Plugin plugin, @NotNull String name, boolean value, int ticks) ModifierConstructorDescriptionPermissionAttachment
(@NotNull Plugin plugin, @NotNull Permissible permissible) -
Uses of Plugin in org.bukkit.plugin
Modifier and TypeMethodDescriptionChecks if the given plugin is loaded and returns it when applicableRegisteredListener.getPlugin()
Gets the plugin for this registrationRegisteredServiceProvider.getPlugin()
Deprecated, for removal: This API element is subject to removal in a future version.Checks if the given plugin is loaded and returns it when applicablePluginManager.getPlugins()
Gets a list of all currently loaded pluginsSimplePluginManager.getPlugins()
Deprecated, for removal: This API element is subject to removal in a future version.PluginLoader.loadPlugin
(@NotNull File file) Deprecated, for removal: This API element is subject to removal in a future version.Loads the plugin contained in the specified filePluginManager.loadPlugin
(@NotNull File file) Loads the plugin in the specified fileSimplePluginManager.loadPlugin
(@NotNull File file) Deprecated, for removal: This API element is subject to removal in a future version.Loads the plugin in the specified filePluginManager.loadPlugins
(@NotNull File directory) Loads the plugins contained within the specified directorySimplePluginManager.loadPlugins
(@NotNull File directory) Deprecated, for removal: This API element is subject to removal in a future version.Loads the plugins contained within the specified directoryDeprecated, for removal: This API element is subject to removal in a future version.Modifier and TypeMethodDescriptionPluginLoader.createRegisteredListeners
(@NotNull Listener listener, @NotNull Plugin plugin) Deprecated, for removal: This API element is subject to removal in a future version.Creates and returns registered listeners for the event classes used in this listenervoid
PluginLoader.disablePlugin
(@NotNull Plugin plugin) Deprecated, for removal: This API element is subject to removal in a future version.Disables the specified pluginvoid
PluginManager.disablePlugin
(@NotNull Plugin plugin) Disables the specified pluginvoid
SimplePluginManager.disablePlugin
(@NotNull Plugin plugin) Deprecated, for removal: This API element is subject to removal in a future version.void
PluginLoader.enablePlugin
(@NotNull Plugin plugin) Deprecated, for removal: This API element is subject to removal in a future version.Enables the specified pluginvoid
PluginManager.enablePlugin
(@NotNull Plugin plugin) Enables the specified pluginvoid
SimplePluginManager.enablePlugin
(@NotNull Plugin plugin) Deprecated, for removal: This API element is subject to removal in a future version.ServicesManager.getRegistrations
(@NotNull Plugin plugin) Get registrations of providers for a plugin.SimpleServicesManager.getRegistrations
(@NotNull Plugin plugin) Get registrations of providers for a plugin.boolean
PluginManager.isPluginEnabled
(@Nullable Plugin plugin) Checks if the given plugin is enabled or notboolean
SimplePluginManager.isPluginEnabled
(@Nullable Plugin plugin) Deprecated, for removal: This API element is subject to removal in a future version.Checks if the given plugin is enabled or notvoid
PluginManager.overridePermissionManager
(@NotNull Plugin plugin, PermissionManager permissionManager) Sets the permission manager to be used for this server.void
SimplePluginManager.overridePermissionManager
(@NotNull Plugin plugin, PermissionManager permissionManager) Deprecated, for removal: This API element is subject to removal in a future version.<T> void
ServicesManager.register
(@NotNull Class<T> service, T provider, @NotNull Plugin plugin, @NotNull ServicePriority priority) Register a provider of a service.<T> void
SimpleServicesManager.register
(@NotNull Class<T> service, T provider, @NotNull Plugin plugin, @NotNull ServicePriority priority) Register a provider of a service.void
PluginManager.registerEvent
(@NotNull Class<? extends Event> event, @NotNull Listener listener, @NotNull EventPriority priority, @NotNull EventExecutor executor, @NotNull Plugin plugin) Registers the specified executor to the given event classvoid
PluginManager.registerEvent
(@NotNull Class<? extends Event> event, @NotNull Listener listener, @NotNull EventPriority priority, @NotNull EventExecutor executor, @NotNull Plugin plugin, boolean ignoreCancelled) Registers the specified executor to the given event classvoid
SimplePluginManager.registerEvent
(@NotNull Class<? extends Event> event, @NotNull Listener listener, @NotNull EventPriority priority, @NotNull EventExecutor executor, @NotNull Plugin plugin) Deprecated, for removal: This API element is subject to removal in a future version.void
SimplePluginManager.registerEvent
(@NotNull Class<? extends Event> event, @NotNull Listener listener, @NotNull EventPriority priority, @NotNull EventExecutor executor, @NotNull Plugin plugin, boolean ignoreCancelled) Deprecated, for removal: This API element is subject to removal in a future version.Registers the given event to the specified listener using a directly passed EventExecutorvoid
PluginManager.registerEvents
(@NotNull Listener listener, @NotNull Plugin plugin) Registers all the events in the given listener classvoid
SimplePluginManager.registerEvents
(@NotNull Listener listener, @NotNull Plugin plugin) Deprecated, for removal: This API element is subject to removal in a future version.void
ServicesManager.unregisterAll
(@NotNull Plugin plugin) Unregister all the providers registered by a particular plugin.void
SimpleServicesManager.unregisterAll
(@NotNull Plugin plugin) Unregister all the providers registered by a particular plugin.ModifierConstructorDescriptionPluginLogger
(@NotNull Plugin context) Creates a new PluginLogger that extracts the name from a plugin.RegisteredListener
(@NotNull Listener listener, @NotNull EventExecutor executor, @NotNull EventPriority priority, @NotNull Plugin plugin, boolean ignoreCancelled) RegisteredServiceProvider
(@NotNull Class<T> service, T provider, @NotNull ServicePriority priority, @NotNull Plugin plugin) TimedRegisteredListener
(@NotNull Listener pluginListener, @NotNull EventExecutor eventExecutor, @NotNull EventPriority eventPriority, @NotNull Plugin registeredPlugin, boolean listenCancelled) -
Uses of Plugin in org.bukkit.plugin.java
Modifier and TypeMethodDescriptionJavaPluginLoader.loadPlugin
(@NotNull File file) Deprecated, for removal: This API element is subject to removal in a future version.Modifier and TypeMethodDescriptionJavaPluginLoader.createRegisteredListeners
(@NotNull Listener listener, @NotNull Plugin plugin) Deprecated, for removal: This API element is subject to removal in a future version.void
JavaPluginLoader.disablePlugin
(@NotNull Plugin plugin) Deprecated, for removal: This API element is subject to removal in a future version.void
JavaPluginLoader.enablePlugin
(@NotNull Plugin plugin) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Plugin in org.bukkit.plugin.messaging
Modifier and TypeMethodDescriptionPluginMessageListenerRegistration.getPlugin()
Gets the plugin that this registration is for.Modifier and TypeMethodDescriptionMessenger.getIncomingChannelRegistrations
(@NotNull Plugin plugin) Gets a set containing all the incoming plugin channel registrations that the specified plugin has.Messenger.getIncomingChannelRegistrations
(@NotNull Plugin plugin, @NotNull String channel) Gets a set containing all the incoming plugin channel registrations that the specified plugin has on the requested channel.StandardMessenger.getIncomingChannelRegistrations
(@NotNull Plugin plugin) StandardMessenger.getIncomingChannelRegistrations
(@NotNull Plugin plugin, @NotNull String channel) Messenger.getIncomingChannels
(@NotNull Plugin plugin) Gets a set containing all the incoming plugin channels that the specified plugin is registered for.StandardMessenger.getIncomingChannels
(@NotNull Plugin plugin) Messenger.getOutgoingChannels
(@NotNull Plugin plugin) Gets a set containing all the outgoing plugin channels that the specified plugin is registered to.StandardMessenger.getOutgoingChannels
(@NotNull Plugin plugin) boolean
Messenger.isIncomingChannelRegistered
(@NotNull Plugin plugin, @NotNull String channel) Checks if the specified plugin has registered to receive incoming messages through the requested channel.boolean
StandardMessenger.isIncomingChannelRegistered
(@NotNull Plugin plugin, @NotNull String channel) boolean
Messenger.isOutgoingChannelRegistered
(@NotNull Plugin plugin, @NotNull String channel) Checks if the specified plugin has registered to send outgoing messages through the requested channel.boolean
StandardMessenger.isOutgoingChannelRegistered
(@NotNull Plugin plugin, @NotNull String channel) Messenger.registerIncomingPluginChannel
(@NotNull Plugin plugin, @NotNull String channel, @NotNull PluginMessageListener listener) Registers the specific plugin for listening on the requested incoming plugin channel, allowing it to act upon any plugin messages.StandardMessenger.registerIncomingPluginChannel
(@NotNull Plugin plugin, @NotNull String channel, @NotNull PluginMessageListener listener) void
Messenger.registerOutgoingPluginChannel
(@NotNull Plugin plugin, @NotNull String channel) Registers the specific plugin to the requested outgoing plugin channel, allowing it to send messages through that channel to any clients.void
StandardMessenger.registerOutgoingPluginChannel
(@NotNull Plugin plugin, @NotNull String channel) void
PluginMessageRecipient.sendPluginMessage
(@NotNull Plugin source, @NotNull String channel, @org.jetbrains.annotations.NotNull byte[] message) Sends this recipient a Plugin Message on the specified outgoing channel.void
Messenger.unregisterIncomingPluginChannel
(@NotNull Plugin plugin) Unregisters the specific plugin from listening on all plugin channels through all listeners.void
Messenger.unregisterIncomingPluginChannel
(@NotNull Plugin plugin, @NotNull String channel) Unregisters the specific plugin from listening on the requested incoming plugin channel, no longer allowing it to act upon any plugin messages.void
Messenger.unregisterIncomingPluginChannel
(@NotNull Plugin plugin, @NotNull String channel, @NotNull PluginMessageListener listener) Unregisters the specific plugin's listener from listening on the requested incoming plugin channel, no longer allowing it to act upon any plugin messages.void
StandardMessenger.unregisterIncomingPluginChannel
(@NotNull Plugin plugin) void
StandardMessenger.unregisterIncomingPluginChannel
(@NotNull Plugin plugin, @NotNull String channel) void
StandardMessenger.unregisterIncomingPluginChannel
(@NotNull Plugin plugin, @NotNull String channel, @NotNull PluginMessageListener listener) void
Messenger.unregisterOutgoingPluginChannel
(@NotNull Plugin plugin) Unregisters the specific plugin from all outgoing plugin channels, no longer allowing it to send any plugin messages.void
Messenger.unregisterOutgoingPluginChannel
(@NotNull Plugin plugin, @NotNull String channel) Unregisters the specific plugin from the requested outgoing plugin channel, no longer allowing it to send messages through that channel to any clients.void
StandardMessenger.unregisterOutgoingPluginChannel
(@NotNull Plugin plugin) void
StandardMessenger.unregisterOutgoingPluginChannel
(@NotNull Plugin plugin, @NotNull String channel) static void
StandardMessenger.validatePluginMessage
(@NotNull Messenger messenger, @NotNull Plugin source, @NotNull String channel, @org.jetbrains.annotations.NotNull byte[] message) Validates the input of a Plugin Message, ensuring the arguments are all valid.ModifierConstructorDescriptionPluginMessageListenerRegistration
(@NotNull Messenger messenger, @NotNull Plugin plugin, @NotNull String channel, @NotNull PluginMessageListener listener) -
Uses of Plugin in org.bukkit.scheduler
Modifier and TypeMethodDescriptionBukkitTask.getOwner()
Returns the Plugin that owns this task.BukkitWorker.getOwner()
Returns the Plugin that owns this task.Modifier and TypeMethodDescriptionBukkitScheduler.callSyncMethod
(@NotNull Plugin plugin, @NotNull Callable<T> task) Calls a method on the main thread and returns a Future object.void
BukkitScheduler.cancelTasks
(@NotNull Plugin plugin) Removes all tasks associated with a particular plugin from the scheduler.BukkitScheduler.getMainThreadExecutor
(@NotNull Plugin plugin) Returns an executor that will run tasks on the next server tick.Schedules this in the Bukkit scheduler to run on next tick.Returns a task that will run on the next server tick.void
Returns a task that will run on the next server tick.BukkitScheduler.runTask
(@NotNull Plugin plugin, @NotNull BukkitRunnable task) Deprecated.BukkitRunnable.runTaskAsynchronously
(@NotNull Plugin plugin) Asynchronous tasks should never access any API in Bukkit.BukkitScheduler.runTaskAsynchronously
(@NotNull Plugin plugin, @NotNull Runnable task) Asynchronous tasks should never access any API in Bukkit. Great care should be taken to assure the thread-safety of asynchronous tasks.void
BukkitScheduler.runTaskAsynchronously
(@NotNull Plugin plugin, @NotNull Consumer<BukkitTask> task) Asynchronous tasks should never access any API in Bukkit. Great care should be taken to assure the thread-safety of asynchronous tasks.BukkitScheduler.runTaskAsynchronously
(@NotNull Plugin plugin, @NotNull BukkitRunnable task) Deprecated.BukkitRunnable.runTaskLater
(@NotNull Plugin plugin, long delay) Schedules this to run after the specified number of server ticks.BukkitScheduler.runTaskLater
(@NotNull Plugin plugin, @NotNull Runnable task, long delay) Returns a task that will run after the specified number of server ticks.void
BukkitScheduler.runTaskLater
(@NotNull Plugin plugin, @NotNull Consumer<BukkitTask> task, long delay) Returns a task that will run after the specified number of server ticks.BukkitScheduler.runTaskLater
(@NotNull Plugin plugin, @NotNull BukkitRunnable task, long delay) Deprecated.BukkitRunnable.runTaskLaterAsynchronously
(@NotNull Plugin plugin, long delay) Asynchronous tasks should never access any API in Bukkit.BukkitScheduler.runTaskLaterAsynchronously
(@NotNull Plugin plugin, @NotNull Runnable task, long delay) Asynchronous tasks should never access any API in Bukkit. Great care should be taken to assure the thread-safety of asynchronous tasks.void
BukkitScheduler.runTaskLaterAsynchronously
(@NotNull Plugin plugin, @NotNull Consumer<BukkitTask> task, long delay) Asynchronous tasks should never access any API in Bukkit. Great care should be taken to assure the thread-safety of asynchronous tasks.BukkitScheduler.runTaskLaterAsynchronously
(@NotNull Plugin plugin, @NotNull BukkitRunnable task, long delay) Deprecated.BukkitRunnable.runTaskTimer
(@NotNull Plugin plugin, long delay, long period) Schedules this to repeatedly run until cancelled, starting after the specified number of server ticks.BukkitScheduler.runTaskTimer
(@NotNull Plugin plugin, @NotNull Runnable task, long delay, long period) Returns a task that will repeatedly run until cancelled, starting after the specified number of server ticks.void
BukkitScheduler.runTaskTimer
(@NotNull Plugin plugin, @NotNull Consumer<BukkitTask> task, long delay, long period) Returns a task that will repeatedly run until cancelled, starting after the specified number of server ticks.BukkitScheduler.runTaskTimer
(@NotNull Plugin plugin, @NotNull BukkitRunnable task, long delay, long period) Deprecated.BukkitRunnable.runTaskTimerAsynchronously
(@NotNull Plugin plugin, long delay, long period) Asynchronous tasks should never access any API in Bukkit.BukkitScheduler.runTaskTimerAsynchronously
(@NotNull Plugin plugin, @NotNull Runnable task, long delay, long period) Asynchronous tasks should never access any API in Bukkit. Great care should be taken to assure the thread-safety of asynchronous tasks.void
BukkitScheduler.runTaskTimerAsynchronously
(@NotNull Plugin plugin, @NotNull Consumer<BukkitTask> task, long delay, long period) Asynchronous tasks should never access any API in Bukkit. Great care should be taken to assure the thread-safety of asynchronous tasks.BukkitScheduler.runTaskTimerAsynchronously
(@NotNull Plugin plugin, @NotNull BukkitRunnable task, long delay, long period) Deprecated.int
BukkitScheduler.scheduleAsyncDelayedTask
(@NotNull Plugin plugin, @NotNull Runnable task) Deprecated.This name is misleading, as it does not schedule "a sync" task, but rather, "an async" taskint
BukkitScheduler.scheduleAsyncDelayedTask
(@NotNull Plugin plugin, @NotNull Runnable task, long delay) Deprecated.This name is misleading, as it does not schedule "a sync" task, but rather, "an async" taskint
BukkitScheduler.scheduleAsyncRepeatingTask
(@NotNull Plugin plugin, @NotNull Runnable task, long delay, long period) Deprecated.This name is misleading, as it does not schedule "a sync" task, but rather, "an async" taskint
BukkitScheduler.scheduleSyncDelayedTask
(@NotNull Plugin plugin, @NotNull Runnable task) Schedules a once off task to occur as soon as possible.int
BukkitScheduler.scheduleSyncDelayedTask
(@NotNull Plugin plugin, @NotNull Runnable task, long delay) Schedules a once off task to occur after a delay.int
BukkitScheduler.scheduleSyncDelayedTask
(@NotNull Plugin plugin, @NotNull BukkitRunnable task) Deprecated.int
BukkitScheduler.scheduleSyncDelayedTask
(@NotNull Plugin plugin, @NotNull BukkitRunnable task, long delay) Deprecated.int
BukkitScheduler.scheduleSyncRepeatingTask
(@NotNull Plugin plugin, @NotNull Runnable task, long delay, long period) Schedules a repeating task.int
BukkitScheduler.scheduleSyncRepeatingTask
(@NotNull Plugin plugin, @NotNull BukkitRunnable task, long delay, long period) Deprecated.
BukkitRunnable.runTask(Plugin)