# Uses of Class
net.md_5.bungee.api.plugin.Plugin

Packages that use Plugin
Package
Description
net.md_5.bungee.api.event
net.md_5.bungee.api.plugin
net.md_5.bungee.api.scheduler

- ## Uses of Plugin in net.md_5.bungee.api.event

  Methods in net.md_5.bungee.api.event with parameters of type Plugin
  Modifier and Type
  Method
  Description
  `void`
  AsyncEvent.`completeIntent(Plugin plugin)`
  Notifies this event that this plugin has completed an intent and wishes to let the event proceed once all intents have been completed.
  `void`
  AsyncEvent.`registerIntent(Plugin plugin)`
  Register an intent that this plugin will continue to perform work on a background task, and wishes to let the event proceed once the registered background task has completed.

- ## Uses of Plugin in net.md_5.bungee.api.plugin

  Methods in net.md_5.bungee.api.plugin that return Plugin
  Modifier and Type
  Method
  Description
  `Plugin`
  PluginManager.`getPlugin(String name)`
  Returns a loaded plugin identified by the specified name.
  Methods in net.md_5.bungee.api.plugin that return types with arguments of type Plugin
  Modifier and Type
  Method
  Description
  `Collection<Plugin>`
  PluginManager.`getPlugins()`
  Returns the `Plugin` objects corresponding to all loaded plugins.
  Methods in net.md_5.bungee.api.plugin with parameters of type Plugin
  Modifier and Type
  Method
  Description
  `void`
  PluginManager.`registerCommand(Plugin plugin, Command command)`
  Register a command so that it may be executed.
  `void`
  PluginManager.`registerListener(Plugin plugin, Listener listener)`
  Register a `Listener` for receiving called events.
  `void`
  PluginManager.`unregisterCommands(Plugin plugin)`
  Unregister all commands owned by a `Plugin`
  `void`
  PluginManager.`unregisterListeners(Plugin plugin)`
  Unregister all of a Plugin's listener.
  Constructors in net.md_5.bungee.api.plugin with parameters of type Plugin
  Modifier
  Constructor
  Description
  `protected`
  `PluginLogger(Plugin plugin)`

- ## Uses of Plugin in net.md_5.bungee.api.scheduler

  Methods in net.md_5.bungee.api.scheduler that return Plugin
  Modifier and Type
  Method
  Description
  `Plugin`
  ScheduledTask.`getOwner()`
  Return the plugin which scheduled this task for execution.
  Methods in net.md_5.bungee.api.scheduler with parameters of type Plugin
  Modifier and Type
  Method
  Description
  `int`
  TaskScheduler.`cancel(Plugin plugin)`
  Cancel all tasks owned by this plugin, this preventing them from being executed hereon in.
  `ExecutorService`
  TaskScheduler.Unsafe.`getExecutorService(Plugin plugin)`
  An executor service which underlies this scheduler.
  `ScheduledTask`
  TaskScheduler.`runAsync(Plugin owner, Runnable task)`
  Schedule a task to be executed asynchronously.
  `ScheduledTask`
  TaskScheduler.`schedule(Plugin owner, Runnable task, long delay, long period, TimeUnit unit)`
  Schedules a task to be executed asynchronously after the specified delay is up.
  `ScheduledTask`
  TaskScheduler.`schedule(Plugin owner, Runnable task, long delay, TimeUnit unit)`
  Schedules a task to be executed asynchronously after the specified delay is up.
  Constructors in net.md_5.bungee.api.scheduler with parameters of type Plugin
  Modifier
  Constructor
  Description
  ``
  `GroupedThreadFactory(Plugin plugin, String name)`
  Deprecated.