Overview

Namespaces

  • aliuly
    • common
      • selectors
    • loader
  • xPaw

Classes

  • ArmorItems
  • BasicCli
  • BasicHelp
  • BasicPlugin
  • ChatSession
  • Cmd
  • CmdSelector
  • ExpandVars
  • FastTransfer
  • FileUtils
  • FreezeSession
  • GetMotd
  • GetMotdAsyncTask
  • InvisibleSession
  • InvUtils
  • ItemName
  • mc
  • mc2
  • MoneyAPI
  • MPMU
  • Npc
  • PermUtils
  • PluginAsyncTask
  • PluginCallbackTask
  • PMScript
  • QueryAsyncTask
  • Rcon
  • RconTask
  • Session
  • ShieldSession
  • ShoppingCart
  • SignUtils
  • SkinUtils
  • SpySession
  • SubCommandMap
  • TPUtils
  • Overview
  • Namespace
  • Class

Class PermUtils

Simple class encapsulating some Permission related utilities

Abstract
Namespace: aliuly\common
Located at aliuly/common/PermUtils.php
Methods summary
public static
# add( pocketmine\plugin\Plugin $plugin, str $name, str $desc, str $default )

Register a permission on the fly...

Register a permission on the fly...

Parameters

$plugin
  • owning plugin
$name
  • permission name
$desc
  • permission description
$default
  • one of true,false,op,notop
API documentation generated by ApiGen