Uses of Class
net.md_5.bungee.api.plugin.Plugin
Package
Description
-
Uses of Plugin in net.md_5.bungee.api.event
Modifier and TypeMethodDescriptionvoid
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
Modifier and TypeMethodDescriptionReturns a loaded plugin identified by the specified name.Modifier and TypeMethodDescriptionPluginManager.getPlugins()
Returns thePlugin
objects corresponding to all loaded plugins.Modifier and TypeMethodDescriptionvoid
PluginManager.registerCommand
(Plugin plugin, Command command) Register a command so that it may be executed.void
PluginManager.registerListener
(Plugin plugin, Listener listener) Register aListener
for receiving called events.void
PluginManager.unregisterCommands
(Plugin plugin) Unregister all commands owned by aPlugin
void
PluginManager.unregisterListeners
(Plugin plugin) Unregister all of a Plugin's listener. -
Uses of Plugin in net.md_5.bungee.api.scheduler
Modifier and TypeMethodDescriptionScheduledTask.getOwner()
Return the plugin which scheduled this task for execution.Modifier and TypeMethodDescriptionint
Cancel all tasks owned by this plugin, this preventing them from being executed hereon in.TaskScheduler.Unsafe.getExecutorService
(Plugin plugin) An executor service which underlies this scheduler.Schedule a task to be executed asynchronously.Schedules a task to be executed asynchronously after the specified delay is up.Schedules a task to be executed asynchronously after the specified delay is up.