接口 | 说明 |
---|---|
EventExecutor |
定义了事件调用插件的类的接口。
|
Plugin |
表示一个插件.
|
PluginAwareness |
Represents a concept that a plugin is aware of.
|
PluginLoader |
Represents a plugin loader, which handles direct access to specific types
of plugins
|
PluginManager |
Handles all plugin management from the Server
|
ServicesManager |
Manages services and service providers.
|
类 | 说明 |
---|---|
PluginBase |
Represents a base
Plugin
Extend this class if your plugin is not a JavaPlugin |
PluginDescriptionFile |
这个类是用于储存插件plugin.yml内的数据.
|
PluginLogger |
The PluginLogger class is a modified
Logger that prepends all
logging calls with the name of the plugin doing the logging. |
RegisteredListener |
Stores relevant information for plugin listeners
|
RegisteredServiceProvider<T> |
A registered service provider.
|
SimplePluginManager |
Handles all plugin management from the Server
|
SimpleServicesManager |
A simple services manager.
|
TimedRegisteredListener |
Extends RegisteredListener to include timing information
|
枚举 | 说明 |
---|---|
PluginAwareness.Flags |
Each entry here represents a particular plugin's awareness.
|
PluginLoadOrder |
Represents the order in which a plugin should be initialized and enabled
|
ServicePriority |
Represents various priorities of a provider.
|
异常错误 | 说明 |
---|---|
AuthorNagException | |
IllegalPluginAccessException |
当插件在未启用的状态下尝试与服务器交互时抛出异常
|
InvalidDescriptionException |
Thrown when attempting to load an invalid PluginDescriptionFile
|
InvalidPluginException |
当试图加载无效插件文件时抛出此异常.
|
UnknownDependencyException |
Thrown when attempting to load an invalid Plugin file
|