Plugin: removed useless shit

Plugin is the interface by which the server core interacts with plugins, so it should be limited only to the stuff that the server actually uses.
These methods are still provided by PluginBase, so in 99.9% of cases there will be no BC break.
This commit is contained in:
Dylan K. Taylor
2021-03-25 19:17:16 +00:00
parent d9b548bfde
commit 52ce8ad8ae
2 changed files with 2 additions and 4 deletions

View File

@@ -47,8 +47,6 @@ interface Plugin{
*/
public function onEnableStateChange(bool $enabled) : void;
public function isDisabled() : bool;
/**
* Gets the plugin's data folder to save files and configuration.
* This directory name has a trailing slash.
@@ -57,8 +55,6 @@ interface Plugin{
public function getDescription() : PluginDescription;
public function getServer() : Server;
public function getName() : string;
public function getLogger() : \AttachableLogger;