GenisysPro  for Minecraft PE/Windows 10 v1.1.x
Feature-rich server software for Minecraft PE and Windows 10 Edition
PluginLoader Interface Reference

Public Member Functions

 loadPlugin ($file)
 
 getPluginDescription ($file)
 
 getPluginFilters ()
 
 enablePlugin (Plugin $plugin)
 
 disablePlugin (Plugin $plugin)
 

Detailed Description

Handles different types of plugins

Member Function Documentation

◆ disablePlugin()

disablePlugin ( Plugin  $plugin)
Parameters
Plugin$plugin
Returns
void

Implemented in ScriptPluginLoader, FolderPluginLoader, and PharPluginLoader.

◆ enablePlugin()

enablePlugin ( Plugin  $plugin)
Parameters
Plugin$plugin
Returns
void

Implemented in ScriptPluginLoader, FolderPluginLoader, and PharPluginLoader.

◆ getPluginDescription()

getPluginDescription (   $file)

Gets the PluginDescription from the file

Parameters
string$file
Returns
PluginDescription

Implemented in FolderPluginLoader, ScriptPluginLoader, and PharPluginLoader.

◆ getPluginFilters()

getPluginFilters ( )

Returns the filename regex patterns that this loader accepts

Returns
string

Implemented in ScriptPluginLoader, FolderPluginLoader, and PharPluginLoader.

◆ loadPlugin()

loadPlugin (   $file)

Loads the plugin contained in $file

Parameters
string$file
Returns
Plugin

Implemented in FolderPluginLoader, ScriptPluginLoader, and PharPluginLoader.


The documentation for this interface was generated from the following file: