Paper Plugins
This commit is contained in:
@@ -30,10 +30,21 @@ public interface Plugin extends TabExecutor {
|
||||
* Returns the plugin.yaml file containing the details for this plugin
|
||||
*
|
||||
* @return Contents of the plugin.yaml file
|
||||
* @deprecated May be inaccurate due to different plugin implementations.
|
||||
* @see Plugin#getPluginMeta()
|
||||
*/
|
||||
@Deprecated // Paper
|
||||
@NotNull
|
||||
public PluginDescriptionFile getDescription();
|
||||
|
||||
// Paper start
|
||||
/**
|
||||
* Gets the plugin meta for this plugin.
|
||||
* @return configuration
|
||||
*/
|
||||
@NotNull
|
||||
io.papermc.paper.plugin.configuration.PluginMeta getPluginMeta();
|
||||
// Paper end
|
||||
/**
|
||||
* Gets a {@link FileConfiguration} for this plugin, read through
|
||||
* "config.yml"
|
||||
@@ -94,6 +105,7 @@ public interface Plugin extends TabExecutor {
|
||||
*
|
||||
* @return PluginLoader that controls this plugin
|
||||
*/
|
||||
@Deprecated(forRemoval = true) // Paper - The PluginLoader system will not function in the near future
|
||||
@NotNull
|
||||
public PluginLoader getPluginLoader();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user