Uses of Interface
org.bukkit.plugin.Plugin
-
Packages that use Plugin Package Description org.bukkit The root package of the Bukkit API, contains generalized API classes.org.bukkit.command Classes relating to handling specialized non-chat player input.org.bukkit.conversations Classes dedicated to facilitate direct player-to-plugin communication.org.bukkit.entity Interfaces for non-voxel objects that can exist in aworld
, including all players, monsters, projectiles, etc.org.bukkit.event Classes dedicated to handling triggered code executions.org.bukkit.event.server Events
relating to programmatic state changes on the server.org.bukkit.metadata Classes dedicated to providing a layer of plugin specified data on various Minecraft concepts.org.bukkit.permissions Classes dedicated to providing binary state properties to players.org.bukkit.plugin Classes specifically relating to loading software modules at runtime.org.bukkit.plugin.java Classes for handlingplugins
written in java.org.bukkit.plugin.messaging Classes dedicated to specialized plugin to client protocols.org.bukkit.scheduler Classes dedicated to lettingplugins
run code at specific time intervals, including thread safety. -
-
Uses of Plugin in org.bukkit
Methods in org.bukkit that return types with arguments of type Plugin Modifier and Type Method Description @NotNull Collection<Plugin>
Chunk. getPluginChunkTickets()
Retrieves a collection specifying which plugins have tickets for this chunk.@NotNull Map<Plugin,Collection<Chunk>>
World. getPluginChunkTickets()
Returns a map of which plugins have tickets for what chunks.@NotNull Collection<Plugin>
World. getPluginChunkTickets(int x, int z)
Retrieves a collection specifying which plugins have tickets for the specified chunk.Methods in org.bukkit with parameters of type Plugin Modifier and Type Method Description boolean
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.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 pluginConstructors in org.bukkit with parameters of type Plugin Constructor Description NamespacedKey(@NotNull Plugin plugin, @NotNull String key)
Create a key in the plugin's namespace. -
Uses of Plugin in org.bukkit.command
Methods in org.bukkit.command that return Plugin Modifier and Type Method Description @NotNull Plugin
PluginCommand. getPlugin()
Gets the owner of this PluginCommand@NotNull Plugin
PluginIdentifiableCommand. getPlugin()
Gets the owner of this PluginIdentifiableCommand.Methods in org.bukkit.command with parameters of type Plugin Modifier and Type Method Description static @NotNull List<Command>
PluginCommandYamlParser. parse(@NotNull Plugin plugin)
Constructors in org.bukkit.command with parameters of type Plugin Constructor Description PluginCommand(@NotNull String name, @NotNull Plugin owner)
-
Uses of Plugin in org.bukkit.conversations
Fields in org.bukkit.conversations declared as Plugin Modifier and Type Field Description protected Plugin
ConversationFactory. plugin
protected Plugin
InactivityConversationCanceller. plugin
protected Plugin
PluginNameConversationPrefix. plugin
Methods in org.bukkit.conversations that return Plugin Modifier and Type Method Description @Nullable Plugin
ConversationContext. getPlugin()
Gets the plugin that owns this conversation.Constructors in org.bukkit.conversations with parameters of type Plugin Constructor Description Conversation(@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)
PluginNameConversationPrefix(@NotNull Plugin plugin, @NotNull String separator, @NotNull ChatColor prefixColor)
-
Uses of Plugin in org.bukkit.entity
Methods in org.bukkit.entity with parameters of type Plugin Modifier and Type Method Description void
Player. hidePlayer(@NotNull Plugin plugin, @NotNull Player player)
Hides a player from this playervoid
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
Methods in org.bukkit.event with parameters of type Plugin Modifier and Type Method Description static @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
Methods in org.bukkit.event.server that return Plugin Modifier and Type Method Description @NotNull Plugin
PluginEvent. getPlugin()
Gets the plugin involved in this eventConstructors in org.bukkit.event.server with parameters of type Plugin Constructor Description PluginDisableEvent(@NotNull Plugin plugin)
PluginEnableEvent(@NotNull Plugin plugin)
PluginEvent(@NotNull Plugin plugin)
-
Uses of Plugin in org.bukkit.metadata
Fields in org.bukkit.metadata with type parameters of type Plugin Modifier and Type Field Description protected WeakReference<Plugin>
MetadataValueAdapter. owningPlugin
Methods in org.bukkit.metadata that return Plugin Modifier and Type Method Description @Nullable Plugin
MetadataValue. getOwningPlugin()
Returns thePlugin
that created this metadata item.@Nullable Plugin
MetadataValueAdapter. getOwningPlugin()
Methods in org.bukkit.metadata with parameters of type Plugin Modifier and Type Method Description void
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
Metadatable. removeMetadata(@NotNull String metadataKey, @NotNull Plugin owningPlugin)
Removes the given metadata value from the implementing object's metadata store.void
MetadataStore. removeMetadata(T subject, @NotNull String metadataKey, @NotNull Plugin owningPlugin)
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.Constructors in org.bukkit.metadata with parameters of type Plugin Constructor Description FixedMetadataValue(@NotNull Plugin owningPlugin, @Nullable Object value)
Initializes a FixedMetadataValue with an ObjectLazyMetadataValue(@NotNull Plugin owningPlugin)
Protected special constructor used by FixedMetadataValue to bypass standard setup.LazyMetadataValue(@NotNull Plugin owningPlugin, @NotNull Callable<Object> lazyValue)
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.MetadataValueAdapter(@NotNull Plugin owningPlugin)
-
Uses of Plugin in org.bukkit.permissions
Methods in org.bukkit.permissions that return Plugin Modifier and Type Method Description @NotNull Plugin
PermissionAttachment. getPlugin()
Gets the plugin responsible for this attachmentMethods in org.bukkit.permissions with parameters of type Plugin Modifier and Type Method Description @NotNull PermissionAttachment
Permissible. addAttachment(@NotNull Plugin plugin)
Adds a new emptyPermissionAttachment
to this object@Nullable PermissionAttachment
Permissible. addAttachment(@NotNull Plugin plugin, int ticks)
Temporarily adds a new emptyPermissionAttachment
to this object@NotNull PermissionAttachment
Permissible. addAttachment(@NotNull Plugin plugin, @NotNull String name, boolean value)
Adds a newPermissionAttachment
with a single permission by name and value@Nullable PermissionAttachment
Permissible. addAttachment(@NotNull Plugin plugin, @NotNull String name, boolean value, int ticks)
Temporarily adds a newPermissionAttachment
with a single permission by name and value@NotNull PermissionAttachment
PermissibleBase. addAttachment(@NotNull Plugin plugin)
@Nullable PermissionAttachment
PermissibleBase. addAttachment(@NotNull Plugin plugin, int ticks)
@NotNull PermissionAttachment
PermissibleBase. addAttachment(@NotNull Plugin plugin, @NotNull String name, boolean value)
@Nullable PermissionAttachment
PermissibleBase. addAttachment(@NotNull Plugin plugin, @NotNull String name, boolean value, int ticks)
Constructors in org.bukkit.permissions with parameters of type Plugin Constructor Description PermissionAttachment(@NotNull Plugin plugin, @NotNull Permissible permissible)
-
Uses of Plugin in org.bukkit.plugin
Classes in org.bukkit.plugin that implement Plugin Modifier and Type Class Description class
PluginBase
Represents a basePlugin
Methods in org.bukkit.plugin that return Plugin Modifier and Type Method Description @Nullable Plugin
PluginManager. getPlugin(@NotNull String name)
Checks if the given plugin is loaded and returns it when applicable@NotNull Plugin
RegisteredListener. getPlugin()
Gets the plugin for this registration@NotNull Plugin
RegisteredServiceProvider. getPlugin()
@Nullable Plugin
SimplePluginManager. getPlugin(@NotNull String name)
Checks if the given plugin is loaded and returns it when applicable@NotNull Plugin[]
PluginManager. getPlugins()
Gets a list of all currently loaded plugins@NotNull Plugin[]
SimplePluginManager. getPlugins()
@NotNull Plugin
PluginLoader. loadPlugin(@NotNull File file)
Loads the plugin contained in the specified file@Nullable Plugin
PluginManager. loadPlugin(@NotNull File file)
Loads the plugin in the specified file@Nullable Plugin
SimplePluginManager. loadPlugin(@NotNull File file)
Loads the plugin in the specified file@NotNull Plugin[]
PluginManager. loadPlugins(@NotNull File directory)
Loads the plugins contained within the specified directory@NotNull Plugin[]
SimplePluginManager. loadPlugins(@NotNull File directory)
Loads the plugins contained within the specified directoryMethods in org.bukkit.plugin with parameters of type Plugin Modifier and Type Method Description @NotNull Map<Class<? extends Event>,Set<RegisteredListener>>
PluginLoader. createRegisteredListeners(@NotNull Listener listener, @NotNull Plugin plugin)
Creates and returns registered listeners for the event classes used in this listenervoid
PluginLoader. disablePlugin(@NotNull Plugin plugin)
Disables the specified pluginvoid
PluginManager. disablePlugin(@NotNull Plugin plugin)
Disables the specified pluginvoid
SimplePluginManager. disablePlugin(@NotNull Plugin plugin)
void
PluginLoader. enablePlugin(@NotNull Plugin plugin)
Enables the specified pluginvoid
PluginManager. enablePlugin(@NotNull Plugin plugin)
Enables the specified pluginvoid
SimplePluginManager. enablePlugin(@NotNull Plugin plugin)
@NotNull List<RegisteredServiceProvider<?>>
ServicesManager. getRegistrations(@NotNull Plugin plugin)
Get registrations of providers for a plugin.@NotNull List<RegisteredServiceProvider<?>>
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)
Checks if the given plugin is enabled or not<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)
void
SimplePluginManager. registerEvent(@NotNull Class<? extends Event> event, @NotNull Listener listener, @NotNull EventPriority priority, @NotNull EventExecutor executor, @NotNull Plugin plugin, boolean ignoreCancelled)
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)
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.Constructors in org.bukkit.plugin with parameters of type Plugin Constructor Description PluginLogger(@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
Classes in org.bukkit.plugin.java that implement Plugin Modifier and Type Class Description class
JavaPlugin
Represents a Java pluginMethods in org.bukkit.plugin.java that return Plugin Modifier and Type Method Description @NotNull Plugin
JavaPluginLoader. loadPlugin(@NotNull File file)
Methods in org.bukkit.plugin.java with parameters of type Plugin Modifier and Type Method Description @NotNull Map<Class<? extends Event>,Set<RegisteredListener>>
JavaPluginLoader. createRegisteredListeners(@NotNull Listener listener, @NotNull Plugin plugin)
void
JavaPluginLoader. disablePlugin(@NotNull Plugin plugin)
void
JavaPluginLoader. enablePlugin(@NotNull Plugin plugin)
-
Uses of Plugin in org.bukkit.plugin.messaging
Methods in org.bukkit.plugin.messaging that return Plugin Modifier and Type Method Description @NotNull Plugin
PluginMessageListenerRegistration. getPlugin()
Gets the plugin that this registration is for.Methods in org.bukkit.plugin.messaging with parameters of type Plugin Modifier and Type Method Description @NotNull Set<PluginMessageListenerRegistration>
Messenger. getIncomingChannelRegistrations(@NotNull Plugin plugin)
Gets a set containing all the incoming plugin channel registrations that the specified plugin has.@NotNull Set<PluginMessageListenerRegistration>
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.@NotNull Set<PluginMessageListenerRegistration>
StandardMessenger. getIncomingChannelRegistrations(@NotNull Plugin plugin)
@NotNull Set<PluginMessageListenerRegistration>
StandardMessenger. getIncomingChannelRegistrations(@NotNull Plugin plugin, @NotNull String channel)
@NotNull Set<String>
Messenger. getIncomingChannels(@NotNull Plugin plugin)
Gets a set containing all the incoming plugin channels that the specified plugin is registered for.@NotNull Set<String>
StandardMessenger. getIncomingChannels(@NotNull Plugin plugin)
@NotNull Set<String>
Messenger. getOutgoingChannels(@NotNull Plugin plugin)
Gets a set containing all the outgoing plugin channels that the specified plugin is registered to.@NotNull Set<String>
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)
@NotNull PluginMessageListenerRegistration
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.@NotNull PluginMessageListenerRegistration
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.Constructors in org.bukkit.plugin.messaging with parameters of type Plugin Constructor Description PluginMessageListenerRegistration(@NotNull Messenger messenger, @NotNull Plugin plugin, @NotNull String channel, @NotNull PluginMessageListener listener)
-
Uses of Plugin in org.bukkit.scheduler
Methods in org.bukkit.scheduler that return Plugin Modifier and Type Method Description @NotNull Plugin
BukkitTask. getOwner()
Returns the Plugin that owns this task.@NotNull Plugin
BukkitWorker. getOwner()
Returns the Plugin that owns this task.Methods in org.bukkit.scheduler with parameters of type Plugin Modifier and Type Method Description <T> @NotNull Future<T>
BukkitScheduler. 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.@NotNull BukkitTask
BukkitRunnable. runTask(@NotNull Plugin plugin)
Schedules this in the Bukkit scheduler to run on next tick.@NotNull BukkitTask
BukkitScheduler. runTask(@NotNull Plugin plugin, @NotNull Runnable task)
Returns a task that will run on the next server tick.void
BukkitScheduler. runTask(@NotNull Plugin plugin, @NotNull Consumer<BukkitTask> task)
Returns a task that will run on the next server tick.@NotNull BukkitTask
BukkitScheduler. runTask(@NotNull Plugin plugin, @NotNull BukkitRunnable task)
Deprecated.@NotNull BukkitTask
BukkitRunnable. runTaskAsynchronously(@NotNull Plugin plugin)
Asynchronous tasks should never access any API in Bukkit.@NotNull BukkitTask
BukkitScheduler. runTaskAsynchronously(@NotNull Plugin plugin, @NotNull Runnable task)
Asynchronous tasks should never access any API in Bukkit.void
BukkitScheduler. runTaskAsynchronously(@NotNull Plugin plugin, @NotNull Consumer<BukkitTask> task)
Asynchronous tasks should never access any API in Bukkit.@NotNull BukkitTask
BukkitScheduler. runTaskAsynchronously(@NotNull Plugin plugin, @NotNull BukkitRunnable task)
Deprecated.@NotNull BukkitTask
BukkitRunnable. runTaskLater(@NotNull Plugin plugin, long delay)
Schedules this to run after the specified number of server ticks.@NotNull BukkitTask
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.@NotNull BukkitTask
BukkitScheduler. runTaskLater(@NotNull Plugin plugin, @NotNull BukkitRunnable task, long delay)
Deprecated.@NotNull BukkitTask
BukkitRunnable. runTaskLaterAsynchronously(@NotNull Plugin plugin, long delay)
Asynchronous tasks should never access any API in Bukkit.@NotNull BukkitTask
BukkitScheduler. runTaskLaterAsynchronously(@NotNull Plugin plugin, @NotNull Runnable task, long delay)
Asynchronous tasks should never access any API in Bukkit.void
BukkitScheduler. runTaskLaterAsynchronously(@NotNull Plugin plugin, @NotNull Consumer<BukkitTask> task, long delay)
Asynchronous tasks should never access any API in Bukkit.@NotNull BukkitTask
BukkitScheduler. runTaskLaterAsynchronously(@NotNull Plugin plugin, @NotNull BukkitRunnable task, long delay)
Deprecated.@NotNull BukkitTask
BukkitRunnable. runTaskTimer(@NotNull Plugin plugin, long delay, long period)
Schedules this to repeatedly run until cancelled, starting after the specified number of server ticks.@NotNull BukkitTask
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.@NotNull BukkitTask
BukkitScheduler. runTaskTimer(@NotNull Plugin plugin, @NotNull BukkitRunnable task, long delay, long period)
Deprecated.@NotNull BukkitTask
BukkitRunnable. runTaskTimerAsynchronously(@NotNull Plugin plugin, long delay, long period)
Asynchronous tasks should never access any API in Bukkit.@NotNull BukkitTask
BukkitScheduler. runTaskTimerAsynchronously(@NotNull Plugin plugin, @NotNull Runnable task, long delay, long period)
Asynchronous tasks should never access any API in Bukkit.void
BukkitScheduler. runTaskTimerAsynchronously(@NotNull Plugin plugin, @NotNull Consumer<BukkitTask> task, long delay, long period)
Asynchronous tasks should never access any API in Bukkit.@NotNull BukkitTask
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.
-