Свойство | Type | Description | |
---|---|---|---|
$pluginParentTimer | |||
$useTimings |
Свойство | Type | Description | |
---|---|---|---|
$defSubs | pocketmine\permission\Permissible[] | ||
$defSubsOp | pocketmine\permission\Permissible[] | ||
$defaultPerms | |||
$defaultPermsOp | |||
$fileAssociations | pocketmine\plugin\PluginLoader[] | ||
$permSubs | pocketmine\permission\Permissible[][] | ||
$permissions | |||
$plugins | pocketmine\plugin\Plugin[] |
Méthode | Description | |
---|---|---|
__construct ( |
||
addPermission ( |
||
callEvent ( |
Calls an event | |
clearPlugins ( ) | ||
disablePlugin ( pocketmine\plugin\Plugin $plugin ) | ||
disablePlugins ( ) | ||
enablePlugin ( pocketmine\plugin\Plugin $plugin ) | ||
getDefaultPermSubscriptions ( boolean $op ) : pocketmine\permission\Permissible[] | ||
getDefaultPermissions ( boolean $op ) : |
||
getPermission ( string $name ) : null | |
||
getPermissionSubscriptions ( string $permission ) : pocketmine\permission\Permissible[] | ||
getPermissions ( ) : |
||
getPlugin ( string $name ) : null | pocketmine\plugin\Plugin | ||
getPlugins ( ) : pocketmine\plugin\Plugin[] | ||
isPluginEnabled ( pocketmine\plugin\Plugin $plugin ) : boolean | ||
loadPlugin ( string $path, pocketmine\plugin\PluginLoader[] $loaders = null ) : pocketmine\plugin\Plugin | ||
loadPlugins ( string $directory, array $newLoaders = null ) : pocketmine\plugin\Plugin[] | ||
recalculatePermissionDefaults ( |
||
registerEvent ( string $event, pocketmine\event\Listener $listener, integer $priority, pocketmine\plugin\EventExecutor $executor, pocketmine\plugin\Plugin $plugin, boolean $ignoreCancelled = false ) | ||
registerEvents ( pocketmine\event\Listener $listener, pocketmine\plugin\Plugin $plugin ) | Registers all the events in the given Listener class | |
registerInterface ( string $loaderName ) : boolean | ||
removePermission ( string | |
||
setUseTimings ( boolean $use ) | ||
subscribeToDefaultPerms ( boolean $op, pocketmine\permission\Permissible $permissible ) | ||
subscribeToPermission ( string $permission, pocketmine\permission\Permissible $permissible ) | ||
unsubscribeFromDefaultPerms ( boolean $op, pocketmine\permission\Permissible $permissible ) | ||
unsubscribeFromPermission ( string $permission, pocketmine\permission\Permissible $permissible ) | ||
useTimings ( ) : boolean |
Méthode | Description | |
---|---|---|
parseYamlCommands ( pocketmine\plugin\Plugin $plugin ) : |
Méthode | Description | |
---|---|---|
calculatePermissionDefault ( |
||
dirtyPermissibles ( boolean $op ) | ||
getEventListeners ( $event ) : |
public __construct ( |
||
$server | ||
$commandMap |
public addPermission ( |
||
$permission | ||
Résultat | boolean |
public callEvent ( |
||
$event |
public disablePlugin ( pocketmine\plugin\Plugin $plugin ) | ||
$plugin | pocketmine\plugin\Plugin |
public enablePlugin ( pocketmine\plugin\Plugin $plugin ) | ||
$plugin | pocketmine\plugin\Plugin |
public getDefaultPermSubscriptions ( boolean $op ) : pocketmine\permission\Permissible[] | ||
$op | boolean | |
Résultat | pocketmine\permission\Permissible[] |
public getDefaultPermissions ( boolean $op ) : |
||
$op | boolean | |
Résultat |
public getPermission ( string $name ) : null | |
||
$name | string | |
Résultat | null | |
public getPermissionSubscriptions ( string $permission ) : pocketmine\permission\Permissible[] | ||
$permission | string | |
Résultat | pocketmine\permission\Permissible[] |
public getPermissions ( ) : |
||
Résultat |
public getPlugins ( ) : pocketmine\plugin\Plugin[] | ||
Résultat | pocketmine\plugin\Plugin[] |
public isPluginEnabled ( pocketmine\plugin\Plugin $plugin ) : boolean | ||
$plugin | pocketmine\plugin\Plugin | |
Résultat | boolean |
public loadPlugin ( string $path, pocketmine\plugin\PluginLoader[] $loaders = null ) : pocketmine\plugin\Plugin | ||
$path | string | |
$loaders | pocketmine\plugin\PluginLoader[] | |
Résultat | pocketmine\plugin\Plugin |
public loadPlugins ( string $directory, array $newLoaders = null ) : pocketmine\plugin\Plugin[] | ||
$directory | string | |
$newLoaders | array | |
Résultat | pocketmine\plugin\Plugin[] |
protected parseYamlCommands ( pocketmine\plugin\Plugin $plugin ) : |
||
$plugin | pocketmine\plugin\Plugin | |
Résultat |
public recalculatePermissionDefaults ( |
||
$permission |
public registerEvent ( string $event, pocketmine\event\Listener $listener, integer $priority, pocketmine\plugin\EventExecutor $executor, pocketmine\plugin\Plugin $plugin, boolean $ignoreCancelled = false ) | ||
$event | string | Class name that extends Event |
$listener | pocketmine\event\Listener | |
$priority | integer | |
$executor | pocketmine\plugin\EventExecutor | |
$plugin | pocketmine\plugin\Plugin | |
$ignoreCancelled | boolean |
public registerEvents ( pocketmine\event\Listener $listener, pocketmine\plugin\Plugin $plugin ) | ||
$listener | pocketmine\event\Listener | |
$plugin | pocketmine\plugin\Plugin |
public registerInterface ( string $loaderName ) : boolean | ||
$loaderName | string | A PluginLoader class name |
Résultat | boolean |
public removePermission ( string | |
||
$permission | string | |
public subscribeToDefaultPerms ( boolean $op, pocketmine\permission\Permissible $permissible ) | ||
$op | boolean | |
$permissible | pocketmine\permission\Permissible |
public subscribeToPermission ( string $permission, pocketmine\permission\Permissible $permissible ) | ||
$permission | string | |
$permissible | pocketmine\permission\Permissible |
public unsubscribeFromDefaultPerms ( boolean $op, pocketmine\permission\Permissible $permissible ) | ||
$op | boolean | |
$permissible | pocketmine\permission\Permissible |
public unsubscribeFromPermission ( string $permission, pocketmine\permission\Permissible $permissible ) | ||
$permission | string | |
$permissible | pocketmine\permission\Permissible |
protected Permissible[],pocketmine\permission $defSubs | ||
Résultat | pocketmine\permission\Permissible[] |
protected Permissible[],pocketmine\permission $defSubsOp | ||
Résultat | pocketmine\permission\Permissible[] |
protected Permission[],pocketmine\permission $defaultPerms | ||
Résultat |
protected Permission[],pocketmine\permission $defaultPermsOp | ||
Résultat |
protected PluginLoader[],pocketmine\plugin $fileAssociations | ||
Résultat | pocketmine\plugin\PluginLoader[] |
protected Permissible[][],pocketmine\permission $permSubs | ||
Résultat | pocketmine\permission\Permissible[][] |
protected Permission[],pocketmine\permission $permissions | ||
Résultat |
public static TimingsHandler,pocketmine\event $pluginParentTimer | ||
Résultat |
protected Plugin[],pocketmine\plugin $plugins | ||
Résultat | pocketmine\plugin\Plugin[] |